    .pm-embed { --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif; font-family: var(--font-sans); color: #1d2633; }
    .pm-embed .pm { --tools-header-height: 0px; min-height: 100svh; overflow-x: clip; }
    .pm-embed .pm__title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
    .pm-embed .pm__workspace { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(270px, 25vw, 360px); gap: 16px; min-height: 100svh; align-content: start; padding: 16px; overflow-x: clip; box-sizing: border-box; background: #fff; }
    .pm-embed .pm__workspace.is-settings-hidden { grid-template-columns: minmax(0, 1fr); }
    .pm-embed .pm__workspace.is-settings-hidden .pm-settings { display: none; }
    .pm-embed .pm__workspace.is-settings-hidden .pm__download-fab { display: grid; pointer-events: auto; }
    .pm-embed .pm__map-wrap { min-height: 0; }
    .pm-embed .pm__mobile-actions { display: none; position: relative; z-index: 2; }

    .pm-embed .pm__settings-toggle { position: absolute; top: 16px; right: 16px; z-index: 5; width: 42px; height: 42px; border: 1px solid rgba(15, 23, 42, .16); border-radius: 50%; background: rgba(255, 255, 255, .9); color: #3b4758; display: grid; place-items: center; cursor: pointer; overflow: hidden; box-shadow: 0 6px 18px rgba(15, 23, 42, .08); }
    .pm-embed .pm__download-fab { position: absolute; right: 16px; bottom: max(16px, calc(env(safe-area-inset-bottom) + 10px)); z-index: 5; width: 42px; height: 42px; border: 1px solid rgba(15, 23, 42, .16); border-radius: 50%; background: rgba(255, 255, 255, .9); color: #3b4758; display: none; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(15, 23, 42, .08); pointer-events: none; }
    .pm-embed .pm__settings-toggle:hover, .pm-embed .pm__download-fab:hover { background: #fff; border-color: rgba(15, 23, 42, .24); color: #1f2a38; }
    .pm-embed .pm__settings-toggle:active, .pm-embed .pm__download-fab:active { transform: translateY(1px); }
    .pm-embed .pm__settings-toggle:focus-visible, .pm-embed .pm__download-fab:focus-visible { outline: 2px solid rgba(94, 114, 141, .28); outline-offset: 1px; }
    .pm-embed .pm__settings-toggle-icon { position: absolute; width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
    .pm-embed .pm__settings-toggle-icon--sliders { opacity: 1; }
    .pm-embed .pm__settings-toggle-icon--close { opacity: 0; }
    .pm-embed .pm__settings-toggle[aria-expanded="true"] .pm__settings-toggle-icon--sliders { opacity: 0; }
    .pm-embed .pm__settings-toggle[aria-expanded="true"] .pm__settings-toggle-icon--close { opacity: 1; }
    .pm-embed .pm__settings-toggle-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

    .pm-embed .pm-map-shell { position: relative; }
    .pm-embed .pm-map { position: relative; width: 100%; min-height: calc(100svh - 32px); --dot-step: 20px; --dot-offset-x: 0px; --dot-offset-y: 0px; --axis-inset: clamp(18px, 6%, 70px); background-image: linear-gradient(to bottom, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, .14) 6%, rgba(255, 255, 255, 0) 12%), linear-gradient(to right, rgba(255, 255, 255, .52) 0%, rgba(255, 255, 255, 0) 10%), linear-gradient(to left, rgba(255, 255, 255, .52) 0%, rgba(255, 255, 255, 0) 10%), linear-gradient(to top, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, 0) 12%), radial-gradient(circle at 1px 1px, rgba(15, 23, 42, .18) 1px, transparent 1.05px); background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, var(--dot-step) var(--dot-step); background-position: top center, left center, right center, bottom center, var(--dot-offset-x) var(--dot-offset-y); background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat; touch-action: none; }
    .pm-embed .pm-map__axis { position: absolute; background: rgba(15, 23, 42, .24); pointer-events: none; }
    .pm-embed .pm-map__axis--x { left: var(--axis-inset); right: var(--axis-inset); top: calc(50% + 1px); height: 1px; transform: translateY(-0.5px); }
    .pm-embed .pm-map__axis--y { top: var(--axis-inset); bottom: var(--axis-inset); left: calc(50% + 1px); width: 1px; transform: translateX(-0.5px); }
    .pm-embed .pm-map__axis-caption { position: absolute; z-index: 1; font-family: var(--font-sans); font-size: clamp(13px, 1.05vw, 17px); line-height: 1.15; font-weight: 600; color: #000; white-space: nowrap; pointer-events: none; user-select: none; }
    .pm-embed .pm-map__axis-caption--x-left { left: calc(var(--axis-inset) - 6px); top: calc(50% - 5px); transform: translateY(-100%); }
    .pm-embed .pm-map__axis-caption--x-right { right: calc(var(--axis-inset) - 6px); top: calc(50% - 5px); transform: translateY(-100%); text-align: right; }
    .pm-embed .pm-map__axis-caption--y-top { left: calc(50% + 26px); top: calc(var(--axis-inset) + 2px); }
    .pm-embed .pm-map__axis-caption--y-bottom { left: calc(50% + 26px); bottom: calc(var(--axis-inset) + 8px); }

    .pm-embed .pm-map__point { position: absolute; transform: translate(-50%, -50%); z-index: 2; --point-color: #2f86f6; --point-color-rgb: 47, 134, 246; }
    .pm-embed .pm-map__dot { width: var(--point-size, 56px); height: var(--point-size, 56px); border-radius: 50%; border: 2px solid var(--point-color); display: block; padding: 0; font: inherit; background: rgba(var(--point-color-rgb), .24); box-shadow: 0 4px 10px rgba(var(--point-color-rgb), .25); cursor: grab; touch-action: none; }
    .pm-embed .pm-map__dot:active { cursor: grabbing; }
    .pm-embed .pm-map__dot:focus-visible { outline: none; }
    .pm-embed .pm-map__point.is-selected .pm-map__dot { box-shadow: 0 0 0 3px rgba(111, 128, 148, .2), 0 4px 10px rgba(var(--point-color-rgb), .24); }
    .pm-embed .pm-map__name { display: block; width: max-content; max-width: 170px; margin: 3px auto 0; padding: 0; text-align: center; font-size: 11px; line-height: 1.16; font-weight: 500; color: var(--point-color); background: transparent; border: 0; box-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; user-select: none; pointer-events: auto; }

    .pm-embed .pm-settings { display: grid; align-content: space-evenly; gap: 20px; min-height: calc(100svh - 32px); min-width: 0; padding: 0; border-radius: 0; background: transparent; border: 0; box-shadow: none; overflow: hidden; }
    .pm-embed .pm-settings__section { display: grid; gap: 12px; min-width: 0; padding: 0; border: 0; background: transparent; }
    .pm-embed .pm-settings__section--selected { gap: 10px; padding: 14px; border: 1px solid rgba(15, 23, 42, .1); border-radius: 14px; background: #f8fafd; }
    .pm-embed .pm-settings__section--selected .pm-settings__btn--danger { margin-top: 4px; }
    .pm-embed .pm-settings__section--add, .pm-embed .pm-settings__section--download { padding: 0; }
    .pm-embed .pm-settings__section--axes { gap: 10px; padding: 14px; border: 1px solid rgba(15, 23, 42, .1); border-radius: 14px; background: #f8fafd; }
    .pm-embed .pm-settings__section-title { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(15, 23, 42, .58); }

    .pm-embed .pm-settings__btn { width: 100%; border: 1px solid #c8d2de; border-radius: 12px; padding: 11px 14px; background: #fff; color: #2c3747; font-family: var(--font-sans); font-size: 16px; line-height: 1.2; font-weight: 600; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
    .pm-embed .pm-settings__btn:hover { background: #f5f8fc; border-color: #b3bfcd; }
    .pm-embed .pm-settings__btn:active { transform: translateY(1px); }
    .pm-embed .pm-settings__btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
    .pm-embed .pm-settings__btn--add { padding: 14px 16px; border-color: #d4ddea; background: #eef3f9; font-size: 18px; }
    .pm-embed .pm-settings__btn--add:hover { background: #e7eef7; border-color: #c7d3e5; }
    .pm-embed .pm-settings__btn--danger { border-color: rgba(192, 57, 57, .46); background: #fff; color: #be3d3d; font-size: 15px; }
    .pm-embed .pm-settings__btn--danger:hover { background: #fff8f8; border-color: rgba(192, 57, 57, .62); }
    .pm-embed .pm-settings__btn--danger:disabled { opacity: 1; color: #cc9595; border-color: #efcbcb; background: #fff; cursor: not-allowed; }
    .pm-embed .pm-settings__btn--download { border-color: #bcc7d4; background: #fff; color: #2f3a48; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
    .pm-embed .pm-settings__btn--download:hover { background: #f7f9fc; border-color: #aeb9c8; }
    .pm-embed .pm-settings__btn--mobile-toggle { border-color: #cad5e2; background: #edf2f8; color: #2f3a48; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
    .pm-embed .pm-settings__btn--mobile-toggle:hover { background: #e5ecf6; border-color: #bccadd; }
    .pm-embed .pm-settings__btn--mobile-download { font-size: 15px; }
    .pm-embed .pm-settings__mobile-icon { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; flex: 0 0 auto; }
    .pm-embed .pm-settings__mobile-icon--close { display: none; }
    .pm-embed .pm-settings__btn--mobile-toggle[aria-expanded="true"] .pm-settings__mobile-icon--sliders { display: none; }
    .pm-embed .pm-settings__btn--mobile-toggle[aria-expanded="true"] .pm-settings__mobile-icon--close { display: block; }

    .pm-embed .pm-settings__btn-icon { font-size: 18px; line-height: 1; transform: translateY(-1px); }
    .pm-embed .pm-settings__field { display: grid; gap: 6px; min-width: 0; }
    .pm-embed .pm-settings__field--inline-range, .pm-embed .pm-settings__field--inline { grid-template-columns: 72px minmax(0, 1fr); align-items: center; column-gap: 10px; }
    .pm-embed .pm-settings__label { font-size: 15px; font-weight: 600; color: #3d4858; }
    .pm-embed .pm-settings__range { width: 100%; accent-color: #1f7af0; }
    .pm-embed .pm-settings__color { width: 100%; height: 42px; padding: 0; border: 1px solid rgba(15, 23, 42, .14); border-radius: 12px; background: transparent; cursor: pointer; }
    .pm-embed .pm-settings__color::-webkit-color-swatch-wrapper { padding: 0; }
    .pm-embed .pm-settings__color::-webkit-color-swatch { border: 0; border-radius: 11px; }
    .pm-embed .pm-settings__color::-moz-color-swatch { border: 0; border-radius: 11px; }
    .pm-embed .pm-settings__axes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; row-gap: 10px; min-width: 0; }
    .pm-embed .pm-settings__axes-title { grid-column: 1 / -1; margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(15, 23, 42, .58); }
    .pm-embed .pm-settings__field--axis { grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; }
    .pm-embed .pm-settings__axis-code { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #5f6876; user-select: none; justify-self: start; text-align: left; }
    .pm-embed .pm-settings__input { width: 100%; min-width: 0; height: 40px; border: 1px solid #c3cfdd; border-radius: 11px; padding: 0 12px; box-sizing: border-box; background: #fff; color: #1c1c1c; font-family: var(--font-sans); font-size: 16px; }
    .pm-embed .pm-settings__field--axis .pm-settings__input { height: 38px; padding: 0 10px; font-size: 14px; }
    .pm-embed .pm-settings__input:focus-visible { outline: 2px solid rgba(102, 121, 144, .2); border-color: #adbccc; }
    .pm-embed .pm-settings__range:disabled, .pm-embed .pm-settings__color:disabled, .pm-embed .pm-settings__input:disabled { opacity: .56; cursor: not-allowed; }

    @media (max-width: 980px) {
      .pm-embed .pm__workspace, .pm-embed .pm__workspace.is-settings-hidden { grid-template-columns: 1fr; gap: 8px; min-height: auto; padding: 16px 4px; }
      .pm-embed .pm__workspace.is-settings-hidden .pm-settings { display: none; }
      .pm-embed .pm__workspace.is-settings-hidden .pm__download-fab { display: none; pointer-events: none; }
      .pm-embed .pm__settings-toggle, .pm-embed .pm__download-fab { display: none; }
      .pm-embed .pm__mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-inline: 12px; }
      .pm-embed .pm-map { min-height: clamp(380px, 66svh, 640px); }
      .pm-embed .pm-settings { min-height: 0; margin-top: 6px; gap: 14px; padding: 0; }
      .pm-embed .pm-settings__section--download { display: none; }
      .pm-embed .pm-map__axis-caption { font-size: clamp(11px, 1.2vw, 13px); line-height: 1.1; }
      .pm-embed .pm-map__name { font-size: 7.2px; line-height: 1.12; max-width: 108px; margin-top: 2px; }
      .pm-embed .pm-settings__section--selected, .pm-embed .pm-settings__section--axes { padding: 12px; }
      .pm-embed .pm-settings__axes { grid-template-columns: 1fr 1fr; column-gap: 14px; row-gap: 8px; }
    }

    @media (max-width: 640px) {
      .pm-embed .pm__workspace, .pm-embed .pm__workspace.is-settings-hidden { gap: 14px; padding-top: 8px; padding-left: 0; padding-right: 0; }
      .pm-embed .pm-map { --dot-step: 18px; min-height: clamp(360px, 62svh, 560px); }
      .pm-embed .pm-map__axis-caption { font-size: 10px; line-height: 1.08; }
      .pm-embed .pm-map__axis-caption--x-left { left: calc(var(--axis-inset) - 2px); }
      .pm-embed .pm-map__axis-caption--x-right { right: calc(var(--axis-inset) - 2px); }
      .pm-embed .pm-map__axis-caption--y-top, .pm-embed .pm-map__axis-caption--y-bottom { left: calc(50% + 16px); }
      .pm-embed .pm-map__name { font-size: 6.4px; line-height: 1.1; max-width: 88px; margin-top: 1px; }
      .pm-embed .pm__mobile-actions { margin-inline: 10px; gap: 8px; }
      .pm-embed .pm-settings { gap: 12px; padding: 0; margin-inline: 10px; }
      .pm-embed .pm-settings__section--selected, .pm-embed .pm-settings__section--axes { padding: 10px; border-radius: 12px; }
      .pm-embed .pm-settings__field--inline-range, .pm-embed .pm-settings__field--inline { grid-template-columns: 64px minmax(0, 1fr); }
      .pm-embed .pm-settings__label { font-size: 14px; }
      .pm-embed .pm-settings__input { height: 38px; font-size: 15px; }
      .pm-embed .pm-settings__field--axis .pm-settings__input { height: 36px; font-size: 13px; }
      .pm-embed .pm-settings__btn { font-size: 15px; }
      .pm-embed .pm-settings__btn--add { font-size: 17px; }
      .pm-embed .pm-settings__btn-icon { font-size: 16px; }
      .pm-embed .pm-settings__axes { grid-template-columns: 1fr; }
    }

