:root {
  --md-sys-color-primary: #1976D2;
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-primary-container: #BBDEFB;
  --md-sys-color-on-primary-container: #0D47A1;
  --md-sys-color-secondary: #009688;
  --md-sys-color-on-secondary: #FFFFFF;
  --md-sys-color-secondary-container: #B2DFDB;
  --md-sys-color-on-secondary-container: #004D40;
  --md-sys-color-tertiary: #00838F;
  --md-sys-color-on-tertiary: #FFFFFF;
  --md-sys-color-tertiary-container: #B2EBF2;
  --md-sys-color-on-tertiary-container: #006064;
  --md-sys-color-error: #F44336;
  --md-sys-color-on-error: #FFFFFF;
  --md-sys-color-error-container: #FFCDD2;
  --md-sys-color-on-error-container: #B71C1C;
  --md-sys-color-background: #FAFAFA;
  --md-sys-color-on-background: #212121;
  --md-sys-color-surface: #FAFAFA;
  --md-sys-color-on-surface: #212121;
  --md-sys-color-surface-variant: #EEEEEE;
  --md-sys-color-on-surface-variant: #616161;
  --md-sys-color-surface-container-lowest: #FFFFFF;
  --md-sys-color-surface-container-low: #FFFFFF;
  --md-sys-color-surface-container: #FFFFFF;
  --md-sys-color-surface-container-high: #F5F5F5;
  --md-sys-color-surface-container-highest: #EEEEEE;
  --md-sys-color-outline: #BDBDBD;
  --md-sys-color-outline-variant: #E0E0E0;
  --md-sys-color-inverse-surface: #313033;
  --md-sys-color-inverse-on-surface: #F4EFF4;
  --md-sys-color-inverse-primary: #90CAF9;
  --md-sys-color-shadow: #000000;
  --md-sys-color-scrim: #000000;
  --app-color-success: #4CAF50;
  --app-color-on-success: #FFFFFF;
  --app-color-success-container: #C8E6C9;
  --app-color-on-success-container: #1B5E20;
  --app-color-warning: #FFC107;
  --app-color-on-warning: #212121;
  --app-color-warning-container: #FFECB3;
  --app-color-on-warning-container: #7A5C00;
  --app-color-skipper: #00838F;
  --app-color-on-skipper: #FFFFFF;
  --app-color-skipper-container: #B2EBF2;
  --app-color-on-skipper-container: #006064;
}

html[data-theme=dark] {
  --md-sys-color-primary: #90CAF9;
  --md-sys-color-on-primary: #0D47A1;
  --md-sys-color-primary-container: #1565C0;
  --md-sys-color-on-primary-container: #E3F2FD;
  --md-sys-color-secondary: #80CBC4;
  --md-sys-color-on-secondary: #00352F;
  --md-sys-color-secondary-container: #00695C;
  --md-sys-color-on-secondary-container: #E0F2F1;
  --md-sys-color-tertiary: #80DEEA;
  --md-sys-color-on-tertiary: #00363D;
  --md-sys-color-tertiary-container: #00838F;
  --md-sys-color-on-tertiary-container: #E0F7FA;
  --md-sys-color-error: #EF9A9A;
  --md-sys-color-on-error: #5F1412;
  --md-sys-color-error-container: #B71C1C;
  --md-sys-color-on-error-container: #FFEBEE;
  --md-sys-color-background: #121212;
  --md-sys-color-on-background: #E0E0E0;
  --md-sys-color-surface: #121212;
  --md-sys-color-on-surface: #E0E0E0;
  --md-sys-color-surface-variant: #2A2A2A;
  --md-sys-color-on-surface-variant: #BDBDBD;
  --md-sys-color-surface-container-lowest: #181818;
  --md-sys-color-surface-container-low: #1A1A1A;
  --md-sys-color-surface-container: #1E1E1E;
  --md-sys-color-surface-container-high: #2A2A2A;
  --md-sys-color-surface-container-highest: #333333;
  --md-sys-color-outline: #5F5F5F;
  --md-sys-color-outline-variant: #3A3A3A;
  --md-sys-color-inverse-surface: #E6E1E5;
  --md-sys-color-inverse-on-surface: #313033;
  --md-sys-color-inverse-primary: #1976D2;
  --md-sys-color-shadow: #000000;
  --md-sys-color-scrim: #000000;
  --app-color-success: #81C784;
  --app-color-on-success: #0D3B10;
  --app-color-success-container: #2E7D32;
  --app-color-on-success-container: #E8F5E9;
  --app-color-warning: #FFD54F;
  --app-color-on-warning: #4A3800;
  --app-color-warning-container: #8D6E00;
  --app-color-on-warning-container: #FFF8E1;
  --app-color-skipper: #80DEEA;
  --app-color-on-skipper: #00363D;
  --app-color-skipper-container: #00838F;
  --app-color-on-skipper-container: #E0F7FA;
  color-scheme: dark;
}

:root {
  --md-sys-typescale-font: "Roboto", system-ui, -apple-system, sans-serif;
  --md-ref-typeface-brand: var(--md-sys-typescale-font);
  --md-ref-typeface-plain: var(--md-sys-typescale-font);
}

.md-typescale-display-small {
  font-family: var(--md-sys-typescale-font);
  font-size: 2.25rem;
  line-height: 2.75rem;
  font-weight: 400;
  letter-spacing: normal;
}

.md-typescale-headline-large {
  font-family: var(--md-sys-typescale-font);
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 400;
  letter-spacing: normal;
}

.md-typescale-headline-medium {
  font-family: var(--md-sys-typescale-font);
  font-size: 1.75rem;
  line-height: 2.25rem;
  font-weight: 400;
  letter-spacing: normal;
}

.md-typescale-headline-small {
  font-family: var(--md-sys-typescale-font);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 400;
  letter-spacing: normal;
}

.md-typescale-title-large {
  font-family: var(--md-sys-typescale-font);
  font-size: 1.375rem;
  line-height: 1.75rem;
  font-weight: 500;
  letter-spacing: normal;
}

.md-typescale-title-medium {
  font-family: var(--md-sys-typescale-font);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.009em;
}

.md-typescale-title-small {
  font-family: var(--md-sys-typescale-font);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.006em;
}

.md-typescale-body-large {
  font-family: var(--md-sys-typescale-font);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.md-typescale-body-medium {
  font-family: var(--md-sys-typescale-font);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.017em;
}

.md-typescale-label-large {
  font-family: var(--md-sys-typescale-font);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.007em;
}

.md-typescale-label-medium {
  font-family: var(--md-sys-typescale-font);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

:root {
  --md-sys-shape-corner-extra-small: 4px;
  --md-sys-shape-corner-small: 8px;
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-large: 16px;
  --md-sys-shape-corner-full: 9999px;
  --m3-elevation-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
  --m3-elevation-2: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
  --m3-elevation-3: 0 4px 8px 3px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Prevent horizontal shift when scrollbar appears */
html {
  scrollbar-gutter: stable;
  overflow-y: scroll; /* Fallback for older browsers */
}

@supports (scrollbar-gutter: stable) {
  html {
    overflow-y: auto;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--md-sys-typescale-font);
  font-size: 1rem;
  line-height: 1.5;
  background-color: var(--md-sys-color-background);
  color: var(--md-sys-color-on-background);
}

a {
  color: var(--md-sys-color-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

hr {
  border: none;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  margin: 1rem 0;
}

.turbo-progress-bar {
  background: var(--md-sys-color-secondary);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.material-symbols-outlined {
  font-size: 1.25em;
  vertical-align: -0.25em;
  line-height: 1;
}

/* Layout placeholders while custom elements upgrade (avoids first-paint jump) */
md-outlined-text-field:not(:defined),
md-outlined-select:not(:defined) {
  display: block;
  min-height: 56px;
}

md-filled-button:not(:defined),
md-outlined-button:not(:defined),
md-text-button:not(:defined) {
  display: inline-block;
  min-height: 40px;
}

md-checkbox:not(:defined) {
  display: inline-block;
  width: 18px;
  height: 18px;
}

.fade {
  transition: opacity 0.5s;
}

.fade.show {
  opacity: 1;
}

.fade.fade {
  opacity: 0;
}

.image-container {
  position: relative;
  display: inline-block;
}

.image-container img {
  transition: transform 0.5s ease;
}

.image-container:hover img,
.image-container:active img {
  transform: rotate(360deg);
}

#map {
  height: 45vh;
  min-height: 320px;
}

.container,
.container-fluid {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
}

.container {
  max-width: 1140px;
}

.page-container {
  max-width: 1140px;
  width: 100%;
  margin-inline: auto;
  margin-block: 1rem 2rem;
  padding: 1.5rem;
  background-color: var(--md-sys-color-surface-container);
  border-radius: var(--md-sys-shape-corner-medium);
}
@media (max-width: 599.98px) {
  .page-container {
    margin-block: 0.5rem 1.5rem;
    padding: 1rem;
  }
}

.row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.row > * {
  grid-column: span 12;
  min-width: 0;
}

@media (min-width: 600px) {
  .row > .col-1 {
    grid-column: span 1;
  }
  .row > .col-2 {
    grid-column: span 2;
  }
  .row > .col-3 {
    grid-column: span 3;
  }
  .row > .col-4 {
    grid-column: span 4;
  }
  .row > .col-5 {
    grid-column: span 5;
  }
  .row > .col-6 {
    grid-column: span 6;
  }
  .row > .col-7 {
    grid-column: span 7;
  }
  .row > .col-8 {
    grid-column: span 8;
  }
  .row > .col-9 {
    grid-column: span 9;
  }
  .row > .col-10 {
    grid-column: span 10;
  }
  .row > .col-11 {
    grid-column: span 11;
  }
  .row > .col-12 {
    grid-column: span 12;
  }
}
@media (min-width: 768px) {
  .row > .col-md-1 {
    grid-column: span 1;
  }
  .row > .col-md-2 {
    grid-column: span 2;
  }
  .row > .col-md-3 {
    grid-column: span 3;
  }
  .row > .col-md-4 {
    grid-column: span 4;
  }
  .row > .col-md-5 {
    grid-column: span 5;
  }
  .row > .col-md-6 {
    grid-column: span 6;
  }
  .row > .col-md-7 {
    grid-column: span 7;
  }
  .row > .col-md-8 {
    grid-column: span 8;
  }
  .row > .col-md-9 {
    grid-column: span 9;
  }
  .row > .col-md-10 {
    grid-column: span 10;
  }
  .row > .col-md-11 {
    grid-column: span 11;
  }
  .row > .col-md-12 {
    grid-column: span 12;
  }
}
.row.justify-content-center {
  display: flex;
  flex-wrap: wrap;
}
.row.justify-content-center > * {
  width: 100%;
}
@media (min-width: 768px) {
  .row.justify-content-center > .col-md-4 {
    width: 33.333%;
  }
  .row.justify-content-center > .col-md-6 {
    width: 50%;
  }
  .row.justify-content-center > .col-md-8 {
    width: 66.667%;
  }
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.ms-0 {
  margin-left: 0 !important;
}

.me-0 {
  margin-right: 0 !important;
}

.mx-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.p-0 {
  padding: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.gap-0 {
  gap: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.mx-1 {
  margin-left: 0.25rem !important;
  margin-right: 0.25rem !important;
}

.my-1 {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.mx-2 {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

.my-2 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.ms-3 {
  margin-left: 1rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.mx-3 {
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}

.my-3 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.pt-3 {
  padding-top: 1rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.ms-4 {
  margin-left: 1.5rem !important;
}

.me-4 {
  margin-right: 1.5rem !important;
}

.mx-4 {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.ms-5 {
  margin-left: 3rem !important;
}

.me-5 {
  margin-right: 3rem !important;
}

.mx-5 {
  margin-left: 3rem !important;
  margin-right: 3rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

.gap-5 {
  gap: 3rem !important;
}

.d-flex {
  display: flex !important;
}

.d-grid {
  display: grid !important;
}

.d-block {
  display: block !important;
}

.d-none {
  display: none !important;
}

.flex-column {
  flex-direction: column !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.align-items-center {
  align-items: center !important;
}

.float-end {
  float: right !important;
}

.float-start {
  float: left !important;
}

.w-100 {
  width: 100% !important;
}

.text-center {
  text-align: center !important;
}

.text-end {
  text-align: right !important;
}

.text-start {
  text-align: left !important;
}

.text-muted {
  color: var(--md-sys-color-on-surface-variant) !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.rounded {
  border-radius: var(--md-sys-shape-corner-medium) !important;
}

.border {
  border: 1px solid var(--md-sys-color-outline-variant) !important;
}

.min-vh-50 {
  min-height: 50vh;
}

.text-primary-token {
  color: var(--md-sys-color-primary) !important;
}

.m3-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-medium);
  background-color: var(--md-sys-color-surface-container);
  overflow: hidden;
}

.m3-list__item {
  padding: 0.75rem 1rem;
}
.m3-list__item + .m3-list__item {
  border-top: 1px solid var(--md-sys-color-outline-variant);
}

.m3-btn {
  --_accent: var(--md-sys-color-primary);
  --_on-accent: var(--md-sys-color-on-primary);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0.375rem 1.5rem;
  border: none;
  border-radius: var(--md-sys-shape-corner-full);
  background: transparent;
  font-family: var(--md-sys-typescale-font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.007em;
  line-height: 1.25rem;
  text-decoration: none;
  color: var(--_accent);
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.m3-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.m3-btn:hover {
  text-decoration: none;
}
.m3-btn:hover::before {
  opacity: 0.08;
}
.m3-btn:active::before {
  opacity: 0.12;
}
.m3-btn:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}
.m3-btn:disabled, .m3-btn.disabled {
  pointer-events: none;
  opacity: 0.38;
}

.m3-btn--filled {
  background: var(--_accent);
  color: var(--_on-accent);
}
.m3-btn--filled:hover {
  box-shadow: var(--m3-elevation-1);
}

.m3-btn--tonal {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}
.m3-btn--tonal:hover {
  box-shadow: var(--m3-elevation-1);
}

.m3-btn--outlined {
  border: 1px solid var(--md-sys-color-outline);
}

.m3-btn--text {
  padding: 0.375rem 0.75rem;
}

.m3-btn--error {
  --_accent: var(--md-sys-color-error);
  --_on-accent: var(--md-sys-color-on-error);
}

.m3-btn--skipper {
  --_accent: var(--app-color-skipper);
  --_on-accent: var(--app-color-on-skipper);
}

.m3-btn--skipper.m3-btn--tonal {
  background: var(--app-color-skipper-container);
  color: var(--app-color-on-skipper-container);
}

.m3-btn--large {
  min-height: 48px;
  padding: 0.625rem 2rem;
  font-size: 1rem;
}

.btn-fixed-width {
  width: 350px;
  max-width: 100%;
}

.m3-app-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  background-color: var(--md-sys-color-surface-container);
  box-shadow: var(--m3-elevation-1);
}

.m3-app-bar__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.75rem;
}

.m3-app-bar__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--md-sys-shape-corner-full);
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.m3-app-bar__nav-link:hover {
  background-color: var(--md-sys-color-surface-container-highest);
  text-decoration: none;
}
.m3-app-bar__nav-link.active {
  background-color: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}
.m3-app-bar__nav-link--feature {
  background-color: var(--app-color-skipper-container);
  color: var(--app-color-on-skipper-container);
}
.m3-app-bar__nav-link--feature:hover {
  background-color: var(--app-color-skipper-container);
  filter: brightness(0.96);
}
.m3-app-bar__nav-link--feature.active {
  background-color: var(--app-color-skipper);
  color: var(--app-color-on-skipper);
}
.m3-app-bar__nav-link .material-symbols-outlined {
  font-size: 1.25rem;
}

.m3-app-bar__menu {
  display: none;
}

@media (max-width: 767.98px) {
  .m3-app-bar {
    gap: 0.125rem;
    padding: 0.5rem 0.5rem;
  }
  .m3-app-bar__menu {
    display: inline-flex;
  }
  .m3-app-bar__nav {
    display: none;
  }
  .m3-app-bar__logo img {
    height: 38px;
  }
}
@media (max-width: 599.98px) {
  .m3-app-bar__account span {
    display: none;
  }
}
.m3-app-bar__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.m3-app-bar__logo img {
  height: 50px;
  width: auto;
}

.m3-app-bar__spacer {
  flex: 1;
}

.m3-app-bar__account {
  flex-shrink: 0;
}

.m3-app-bar md-icon-button {
  --md-icon-button-icon-color: var(--md-sys-color-on-surface-variant);
  flex-shrink: 0;
}

html[data-theme=dark] .m3-app-bar__logo img,
html[data-theme=dark] .image-container img {
  filter: invert(1);
}

.m3-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  width: 280px;
  max-width: 82vw;
  height: 100%;
  background-color: var(--md-sys-color-surface-container);
  box-shadow: var(--m3-elevation-3);
  transform: translateX(-100%);
  transition: transform 0.22s ease;
}
.m3-nav-drawer.is-open {
  transform: translateX(0);
}

.m3-nav-drawer__scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background-color: rgba(0, 0, 0, 0.45);
}

.m3-nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.75rem 0.75rem 1.25rem;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.m3-nav-drawer__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
}

.m3-nav-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  overflow-y: auto;
}
.m3-nav-drawer__nav .m3-app-bar__nav-link {
  display: flex;
  width: 100%;
  min-height: 48px;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--md-sys-shape-corner-medium);
  font-size: 0.9375rem;
}
.m3-nav-drawer__nav .m3-app-bar__nav-link .material-symbols-outlined {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .m3-nav-drawer,
  .m3-nav-drawer__scrim {
    display: none !important;
  }
}
.m3-auth-card {
  max-width: 420px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large);
  box-shadow: var(--m3-elevation-1);
  text-align: center;
}
.m3-auth-card form {
  text-align: left;
}
.m3-auth-card md-filled-button {
  width: 100%;
  margin-top: 0.5rem;
}

.m3-auth-card__logo {
  height: 72px;
  margin-bottom: 0.75rem;
}

.m3-auth-card__title {
  margin-bottom: 1.5rem;
}

.m3-auth-card__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--md-sys-color-outline-variant);
}

.m3-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.5rem 1rem 2.5rem;
}
@media (max-width: 599.98px) {
  .m3-hero {
    padding: 2rem 0.5rem 1.5rem;
  }
}

.m3-hero__logo img {
  height: 160px;
}
@media (max-width: 599.98px) {
  .m3-hero__logo img {
    height: 104px;
  }
}

.m3-hero__title {
  margin: 1.5rem 0 0.5rem;
}

.m3-hero__subtitle {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 1.125rem;
  line-height: 1.6;
}
@media (max-width: 599.98px) {
  .m3-hero__subtitle {
    font-size: 1rem;
  }
}

.m3-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.m3-stat-card {
  padding: 1.5rem;
  border-radius: var(--md-sys-shape-corner-large);
  background-color: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  text-align: center;
  height: 100%;
}

.m3-stat-card__value {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.m3-stat-card__label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.8;
}

.m3-stat-card--quote {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  text-align: left;
  font-style: italic;
}

.m3-video-card {
  max-width: 760px;
  margin: 2.5rem auto;
}
.m3-video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  border: 0;
  border-radius: var(--md-sys-shape-corner-large);
  box-shadow: var(--m3-elevation-2);
}

.m3-landing {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.m3-landing-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.m3-landing-topbar__brand img {
  height: 40px;
  display: block;
}

html[data-theme=dark] .m3-landing-topbar__brand img {
  filter: invert(1);
}

.m3-landing-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 0 3.5rem;
}
@media (max-width: 767.98px) {
  .m3-landing-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem 0 2.5rem;
  }
}
.m3-landing-hero__title {
  margin: 1.25rem 0 1rem;
}
.m3-landing-hero__subtitle {
  max-width: 38rem;
  margin: 0 0 1.5rem;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 1.125rem;
  line-height: 1.6;
}
@media (max-width: 599.98px) {
  .m3-landing-hero__subtitle {
    font-size: 1rem;
  }
}
.m3-landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.m3-landing-hero__trust {
  margin: 0;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.9375rem;
}

.m3-value-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.m3-value-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
  color: var(--md-sys-color-on-surface);
}
.m3-value-list .material-symbols-outlined {
  color: var(--md-sys-color-primary);
  font-size: 1.5rem;
}

.m3-auth-panel {
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large);
  box-shadow: var(--m3-elevation-2);
  overflow: hidden;
}
.m3-auth-panel__tabs {
  display: flex;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}
.m3-auth-panel__tab {
  flex: 1;
  padding: 1rem 0.5rem;
  border: none;
  background: transparent;
  font-family: var(--md-sys-typescale-font);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--md-sys-color-on-surface-variant);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.m3-auth-panel__tab:hover {
  color: var(--md-sys-color-on-surface);
}
.m3-auth-panel__tab--active {
  color: var(--md-sys-color-primary);
  border-bottom-color: var(--md-sys-color-primary);
}
.m3-auth-panel__body {
  padding: 1.75rem;
}
@media (max-width: 599.98px) {
  .m3-auth-panel__body {
    padding: 1.25rem;
  }
}
.m3-auth-panel__links {
  margin-top: 0.75rem;
  text-align: center;
}
.m3-auth-panel md-filled-button {
  width: 100%;
  margin-top: 0.5rem;
}

.m3-landing-section {
  padding: 2.5rem 0;
}
@media (max-width: 599.98px) {
  .m3-landing-section {
    padding: 1.75rem 0;
  }
}

.m3-landing-section__lead {
  max-width: 44rem;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 1.0625rem;
}

.m3-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 767.98px) {
  .m3-feature-grid {
    grid-template-columns: 1fr;
  }
}

.m3-feature-grid--social {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin-inline: auto;
}
@media (max-width: 767.98px) {
  .m3-feature-grid--social {
    grid-template-columns: 1fr;
  }
}

.m3-feature-card {
  padding: 1.75rem;
  gap: 0.5rem;
}
.m3-feature-card h3 {
  margin: 0;
}
.m3-feature-card p {
  margin: 0;
  color: var(--md-sys-color-on-surface-variant);
}
.m3-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.5rem;
  border-radius: var(--md-sys-shape-corner-medium);
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}
.m3-feature-card__icon .material-symbols-outlined {
  font-size: 1.75rem;
}
.m3-feature-card__icon--skipper {
  background-color: var(--app-color-skipper-container);
  color: var(--app-color-on-skipper-container);
}

.m3-landing-cta {
  margin: 1rem 0 3rem;
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: var(--md-sys-shape-corner-large);
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}
.m3-landing-cta p {
  color: inherit;
  opacity: 0.9;
}

.m3-landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  color: var(--md-sys-color-on-surface-variant);
}
.m3-landing-footer__links {
  display: flex;
  gap: 1.25rem;
}
.m3-landing-footer__links a {
  color: var(--md-sys-color-on-surface-variant);
  text-decoration: none;
}
.m3-landing-footer__links a:hover {
  color: var(--md-sys-color-primary);
  text-decoration: underline;
}
.m3-landing-footer__copy {
  margin: 0;
  font-size: 0.875rem;
}

.m3-spot-card {
  margin: 1rem 0;
}
.m3-spot-card .card-body {
  padding: 1.25rem;
}

.m3-spot-card__band {
  height: 6px;
  background-color: var(--md-sys-color-outline-variant);
}

.m3-spot-card__title {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
  font-weight: 500;
}
.m3-spot-card__title a {
  color: var(--md-sys-color-on-surface);
}
.m3-spot-card__title a:hover {
  color: var(--md-sys-color-primary);
}

.m3-spot-card__meta {
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  color: var(--md-sys-color-on-surface-variant);
}

.m3-angler-card__main {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  min-width: 0;
}

.m3-angler-card__avatar {
  flex: 0 0 auto;
}

.m3-angler-card__body {
  min-width: 0;
}

.m3-angler-card__name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.m3-angler-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.875rem;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--md-sys-color-on-surface-variant);
}
.m3-angler-card__stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.m3-angler-card__stats .material-symbols-outlined {
  font-size: 1rem;
}

.m3-angler-card__bio {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--md-sys-color-on-surface);
}

.m3-angler-card__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--md-sys-color-on-surface-variant);
}
.m3-angler-card__meta .material-symbols-outlined {
  font-size: 1rem;
}

.m3-angler-card__joined {
  opacity: 0.85;
}

.m3-spot-card__author {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  color: var(--md-sys-color-on-surface-variant);
  text-decoration: none;
}
.m3-spot-card__author:hover span {
  text-decoration: underline;
}

.m3-spot-card__coords {
  margin-top: -0.5rem;
  font-size: 0.6875rem;
  opacity: 0.7;
}

.m3-spot-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.m3-spot-card__actions form {
  display: inline-flex;
}

.m3-spot-card__chips {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.375rem;
}

.m3-feed {
  margin: 0 auto;
}

.m3-feed__composer {
  margin-top: 1rem;
}
.m3-feed__composer .m3-composer__trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.m3-feed__composer .m3-composer__trigger[hidden] {
  display: none;
}
.m3-feed__composer .m3-composer__trigger-text {
  flex: 1;
  padding: 0.6875rem 1rem;
  border-radius: 999px;
  background-color: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.9375rem;
}
.m3-feed__composer .m3-composer__trigger-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  font-size: 0.875rem;
  font-weight: 500;
}
.m3-feed__composer .m3-composer__row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.m3-feed__composer .m3-composer__row md-outlined-text-field {
  flex: 1;
}
.m3-feed__composer .m3-composer__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.m3-feed__composer .m3-composer__photo {
  cursor: pointer;
  margin-right: auto;
}
.m3-feed__composer .m3-composer__preview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.m3-feed__composer .m3-composer__preview[hidden] {
  display: none;
}
.m3-feed__composer .m3-composer__preview-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}
.m3-feed__composer .m3-composer__preview-name {
  font-size: 0.8125rem;
  color: var(--md-sys-color-on-surface-variant);
  word-break: break-all;
}

.m3-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--md-sys-color-surface-variant);
  overflow: hidden;
}

.m3-avatar--initial {
  color: var(--md-sys-color-on-primary);
  background-color: var(--md-sys-color-primary);
  font-weight: 600;
  text-align: center;
}

.m3-avatar--placeholder {
  color: var(--md-sys-color-on-surface-variant);
  background-color: var(--md-sys-color-surface-variant);
}
.m3-avatar--placeholder .m3-avatar__icon {
  font-size: inherit;
  line-height: 1;
}

.m3-segmented {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: 999px;
  overflow: hidden;
  background-color: var(--md-sys-color-surface);
}

.m3-segmented__segment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  min-height: 40px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--md-sys-color-on-surface);
  background: none;
  white-space: nowrap;
}
.m3-segmented__segment + .m3-segmented__segment {
  border-left: 1px solid var(--md-sys-color-outline-variant);
}
.m3-segmented__segment:hover {
  background-color: var(--md-sys-color-surface-container-high);
}
.m3-segmented__segment .material-symbols-outlined {
  font-size: 1.125rem;
}
.m3-segmented__segment--active {
  background-color: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}
.m3-segmented__segment--active:hover {
  background-color: var(--md-sys-color-secondary-container);
}

@media (max-width: 600px) {
  .m3-segmented {
    display: flex;
    width: 100%;
  }
  .m3-segmented__segment {
    flex: 1;
  }
}
.m3-card-follow {
  margin-left: auto;
}
.m3-card-follow .m3-btn {
  min-height: 32px;
  padding: 0.25rem 0.875rem;
  font-size: 0.8125rem;
}
.m3-card-follow form {
  margin: 0;
}

.m3-post-card {
  margin: 1rem 0;
}
.m3-post-card .card-body {
  padding: 1.25rem;
}

.m3-post-card__band {
  height: 6px;
  background-color: var(--md-sys-color-outline-variant);
}

.m3-post-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.m3-post-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.m3-post-card__author-info {
  display: flex;
  flex-direction: column;
}

.m3-post-card__name {
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
  text-decoration: none;
}
.m3-post-card__name:hover {
  text-decoration: underline;
}

.m3-post-card__meta {
  font-size: 0.8125rem;
  color: var(--md-sys-color-on-surface-variant);
  text-decoration: none;
}
.m3-post-card__meta:hover {
  text-decoration: underline;
}

.m3-post-card__body {
  margin: 0.75rem 0;
  color: var(--md-sys-color-on-surface);
  white-space: pre-wrap;
}

.m3-post-card__photo {
  display: block;
  width: 100%;
  border-radius: 12px;
  margin: 0.5rem 0;
}

.m3-post-card__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0.5rem 0;
  border-radius: 12px;
  overflow: hidden;
}
.m3-post-card__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.m3-post-card__link-card {
  display: flex;
  flex-direction: column;
  margin: 0.5rem 0;
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: var(--md-sys-color-surface-container-low);
}
.m3-post-card__link-card:hover {
  background: var(--md-sys-color-surface-container);
}

.m3-post-card__link-image {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.m3-post-card__link-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
}

.m3-post-card__link-title {
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
}

.m3-post-card__link-desc {
  font-size: 0.875rem;
  color: var(--md-sys-color-on-surface-variant);
}

.m3-post-card__link-host {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--md-sys-color-on-surface-variant);
}
.m3-post-card__link-host .material-symbols-outlined {
  font-size: 1rem;
}

.m3-post-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.m3-post-card__actions form {
  display: inline-flex;
}

.m3-like-btn .material-symbols-outlined {
  font-size: 1.125rem;
}

.m3-like-btn--active {
  color: var(--md-sys-color-primary);
}
.m3-like-btn--active .material-symbols-outlined {
  font-variation-settings: "FILL" 1;
}

.m3-report-btn {
  color: var(--md-sys-color-on-surface-variant);
}

.m3-report-btn--done {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--md-sys-color-on-surface-variant);
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.m3-report summary {
  list-style: none;
  cursor: pointer;
}
.m3-report summary::-webkit-details-marker {
  display: none;
}
.m3-report__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 12px;
  background: var(--md-sys-color-surface-container-low);
}
.m3-report__label {
  font: var(--md-sys-typescale-body-small);
  color: var(--md-sys-color-on-surface-variant);
}
.m3-report__select {
  padding: 0.5rem;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: 8px;
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
}

.m3-comments {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--md-sys-color-outline-variant);
}
.m3-comments__count {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--md-sys-color-on-surface-variant);
}
.m3-comments__count .material-symbols-outlined {
  font-size: 1rem;
}
.m3-comments__list {
  display: flex;
  flex-direction: column;
}
.m3-comments__more {
  margin: 0.25rem 0;
}
.m3-comments__form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.m3-comments__form md-outlined-text-field {
  flex: 1;
}

.m3-comment {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
}
.m3-comment__avatar {
  flex-shrink: 0;
}
.m3-comment__main {
  flex: 1;
  min-width: 0;
}
.m3-comment__header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.m3-comment__name {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--md-sys-color-on-surface);
  text-decoration: none;
}
.m3-comment__name:hover {
  text-decoration: underline;
}
.m3-comment__meta {
  font-size: 0.75rem;
  color: var(--md-sys-color-on-surface-variant);
}
.m3-comment__body {
  font-size: 0.875rem;
  color: var(--md-sys-color-on-surface);
  white-space: pre-wrap;
}
.m3-comment__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.m3-comment__actions .m3-like-btn .material-symbols-outlined {
  font-size: 1rem;
}
.m3-comment__delete {
  color: var(--md-sys-color-on-surface-variant);
}

.m3-trophy-case {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0.5rem 2rem;
}

.m3-trophy-case__header {
  text-align: center;
  padding: 1.5rem 1rem 0.5rem;
}

.m3-trophy-case__title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
}
.m3-trophy-case__title .material-symbols-outlined {
  color: #c9a227;
  font-size: 2rem;
}

.m3-trophy-case__lead {
  max-width: 36rem;
  margin: 0.5rem auto 0;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.9375rem;
}

.m3-trophy-case__species {
  margin-top: 2rem;
}

.m3-trophy-case__species-name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--md-sys-color-on-surface);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f6e7b0;
}
.m3-trophy-case__species-name .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--md-sys-color-on-surface-variant);
}

.m3-trophy-case__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.m3-trophy-case--single {
  max-width: 560px;
}

.m3-trophy-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--md-sys-color-surface-container-lowest);
  border: 2px solid transparent;
  background-image: linear-gradient(var(--md-sys-color-surface-container-lowest), var(--md-sys-color-surface-container-lowest)), linear-gradient(145deg, #c9a227 0%, #f6e7b0 45%, #c9a227 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.m3-trophy-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(201, 162, 39, 0.28);
}

.m3-trophy-card--weight {
  background-image: linear-gradient(var(--md-sys-color-surface-container-lowest), var(--md-sys-color-surface-container-lowest)), linear-gradient(145deg, #a9743b 0%, #f0d9bf 45%, #a9743b 100%);
  box-shadow: 0 6px 18px rgba(169, 116, 59, 0.18);
}
.m3-trophy-card--weight .m3-trophy-card__ribbon {
  background: linear-gradient(145deg, #a9743b, #8b5f30);
}
.m3-trophy-card--weight:hover {
  box-shadow: 0 10px 26px rgba(169, 116, 59, 0.28);
}

.m3-trophy-card__ribbon {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.875rem;
  background: linear-gradient(145deg, #c9a227, #a78620);
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.m3-trophy-card__ribbon strong {
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.m3-trophy-card__medal .material-symbols-outlined {
  font-size: 1.25rem;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

.m3-trophy-card__context {
  margin: 0;
  padding: 0.5rem 0.875rem 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--md-sys-color-on-surface-variant);
}

.m3-trophy-card__photo {
  position: relative;
  margin: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  background: var(--md-sys-color-surface-container-high);
}
.m3-trophy-card__photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.m3-trophy-card__value {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.78);
  color: #f6e7b0;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(2px);
}

.m3-trophy-card__unit {
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0.85;
}

.m3-trophy-card__body {
  padding: 0.25rem 0.875rem 0.875rem;
}

.m3-trophy-card__angler {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--md-sys-color-on-surface);
}
.m3-trophy-card__angler:hover {
  color: var(--md-sys-color-primary);
}

.m3-trophy-card__spot {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0.5rem 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--md-sys-color-on-surface-variant);
}
.m3-trophy-card__spot .material-symbols-outlined {
  font-size: 1rem;
}

.m3-trophy-card__place {
  color: var(--md-sys-color-on-surface-variant);
}

.m3-trophy-card__redacted {
  font-style: italic;
  color: var(--md-sys-color-on-surface-variant);
}

.m3-trophy-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.m3-form--catch {
  max-width: none;
}
.m3-form--catch > *:not(.m3-catch-form__trophy-hint) {
  max-width: 640px;
}

.m3-catch-form__trophy-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  margin: 0.5rem 0 1rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--md-sys-shape-corner-medium);
  background-color: color-mix(in srgb, #c9a227 12%, var(--md-sys-color-surface-container));
}
.m3-catch-form__trophy-hint .material-symbols-outlined {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: inherit;
  color: #c9a227;
}

.m3-profile-header {
  margin-top: 1rem;
}

.m3-profile-header__top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.m3-profile-header__info {
  flex: 1;
  min-width: 0;
}

.m3-profile-header__name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.m3-profile-header__bio {
  margin-top: 0.25rem;
  color: var(--md-sys-color-on-surface);
  white-space: pre-wrap;
}

.m3-profile-about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.m3-profile-header__action {
  flex: 0 0 auto;
}

.m3-profile-header__stat {
  color: inherit;
  text-decoration: none;
}
.m3-profile-header__stat:hover {
  text-decoration: underline;
}

.m3-profile-edit__avatar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 599.98px) {
  .m3-profile-header__top {
    flex-direction: column;
  }
}
.m3-card,
.card {
  display: flex;
  flex-direction: column;
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-medium);
  box-shadow: var(--m3-elevation-1);
  overflow: hidden;
  color: var(--md-sys-color-on-surface);
}

.m3-card--outlined {
  box-shadow: none;
}

.m3-card__header,
.card-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  background-color: var(--md-sys-color-surface-container-high);
  font-weight: 500;
}

.m3-card__body,
.card-body {
  padding: 1rem;
  flex: 1;
}

.m3-card__footer,
.card-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  background-color: var(--md-sys-color-surface-container-high);
}

.m3-card__title,
.card-title {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.009em;
  margin-bottom: 0.5rem;
}

.m3-card__text,
.card-text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--md-sys-color-on-surface-variant);
}
.m3-card__text:last-child,
.card-text:last-child {
  margin-bottom: 0;
}

#flash {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: min(560px, 100vw - 2rem);
  pointer-events: none;
}

.m3-snackbar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--md-sys-shape-corner-small);
  background-color: var(--md-sys-color-inverse-surface);
  color: var(--md-sys-color-inverse-on-surface);
  box-shadow: var(--m3-elevation-3);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.m3-snackbar--success {
  border-left: 4px solid var(--app-color-success);
}

.m3-snackbar--error {
  border-left: 4px solid var(--md-sys-color-error);
}

.m3-snackbar--warning {
  border-left: 4px solid var(--app-color-warning);
}

.m3-snackbar--info {
  border-left: 4px solid var(--md-sys-color-primary);
}

.m3-snackbar--inline {
  background-color: var(--md-sys-color-error-container);
  color: var(--md-sys-color-on-error-container);
  box-shadow: none;
  margin-bottom: 1rem;
}

.m3-banner {
  padding: 0.75rem 1rem;
  border-radius: var(--md-sys-shape-corner-small);
  font-size: 0.875rem;
  line-height: 1.4;
}

.m3-banner--warning {
  background-color: var(--app-color-warning-container);
  color: var(--app-color-on-warning-container);
}

.error-message {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--md-sys-shape-corner-small);
  background-color: var(--md-sys-color-error-container);
  color: var(--md-sys-color-on-error-container);
}

.m3-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 28px;
  padding: 0.125rem 0.75rem;
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-small);
  background-color: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.m3-chip--error {
  border-color: var(--md-sys-color-error);
  background-color: var(--md-sys-color-error-container);
  color: var(--md-sys-color-on-error-container);
}

.m3-chip--primary {
  border-color: var(--md-sys-color-primary);
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}

.m3-author-labels {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.25rem;
}
.m3-author-labels .m3-chip {
  min-height: 22px;
  padding: 0.0625rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.m3-chip--guide {
  gap: 0.25rem;
  border-color: var(--app-color-skipper);
  background-color: var(--app-color-skipper-container);
  color: var(--app-color-on-skipper-container);
}
.m3-chip--guide .material-symbols-outlined {
  font-size: 1.125rem;
}

.m3-chip--founder {
  gap: 0.25rem;
  border-color: var(--md-sys-color-primary);
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}
.m3-chip--founder .material-symbols-outlined {
  font-size: 1.125rem;
}

.breadcrumb,
.m3-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.875rem;
}

.breadcrumb-item,
.m3-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  color: var(--md-sys-color-on-surface-variant);
}
.breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-item + .m3-breadcrumb__item::before,
.m3-breadcrumb__item + .breadcrumb-item::before,
.m3-breadcrumb__item + .m3-breadcrumb__item::before {
  content: "chevron_right";
  font-family: "Material Symbols Outlined";
  font-size: 1rem;
  margin-right: 0.5rem;
  color: var(--md-sys-color-on-surface-variant);
}
.breadcrumb-item.active,
.m3-breadcrumb__item.active {
  color: var(--md-sys-color-on-surface);
  font-weight: 500;
}

nav.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin: 1rem 0;
  font-size: 0.875rem;
}
nav.pagination span {
  display: inline-flex;
}
nav.pagination a,
nav.pagination span.current,
nav.pagination span.gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.625rem;
  border-radius: var(--md-sys-shape-corner-full);
  color: var(--md-sys-color-on-surface);
  text-decoration: none;
}
nav.pagination a:hover {
  background-color: var(--md-sys-color-surface-container-highest);
}
nav.pagination span.current {
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  font-weight: 500;
}
nav.pagination span.gap {
  color: var(--md-sys-color-on-surface-variant);
}

.m3-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--md-sys-color-on-surface-variant);
}
.m3-empty-state .material-symbols-outlined {
  font-size: 3rem;
  display: block;
  margin: 0 auto 1rem;
  color: var(--md-sys-color-outline);
}

.m3-infinite-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
}

.m3-infinite-scroll__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--md-sys-color-outline-variant, #ddd);
  border-top-color: var(--md-sys-color-primary, #555);
  border-radius: 50%;
  animation: m3-infinite-scroll-spin 0.8s linear infinite;
}

@keyframes m3-infinite-scroll-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .m3-infinite-scroll__spinner {
    animation: none;
  }
}
.m3-zoomable {
  cursor: zoom-in;
}

.m3-lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  z-index: 2000;
}
.m3-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
}
.m3-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.m3-lightbox__img {
  max-width: 96vw;
  max-height: 92dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--md-sys-shape-corner-medium);
  box-shadow: var(--m3-elevation-3);
  cursor: zoom-out;
}

.m3-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 0;
  border-radius: var(--md-sys-shape-corner-full, 9999px);
  cursor: pointer;
}
.m3-lightbox__close:hover, .m3-lightbox__close:focus-visible {
  background: rgba(0, 0, 0, 0.7);
}

.m3-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.m3-table,
table.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  color: var(--md-sys-color-on-surface);
}
.m3-table th,
.m3-table td,
table.table th,
table.table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}
.m3-table thead th,
table.table thead th {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--md-sys-color-on-surface-variant);
  background-color: var(--md-sys-color-surface-container-high);
}
.m3-table tbody tr:hover,
table.table tbody tr:hover {
  background-color: var(--md-sys-color-surface-container-high);
}

.m3-chat-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  border-radius: var(--md-sys-shape-corner-large);
  font-size: 0.9375rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.m3-chat-bubble--user {
  margin-left: auto;
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  border-bottom-right-radius: var(--md-sys-shape-corner-extra-small);
}

.m3-chat-bubble--assistant {
  margin-right: auto;
  background-color: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
  border-bottom-left-radius: var(--md-sys-shape-corner-extra-small);
}

.chat-body {
  overflow-y: auto;
}

.m3-chat-layout {
  max-width: 820px;
  margin: 0 auto;
}

.m3-chat-window {
  height: 55dvh;
  min-height: 320px;
  padding: 1rem;
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large) var(--md-sys-shape-corner-large) 0 0;
  background-color: var(--md-sys-color-surface-container-low);
}

.m3-chat-input {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--md-sys-color-outline-variant);
  border-top: none;
  border-radius: 0 0 var(--md-sys-shape-corner-large) var(--md-sys-shape-corner-large);
  background-color: var(--md-sys-color-surface-container-high);
}
.m3-chat-input md-outlined-text-field {
  flex: 1;
  margin-bottom: 0;
}

.m3-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-inline: 1px solid var(--md-sys-color-outline-variant);
  background-color: var(--md-sys-color-surface-container-low);
}

.m3-chip--suggestion {
  cursor: pointer;
  border-color: var(--md-sys-color-primary);
  background-color: transparent;
  color: var(--md-sys-color-primary);
  font-family: var(--md-sys-typescale-font);
}
.m3-chip--suggestion:hover {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}

.m3-chat-disclaimer {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--md-sys-color-on-surface-variant);
  text-align: center;
}

#spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
#spinner md-circular-progress {
  --md-circular-progress-size: 5rem;
}

#spinner.show {
  opacity: 1;
  visibility: visible;
}

md-outlined-text-field,
md-outlined-select {
  width: 100%;
  margin-bottom: 1rem;
}

.m3-form {
  max-width: 640px;
}

.m3-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
@media (max-width: 599.98px) {
  .m3-form-row {
    grid-template-columns: 1fr;
  }
}

.m3-color-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.m3-color-row md-outlined-select {
  flex: 1;
}

.m3-form-fieldset {
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}
.m3-form-fieldset legend {
  padding: 0;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--md-sys-color-on-surface-variant);
}

.m3-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.25rem 1rem;
  margin-top: 0.5rem;
}

.m3-nested-row {
  padding: 1rem 1rem 0.5rem;
  margin-top: 1rem;
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-medium);
  background-color: var(--md-sys-color-surface-container-high);
}
.m3-nested-row md-outlined-text-field,
.m3-nested-row md-outlined-select {
  margin-bottom: 0.5rem;
}

.m3-form-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.m3-field-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--md-sys-color-on-surface-variant);
}

.m3-input {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--md-sys-shape-corner-extra-small);
  background-color: transparent;
  font-family: var(--md-sys-typescale-font);
  font-size: 1rem;
  color: var(--md-sys-color-on-surface);
}
.m3-input::placeholder {
  color: var(--md-sys-color-on-surface-variant);
}
.m3-input:hover {
  border-color: var(--md-sys-color-on-surface);
}
.m3-input:focus {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: -2px;
  border-color: transparent;
}

.m3-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

md-filled-button.md-skipper {
  --md-filled-button-container-color: var(--app-color-skipper);
  --md-filled-button-label-text-color: var(--app-color-on-skipper);
  --md-filled-button-hover-label-text-color: var(--app-color-on-skipper);
  --md-filled-button-focus-label-text-color: var(--app-color-on-skipper);
  --md-filled-button-pressed-label-text-color: var(--app-color-on-skipper);
  --md-filled-button-icon-color: var(--app-color-on-skipper);
  --md-filled-button-hover-icon-color: var(--app-color-on-skipper);
  --md-filled-button-focus-icon-color: var(--app-color-on-skipper);
  --md-filled-button-pressed-icon-color: var(--app-color-on-skipper);
}

@keyframes m3-pulse {
  0% {
    background-color: var(--md-sys-color-primary-container);
  }
  100% {
    background-color: transparent;
  }
}
.m3-pulse {
  animation: m3-pulse 0.5s ease;
  border-radius: var(--md-sys-shape-corner-extra-small);
}

.color-preview {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid var(--md-sys-color-outline-variant);
}

.m3-combobox {
  position: relative;
}
.m3-combobox md-outlined-text-field {
  width: 100%;
}

.m3-combobox__list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  margin: 0.25rem 0 0;
  padding: 0.25rem;
  list-style: none;
  max-height: 16rem;
  overflow-y: auto;
  background: var(--md-sys-color-surface-container);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.m3-combobox__list[hidden] {
  display: none;
}

.m3-combobox__option {
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--md-sys-color-on-surface);
  cursor: pointer;
}
.m3-combobox__option:hover, .m3-combobox__option.is-active {
  background: var(--md-sys-color-surface-container-highest);
}
.m3-combobox__option.is-selected {
  color: var(--md-sys-color-primary);
  font-weight: 600;
}
.m3-combobox__option[hidden] {
  display: none;
}

.admin {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}
@media (max-width: 900px) {
  .admin {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0.75rem 3rem;
  }
}

.admin__sidebar {
  flex: 0 0 230px;
  position: sticky;
  top: 1.5rem;
}
@media (max-width: 900px) {
  .admin__sidebar {
    position: static;
    flex-basis: auto;
    width: 100%;
  }
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1rem;
  border-radius: 16px;
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
}
@media (max-width: 900px) {
  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }
}

.admin-nav__group {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.admin-nav__heading {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--md-sys-color-on-surface-variant);
  padding: 0 0.75rem;
  margin-bottom: 0.25rem;
}

.admin-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--md-sys-color-on-surface);
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.admin-nav__link:hover {
  background-color: var(--md-sys-color-surface-container-high);
}
.admin-nav__link--active {
  background-color: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  font-weight: 600;
}

.admin-nav__badge {
  min-width: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5rem;
  text-align: center;
  color: var(--md-sys-color-on-error);
  background-color: var(--md-sys-color-error);
}

.admin__main {
  flex: 1 1 auto;
  min-width: 0;
}

.admin-header {
  margin-bottom: 1.5rem;
}
.admin-header h1 {
  margin: 0 0 0.25rem;
}
.admin-header p {
  margin: 0;
  color: var(--md-sys-color-on-surface-variant);
}

.admin-section {
  margin-bottom: 2.5rem;
}
.admin-section__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--md-sys-color-on-surface);
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.admin-metric {
  padding: 1.25rem;
  border-radius: 16px;
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
}
.admin-metric__label {
  display: block;
  font-size: 0.8rem;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 0.4rem;
}
.admin-metric__value {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--md-sys-color-on-surface);
}
.admin-metric__sub {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  color: var(--md-sys-color-on-surface-variant);
}
.admin-metric--accent {
  background-color: var(--md-sys-color-primary);
  border-color: var(--md-sys-color-primary);
}
.admin-metric--accent .admin-metric__label,
.admin-metric--accent .admin-metric__value,
.admin-metric--accent .admin-metric__sub {
  color: var(--md-sys-color-on-primary);
}

.admin-chart {
  padding: 1.25rem;
  border-radius: 16px;
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  margin-bottom: 1.25rem;
}
.admin-chart__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}
.admin-chart__hint {
  font-size: 0.8rem;
  color: var(--md-sys-color-on-surface-variant);
  margin: 0 0 1rem;
}

.admin-chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.admin-funnel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-funnel__row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-funnel__label {
  flex: 0 0 130px;
  font-size: 0.9rem;
  color: var(--md-sys-color-on-surface);
}

.admin-funnel__track {
  flex: 1 1 auto;
  height: 32px;
  border-radius: 8px;
  background-color: var(--md-sys-color-surface-container-high);
  overflow: hidden;
}

.admin-funnel__bar {
  height: 100%;
  min-width: 2px;
  border-radius: 8px;
  background-color: var(--md-sys-color-primary);
}

.admin-funnel__value {
  flex: 0 0 120px;
  text-align: right;
  font-size: 0.85rem;
  color: var(--md-sys-color-on-surface-variant);
}

.shepherd-button {
  background: #3288e6;
  border: 0;
  border-radius: 3px;
  color: hsla(0, 0%, 100%, 0.75);
  cursor: pointer;
  margin-right: 0.5rem;
  padding: 0.5rem 1.5rem;
  transition: all 0.5s ease;
}

.shepherd-button:not(:disabled):hover {
  background: #196fcc;
  color: hsla(0, 0%, 100%, 0.75);
}

.shepherd-button.shepherd-button-secondary {
  background: #f1f2f3;
  color: rgba(0, 0, 0, 0.75);
}

.shepherd-button.shepherd-button-secondary:not(:disabled):hover {
  background: #d6d9db;
  color: rgba(0, 0, 0, 0.75);
}

.shepherd-button:disabled {
  cursor: not-allowed;
}

.shepherd-footer {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  display: flex;
  justify-content: flex-end;
  padding: 0 0.75rem 0.75rem;
}

.shepherd-footer .shepherd-button:last-child {
  margin-right: 0;
}

.shepherd-cancel-icon {
  background: transparent;
  border: none;
  color: hsla(0, 0%, 50.2%, 0.75);
  font-size: 2em;
  cursor: pointer;
  font-weight: 400;
  margin: 0;
  padding: 0;
  transition: color 0.5s ease;
}

.shepherd-cancel-icon:hover {
  color: rgba(0, 0, 0, 0.75);
}

.shepherd-has-title .shepherd-content .shepherd-cancel-icon {
  color: hsla(0, 0%, 50.2%, 0.75);
}

.shepherd-has-title .shepherd-content .shepherd-cancel-icon:hover {
  color: rgba(0, 0, 0, 0.75);
}

.shepherd-title {
  color: rgba(0, 0, 0, 0.75);
  display: flex;
  font-size: 1rem;
  font-weight: 400;
  flex: 1 0 auto;
  margin: 0;
  padding: 0;
}

.shepherd-header {
  align-items: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  display: flex;
  justify-content: flex-end;
  line-height: 2em;
  padding: 0.75rem 0.75rem 0;
}

.shepherd-has-title .shepherd-content .shepherd-header {
  background: #e6e6e6;
  padding: 1em;
}

.shepherd-text {
  color: rgba(0, 0, 0, 0.75);
  font-size: 1rem;
  line-height: 1.3em;
  padding: 0.75em;
}

.shepherd-text p {
  margin-top: 0;
}

.shepherd-text p:last-child {
  margin-bottom: 0;
}

.shepherd-content {
  border-radius: 5px;
  outline: none;
  padding: 0;
}

.shepherd-element {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  opacity: 0;
  outline: none;
  transition: opacity 0.3s;
  z-index: 9999;
}

.shepherd-enabled.shepherd-element {
  opacity: 1;
}

.shepherd-element, .shepherd-element *, .shepherd-element :after, .shepherd-element :before {
  box-sizing: border-box;
}

.shepherd-element .shepherd-arrow {
  border: 16px solid transparent;
  content: "";
  display: block;
  height: 16px;
  pointer-events: none;
  position: absolute;
  width: 16px;
  z-index: 10000;
}

.shepherd-element.shepherd-element-attached-bottom.shepherd-element-attached-center .shepherd-arrow {
  bottom: 0;
  border-top-color: #fff;
  left: 50%;
  transform: translate(-50%, 100%);
}

.shepherd-element.shepherd-element-attached-top.shepherd-element-attached-center .shepherd-arrow {
  border-bottom-color: #fff;
  left: 50%;
  top: 0;
  transform: translate(-50%, -100%);
}

.shepherd-element.shepherd-element-attached-top.shepherd-element-attached-center.shepherd-has-title .shepherd-arrow {
  border-bottom-color: #e6e6e6;
}

.shepherd-element.shepherd-element-attached-middle.shepherd-element-attached-left .shepherd-arrow {
  border-right-color: #fff;
  left: 0;
  top: 50%;
  transform: translate(-100%, -50%);
}

.shepherd-element.shepherd-element-attached-middle.shepherd-element-attached-right .shepherd-arrow {
  border-left-color: #fff;
  right: 0;
  top: 50%;
  transform: translate(100%, -50%);
}

.shepherd-target-click-disabled.shepherd-enabled.shepherd-target, .shepherd-target-click-disabled.shepherd-enabled.shepherd-target * {
  pointer-events: none;
}

.shepherd-modal-overlay-container {
  -ms-filter: progid:dximagetransform.microsoft.gradient.alpha(Opacity=50);
  filter: alpha(opacity=50);
  fill-rule: evenodd;
  height: 0;
  left: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: all 0.3s ease-out, height 0ms 0.3s, opacity 0.3s 0ms;
  width: 100vw;
  z-index: 9997;
}

.shepherd-modal-overlay-container.shepherd-modal-is-visible {
  height: 100vh;
  opacity: 0.5;
  transition: all 0.3s ease-out, height 0s 0s, opacity 0.3s 0s;
}

.shepherd-modal-overlay-container.shepherd-modal-is-visible path {
  pointer-events: all;
}

.shepherd-element.s2f-tour {
  max-width: 22rem;
  border-radius: var(--md-sys-shape-corner-large);
  background-color: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
  box-shadow: var(--m3-elevation-3);
}
.shepherd-element.s2f-tour .shepherd-arrow::before {
  background-color: var(--md-sys-color-surface-container-high);
}
.shepherd-element.s2f-tour .shepherd-content {
  border-radius: inherit;
  padding: 1.25rem;
}
.shepherd-element.s2f-tour .shepherd-header {
  padding: 0;
  background: transparent;
}
.shepherd-element.s2f-tour .shepherd-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--md-sys-color-on-surface);
}
.shepherd-element.s2f-tour .shepherd-text {
  margin-top: 0.5rem;
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--md-sys-color-on-surface-variant);
}
.shepherd-element.s2f-tour .shepherd-cancel-icon {
  color: var(--md-sys-color-on-surface-variant);
}
.shepherd-element.s2f-tour .shepherd-cancel-icon:hover {
  color: var(--md-sys-color-on-surface);
}
.shepherd-element.s2f-tour .shepherd-footer {
  padding: 1rem 0 0;
  gap: 0.5rem;
}
.shepherd-element.s2f-tour .shepherd-button {
  margin: 0;
  padding: 0.5rem 1.25rem;
  border-radius: var(--md-sys-shape-corner-full);
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: filter 0.15s ease;
}
.shepherd-element.s2f-tour .shepherd-button:not(:disabled):hover {
  filter: brightness(0.93);
  background-color: var(--md-sys-color-primary);
}
.shepherd-element.s2f-tour .shepherd-button.shepherd-button-secondary {
  background-color: transparent;
  color: var(--md-sys-color-primary);
}
.shepherd-element.s2f-tour .shepherd-button.shepherd-button-secondary:not(:disabled):hover {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  filter: none;
}

.shepherd-modal-overlay-container {
  opacity: 0.32;
}

.flatpickr-calendar {
  background: transparent;
  opacity: 0;
  display: none;
  text-align: center;
  visibility: hidden;
  padding: 0;
  -webkit-animation: none;
  animation: none;
  direction: ltr;
  border: 0;
  font-size: 14px;
  line-height: 24px;
  border-radius: 5px;
  position: absolute;
  width: 307.875px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  background: #fff;
  -webkit-box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0, 0, 0, 0.08);
  box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0, 0, 0, 0.08);
}

.flatpickr-calendar.open,
.flatpickr-calendar.inline {
  opacity: 1;
  max-height: 640px;
  visibility: visible;
}

.flatpickr-calendar.open {
  display: inline-block;
  z-index: 99999;
}

.flatpickr-calendar.animate.open {
  -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
  animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.flatpickr-calendar.inline {
  display: block;
  position: relative;
  top: 2px;
}

.flatpickr-calendar.static {
  position: absolute;
  top: calc(100% + 2px);
}

.flatpickr-calendar.static.open {
  z-index: 999;
  display: block;
}

.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
  -webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
  box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}

.flatpickr-calendar .hasWeeks .dayContainer,
.flatpickr-calendar .hasTime .dayContainer {
  border-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.flatpickr-calendar .hasWeeks .dayContainer {
  border-left: 0;
}

.flatpickr-calendar.hasTime .flatpickr-time {
  height: 40px;
  border-top: 1px solid #e6e6e6;
}

.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
  height: auto;
}

.flatpickr-calendar:before,
.flatpickr-calendar:after {
  position: absolute;
  display: block;
  pointer-events: none;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  left: 22px;
}

.flatpickr-calendar.rightMost:before,
.flatpickr-calendar.arrowRight:before,
.flatpickr-calendar.rightMost:after,
.flatpickr-calendar.arrowRight:after {
  left: auto;
  right: 22px;
}

.flatpickr-calendar.arrowCenter:before,
.flatpickr-calendar.arrowCenter:after {
  left: 50%;
  right: 50%;
}

.flatpickr-calendar:before {
  border-width: 5px;
  margin: 0 -5px;
}

.flatpickr-calendar:after {
  border-width: 4px;
  margin: 0 -4px;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
  bottom: 100%;
}

.flatpickr-calendar.arrowTop:before {
  border-bottom-color: #e6e6e6;
}

.flatpickr-calendar.arrowTop:after {
  border-bottom-color: #fff;
}

.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
  top: 100%;
}

.flatpickr-calendar.arrowBottom:before {
  border-top-color: #e6e6e6;
}

.flatpickr-calendar.arrowBottom:after {
  border-top-color: #fff;
}

.flatpickr-calendar:focus {
  outline: 0;
}

.flatpickr-wrapper {
  position: relative;
  display: inline-block;
}

.flatpickr-months {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.flatpickr-months .flatpickr-month {
  background: transparent;
  color: rgba(0, 0, 0, 0.9);
  fill: rgba(0, 0, 0, 0.9);
  height: 34px;
  line-height: 1;
  text-align: center;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow: hidden;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
  cursor: pointer;
  position: absolute;
  top: 0;
  height: 34px;
  padding: 10px;
  z-index: 3;
  color: rgba(0, 0, 0, 0.9);
  fill: rgba(0, 0, 0, 0.9);
}

.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
  display: none;
}

.flatpickr-months .flatpickr-prev-month i,
.flatpickr-months .flatpickr-next-month i {
  position: relative;
}

.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
  /*
        /*rtl:begin:ignore*/
  /*
        */
  left: 0;
  /*
        /*rtl:end:ignore*/
  /*
        */
}

/*
      /*rtl:begin:ignore*/
/*
      /*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
  /*
        /*rtl:begin:ignore*/
  /*
        */
  right: 0;
  /*
        /*rtl:end:ignore*/
  /*
        */
}

/*
      /*rtl:begin:ignore*/
/*
      /*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  color: #959ea9;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: #f64747;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
  width: 14px;
  height: 14px;
}

.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
  -webkit-transition: fill 0.1s;
  transition: fill 0.1s;
  fill: inherit;
}

.numInputWrapper {
  position: relative;
  height: auto;
}

.numInputWrapper input,
.numInputWrapper span {
  display: inline-block;
}

.numInputWrapper input {
  width: 100%;
}

.numInputWrapper input::-ms-clear {
  display: none;
}

.numInputWrapper input::-webkit-outer-spin-button,
.numInputWrapper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.numInputWrapper span {
  position: absolute;
  right: 0;
  width: 14px;
  padding: 0 4px 0 2px;
  height: 50%;
  line-height: 50%;
  opacity: 0;
  cursor: pointer;
  border: 1px solid rgba(57, 57, 57, 0.15);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.numInputWrapper span:hover {
  background: rgba(0, 0, 0, 0.1);
}

.numInputWrapper span:active {
  background: rgba(0, 0, 0, 0.2);
}

.numInputWrapper span:after {
  display: block;
  content: "";
  position: absolute;
}

.numInputWrapper span.arrowUp {
  top: 0;
  border-bottom: 0;
}

.numInputWrapper span.arrowUp:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 4px solid rgba(57, 57, 57, 0.6);
  top: 26%;
}

.numInputWrapper span.arrowDown {
  top: 50%;
}

.numInputWrapper span.arrowDown:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(57, 57, 57, 0.6);
  top: 40%;
}

.numInputWrapper span svg {
  width: inherit;
  height: auto;
}

.numInputWrapper span svg path {
  fill: rgba(0, 0, 0, 0.5);
}

.numInputWrapper:hover {
  background: rgba(0, 0, 0, 0.05);
}

.numInputWrapper:hover span {
  opacity: 1;
}

.flatpickr-current-month {
  font-size: 135%;
  line-height: inherit;
  font-weight: 300;
  color: inherit;
  position: absolute;
  width: 75%;
  left: 12.5%;
  padding: 7.48px 0 0 0;
  line-height: 1;
  height: 34px;
  display: inline-block;
  text-align: center;
  -webkit-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

.flatpickr-current-month span.cur-month {
  font-family: inherit;
  font-weight: 700;
  color: inherit;
  display: inline-block;
  margin-left: 0.5ch;
  padding: 0;
}

.flatpickr-current-month span.cur-month:hover {
  background: rgba(0, 0, 0, 0.05);
}

.flatpickr-current-month .numInputWrapper {
  width: 6ch;
  width: 7ch\0 ;
  display: inline-block;
}

.flatpickr-current-month .numInputWrapper span.arrowUp:after {
  border-bottom-color: rgba(0, 0, 0, 0.9);
}

.flatpickr-current-month .numInputWrapper span.arrowDown:after {
  border-top-color: rgba(0, 0, 0, 0.9);
}

.flatpickr-current-month input.cur-year {
  background: transparent;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: inherit;
  cursor: text;
  padding: 0 0 0 0.5ch;
  margin: 0;
  display: inline-block;
  font-size: inherit;
  font-family: inherit;
  font-weight: 300;
  line-height: inherit;
  height: auto;
  border: 0;
  border-radius: 0;
  vertical-align: initial;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

.flatpickr-current-month input.cur-year:focus {
  outline: 0;
}

.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
  font-size: 100%;
  color: rgba(0, 0, 0, 0.5);
  background: transparent;
  pointer-events: none;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  appearance: menulist;
  background: transparent;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  font-weight: 300;
  height: auto;
  line-height: inherit;
  margin: -1px 0 0 0;
  outline: none;
  padding: 0 0 0 0.5ch;
  position: relative;
  vertical-align: initial;
  -webkit-box-sizing: border-box;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  width: auto;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-current-month .flatpickr-monthDropdown-months:active {
  outline: none;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
  background: rgba(0, 0, 0, 0.05);
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
  background-color: transparent;
  outline: none;
  padding: 0;
}

.flatpickr-weekdays {
  background: transparent;
  text-align: center;
  overflow: hidden;
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 28px;
}

.flatpickr-weekdays .flatpickr-weekdaycontainer {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

span.flatpickr-weekday {
  cursor: default;
  font-size: 90%;
  background: transparent;
  color: rgba(0, 0, 0, 0.54);
  line-height: 1;
  margin: 0;
  text-align: center;
  display: block;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-weight: bolder;
}

.dayContainer,
.flatpickr-weeks {
  padding: 1px 0 0 0;
}

.flatpickr-days {
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  width: 307.875px;
}

.flatpickr-days:focus {
  outline: 0;
}

.dayContainer {
  padding: 0;
  outline: 0;
  text-align: left;
  width: 307.875px;
  min-width: 307.875px;
  max-width: 307.875px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-around;
  justify-content: space-around;
  -webkit-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
  opacity: 1;
}

.dayContainer + .dayContainer {
  -webkit-box-shadow: -1px 0 0 #e6e6e6;
  box-shadow: -1px 0 0 #e6e6e6;
}

.flatpickr-day {
  background: none;
  border: 1px solid transparent;
  border-radius: 150px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #393939;
  cursor: pointer;
  font-weight: 400;
  width: 14.2857143%;
  -webkit-flex-basis: 14.2857143%;
  -ms-flex-preferred-size: 14.2857143%;
  flex-basis: 14.2857143%;
  max-width: 39px;
  height: 39px;
  line-height: 39px;
  margin: 0;
  display: inline-block;
  position: relative;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
}

.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
  cursor: pointer;
  outline: 0;
  background: #e6e6e6;
  border-color: #e6e6e6;
}

.flatpickr-day.today {
  border-color: #959ea9;
}

.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
  border-color: #959ea9;
  background: #959ea9;
  color: #fff;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: #569ff7;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  border-color: #569ff7;
}

.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
  border-radius: 50px 0 0 50px;
}

.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
  border-radius: 0 50px 50px 0;
}

.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
  -webkit-box-shadow: -10px 0 0 #569ff7;
  box-shadow: -10px 0 0 #569ff7;
}

.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
.flatpickr-day.endRange.startRange.endRange {
  border-radius: 50px;
}

.flatpickr-day.inRange {
  border-radius: 0;
  -webkit-box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
  box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
  color: rgba(57, 57, 57, 0.3);
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  cursor: not-allowed;
  color: rgba(57, 57, 57, 0.1);
}

.flatpickr-day.week.selected {
  border-radius: 0;
  -webkit-box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7;
  box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7;
}

.flatpickr-day.hidden {
  visibility: hidden;
}

.rangeMode .flatpickr-day {
  margin-top: 1px;
}

.flatpickr-weekwrapper {
  float: left;
}

.flatpickr-weekwrapper .flatpickr-weeks {
  padding: 0 12px;
  -webkit-box-shadow: 1px 0 0 #e6e6e6;
  box-shadow: 1px 0 0 #e6e6e6;
}

.flatpickr-weekwrapper .flatpickr-weekday {
  float: none;
  width: 100%;
  line-height: 28px;
}

.flatpickr-weekwrapper span.flatpickr-day,
.flatpickr-weekwrapper span.flatpickr-day:hover {
  display: block;
  width: 100%;
  max-width: none;
  color: rgba(57, 57, 57, 0.3);
  background: transparent;
  cursor: default;
  border: none;
}

.flatpickr-innerContainer {
  display: block;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
}

.flatpickr-rContainer {
  display: inline-block;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.flatpickr-time {
  text-align: center;
  outline: 0;
  display: block;
  height: 0;
  line-height: 40px;
  max-height: 40px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.flatpickr-time:after {
  content: "";
  display: table;
  clear: both;
}

.flatpickr-time .numInputWrapper {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 40%;
  height: 40px;
  float: left;
}

.flatpickr-time .numInputWrapper span.arrowUp:after {
  border-bottom-color: #393939;
}

.flatpickr-time .numInputWrapper span.arrowDown:after {
  border-top-color: #393939;
}

.flatpickr-time.hasSeconds .numInputWrapper {
  width: 26%;
}

.flatpickr-time.time24hr .numInputWrapper {
  width: 49%;
}

.flatpickr-time input {
  background: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  text-align: center;
  margin: 0;
  padding: 0;
  height: inherit;
  line-height: inherit;
  color: #393939;
  font-size: 14px;
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

.flatpickr-time input.flatpickr-hour {
  font-weight: bold;
}

.flatpickr-time input.flatpickr-minute,
.flatpickr-time input.flatpickr-second {
  font-weight: 400;
}

.flatpickr-time input:focus {
  outline: 0;
  border: 0;
}

.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
  height: inherit;
  float: left;
  line-height: inherit;
  color: #393939;
  font-weight: bold;
  width: 2%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
}

.flatpickr-time .flatpickr-am-pm {
  outline: 0;
  width: 18%;
  cursor: pointer;
  text-align: center;
  font-weight: 400;
}

.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
  background: #eee;
}

.flatpickr-input[readonly] {
  cursor: pointer;
}

@-webkit-keyframes fpFadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fpFadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
.flatpickr-calendar {
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-on-surface);
  box-shadow: var(--m3-elevation-2);
  border-radius: var(--md-sys-shape-corner-medium);
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-weekdays,
span.flatpickr-weekday {
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-on-surface);
  fill: var(--md-sys-color-on-surface);
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: var(--md-sys-color-on-surface-variant);
  fill: var(--md-sys-color-on-surface-variant);
}

.flatpickr-day {
  color: var(--md-sys-color-on-surface);
}
.flatpickr-day:hover {
  background: var(--md-sys-color-surface-container-highest);
  border-color: var(--md-sys-color-surface-container-highest);
}
.flatpickr-day.today {
  border-color: var(--md-sys-color-primary);
}
.flatpickr-day.selected, .flatpickr-day.selected:hover {
  background: var(--md-sys-color-primary);
  border-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}
.flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
  color: var(--md-sys-color-on-surface-variant);
  opacity: 0.5;
}

.flatpickr-time {
  background: var(--md-sys-color-surface-container);
}
.flatpickr-time input,
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-on-surface);
}
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
  background: var(--md-sys-color-surface-container-high);
}

/* required styles */
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-container {
  overflow: hidden;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
  background: transparent;
}

/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
  image-rendering: -webkit-optimize-contrast;
}

/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
  width: 1600px;
  height: 1600px;
  -webkit-transform-origin: 0 0;
}

.leaflet-marker-icon,
.leaflet-marker-shadow {
  display: block;
}

/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
  max-width: none !important;
  max-height: none !important;
}

.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
  max-width: none !important;
  max-height: none !important;
  width: auto;
  padding: 0;
}

.leaflet-container img.leaflet-tile {
  /* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
  mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
  -ms-touch-action: pan-x pan-y;
  touch-action: pan-x pan-y;
}

.leaflet-container.leaflet-touch-drag {
  -ms-touch-action: pinch-zoom;
  /* Fallback for FF which doesn't support pinch-zoom */
  touch-action: none;
  touch-action: pinch-zoom;
}

.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
  -ms-touch-action: none;
  touch-action: none;
}

.leaflet-container {
  -webkit-tap-highlight-color: transparent;
}

.leaflet-container a {
  -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}

.leaflet-tile {
  filter: inherit;
  visibility: hidden;
}

.leaflet-tile-loaded {
  visibility: inherit;
}

.leaflet-zoom-box {
  width: 0;
  height: 0;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 800;
}

/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
  -moz-user-select: none;
}

.leaflet-pane {
  z-index: 400;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-map-pane canvas {
  z-index: 100;
}

.leaflet-map-pane svg {
  z-index: 200;
}

.leaflet-vml-shape {
  width: 1px;
  height: 1px;
}

.lvml {
  behavior: url(#default#VML);
  display: inline-block;
  position: absolute;
}

/* control positioning */
.leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
  pointer-events: auto;
}

.leaflet-top,
.leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.leaflet-top {
  top: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-control {
  float: left;
  clear: both;
}

.leaflet-right .leaflet-control {
  float: right;
}

.leaflet-top .leaflet-control {
  margin-top: 10px;
}

.leaflet-bottom .leaflet-control {
  margin-bottom: 10px;
}

.leaflet-left .leaflet-control {
  margin-left: 10px;
}

.leaflet-right .leaflet-control {
  margin-right: 10px;
}

/* zoom and fade animations */
.leaflet-fade-anim .leaflet-popup {
  opacity: 0;
  -webkit-transition: opacity 0.2s linear;
  -moz-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
}

.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
  opacity: 1;
}

.leaflet-zoom-animated {
  -webkit-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
}

svg.leaflet-zoom-animated {
  will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
  -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
  -moz-transition: -moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
  transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1);
}

.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
  -webkit-transition: none;
  -moz-transition: none;
  transition: none;
}

.leaflet-zoom-anim .leaflet-zoom-hide {
  visibility: hidden;
}

/* cursors */
.leaflet-interactive {
  cursor: pointer;
}

.leaflet-grab {
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab;
}

.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
  cursor: crosshair;
}

.leaflet-popup-pane,
.leaflet-control {
  cursor: auto;
}

.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
  cursor: move;
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
  pointer-events: none;
}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
  pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
  pointer-events: auto;
}

/* visual tweaks */
.leaflet-container {
  background: #ddd;
  outline-offset: 1px;
}

.leaflet-container a {
  color: #0078A8;
}

.leaflet-zoom-box {
  border: 2px dotted #38f;
  background: rgba(255, 255, 255, 0.5);
}

/* general typography */
.leaflet-container {
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1.5;
}

/* general toolbar styles */
.leaflet-bar {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
  border-radius: 4px;
}

.leaflet-bar a {
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  width: 26px;
  height: 26px;
  line-height: 26px;
  display: block;
  text-align: center;
  text-decoration: none;
  color: black;
}

.leaflet-bar a,
.leaflet-control-layers-toggle {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  display: block;
}

.leaflet-bar a:hover,
.leaflet-bar a:focus {
  background-color: #f4f4f4;
}

.leaflet-bar a:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.leaflet-bar a:last-child {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom: none;
}

.leaflet-bar a.leaflet-disabled {
  cursor: default;
  background-color: #f4f4f4;
  color: #bbb;
}

.leaflet-touch .leaflet-bar a {
  width: 30px;
  height: 30px;
  line-height: 30px;
}

.leaflet-touch .leaflet-bar a:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.leaflet-touch .leaflet-bar a:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

/* zoom control */
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  font: bold 18px "Lucida Console", Monaco, monospace;
  text-indent: 1px;
}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
  font-size: 22px;
}

/* layers control */
.leaflet-control-layers {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  background: #fff;
  border-radius: 5px;
}

.leaflet-control-layers-toggle {
  background-image: url(/images/layers.png);
  width: 36px;
  height: 36px;
}

.leaflet-retina .leaflet-control-layers-toggle {
  background-image: url(/images/layers-2x.png);
  background-size: 26px 26px;
}

.leaflet-touch .leaflet-control-layers-toggle {
  width: 44px;
  height: 44px;
}

.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
  display: none;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list {
  display: block;
  position: relative;
}

.leaflet-control-layers-expanded {
  padding: 6px 10px 6px 6px;
  color: #333;
  background: #fff;
}

.leaflet-control-layers-scrollbar {
  overflow-y: scroll;
  overflow-x: hidden;
  padding-right: 5px;
}

.leaflet-control-layers-selector {
  margin-top: 2px;
  position: relative;
  top: 1px;
}

.leaflet-control-layers label {
  display: block;
  font-size: 13px;
  font-size: 1.08333em;
}

.leaflet-control-layers-separator {
  height: 0;
  border-top: 1px solid #ddd;
  margin: 5px -10px 5px -6px;
}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
  background-image: url(/images/marker-icon.png);
}

/* attribution and scale controls */
.leaflet-container .leaflet-control-attribution {
  background: #fff;
  background: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.leaflet-control-attribution,
.leaflet-control-scale-line {
  padding: 0 5px;
  color: #333;
  line-height: 1.4;
}

.leaflet-control-attribution a {
  text-decoration: none;
}

.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
  text-decoration: underline;
}

.leaflet-attribution-flag {
  display: inline !important;
  vertical-align: baseline !important;
  width: 1em;
  height: 0.6669em;
}

.leaflet-left .leaflet-control-scale {
  margin-left: 5px;
}

.leaflet-bottom .leaflet-control-scale {
  margin-bottom: 5px;
}

.leaflet-control-scale-line {
  border: 2px solid #777;
  border-top: none;
  line-height: 1.1;
  padding: 2px 5px 1px;
  white-space: nowrap;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.8);
  text-shadow: 1px 1px #fff;
}

.leaflet-control-scale-line:not(:first-child) {
  border-top: 2px solid #777;
  border-bottom: none;
  margin-top: -2px;
}

.leaflet-control-scale-line:not(:first-child):not(:last-child) {
  border-bottom: 2px solid #777;
}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
  box-shadow: none;
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
  border: 2px solid rgba(0, 0, 0, 0.2);
  background-clip: padding-box;
}

/* popup */
.leaflet-popup {
  position: absolute;
  text-align: center;
  margin-bottom: 20px;
}

.leaflet-popup-content-wrapper {
  padding: 1px;
  text-align: left;
  border-radius: 12px;
}

.leaflet-popup-content {
  margin: 13px 24px 13px 20px;
  line-height: 1.3;
  font-size: 13px;
  font-size: 1.08333em;
  min-height: 1px;
}

.leaflet-popup-content p {
  margin: 17px 0;
  margin: 1.3em 0;
}

.leaflet-popup-tip-container {
  width: 40px;
  height: 20px;
  position: absolute;
  left: 50%;
  margin-top: -1px;
  margin-left: -20px;
  overflow: hidden;
  pointer-events: none;
}

.leaflet-popup-tip {
  width: 17px;
  height: 17px;
  padding: 1px;
  margin: -10px auto 0;
  pointer-events: auto;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: white;
  color: #333;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.leaflet-container a.leaflet-popup-close-button {
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  text-align: center;
  width: 24px;
  height: 24px;
  font: 16px/24px Tahoma, Verdana, sans-serif;
  color: #757575;
  text-decoration: none;
  background: transparent;
}

.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
  color: #585858;
}

.leaflet-popup-scrolled {
  overflow: auto;
}

.leaflet-oldie .leaflet-popup-content-wrapper {
  -ms-zoom: 1;
}

.leaflet-oldie .leaflet-popup-tip {
  width: 24px;
  margin: 0 auto;
  -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
  filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
  border: 1px solid #999;
}

/* div icon */
.leaflet-div-icon {
  background: #fff;
  border: 1px solid #666;
}

/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
  position: absolute;
  padding: 6px;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 3px;
  color: #222;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.leaflet-tooltip.leaflet-interactive {
  cursor: pointer;
  pointer-events: auto;
}

.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
  position: absolute;
  pointer-events: none;
  border: 6px solid transparent;
  background: transparent;
  content: "";
}

/* Directions */
.leaflet-tooltip-bottom {
  margin-top: 6px;
}

.leaflet-tooltip-top {
  margin-top: -6px;
}

.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
  left: 50%;
  margin-left: -6px;
}

.leaflet-tooltip-top:before {
  bottom: 0;
  margin-bottom: -12px;
  border-top-color: #fff;
}

.leaflet-tooltip-bottom:before {
  top: 0;
  margin-top: -12px;
  margin-left: -6px;
  border-bottom-color: #fff;
}

.leaflet-tooltip-left {
  margin-left: -6px;
}

.leaflet-tooltip-right {
  margin-left: 6px;
}

.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
  top: 50%;
  margin-top: -6px;
}

.leaflet-tooltip-left:before {
  right: 0;
  margin-right: -12px;
  border-left-color: #fff;
}

.leaflet-tooltip-right:before {
  left: 0;
  margin-left: -12px;
  border-right-color: #fff;
}

/* Printing */
@media print {
  /* Prevent printers from removing background-images of controls. */
  .leaflet-control {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
.m3-spot-map {
  height: 160px;
  width: 100%;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  background: var(--md-sys-color-surface-variant);
  z-index: 0;
}

.m3-spot-map .leaflet-control-attribution {
  font-size: 0.625rem;
}
