:root {
  --desktop-scale: 1;
  --desktop-width: 1186px;
  --desktop-height: 912px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 18px;
  color: #111111;
  background: #d8dee8;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  min-width: 0;
  min-height: 0;
  color: #111111;
  background: #d8dee8;
}

button,
input,
select,
textarea {
  font: inherit;
}

.viewport-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #d8dee8;
}

.desktop-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--desktop-width);
  height: var(--desktop-height);
  overflow: hidden;
  transform: translate(-50%, -50%) scale(var(--desktop-scale));
  transform-origin: center;
}

.workspace {
  position: absolute;
  inset: 0;
  height: 100%;
  display: block;
  min-height: 0;
  background: transparent;
}

.map-shell {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #dbe7f4;
}

#map {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #dbe7f4;
}

.glass-layer-host,
.glass-surface-panel {
  position: relative;
}

.glass-surface-panel {
  isolation: isolate;
  overflow: hidden;
  border: 0;
  box-shadow: 0 13px 36px rgb(15 23 42 / 20%), var(--glass-glow, 0 0 0 transparent);
}

.glass-filter {
  position: absolute;
  z-index: -10;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.formal-glass-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.glass-layer-host > :not(.formal-glass-background) {
  position: relative;
  z-index: 1;
}

.liquid-motion {
  transition:
    transform var(--liquid-motion-duration, 110ms) cubic-bezier(.2, .8, .2, 1),
    box-shadow var(--liquid-motion-duration, 110ms) ease;
}

.liquid-motion:active {
  transform: translateY(var(--liquid-press-offset, 1px)) scale(var(--liquid-press-scale, .98));
  transition-duration: var(--liquid-press-duration, 65ms);
}

.app-header {
  position: absolute;
  z-index: 900;
  top: 18px;
  left: 18px;
  right: auto;
  width: calc(100% - 36px);
  height: 64px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 44px minmax(300px, 1fr) minmax(260px, 1.25fr) 142px;
  align-items: center;
  gap: 10px;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: clip;
  scrollbar-width: none;
  transition:
    top 220ms ease,
    left 220ms ease,
    width 220ms ease,
    right 220ms ease,
    height 220ms ease,
    padding 220ms ease;
}

.app-header::-webkit-scrollbar,
.app-header > .formal-glass-background::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.app-header > .formal-glass-background {
  overflow: clip;
}

@supports not (overflow: clip) {
  .app-header,
  .app-header > .formal-glass-background {
    overflow: hidden;
  }
}

.header-icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.header-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgb(15 23 42 / 34%));
}

.app-header.is-collapsed {
  top: 21px;
  left: 21px;
  right: auto;
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 9px;
  grid-template-columns: 40px;
  gap: 0;
}

.app-header.is-collapsed > :not(.formal-glass-background):not(.header-icon-button) {
  display: none;
}

.header-brand {
  min-width: 0;
}

.header-brand .eyebrow {
  margin: 0;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  opacity: .8;
}

.app-header h1 {
  margin: 1px 0 0;
  color: inherit;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .02em;
  white-space: nowrap;
}

#versionBadge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 999px;
  font-size: 11px;
  vertical-align: middle;
}

.header-status {
  min-width: 0;
  min-height: 34px;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  color: inherit;
  background: rgb(255 255 255 / 4%);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-header > .header-status {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: min(440px, 42%);
  transform: translate(-50%, -50%);
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #63e5ac;
  box-shadow: 0 0 12px rgb(99 229 172 / 90%);
}

.header-action {
  grid-column: 4;
  justify-self: end;
  width: 142px;
  height: 36px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.header-error {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: min(640px, 54%);
  min-height: 0;
  transform: translate(-50%, -50%);
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: #c40000;
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  white-space: pre-line;
  box-shadow: none;
  text-shadow: 0 1px 5px rgb(255 255 255 / 90%);
}

.app-header > .header-error {
  position: absolute;
  z-index: 5;
}

.app-header.has-error .header-status {
  visibility: hidden;
}

.control-panel {
  position: absolute;
  z-index: 820;
  top: 96px;
  left: 18px;
  bottom: 18px;
  width: 372px;
  min-width: 0;
  padding: 17px;
  overflow: auto;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  scrollbar-width: none;
  transition: width 220ms ease;
}

.control-panel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.panel-scroll-hint {
  position: absolute;
  z-index: 850;
  left: 54px;
  bottom: 22px;
  width: 300px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #6c4a00;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  animation: panel-scroll-hint-pulse 2.4s ease-in-out infinite;
  transition: opacity 140ms ease, transform 140ms ease;
}

.panel-scroll-hint svg {
  width: 120px;
  height: 16px;
  overflow: visible;
}

.panel-scroll-hint path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel-scroll-hint.glass-surface-panel {
  box-shadow:
    0 0 8px 2px rgb(255 207 61 / 38%),
    0 5px 16px rgb(64 43 0 / 14%);
}

.panel-scroll-hint:active {
  transform: translateY(1px) scale(.985);
}

.control-panel.is-collapsed ~ .panel-scroll-hint {
  display: none !important;
}

@keyframes panel-scroll-hint-pulse {
  0%, 100% {
    opacity: .68;
    filter: brightness(.96);
  }
  50% {
    opacity: 1;
    filter: brightness(1.16) drop-shadow(0 0 7px rgb(255 202 36 / 76%));
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel-scroll-hint {
    animation: none;
    opacity: 1;
    filter: none;
  }
}

.control-panel.is-collapsed {
  width: 58px;
  overflow: hidden;
  padding: 17px 10px;
}

.control-panel.is-collapsed > :not(.formal-glass-background):not(.panel-collapse) {
  display: none;
}

.panel-collapse {
  position: absolute !important;
  z-index: 8 !important;
  top: 16px;
  right: 14px;
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.panel-collapse svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: center;
  transition: transform 220ms ease;
}

.control-panel.is-collapsed .panel-collapse {
  right: 14px;
}

.control-panel.is-collapsed .panel-collapse svg {
  transform: rotate(180deg);
}

.panel-title {
  min-height: 54px;
  padding: 6px 36px 6px 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-title span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  opacity: .72;
}

.panel-title strong {
  margin-top: 3px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .04em;
}

.panel-section {
  position: relative;
  width: 100%;
  margin: 10px 0 0;
  padding: 12px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

.panel-section.has-open-select {
  z-index: 120;
}

.panel-section > .has-open-select-stack {
  position: relative;
  z-index: 130 !important;
}

.section-heading {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-heading h2 {
  margin: 0;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
}

.section-heading p {
  display: none;
}

.step-number {
  width: 25px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: inherit;
  background: rgb(255 255 255 / 68%);
  font-size: 10px;
  font-weight: 900;
}

.file-drop {
  min-height: 52px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 9px;
  align-items: center;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 9px;
  text-align: left;
  cursor: pointer;
}

.file-drop:hover,
.file-drop.is-dragging {
  background: rgb(85 215 255 / 10%);
  border: 0;
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.file-drop-icon {
  grid-row: 1 / 3;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: inherit;
  background: rgb(255 255 255 / 12%);
  font-size: 20px;
}

.file-drop-title {
  font-size: 12px;
  font-weight: 900;
}

.file-drop-help,
.file-names {
  min-width: 0;
  overflow: hidden;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: .72;
}

.field-row {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-row > label,
fieldset legend,
.field-note {
  color: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  opacity: .78;
}

.field-row select,
.field-row input,
.inline-field input {
  height: 32px;
  padding: 0 9px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
}

.inline-field {
  margin-top: 6px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 6px;
}

.field-note {
  margin: 5px 0 0;
  font-size: 9.5px;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

fieldset {
  margin: 9px 0 0;
  padding: 0;
  border: 0;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.check-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.check-grid label {
  min-width: 0;
  min-height: 27px;
  padding: 4px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.check-grid label:has(input:checked) {
  background: rgb(85 215 255 / 12%);
}

.check-grid input,
.advanced-options label input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.check-grid label:focus-within,
.advanced-options label:focus-within {
  outline: 2px solid rgb(0 151 201 / 72%);
  outline-offset: 1px;
}

.anonymous-row input {
  width: 13px;
  height: 13px;
  accent-color: #0797c9;
}

.button {
  min-height: 34px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.button.full {
  width: 100%;
}

.button:hover:not(:disabled) {
  transform: none;
  box-shadow: var(--glass-glow, 0 0 0 transparent);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.button.accent {
  min-height: 42px;
  margin-top: 10px;
  color: inherit;
  background: transparent;
}

.button.download {
  background: rgb(40 183 130 / 16%);
}

.advanced-options {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.advanced-options summary {
  min-height: 30px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  border-radius: 7px;
  cursor: pointer;
  list-style-position: inside;
}

.advanced-options label {
  min-height: 29px;
  margin-top: 5px;
  padding: 5px 9px;
  display: flex;
  align-items: center;
  border-radius: 7px;
  cursor: pointer;
}

.advanced-options summary,
.advanced-options label {
  color: inherit;
  font-size: 10px;
  font-weight: 800;
}

.advanced-options label:has(input:checked) {
  background: rgb(85 215 255 / 12%);
}

.vip-access {
  margin-top: 7px;
  padding: 8px 9px;
  border: 1px solid rgb(var(--glass-text-rgb, 17, 17, 17) / 10%);
  border-radius: 9px;
  background: rgb(var(--glass-color-rgb, 255, 255, 255) / 9%);
}

.vip-access > strong {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 900;
}

.vip-key-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 6px;
}

.vip-key-row input,
.vip-key-row button {
  min-width: 0;
  height: 31px;
  border: 0;
  border-radius: 7px;
  color: inherit;
  font-size: 10px;
  font-weight: 900;
}

.vip-key-row input {
  padding: 0 9px;
  outline: 1px solid rgb(var(--glass-text-rgb, 17, 17, 17) / 16%);
  background: rgb(var(--glass-color-rgb, 255, 255, 255) / 16%);
}

.vip-key-row button {
  position: relative;
  background: transparent;
  cursor: pointer;
}

.vip-access p,
.usage-status {
  margin: 6px 0 0;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.45;
}

.vip-access p.is-active,
.usage-status.is-vip {
  color: #087a54;
}

.usage-status {
  padding: 0 9px;
}

.inspection-card,
.notice,
.result-section {
  color: inherit;
  background: rgb(255 255 255 / 8%);
  border: 0;
  border-radius: 9px;
}

.inspection-card,
.notice {
  margin-top: 8px;
  padding: 9px;
}

.inspection-card dl,
.confirmation-help,
.result-section p,
.process-log {
  font-size: 10px;
}

.map-toolbar {
  position: absolute;
  z-index: 720;
  top: 96px;
  right: 18px;
  left: auto;
  display: flex;
  flex-direction: row;
  gap: 4px;
}

.map-button {
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #111111;
  background: rgb(255 255 255 / 62%);
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 7px 18px rgb(15 23 42 / 14%);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.map-button svg,
.glass-settings-launcher svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-button svg.phosphor-fill-icon {
  fill: currentColor;
  stroke: none;
}

.visibility-show-icon {
  display: none;
}

.map-button.is-hidden-state .visibility-hide-icon {
  display: none;
}

.map-button.is-hidden-state .visibility-show-icon {
  display: block;
}

.map-empty,
.map-drop-guide {
  z-index: 500;
  color: #233044;
  background: rgb(255 255 255 / 72%);
  border: 1px solid rgb(255 255 255 / 55%);
  box-shadow: 0 16px 50px rgb(15 23 42 / 18%);
  backdrop-filter: blur(14px);
}

.map-legend {
  position: absolute;
  z-index: 520;
  color: #182033;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  left: calc(50% + 204px);
  bottom: 16px;
  width: max-content;
  transform: translateX(-50%);
  max-width: calc(100% - 438px);
}

.map-legend .legend-layer-toggle {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 999px;
  transition: opacity 120ms ease;
}

.map-legend .legend-layer-toggle.is-off {
  filter: grayscale(0.7);
}

.map-search-panel {
  position: absolute;
  z-index: 850;
  top: 142px;
  right: 18px;
  width: 330px;
  max-height: 520px;
  padding: 14px;
  color: #111111;
  background: transparent;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
}

.map-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.map-search-header strong {
  font-size: 16px;
  font-weight: 900;
}

.map-search-header button {
  width: 30px;
  height: 30px;
  padding: 0;
  color: inherit;
  background: rgb(255 255 255 / 20%);
  border: 0;
  border-radius: 9px;
  font-size: 22px;
  cursor: pointer;
}

.place-search-form {
  display: grid;
  gap: 8px;
}

.place-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 6px;
}

.place-search-row input,
.place-search-row button,
.place-search-result {
  min-width: 0;
  color: inherit;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
}

.place-search-row input {
  height: 38px;
  padding: 0 11px;
  background: rgb(255 255 255 / 46%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 42%);
}

.place-search-row button {
  height: 38px;
  padding: 0 8px;
  background: transparent;
  cursor: pointer;
}

.place-search-note,
.place-search-status {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.place-search-note {
  color: rgb(17 17 17 / 72%);
}

.place-search-status {
  min-height: 13px;
  font-weight: 800;
}

.place-search-results {
  display: grid;
  gap: 5px;
  max-height: 260px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(255 255 255 / 64%) transparent;
}

.place-search-results::-webkit-scrollbar {
  width: 6px;
}

.place-search-results::-webkit-scrollbar-thumb {
  background: rgb(255 255 255 / 64%);
  border-radius: 999px;
}

.place-search-result {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  background: transparent;
  text-align: left;
  line-height: 1.35;
  cursor: pointer;
}

.place-search-attribution {
  justify-self: end;
  color: inherit;
  font-size: 10px;
}

.leaflet-control-attribution.glass-layer-host {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.control-panel.is-collapsed ~ .map-shell .map-legend {
  left: calc(50% + 38px);
  max-width: calc(100% - 112px);
}

.leaflet-control-zoom {
  display: none;
}

.leaflet-control-layers {
  color: #111111;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
}

.leaflet-control-layers-list {
  position: relative;
  z-index: 1;
  background: transparent;
}

.leaflet-control-layers-base {
  position: relative;
  z-index: 1;
  max-height: 620px;
  padding-right: 3px;
  overflow-x: hidden;
  overflow-y: auto;
  background: transparent;
  scrollbar-width: thin;
  scrollbar-color: rgb(255 255 255 / 48%) transparent;
}

.leaflet-control-layers-base::-webkit-scrollbar {
  width: 7px;
}

.leaflet-control-layers-base::-webkit-scrollbar-track {
  background: transparent;
}

.leaflet-control-layers-base::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgb(255 255 255 / 48%);
  background-clip: padding-box;
}

.layer-control-drag-handle.glass-surface-panel {
  isolation: isolate;
  overflow: hidden;
  border-bottom: 0;
}

.layer-control-drag-handle > span,
.layer-control-drag-handle > button {
  position: relative;
  z-index: 2;
}

.layer-control-collapse.glass-surface-panel {
  border: 0;
  overflow: hidden;
}

.leaflet-control-layers-base label {
  min-height: 28px;
  margin: 4px 0;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  transition:
    transform 110ms cubic-bezier(.2, .8, .2, 1),
    background-color 110ms ease,
    filter 110ms ease;
}

.leaflet-control-layers-base label:hover {
  transform: translateX(2px);
  background: rgb(255 255 255 / 14%);
  filter: brightness(1.08);
}

.leaflet-control-layers-base label:active {
  transform: translateX(2px) translateY(1px) scale(.98);
}

.leaflet-control-layers-selector {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.leaflet-control-layers-base label:has(.leaflet-control-layers-selector:focus-visible) {
  outline: 2px solid rgb(20 126 255 / 72%);
  outline-offset: 1px;
}

.leaflet-control-layers-base label > span {
  position: relative;
  z-index: 1;
}

.draggable-layer-control {
  position: absolute;
  top: 142px;
  right: 18px;
  left: auto;
}

.draggable-layer-control:not(.leaflet-control-layers-expanded) {
  display: none;
}

.draggable-layer-control .leaflet-control-layers-toggle {
  display: none !important;
}

.draggable-layer-control:not(.leaflet-control-layers-expanded),
.draggable-layer-control:not(.leaflet-control-layers-expanded) .leaflet-control-layers-toggle {
  width: 40px;
  height: 40px;
}

.draggable-layer-control:not(.leaflet-control-layers-expanded) .leaflet-control-layers-toggle {
  background-size: 21px 21px;
}

.glass-settings-launcher {
  position: absolute;
  z-index: 900;
  right: 18px;
  bottom: 18px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #111111;
  background: rgb(255 255 255 / 38%);
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgb(15 23 42 / 18%);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.busy-overlay,
.modal-backdrop {
  position: absolute;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(22 31 46 / 30%);
  backdrop-filter: blur(8px);
}

.busy-card,
.modal-card {
  color: #f8fafc;
  background: rgb(43 50 62 / 88%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 16px;
  box-shadow: 0 22px 70px rgb(15 23 42 / 38%);
  backdrop-filter: blur(22px) saturate(110%);
}

.report-modal-card {
  width: 520px;
  padding: 16px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-header span {
  color: #8fe6ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.modal-header h2 {
  margin: 2px 0 0;
  font-size: 19px;
  font-weight: 900;
}

.modal-header button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 9px;
  font-size: 22px;
  cursor: pointer;
}

.modal-description {
  margin: 12px 0;
  font-size: 12px;
  line-height: 1.5;
}

.report-destination {
  min-height: 46px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 54px;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 9px;
  background: rgb(255 255 255 / 6%);
  font-size: 11px;
}

.report-destination button,
.modal-footer button {
  min-height: 32px;
  color: #ffffff;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.modal-field {
  margin-top: 10px;
  display: grid;
  gap: 4px;
  font-size: 11px;
  font-weight: 900;
}

.modal-field > span {
  color: #ffb6a9;
  font-size: 9px;
}

.modal-field input,
.modal-field textarea {
  width: 100%;
  padding: 8px 10px;
  color: #ffffff;
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  resize: vertical;
}

.report-two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.anonymous-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 900;
}

.modal-validation {
  margin: 9px 0 0;
  padding: 7px 9px;
  color: #ffd4cc;
  background: rgb(213 78 55 / 18%);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
}

.modal-footer {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
}

.modal-footer button:last-child {
  color: #082c3a;
  background: rgb(85 215 255 / 68%);
  border-color: rgb(143 230 255 / 72%);
}

.confirmation-backdrop {
  background: rgb(22 31 46 / 22%);
  backdrop-filter: blur(5px);
}

.confirmation-modal-card {
  width: min(460px, calc(100% - 40px));
  padding: 20px;
  border: 0;
  color: inherit;
  background: transparent;
}

.confirmation-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.confirmation-header > div > span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  opacity: .68;
}

.confirmation-header h2 {
  margin: 2px 0 0;
  font-size: 19px;
  font-weight: 900;
}

.confirmation-icon {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #8a5200;
  background: rgb(255 197 92 / 70%);
  font-size: 19px;
  font-weight: 900;
  text-shadow: none;
}

.confirmation-message {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
}

.confirmation-details {
  margin: 14px 0 0;
  padding: 10px 12px;
  display: grid;
  gap: 7px;
  border-radius: 10px;
  background: rgb(255 255 255 / 10%);
}

.confirmation-details > div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
}

.confirmation-details dt {
  font-size: 12px;
  font-weight: 900;
  opacity: .68;
}

.confirmation-details dd {
  min-width: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.confirmation-footer {
  grid-template-columns: 1fr 1.2fr;
}

.confirmation-footer button {
  position: relative;
  min-height: 38px;
  color: inherit;
  background: transparent;
  border: 0;
}

.count-chip.glass-surface-panel {
  color: inherit;
  background: transparent;
  border: 0;
}

.glass-settings-host {
  position: absolute;
  z-index: 1150;
  top: 96px;
  right: 18px;
  bottom: 18px;
  width: 372px;
  overflow: hidden;
  color: #182033;
  background: rgb(245 247 251 / 84%);
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 16px;
  box-shadow: 0 18px 54px rgb(15 23 42 / 26%), 0 1px 0 rgb(255 255 255 / 88%) inset;
  backdrop-filter: blur(22px) saturate(115%) brightness(104%);
}

.glass-settings-panel {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.glass-settings-header {
  min-height: 66px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(17 24 39 / 10%);
}

.glass-settings-header span {
  color: #0a78a6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
}

.glass-settings-header h2 {
  margin: 2px 0 0;
  font-size: 19px;
  font-weight: 900;
}

.glass-settings-header button {
  width: 32px;
  height: 32px;
  border: 1px solid rgb(17 24 39 / 12%);
  border-radius: 9px;
  color: #182033;
  background: rgb(255 255 255 / 54%);
  font-size: 21px;
  cursor: pointer;
}

.glass-settings-scroll {
  min-height: 0;
  padding: 12px 14px 20px;
  overflow: auto;
  scrollbar-width: thin;
}

.design-preset-section {
  padding: 10px;
  border: 1px solid rgb(17 24 39 / 11%);
  border-radius: 11px;
  background: rgb(255 255 255 / 40%);
}

.design-preset-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.design-preset-heading h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
}

.design-preset-heading span,
.design-preset-section > p {
  color: rgb(24 32 51 / 66%);
  font-size: 9px;
  font-weight: 800;
}

.design-preset-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.design-preset-section.is-public-mode .design-preset-grid button {
  min-height: 82px;
}

.design-preset-grid button {
  min-width: 0;
  min-height: 72px;
  padding: 7px 5px;
  display: grid;
  grid-template-rows: 18px auto 1fr;
  place-items: center;
  gap: 3px;
  border: 1px solid rgb(17 24 39 / 12%);
  border-radius: 9px;
  color: #182033;
  background: rgb(255 255 255 / 48%);
  cursor: pointer;
  transition: transform 110ms ease, border-color 110ms ease, box-shadow 110ms ease;
}

.design-preset-grid button:hover {
  transform: translateY(-1px);
}

.design-preset-grid button.is-active {
  border-color: rgb(7 151 201 / 72%);
  box-shadow: 0 0 0 2px rgb(7 151 201 / 14%);
}

.design-preset-grid i {
  width: 28px;
  height: 15px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 76% 50%, var(--preset-accent) 0 22%, transparent 24%),
    linear-gradient(135deg, rgb(255 255 255 / 58%), var(--preset-color));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 66%), 0 2px 5px rgb(15 23 42 / 18%);
}

.design-preset-grid strong {
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.25;
}

.design-preset-grid small {
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.25;
  opacity: .66;
}

.design-preset-section > p {
  margin: 7px 0 0;
  line-height: 1.4;
}

.profile-picker,
.design-control-row {
  display: grid;
  gap: 4px;
}

.profile-picker > span,
.design-setting-group h3 {
  font-size: 12px;
  font-weight: 900;
}

.profile-picker select {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgb(17 24 39 / 16%);
  border-radius: 9px;
  color: #182033;
  background: rgb(255 255 255 / 76%);
  font-size: 12px;
  font-weight: 900;
}

.profile-picker small {
  min-height: 14px;
  color: rgb(24 32 51 / 68%);
  font-size: 10px;
}

.design-setting-group {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgb(17 24 39 / 10%);
  border-radius: 11px;
  background: rgb(255 255 255 / 34%);
}

.design-setting-group h3 {
  margin: 0 0 8px;
}

.design-control-row {
  margin-top: 8px;
}

.design-control-row > span,
.design-color-row,
.design-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 800;
}

.design-control-row output {
  color: #067ca8;
  font-family: Consolas, monospace;
  font-weight: 900;
}

.design-control-row input[type="range"] {
  width: 100%;
  accent-color: #0797c9;
}

.design-color-row,
.design-toggle-row {
  min-height: 31px;
}

.design-color-row input[type="color"] {
  width: 34px;
  height: 24px;
  padding: 1px;
  border: 1px solid rgb(17 24 39 / 14%);
  border-radius: 6px;
}

.design-toggle-row input {
  width: 17px;
  height: 17px;
  accent-color: #0797c9;
}

.glass-settings-footer {
  padding: 10px 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  border-top: 1px solid rgb(17 24 39 / 10%);
}

.glass-settings-footer button {
  min-height: 32px;
  border: 1px solid rgb(17 24 39 / 13%);
  border-radius: 9px;
  color: #182033;
  background: rgb(255 255 255 / 58%);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.glass-select-shell {
  position: relative;
  width: 100%;
}

.glass-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.glass-select-trigger {
  width: 100%;
  height: 32px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.glass-select-menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  box-sizing: border-box;
  max-height: 230px;
  padding: 5px;
  overflow: auto;
  border-radius: 9px;
  scrollbar-width: thin;
  scrollbar-color:
    rgba(var(--glass-text-rgb, 17, 17, 17), .34)
    rgba(var(--glass-color-rgb, 255, 255, 255), var(--glass-opacity, .08));
}

.glass-select-menu::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.glass-select-menu::-webkit-scrollbar-track {
  margin: 5px 2px;
  border-radius: 999px;
  background: rgba(var(--glass-color-rgb, 255, 255, 255), var(--glass-opacity, .08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.glass-select-menu::-webkit-scrollbar-thumb {
  min-height: 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .42),
      rgba(var(--glass-text-rgb, 17, 17, 17), .34)
    ) padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    0 1px 4px rgba(15, 23, 42, .18);
}

.glass-select-menu::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .56),
      rgba(var(--glass-text-rgb, 17, 17, 17), .46)
    ) padding-box;
}

.glass-select-option {
  width: 100%;
  min-height: 29px;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition:
    transform 110ms cubic-bezier(.2, .8, .2, 1),
    background-color 110ms ease,
    filter 110ms ease;
}

.glass-select-option:hover:not(:disabled) {
  transform: translateX(2px);
  background: rgb(255 255 255 / 14%);
  filter: brightness(1.08);
}

.glass-select-option.is-selected {
  background: rgb(85 215 255 / 18%);
}

.is-hidden {
  display: none !important;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #0797c9;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
