.map-explorer-workbench {
    --left-rail-width: 332px;
    --right-console-width: 500px;
    --telemetry-height: 88px;
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-rows: 48px 44px minmax(0, 1fr) var(--telemetry-height);
    min-width: 1280px;
    min-height: 720px;
    overflow: hidden;
    color: #15231b;
    background: #eef2e8;
    font-size: 0.9rem;
}

.map-explorer-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

/* Final quiet-surface overrides. Kept last so desktop and mobile screenshots favor
   the live map, with object detail moved into hover/context panels. */
.map-explorer-workbench-mapchrome {
    opacity: 0.82;
}

.map-explorer-workbench-mapchrome:hover,
.map-explorer-workbench-mapchrome:focus-within {
    opacity: 1;
}

.map-explorer-workbench-segments,
.map-explorer-workbench-tabs {
    border-color: rgba(21, 35, 27, 0.1);
    background: rgba(255, 255, 252, 0.68);
    box-shadow: 0 8px 18px rgba(12, 27, 20, 0.08);
    backdrop-filter: blur(6px);
}

.map-explorer-workbench-segments button,
.map-explorer-workbench-tabs button {
    min-height: 2rem;
    background: rgba(255, 255, 252, 0.72);
    padding: 0.22rem 0.56rem;
    font-size: 0.82rem;
}

.map-explorer-discovery-cockpit {
    grid-template-columns: minmax(16rem, 1fr) auto;
    max-width: min(52rem, calc(100% - 7rem));
    border-color: rgba(18, 44, 30, 0.12);
    background: rgba(250, 252, 247, 0.62);
    padding: 0.44rem 0.55rem;
    box-shadow: 0 9px 19px rgba(12, 27, 20, 0.09);
    backdrop-filter: blur(6px);
}

.map-explorer-discovery-cockpit__title strong {
    font-size: 0.92rem;
}

.map-explorer-discovery-cockpit__metrics {
    grid-template-columns: repeat(4, minmax(5.2rem, 1fr));
    gap: 0.3rem;
}

.map-explorer-discovery-cockpit__metrics article {
    background: rgba(255, 255, 255, 0.58);
    padding: 0.28rem 0.38rem;
}

.map-explorer-onscreen-imagery__compass,
.map-explorer-onscreen-imagery__rail,
.map-explorer-onscreen-imagery__context-rail {
    border-color: rgba(10, 31, 22, 0.1);
    background: rgba(250, 252, 247, 0.5);
    box-shadow: 0 8px 18px rgba(12, 27, 20, 0.08);
    backdrop-filter: blur(6px);
}

.map-explorer-onscreen-imagery__compass {
    width: 3.7rem;
    padding: 0.24rem;
    font-size: 0.64rem;
}

.map-explorer-onscreen-imagery__compass svg {
    width: 1.85rem;
    height: 1.85rem;
}

.map-explorer-onscreen-imagery__rail {
    width: 3.28rem;
    padding: 0.26rem;
}

.map-explorer-onscreen-imagery__rail button,
.map-explorer-onscreen-imagery__context-rail button {
    width: 2.76rem;
    height: 2.76rem;
    background: rgba(255, 255, 252, 0.64);
}

.map-explorer-onscreen-imagery__rail-icon,
.map-explorer-onscreen-imagery__rail-icon img {
    width: 2.28rem;
    height: 2.28rem;
}

.map-explorer-onscreen-imagery__surface-art {
    width: min(14rem, 24vw);
    height: min(14rem, calc(100% - 10rem));
    min-height: 8rem;
}

.map-explorer-onscreen-imagery__concept-tile,
.map-explorer-onscreen-imagery__legend {
    display: none;
}

.map-explorer-onscreen-imagery__concept-map {
    opacity: 0.16;
    box-shadow: inset 0 0 0 1px rgba(34, 70, 46, 0.12);
}

.map-explorer-onscreen-imagery__field-plane,
.map-explorer-onscreen-imagery__orchard-rows,
.map-explorer-onscreen-imagery__driveway-stroke,
.map-explorer-onscreen-imagery__ditch-stroke,
.map-explorer-onscreen-imagery__canopy-cue,
.map-explorer-onscreen-imagery__root-zone-cue,
.map-explorer-onscreen-imagery__shadow-cue,
.map-explorer-onscreen-imagery__inventory-silhouette {
    opacity: 0.42;
}

.map-explorer-npc-strategy {
    display: grid;
    gap: 0.38rem;
    margin-top: 0.55rem;
    border: 1px solid rgba(26, 77, 49, 0.2);
    border-radius: 0.45rem;
    background: rgba(248, 252, 244, 0.7);
    padding: 0.55rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.map-explorer-npc-strategy > span {
    color: #42624b;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.map-explorer-npc-strategy strong {
    color: #183822;
    font-size: 0.9rem;
}

.map-explorer-npc-strategy p {
    margin: 0;
    color: #294334;
    font-size: 0.78rem;
    line-height: 1.35;
}

.map-explorer-npc-strategy__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
}

.map-explorer-npc-strategy__chips span {
    border: 1px solid rgba(26, 77, 49, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    padding: 0.18rem 0.42rem;
    color: #1f4b31;
    font-size: 0.72rem;
    font-weight: 700;
}

.map-explorer-onscreen-artifact {
    grid-template-columns: 0.24rem 1.42rem;
    gap: 0.18rem;
    min-width: 2.12rem;
    max-width: 2.12rem;
    min-height: 1.82rem;
    border-color: rgba(18, 44, 30, 0.12);
    border-radius: 999px;
    background:
        linear-gradient(90deg, var(--artifact-tint, rgba(98, 134, 93, 0.12)), transparent 56%),
        rgba(255, 255, 252, 0.54);
    padding: 0.12rem;
    box-shadow: 0 5px 14px rgba(12, 27, 20, 0.1);
    backdrop-filter: blur(4px);
}

.map-explorer-onscreen-artifact__swatch {
    width: 0.2rem;
    min-height: 1.22rem;
}

.map-explorer-onscreen-artifact img {
    width: 1.34rem;
    height: 1.34rem;
    border: 0;
    border-radius: 999px;
    background: rgba(248, 251, 245, 0.72);
}

.map-explorer-onscreen-artifact__label {
    position: absolute;
    left: calc(100% + 0.35rem);
    top: 50%;
    display: none;
    min-width: max-content;
    max-width: 12rem;
    border: 1px solid rgba(12, 44, 30, 0.18);
    border-radius: 999px;
    background: rgba(20, 51, 35, 0.92);
    color: #fbfff8;
    padding: 0.22rem 0.45rem;
    font-size: 0.65rem;
    line-height: 1.1;
    transform: translateY(-50%);
}

.map-explorer-onscreen-artifact:hover .map-explorer-onscreen-artifact__label,
.map-explorer-onscreen-artifact:focus-visible .map-explorer-onscreen-artifact__label,
.map-explorer-onscreen-artifact.active .map-explorer-onscreen-artifact__label {
    display: block;
}

.map-explorer-onscreen-imagery__selected {
    border: 1px solid rgba(255, 209, 102, 0.54);
    background: rgba(72, 137, 76, 0.04);
    box-shadow: inset 0 0 0 1px rgba(22, 63, 43, 0.12);
}

.map-explorer-onscreen-imagery__selected[data-zone-selected="False"],
.map-explorer-onscreen-imagery__selected[data-zone-selected="false"] {
    display: none;
}

.map-explorer-onscreen-imagery__selected::before,
.map-explorer-onscreen-imagery__selected::after {
    border-top-color: rgba(20, 67, 42, 0.2);
}

.map-explorer-onscreen-imagery__bearing {
    display: none;
}

.map-explorer-onscreen-handle {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 1px;
    background: rgba(47, 128, 237, 0.78);
    font-size: 0.46rem;
    box-shadow: 0 4px 11px rgba(12, 27, 20, 0.18);
}

.map-explorer-onscreen-handle--edge {
    width: 3rem;
}

.map-explorer-onscreen-handle--rotate {
    width: 2.55rem;
}

.map-explorer-onscreen-handle--move {
    width: 2.7rem;
}

.map-explorer-zone-vertex {
    width: 0.78rem;
    height: 0.78rem;
    border-width: 1px;
    font-size: 0;
    box-shadow:
        0 0 0 2px rgba(255, 207, 92, 0.18),
        0 5px 12px rgba(12, 27, 20, 0.16);
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-imagery__legend,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-imagery__art-palette,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-imagery__selected,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-artifact,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-imagery__canopy-cue,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-imagery__root-zone-cue,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-imagery__shadow-cue,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-imagery__inventory-silhouette {
    display: none !important;
}

/* Human-control baseline for the live Player1 map.
   The clean map still leads, but command surfaces must remain touchable,
   non-overlapping, and readable for player use. */
[data-map-explorer-root] {
    --map-touch-target: 44px;
    --map-control-layer: 160;
    --map-tooltip-layer: 320;
}

.map-explorer-workbench {
    grid-template-rows: minmax(58px, auto) minmax(58px, auto) minmax(0, 1fr) var(--telemetry-height);
    font-size: 1rem;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"],
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] {
    grid-template-rows: minmax(58px, auto) minmax(58px, auto) minmax(0, 1fr) 0;
}

.map-explorer-workbench-context,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-workbench-context,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-workbench-context {
    z-index: var(--map-control-layer);
    flex-wrap: wrap;
    align-content: center;
    min-height: var(--map-touch-target);
    overflow: visible;
    padding: 0.42rem 0.78rem;
}

.map-explorer-workbench button,
.map-explorer-workbench input[type="checkbox"],
.map-explorer-workbench input[type="radio"],
.map-explorer-workbench select {
    min-height: var(--map-touch-target);
}

.map-explorer-workbench input[type="checkbox"],
.map-explorer-workbench input[type="radio"] {
    min-width: 1.35rem;
    min-height: 1.35rem;
}

.map-explorer-modebar {
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.34rem;
}

.map-explorer-modebar button {
    min-height: var(--map-touch-target);
    min-width: 5.4rem;
    padding: 0.48rem 0.72rem;
    font-size: 0.96rem;
}

.map-explorer-boundary-projection-strip {
    position: relative;
    z-index: calc(var(--map-control-layer) - 1);
    grid-template-columns: minmax(18rem, 1fr) repeat(3, minmax(6.2rem, 7.5rem)) repeat(2, minmax(8.5rem, max-content)) minmax(18rem, 1.2fr);
    min-height: 4rem;
    overflow: visible;
    padding: 0.55rem 0.86rem;
}

.map-explorer-boundary-projection-strip span,
.map-explorer-boundary-projection-strip label span {
    font-size: 0.78rem;
}

.map-explorer-boundary-projection-strip strong {
    font-size: 1rem;
}

.map-explorer-boundary-projection-strip input[type="number"] {
    min-height: var(--map-touch-target);
    font-size: 1rem;
}

.map-explorer-boundary-projection-toggle {
    min-height: var(--map-touch-target);
    padding: 0.34rem 0.55rem;
    border: 1px solid rgba(36, 100, 66, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.map-explorer-boundary-projection-toggle input {
    inline-size: 1.45rem;
    min-inline-size: 1.45rem;
    min-height: 1.45rem;
}

.map-explorer-boundary-projection-legend {
    align-items: center;
    max-height: 4.8rem;
    overflow: auto;
}

.map-explorer-boundary-projection-legend span {
    min-height: 2rem;
    padding: 0.22rem 0.45rem;
}

.map-explorer-boundary-projection-legend em {
    width: 1.45rem;
    height: 1.45rem;
}

.map-explorer-diagnostics-only {
    display: none !important;
}

[data-map-explorer-root][data-diagnostics-expanded="true"] .map-explorer-diagnostics-only {
    display: grid !important;
}

[data-map-explorer-root][data-map-active-mode="layers"] .map-explorer-workbench-left {
    position: absolute !important;
    top: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: calc(var(--map-control-layer) + 20);
    width: min(31rem, calc(100vw - 1.5rem));
    max-height: calc(100dvh - 9rem);
    overflow: auto;
    border: 1px solid rgba(18, 49, 37, 0.18);
    border-radius: 10px;
    background: rgba(250, 252, 247, 0.96);
    box-shadow: 0 22px 58px rgba(12, 27, 20, 0.26);
}

.map-explorer-runtime-layer-panel {
    gap: 0.72rem;
}

.map-explorer-player-copy {
    margin: 0;
    color: #395146;
    font-size: 0.95rem;
    line-height: 1.35;
}

[data-layer-visibility-controls="reference-image-overlays"] {
    display: grid;
    gap: 0.72rem;
}

.map-explorer-overlay-control-card {
    display: grid;
    gap: 0.62rem;
    border: 1px solid rgba(36, 100, 66, 0.16);
    border-radius: 8px;
    background: #fffdf6;
    padding: 0.72rem;
    box-shadow: 0 8px 18px rgba(12, 27, 20, 0.08);
}

.map-explorer-overlay-control-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.72rem;
}

.map-explorer-overlay-control-header strong {
    display: block;
    color: #173928;
    font-size: 1rem;
    line-height: 1.25;
}

.map-explorer-overlay-control-meta,
.map-explorer-overlay-status {
    margin: 0;
    color: #53655b;
    font-size: 0.88rem;
    line-height: 1.35;
}

.map-explorer-overlay-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: var(--map-touch-target);
    border: 1px solid rgba(36, 100, 66, 0.22);
    border-radius: 999px;
    background: #eef7ee;
    padding: 0.24rem 0.58rem;
    color: #173928;
    font-weight: 850;
    white-space: nowrap;
}

.map-explorer-overlay-toggle input[type="checkbox"] {
    appearance: none;
    position: relative;
    width: 1.65rem !important;
    height: 1.65rem !important;
    min-width: 1.65rem !important;
    min-height: 1.65rem !important;
    border: 2px solid rgba(36, 100, 66, 0.42);
    border-radius: 0.45rem;
    background: #fffdf6;
}

.map-explorer-overlay-toggle input[type="checkbox"]:checked {
    border-color: rgba(36, 100, 66, 0.8);
    background: #245f3c;
}

.map-explorer-overlay-toggle input[type="checkbox"]:checked::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fffdf6;
    content: "✓";
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
}

.map-explorer-overlay-preset-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.map-explorer-overlay-preset,
.map-explorer-overlay-control-card button {
    min-height: var(--map-touch-target);
    border-radius: 8px;
    font-size: 0.92rem;
}

.map-explorer-overlay-preset.active {
    border-color: rgba(36, 100, 66, 0.35);
    background: #e5f5e8;
}

.map-explorer-overlay-control-card input[type="range"] {
    min-height: var(--map-touch-target);
}

.map-explorer-command-search-drawer,
.map-explorer-onscreen-command-flyout,
.map-explorer-lens-dial__button::after,
.map-explorer-onscreen-artifact__label,
.map-explorer-mobile-rectangle-popup,
.map-explorer-scenario-tooltip,
.map-explorer-workbench [role="tooltip"] {
    z-index: var(--map-tooltip-layer) !important;
}

.map-explorer-onscreen-artifact__label,
.map-explorer-lens-dial__button::after {
    font-size: 0.86rem;
    line-height: 1.18;
    max-width: min(18rem, calc(100vw - 2rem));
    white-space: normal;
}

.map-explorer-unicode-coordinate-overlay-status {
    z-index: calc(var(--map-control-layer) - 2);
    font-size: 0.9rem;
}

@media (max-width: 960px) {
    .map-explorer-workbench {
        min-width: 0;
        min-height: 0;
        width: 100dvw;
        height: 100dvh;
        grid-template-rows: minmax(56px, auto) minmax(64px, auto) minmax(0, 1fr) 0;
    }

    .map-explorer-workbench-header {
        min-height: 56px;
    }

    .map-explorer-workbench-context {
        align-items: stretch;
        gap: 0.45rem;
        max-height: 32dvh;
        overflow: auto;
    }

    .map-explorer-modebar {
        width: 100%;
    }

    .map-explorer-modebar button {
        flex: 1 1 7rem;
    }

    .map-explorer-boundary-projection-strip {
        grid-template-columns: minmax(0, 1fr) minmax(5.6rem, 6.8rem) minmax(5.6rem, 6.8rem) minmax(5.6rem, 6.8rem);
        gap: 0.5rem;
        max-height: 26dvh;
        overflow: auto;
    }

    .map-explorer-boundary-projection-toggle,
    .map-explorer-boundary-projection-legend {
        grid-column: 1 / -1;
    }

    [data-map-explorer-root][data-map-active-mode="layers"] .map-explorer-workbench-left {
        top: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
        left: 0.5rem;
        width: auto;
        max-height: calc(100dvh - 1rem);
    }

    .map-explorer-overlay-control-header {
        grid-template-columns: minmax(0, 1fr);
    }

    .map-explorer-overlay-preset-group {
        grid-template-columns: 1fr;
    }
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"],
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] {
    grid-template-rows: minmax(58px, auto) minmax(64px, auto) minmax(0, 1fr) 0 !important;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-workbench-header,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-workbench-header {
    grid-row: 1 / 2 !important;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-workbench-context,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-workbench-context {
    grid-row: 2 / 3 !important;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-workbench-shell,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-workbench-shell {
    grid-row: 3 / 4 !important;
}

[data-map-explorer-root] .map-explorer-modebar button,
[data-map-explorer-root] .map-explorer-workbench-chrome-button,
[data-map-explorer-root] .map-explorer-overlay-preset,
[data-map-explorer-root] .map-explorer-overlay-control-card button {
    height: var(--map-touch-target) !important;
    min-height: var(--map-touch-target) !important;
}

[data-map-explorer-root] .map-explorer-overlay-toggle input[type="checkbox"],
[data-map-explorer-root] .map-explorer-boundary-projection-toggle input[type="checkbox"],
[data-map-explorer-root] input[data-boundary-map-unicode-overlay-toggle] {
    width: 1.55rem !important;
    height: 1.55rem !important;
    min-width: 1.55rem !important;
    min-height: 1.55rem !important;
}

[data-map-explorer-root] ::deep .map-explorer-overlay-control-card {
    display: grid;
    gap: 0.62rem;
    border: 1px solid rgba(36, 100, 66, 0.16);
    border-radius: 8px;
    background: #fffdf6;
    padding: 0.72rem;
    box-shadow: 0 8px 18px rgba(12, 27, 20, 0.08);
}

[data-map-explorer-root] ::deep .map-explorer-overlay-control-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.72rem;
}

[data-map-explorer-root] ::deep .map-explorer-overlay-control-header strong {
    display: block;
    color: #173928;
    font-size: 1rem;
    line-height: 1.25;
}

[data-map-explorer-root] ::deep .map-explorer-overlay-control-meta,
[data-map-explorer-root] ::deep .map-explorer-overlay-status {
    margin: 0;
    color: #53655b;
    font-size: 0.88rem;
    line-height: 1.35;
}

[data-map-explorer-root] ::deep .map-explorer-overlay-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: var(--map-touch-target);
    border: 1px solid rgba(36, 100, 66, 0.22);
    border-radius: 999px;
    background: #eef7ee;
    padding: 0.24rem 0.58rem;
    color: #173928;
    font-weight: 850;
    white-space: nowrap;
}

[data-map-explorer-root] ::deep .map-explorer-overlay-toggle input[type="checkbox"] {
    appearance: none;
    position: relative;
    width: 1.65rem !important;
    height: 1.65rem !important;
    min-width: 1.65rem !important;
    min-height: 1.65rem !important;
    border: 2px solid rgba(36, 100, 66, 0.42);
    border-radius: 0.45rem;
    background: #fffdf6;
}

[data-map-explorer-root] ::deep .map-explorer-overlay-toggle input[type="checkbox"]:checked {
    border-color: rgba(36, 100, 66, 0.8);
    background: #245f3c;
}

[data-map-explorer-root] ::deep .map-explorer-overlay-toggle input[type="checkbox"]:checked::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fffdf6;
    content: "✓";
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
}

[data-map-explorer-root] ::deep .map-explorer-overlay-preset-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

[data-map-explorer-root] ::deep .map-explorer-overlay-preset,
[data-map-explorer-root] ::deep .map-explorer-overlay-control-card button {
    min-height: var(--map-touch-target);
    border-radius: 8px;
    font-size: 0.92rem;
}

[data-map-explorer-root] ::deep .map-explorer-overlay-preset.active {
    border-color: rgba(36, 100, 66, 0.35);
    background: #e5f5e8;
}

[data-map-explorer-root] ::deep .map-explorer-overlay-control-card input[type="range"] {
    min-height: var(--map-touch-target);
}

/* Scenario #1 is a pencil-first cockpit. Keep the map surface clear so
   pointer gestures work against the live Azure map instead of chrome. */
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-discovery-cockpit {
    display: none !important;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card {
    width: min(24rem, calc(100vw - 1.1rem));
    max-height: min(18vh, 8.6rem);
    background: linear-gradient(135deg, rgba(241, 250, 232, 0.7), rgba(255, 255, 250, 0.66));
    pointer-events: auto;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-scenario-draft-kind-strip,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__find-refine,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__actions,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__mission {
    display: none !important;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] [data-mobile-scenario-one] {
    width: min(17rem, calc(100vw - 1rem));
    max-height: 5.6rem;
    padding: 0.28rem;
    border-color: rgba(16, 62, 39, 0.1);
    background: rgba(246, 250, 241, 0.48);
    box-shadow: 0 8px 18px rgba(12, 27, 20, 0.08);
}

.map-explorer-onscreen-command-flyout {
    position: absolute;
    top: 8.85rem;
    right: 4.05rem;
    z-index: 11;
    display: grid;
    gap: 0.38rem;
    width: min(18rem, calc(100vw - 6.5rem));
    border: 1px solid rgba(10, 31, 22, 0.12);
    border-radius: 8px;
    background: rgba(247, 251, 243, 0.74);
    padding: 0.48rem;
    color: #173724;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 10px 24px rgba(12, 27, 20, 0.12);
    backdrop-filter: blur(8px);
    transform: translateX(0.65rem);
    transition: opacity 150ms ease, transform 150ms ease;
}

.map-explorer-onscreen-command-flyout[hidden] {
    display: none;
}

.map-explorer-onscreen-command-flyout.is-open {
    opacity: 0.96;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.map-explorer-onscreen-command-flyout header,
.map-explorer-onscreen-command-flyout footer {
    display: grid;
    gap: 0.08rem;
}

.map-explorer-onscreen-command-flyout header span,
.map-explorer-onscreen-command-flyout footer span {
    color: #53655a;
    font-size: 0.58rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-onscreen-command-flyout header strong {
    overflow: hidden;
    color: #173724;
    font-size: 0.9rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-onscreen-command-flyout__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--map-touch-target);
    align-items: center;
    gap: 0.35rem;
}

.map-explorer-onscreen-command-flyout .map-explorer-onscreen-command-flyout__close {
    min-width: var(--map-touch-target);
    min-height: var(--map-touch-target);
    padding: 0;
    font-size: 1.15rem;
}

.map-explorer-onscreen-command-flyout header small {
    overflow: hidden;
    color: #5c6a61;
    font-size: 0.62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-onscreen-command-flyout__group {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.28rem;
}

.map-explorer-onscreen-command-flyout[data-command-flyout-active-control="browse-map"] [data-flyout-group="browse-map"],
.map-explorer-onscreen-command-flyout[data-command-flyout-active-control="inspect-target"] [data-flyout-group="inspect-target"],
.map-explorer-onscreen-command-flyout[data-command-flyout-active-control="draw-section"] [data-flyout-group="draw-section"],
.map-explorer-onscreen-command-flyout[data-command-flyout-active-control="brush-zone"] [data-flyout-group="brush-zone"],
.map-explorer-onscreen-command-flyout[data-command-flyout-active-control="context-acuity"] [data-flyout-group="browse-map"] {
    display: grid;
}

.map-explorer-onscreen-command-flyout button,
.map-explorer-onscreen-command-flyout label {
    display: grid;
    align-items: center;
    min-height: 2.18rem;
    min-width: 0;
    border: 1px solid rgba(22, 63, 43, 0.12);
    border-radius: 7px;
    background: rgba(255, 255, 252, 0.72);
    color: #173724;
    padding: 0.28rem 0.42rem;
    font-size: 0.72rem;
    font-weight: 900;
}

.map-explorer-onscreen-command-flyout button:hover,
.map-explorer-onscreen-command-flyout button:focus-visible {
    border-color: rgba(31, 111, 69, 0.35);
    background: rgba(238, 247, 234, 0.94);
}

.map-explorer-onscreen-command-flyout label {
    gap: 0.16rem;
    grid-column: span 2;
}

.map-explorer-onscreen-command-flyout input[type="range"] {
    width: 100%;
}

.map-explorer-onscreen-imagery__rail button[data-tech-tree-state^="locked"],
.map-explorer-onscreen-imagery__context-rail button[data-tech-tree-state^="locked"] {
    opacity: 0.5;
}

.map-explorer-onscreen-imagery__rail button[data-tech-tree-state^="locked"]::after,
.map-explorer-onscreen-imagery__context-rail button[data-tech-tree-state^="locked"]::after {
    position: absolute;
    right: 0.16rem;
    bottom: 0.12rem;
    border-radius: 999px;
    background: rgba(23, 55, 36, 0.82);
    color: #fbfff8;
    padding: 0.02rem 0.16rem;
    font-size: 0.34rem;
    font-weight: 950;
    letter-spacing: 0;
    content: "LOCK";
}

[data-map-explorer-root][data-procedural-lens-key="black-white"] .map-explorer-workbench-map {
    filter: grayscale(1) contrast(1.58) brightness(1.05);
}

[data-map-explorer-root][data-procedural-lens-key="chromotone"] .map-explorer-workbench-map {
    filter: saturate(1.9) contrast(1.35) hue-rotate(42deg);
}

[data-map-explorer-root][data-procedural-lens-key="amplified-16"] .map-explorer-workbench-map {
    filter: saturate(2.5) contrast(2.2) brightness(1.08) hue-rotate(28deg);
}

[data-map-explorer-root][data-procedural-lens-key="green-zone"] .map-explorer-workbench-map {
    filter: saturate(1.55) contrast(1.24) hue-rotate(-18deg);
}

[data-map-explorer-root][data-procedural-lens-key="green-breaks"] .map-explorer-workbench-map {
    filter: saturate(2.2) contrast(1.8) brightness(0.92) hue-rotate(-34deg);
}

[data-map-explorer-root][data-procedural-lens-key="linear-trace"] .map-explorer-workbench-map {
    filter: grayscale(0.25) saturate(3.8) contrast(3.2) brightness(0.94) hue-rotate(-42deg);
}

[data-map-explorer-root][data-procedural-lens-key="field-finder"] .map-explorer-workbench-map,
[data-map-explorer-root][data-procedural-lens-key="field-fill"] .map-explorer-workbench-map {
    filter: saturate(1.9) contrast(2.05) brightness(1.06);
}

[data-map-explorer-root][data-procedural-lens-key="flood-fill"] .map-explorer-workbench-map {
    filter: saturate(3.4) contrast(3.2) brightness(1.1) hue-rotate(12deg);
}

[data-map-explorer-root][data-procedural-lens-key="hardscape"] .map-explorer-workbench-map {
    filter: grayscale(0.8) contrast(2.4) brightness(1.18);
}

[data-map-explorer-root][data-procedural-lens-key="water-shadow"] .map-explorer-workbench-map {
    filter: saturate(1.65) contrast(2.2) brightness(0.86) hue-rotate(156deg);
}

[data-map-explorer-root][data-procedural-lens-key="topography"] .map-explorer-workbench-map {
    filter: saturate(2.6) contrast(2.45) brightness(0.92) sepia(0.42) hue-rotate(292deg);
}

[data-map-explorer-root][data-procedural-lens-key="soil-moisture"] .map-explorer-workbench-map {
    filter: saturate(2.05) contrast(1.9) brightness(0.96) sepia(0.22) hue-rotate(328deg);
}

[data-map-explorer-root][data-visual-palette="cmyk"] .map-explorer-workbench-map {
    filter: saturate(1.75) contrast(1.34) hue-rotate(18deg);
}

[data-map-explorer-root][data-visual-palette="lab"] .map-explorer-workbench-map {
    filter: saturate(1.22) contrast(1.48) brightness(1.08);
}

[data-map-explorer-root][data-visual-palette="mono"] .map-explorer-workbench-map {
    filter: grayscale(1) contrast(1.9);
}

[data-map-explorer-root][data-visual-palette="poster"] .map-explorer-workbench-map {
    filter: saturate(2.8) contrast(2.35) brightness(1.06) hue-rotate(24deg);
}

[data-map-explorer-root][data-visual-palette="heat"] .map-explorer-workbench-map {
    filter: saturate(2.4) contrast(2.05) brightness(0.98) sepia(0.32) hue-rotate(294deg);
}

[data-map-explorer-root][data-visual-contrast="natural"] .map-explorer-workbench-map {
    filter: saturate(1.1) contrast(1.08);
}

[data-map-explorer-root][data-visual-contrast="boosted"] .map-explorer-workbench-map {
    filter: saturate(1.8) contrast(1.55) brightness(1.05);
}

[data-map-explorer-root][data-visual-contrast="posterized"] .map-explorer-workbench-map {
    filter: saturate(2.7) contrast(2.25) brightness(1.08);
}

[data-map-explorer-root][data-visual-contrast="flood-fill"] .map-explorer-workbench-map {
    filter: saturate(3.2) contrast(3.05) brightness(1.1);
}

[data-map-explorer-root][data-visual-contrast="extreme"] .map-explorer-workbench-map {
    filter: grayscale(0.22) saturate(4.2) contrast(3.7) brightness(1.18);
}

[data-map-explorer-root][data-visual-mask-priority="green-first"] .map-explorer-workbench-map-frame::after,
[data-map-explorer-root][data-visual-mask-priority="linear-first"] .map-explorer-workbench-map-frame::after,
[data-map-explorer-root][data-visual-mask-priority="field-first"] .map-explorer-workbench-map-frame::after,
[data-map-explorer-root][data-visual-mask-priority="hardscape-first"] .map-explorer-workbench-map-frame::after,
[data-map-explorer-root][data-visual-mask-priority="water-first"] .map-explorer-workbench-map-frame::after,
[data-map-explorer-root][data-visual-mask-priority="topography-first"] .map-explorer-workbench-map-frame::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    content: "";
}

[data-map-explorer-root][data-visual-scale-meters="1"] .map-explorer-workbench-map-frame::after {
    background-image: linear-gradient(rgba(255,255,255,0.32) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.32) 1px, transparent 1px);
    background-size: 8px 8px;
}

[data-map-explorer-root][data-visual-scale-meters="5"] .map-explorer-workbench-map-frame::after {
    background-image: linear-gradient(rgba(255,255,255,0.29) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.29) 1px, transparent 1px);
    background-size: 12px 12px;
}

[data-map-explorer-root][data-visual-scale-meters="10"] .map-explorer-workbench-map-frame::after {
    background-image: linear-gradient(rgba(255,255,255,0.26) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.26) 1px, transparent 1px);
    background-size: 18px 18px;
}

[data-map-explorer-root][data-visual-scale-meters="25"] .map-explorer-workbench-map-frame::after {
    background-image: linear-gradient(rgba(255,255,255,0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.22) 1px, transparent 1px);
    background-size: 32px 32px;
}

[data-map-explorer-root][data-visual-scale-meters="50"] .map-explorer-workbench-map-frame::after {
    background-image: linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
    background-size: 48px 48px;
}

[data-map-explorer-root][data-visual-scale-meters="100"] .map-explorer-workbench-map-frame::after {
    background-image: linear-gradient(rgba(255,255,255,0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.16) 1px, transparent 1px);
    background-size: 68px 68px;
}

.map-explorer-workbench-lensbar {
    max-width: min(24rem, 36vw);
}

.map-explorer-workbench-lensbar button {
    min-width: 2.2rem;
}

.map-explorer-lens-dial {
    position: relative;
    width: 16rem;
    height: 16rem;
    min-height: 0;
    border: 1px solid rgba(18, 44, 30, 0.16);
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 255, 252, 0.98), rgba(240, 249, 236, 0.78) 51%, rgba(24, 58, 39, 0.14) 100%),
        conic-gradient(from -90deg, rgba(247, 243, 220, 0.3), rgba(189, 76, 218, 0.22), rgba(49, 163, 84, 0.28), rgba(47, 128, 237, 0.18), rgba(247, 243, 220, 0.3)),
        url("/images/map-workbench/lenses/lens-dial-12-segment.svg") center / contain no-repeat;
    padding: 0;
    overflow: visible;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 12px 26px rgba(13, 33, 22, 0.16);
}

.map-explorer-lens-dial__svg {
    position: absolute;
    inset: 0.35rem;
    width: calc(100% - 0.7rem);
    height: calc(100% - 0.7rem);
    filter: drop-shadow(0 9px 15px rgba(12, 27, 20, 0.14));
    pointer-events: none;
}

.map-explorer-lens-dial__rim {
    fill: rgba(255, 255, 252, 0.34);
    stroke: rgba(17, 43, 29, 0.24);
    stroke-width: 1.25;
}

.map-explorer-lens-dial__track {
    fill: none;
    stroke: rgba(16, 62, 39, 0.14);
    stroke-dasharray: 1.8 2.8;
    stroke-width: 1.1;
}

.map-explorer-lens-dial__slice {
    fill: var(--lens-color);
    opacity: 0.48;
    stroke: rgba(255, 255, 252, 0.82);
    stroke-width: 0.45;
}

.map-explorer-lens-dial__slice.active {
    opacity: 0.98;
    stroke: #10321f;
    stroke-width: 1.1;
}

.map-explorer-lens-dial__tick {
    stroke: rgba(16, 62, 39, 0.38);
    stroke-linecap: round;
    stroke-width: 1.05;
}

.map-explorer-lens-dial__hub {
    fill: url("#colourLabHub");
    stroke: rgba(16, 62, 39, 0.28);
    stroke-width: 0.9;
}

.map-explorer-lens-dial__hub-symbol {
    fill: rgba(20, 55, 36, 0.84);
}

.map-explorer-lens-dial__hub-dot {
    fill: #f2c94c;
    stroke: rgba(16, 62, 39, 0.5);
    stroke-width: 0.55;
}

.map-explorer-lens-dial__buttons {
    position: absolute;
    inset: 0;
}

.map-explorer-lens-dial__button {
    position: absolute;
    left: var(--lens-x);
    top: var(--lens-y);
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    min-height: 0;
    border: 1px solid rgba(21, 35, 27, 0.16);
    border-radius: 999px;
    background: color-mix(in srgb, var(--lens-color) 13%, rgba(255, 255, 252, 0.92));
    color: #173724;
    padding: 0.24rem;
    overflow: visible;
    font-size: 0;
    font-weight: 950;
    line-height: 1;
    text-align: center;
    transform: translate(-50%, -50%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 5px 13px rgba(12, 27, 20, 0.16);
    transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.map-explorer-lens-dial__button span {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

.map-explorer-lens-dial__button img {
    width: 1.42rem;
    height: 1.42rem;
    object-fit: contain;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.72));
}

.map-explorer-lens-dial__button::after {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.42rem);
    z-index: 24;
    display: none;
    min-width: max-content;
    max-width: 11rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(22, 43, 33, 0.93);
    color: #fffaf0;
    padding: 0.28rem 0.46rem;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
    content: attr(aria-label);
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 10px 20px rgba(10, 24, 16, 0.24);
}

.map-explorer-lens-dial__button:hover::after,
.map-explorer-lens-dial__button:focus-visible::after {
    display: block;
}

.map-explorer-lens-dial__button:hover,
.map-explorer-lens-dial__button:focus-visible {
    transform: translate(-50%, -50%) scale(1.08);
    border-color: rgba(16, 62, 39, 0.46);
}

.map-explorer-lens-dial__button.active {
    border-color: rgba(16, 62, 39, 0.56);
    background: color-mix(in srgb, var(--lens-color) 48%, #fff 52%);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lens-color) 42%, transparent), 0 7px 15px rgba(12, 27, 20, 0.18);
}

.map-explorer-color-manager {
    position: relative;
    display: grid;
    grid-template-columns: 16rem;
    place-items: center;
    width: 16rem;
    min-width: 16rem;
    max-width: 16rem;
    gap: 0;
    border: 1px solid rgba(26, 72, 47, 0.12);
    border-radius: 999px;
    background: rgba(253, 255, 250, 0.42);
    padding: 0;
    box-shadow: 0 8px 18px rgba(14, 32, 22, 0.08);
}

.map-explorer-color-manager__head {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 6;
    display: grid;
    place-items: center;
    width: 4.6rem;
    height: 4.6rem;
    gap: 0.04rem;
    padding: 0.55rem;
    border-radius: 999px;
    text-align: center;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease;
}

.map-explorer-color-manager:hover .map-explorer-color-manager__head,
.map-explorer-color-manager:focus-within .map-explorer-color-manager__head {
    opacity: 1;
}

.map-explorer-color-manager__head span {
    color: #254a34;
    font-size: 0.54rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.95;
    text-transform: uppercase;
}

.map-explorer-color-manager__head strong {
    overflow: hidden;
    color: #173724;
    max-width: 3.8rem;
    font-size: 0.58rem;
    font-weight: 950;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-color-manager__controls {
    position: absolute;
    top: calc(100% + 0.36rem);
    left: 50%;
    z-index: 28;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(16rem, calc(100vw - 1rem));
    gap: 0.2rem 0.28rem;
    border: 1px solid rgba(22, 63, 43, 0.14);
    border-radius: 10px;
    background: rgba(252, 255, 249, 0.94);
    padding: 0.42rem;
    box-shadow: 0 16px 35px rgba(12, 27, 20, 0.18);
    opacity: 0;
    transform: translate(-50%, -0.25rem);
    pointer-events: none;
    transition: opacity 140ms ease, transform 140ms ease;
}

.map-explorer-color-manager:hover .map-explorer-color-manager__controls,
.map-explorer-color-manager:focus-within .map-explorer-color-manager__controls {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.map-explorer-color-manager__controls label {
    display: grid;
    gap: 0.02rem;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.map-explorer-color-manager__controls span {
    color: #52665a;
    font-size: 0.48rem;
    font-weight: 950;
    text-transform: uppercase;
}

.map-explorer-color-manager__controls input[type="range"] {
    width: 100%;
    min-height: 0.62rem;
    border-radius: 999px;
    background:
        url("/images/map-workbench/lenses/visual-slider-track.svg") center / 100% 100% no-repeat,
        linear-gradient(90deg, rgba(31, 111, 69, 0.18), rgba(47, 128, 237, 0.2), rgba(189, 76, 218, 0.22));
    accent-color: #1f6f45;
}

.map-explorer-color-manager__controls output {
    color: #173724;
    display: none;
    font-size: 0.58rem;
    font-weight: 950;
    text-transform: none;
}

.map-explorer-color-manager__controls select {
    min-width: 0;
    height: 1.72rem;
    border: 1px solid rgba(18, 44, 30, 0.14);
    border-radius: 6px;
    background: rgba(255, 255, 252, 0.9);
    color: #173724;
    font-size: 0.7rem;
    font-weight: 850;
}

.map-explorer-command-search-drawer {
    position: absolute;
    top: calc(100% + 0.22rem);
    left: 0;
    z-index: 95;
    display: none;
    width: min(34rem, 82vw);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.28rem;
    border: 1px solid rgba(22, 63, 43, 0.14);
    border-radius: 7px;
    background: rgba(253, 255, 250, 0.96);
    padding: 0.42rem;
    box-shadow: 0 18px 45px rgba(15, 32, 23, 0.18);
}

.map-explorer-workbench-header label:focus-within .map-explorer-command-search-drawer,
.map-explorer-command-search-drawer[data-command-search-has-term="true"] {
    display: grid;
}

.map-explorer-command-search-drawer button {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
    border: 1px solid rgba(31, 111, 69, 0.12);
    border-radius: 7px;
    background: rgba(245, 251, 246, 0.88);
    color: #163322;
    padding: 0.34rem 0.46rem;
    text-align: left;
}

.map-explorer-command-search-drawer button:hover,
.map-explorer-command-search-drawer button:focus-visible {
    border-color: rgba(31, 111, 69, 0.36);
    background: #eef8ef;
}

.map-explorer-command-search-drawer strong,
.map-explorer-command-search-drawer small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-command-search-drawer strong {
    font-size: 0.74rem;
    font-weight: 950;
}

.map-explorer-command-search-drawer small {
    color: #52665a;
    font-size: 0.62rem;
}

.map-explorer-discovery-cockpit {
    max-width: min(52rem, calc(100% - 7rem));
}

.map-explorer-discovery-cockpit__metrics {
    grid-template-columns: repeat(6, minmax(3.4rem, 1fr));
}

.map-explorer-cockpit-pointer-cue {
    border-color: rgba(37, 115, 83, 0.2) !important;
    background: rgba(240, 249, 240, 0.72) !important;
}

.map-explorer-radar {
    position: absolute;
    right: 0.72rem;
    bottom: 5.1rem;
    z-index: 18;
    display: grid;
    width: 9.4rem;
    gap: 0.22rem;
    border: 1px solid rgba(20, 52, 35, 0.22);
    border-radius: 9px;
    background: rgba(244, 250, 239, 0.74);
    padding: 0.38rem;
    box-shadow: 0 14px 28px rgba(10, 24, 16, 0.18);
    backdrop-filter: blur(8px);
}

.map-explorer-radar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
}

.map-explorer-radar__head span,
.map-explorer-radar small {
    color: #53665a;
    font-size: 0.56rem;
    font-weight: 950;
    line-height: 1.05;
    text-transform: uppercase;
}

.map-explorer-radar__head strong {
    overflow: hidden;
    color: #173724;
    max-width: 6.1rem;
    font-size: 0.66rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-radar svg {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    background:
        linear-gradient(rgba(20, 52, 35, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 52, 35, 0.08) 1px, transparent 1px),
        radial-gradient(circle at center, rgba(255, 255, 252, 0.86), rgba(225, 238, 224, 0.82));
    background-size: 20px 20px, 20px 20px, auto;
}

.map-explorer-radar__extent {
    fill: rgba(23, 55, 36, 0.08);
    stroke: rgba(23, 55, 36, 0.3);
    stroke-width: 1.2;
}

.map-explorer-radar__all {
    fill: rgba(24, 68, 45, 0.12);
    stroke: rgba(24, 68, 45, 0.28);
    stroke-width: 1;
}

.map-explorer-radar__active {
    fill: rgba(248, 211, 74, 0.32);
    stroke: #f8d34a;
    stroke-width: 2.4;
}

.map-explorer-radar__ping {
    fill: #1f7a55;
    stroke: #fffef4;
    stroke-width: 1.4;
    filter: drop-shadow(0 2px 5px rgba(12, 27, 20, 0.3));
}

[data-map-explorer-root] {
    --map-player-toolbar-scale: 1;
    --map-player-font-scale: 1;
    --map-player-fog-opacity: 0.48;
}

[data-map-explorer-root] .map-explorer-workbench-shell {
    font-size: calc(1rem * var(--map-player-font-scale));
}

[data-map-explorer-root] .map-explorer-onscreen-imagery__rail,
[data-map-explorer-root] .map-explorer-onscreen-imagery__context-rail {
    transform: scale(var(--map-player-toolbar-scale));
    transform-origin: right center;
}

[data-map-explorer-root][data-map-show-radar="false"] .map-explorer-radar {
    display: none;
}

[data-map-explorer-root][data-map-pointer-cues="false"] .map-explorer-cockpit-pointer-cue {
    display: none;
}

[data-map-explorer-root][data-player-command-density="simple"] .map-explorer-discovery-cockpit__metrics article:nth-child(n+4),
[data-map-explorer-root][data-player-command-density="simple"] .map-explorer-workbench-left .map-explorer-workbench-panel:nth-child(n+4) {
    display: none;
}

[data-map-explorer-root][data-player-command-density="expert"] .map-explorer-discovery-cockpit__metrics article {
    border-color: rgba(47, 128, 237, 0.28);
}

.map-explorer-preferences {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 8;
    display: grid;
    justify-items: end;
    gap: 0.45rem;
    pointer-events: none;
}

.map-explorer-preferences__button,
.map-explorer-preferences__flyout {
    pointer-events: auto;
}

.map-explorer-preferences__button {
    display: grid;
    grid-template-columns: 1.4rem auto;
    gap: 0.35rem;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.42rem 0.6rem;
    border: 1px solid rgba(16, 37, 26, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 250, 0.86);
    color: #142f20;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(10, 31, 22, 0.14);
    backdrop-filter: blur(12px);
}

.map-explorer-preferences__button svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.map-explorer-preferences__flyout {
    display: grid;
    width: min(18rem, calc(100vw - 1.2rem));
    gap: 0.65rem;
    padding: 0.75rem;
    border: 1px solid rgba(16, 37, 26, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 250, 0.9);
    box-shadow: 0 18px 44px rgba(10, 31, 22, 0.18);
    backdrop-filter: blur(14px);
}

.map-explorer-preferences__flyout header,
.map-explorer-preferences__flyout label > span {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    align-items: baseline;
}

.map-explorer-preferences__flyout header span {
    color: #53665a;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.map-explorer-preferences__flyout header a {
    color: #17456b;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
}

.map-explorer-preferences__flyout label {
    display: grid;
    gap: 0.22rem;
    color: #284333;
    font-size: 0.78rem;
    font-weight: 800;
}

.map-explorer-preferences__flyout input[type="range"] {
    accent-color: #247452;
}

.map-explorer-preferences__segments,
.map-explorer-preferences__toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.map-explorer-preferences__segments button {
    flex: 1 1 4rem;
    min-height: 2rem;
    border: 1px solid rgba(16, 37, 26, 0.16);
    border-radius: 8px;
    background: rgba(240, 246, 237, 0.82);
    color: #163724;
    font-weight: 900;
}

.map-explorer-preferences__segments button.active {
    border-color: #28724f;
    background: #e1f0e3;
}

.map-explorer-preferences__toggles label {
    grid-template-columns: auto 1fr;
    align-items: center;
    min-height: 1.8rem;
}

.map-explorer-cockpit-pointer-cue strong,
.map-explorer-cockpit-pointer-cue small {
    display: block;
}

[data-map-explorer-root][data-pointer-cue-class="green-space"] .map-explorer-cockpit-pointer-cue {
    background: rgba(227, 246, 228, 0.78) !important;
}

[data-map-explorer-root][data-pointer-cue-class="road-ditch"] .map-explorer-cockpit-pointer-cue {
    background: rgba(246, 239, 225, 0.78) !important;
}

[data-map-explorer-root][data-pointer-cue-class="parent-edge"] .map-explorer-cockpit-pointer-cue {
    background: rgba(229, 240, 248, 0.78) !important;
}

@media (max-width: 700px) {
    .map-explorer-workbench-lensbar {
        max-width: calc(100vw - 1rem);
        overflow-x: auto;
    }

    .map-explorer-discovery-cockpit__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .map-explorer-discovery-cockpit__metrics article:nth-child(n+3) {
        display: none;
    }

    .map-explorer-discovery-cockpit__metrics article.map-explorer-cockpit-pointer-cue {
        display: grid;
    }

    .map-explorer-discovery-cockpit__metrics article.map-explorer-cockpit-pointer-cue span,
    .map-explorer-discovery-cockpit__metrics article.map-explorer-cockpit-pointer-cue strong,
    .map-explorer-discovery-cockpit__metrics article.map-explorer-cockpit-pointer-cue small {
        display: block;
    }

    .map-explorer-radar {
        right: 0.45rem;
        bottom: 4.45rem;
        width: 7.4rem;
        padding: 0.28rem;
    }

    .map-explorer-radar__head strong,
    .map-explorer-radar small {
        display: none;
    }
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card {
    width: min(36rem, calc(100vw - 1rem));
    max-height: none;
    gap: 0.18rem;
    border: 1px solid rgba(16, 62, 39, 0.16);
    background: rgba(246, 250, 241, 0.52);
    padding: 0.32rem;
    box-shadow: 0 9px 19px rgba(12, 27, 20, 0.09);
    backdrop-filter: blur(7px);
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__proof {
    display: none;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-scenario-draft-kind-strip,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__actions,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__mission {
    display: flex;
    gap: 0.18rem;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-scenario-draft-kind-strip::-webkit-scrollbar,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__actions::-webkit-scrollbar,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__mission::-webkit-scrollbar {
    display: none;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-scenario-draft-kind-strip button,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__actions button,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__mission button {
    flex: 1 0 4.8rem;
    min-height: 1.45rem;
    padding: 0.15rem 0.3rem;
    font-size: 0.62rem;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__mission span {
    flex: 0 0 3.8rem;
    min-height: 1.45rem;
    padding: 0.15rem 0.24rem;
    font-size: 0.56rem;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__find-refine {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.18rem;
    align-items: center;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__find-refine button {
    width: auto;
    min-width: 7rem;
    min-height: 1.7rem;
    padding-inline: 0.5rem;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-workbench-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-row: 3 / 4;
    min-height: 0;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-workbench-left,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-workbench-right,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-workbench-context,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-workbench-telemetry,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] [data-scenario-workbench="corn-field-benchmark"],
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] [data-scenario-workbench="beautification"],
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] [data-find-refine-console="map-explorer"] {
    display: none !important;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-workbench-context {
    display: flex !important;
    position: relative;
    z-index: 22;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] {
    --left-rail-width: 0px;
    --right-console-width: 0px;
    --telemetry-height: 0px;
    grid-template-rows: 48px 0 minmax(0, 1fr) 0;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] [data-mobile-scenario-one] {
    display: grid;
}

[data-map-explorer-root][data-scenario-one-state="drawing"] [data-mobile-scenario-one] {
    opacity: 0.72;
}

[data-mobile-scenario-one][data-mobile-round-state="drawing"] {
    opacity: 0.72;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"][data-map-active-mode="layers"] .map-explorer-workbench-left {
    display: grid !important;
    position: relative;
    z-index: 23;
}

[data-map-explorer-root] [data-map-mode-panel] {
    display: none !important;
}

[data-map-explorer-root][data-map-active-mode="land"] [data-map-mode-panel="land"],
[data-map-explorer-root][data-map-active-mode="layers"] [data-map-mode-panel="layers"],
[data-map-explorer-root][data-map-active-mode="layers"] [data-map-mode-panel="layers-runtime"],
[data-map-explorer-root][data-map-active-mode="tools"] [data-map-mode-panel="tools"],
[data-map-explorer-root][data-map-active-mode="story"] [data-map-mode-panel="story"] {
    display: grid !important;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] [data-mobile-scenario-one] {
    display: grid;
    position: absolute;
    left: 0.72rem;
    bottom: 0.64rem;
    z-index: 64;
    width: min(27rem, calc(100vw - 1.4rem));
    max-height: min(24vh, 11.8rem);
    overflow: visible;
    gap: 0.26rem;
    border-width: 1px;
    background: linear-gradient(135deg, rgba(241, 250, 232, 0.8), rgba(255, 255, 250, 0.74));
    padding: 0.38rem;
    box-shadow: 0 10px 24px rgba(12, 27, 20, 0.14);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] [data-mobile-scenario-one] > span,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] [data-mobile-scenario-one] > strong,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] [data-mobile-scenario-one] > p,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__step-status,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__uia-rules,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-scenario1-visual-strip {
    display: none !important;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-onscreen-imagery__selected {
    display: none !important;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] [data-mobile-scenario-one][data-mobile-benchmark-state="blocked"] {
    border-color: rgba(178, 84, 43, 0.58);
}

.map-explorer-workbench-hover-window {
    width: auto;
    max-width: min(20rem, calc(100% - 1.5rem));
    border-color: rgba(255, 247, 232, 0.34);
    background: rgba(22, 43, 33, 0.72);
    padding: 0.36rem 0.48rem;
    box-shadow: 0 8px 18px rgba(12, 27, 20, 0.14);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.35rem);
    transition: opacity 140ms ease, transform 140ms ease;
}

[data-map-explorer-root][data-pointer-cue-window="true"] .map-explorer-workbench-hover-window {
    opacity: 0.82;
    transform: translateY(0);
}

.map-explorer-workbench-hover-window span {
    font-size: 0.58rem;
}

.map-explorer-workbench-hover-window strong {
    font-size: 0.78rem;
}

.map-explorer-mobile-rectangle-popup {
    position: absolute;
    left: 0.85rem;
    bottom: 5.2rem;
    z-index: 18;
    display: grid;
    gap: 0.28rem;
    width: min(18rem, calc(100% - 1.7rem));
    border: 1px solid rgba(19, 60, 39, 0.2);
    border-radius: 10px;
    background: rgba(250, 252, 247, 0.94);
    padding: 0.48rem;
    box-shadow: 0 18px 44px rgba(12, 27, 20, 0.24);
    backdrop-filter: blur(10px);
    transform: none;
}

.map-explorer-mobile-rectangle-popup[hidden] {
    display: none;
}

.map-explorer-mobile-rectangle-popup span {
    color: #315d39;
    font-size: 0.66rem;
    font-weight: 950;
    text-transform: uppercase;
}

.map-explorer-mobile-rectangle-popup strong {
    color: #102a1c;
    font-size: 1rem;
    line-height: 1.08;
}

.map-explorer-mobile-rectangle-popup p {
    margin: 0;
    color: #405448;
    font-size: 0.72rem;
    line-height: 1.28;
}

.map-explorer-mobile-rectangle-popup__metrics,
.map-explorer-mobile-rectangle-popup__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
}

.map-explorer-mobile-rectangle-popup__metrics span {
    border: 1px solid rgba(21, 35, 27, 0.1);
    border-radius: 7px;
    background: #ffffff;
    padding: 0.34rem;
    color: #173325;
    text-align: center;
}

.map-explorer-mobile-rectangle-popup__actions button {
    min-height: 2.15rem;
    border: 1px solid rgba(21, 35, 27, 0.14);
    border-radius: 7px;
    background: #ffffff;
    color: #173325;
    font-size: 0.74rem;
    font-weight: 950;
}

.map-explorer-mobile-rectangle-popup__actions button:first-child {
    background: #165c37;
    color: #ffffff;
}

.map-explorer-workbench-hover-window p {
    display: none;
}

.map-explorer-workbench-cursor,
.map-explorer-workbench-saveposture {
    background: rgba(255, 255, 252, 0.66);
    min-height: 2.34rem;
    padding: 0.45rem 0.72rem;
    font-size: 0.84rem;
    backdrop-filter: blur(6px);
}

@media (max-width: 700px) {
    .map-explorer-discovery-cockpit {
        max-width: none;
        top: 3.25rem;
        padding: 0.26rem 0.32rem;
    }

    .map-explorer-discovery-cockpit__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .map-explorer-discovery-cockpit__metrics article {
        padding: 0.14rem 0.24rem;
    }

    .map-explorer-discovery-cockpit span,
    .map-explorer-discovery-cockpit__title small,
    .map-explorer-discovery-cockpit__metrics article:nth-child(n+3) {
        display: none;
    }

    .map-explorer-onscreen-imagery__surface-art {
        width: min(9.5rem, 34vw);
        height: min(10rem, calc(100% - 13rem));
    }

    .map-explorer-workbench-hover-window {
        bottom: 6rem;
        max-width: min(18rem, calc(100% - 0.9rem));
    }
}

.map-explorer-workbench--left-collapsed {
    --left-rail-width: 56px;
}

.map-explorer-workbench--right-collapsed {
    --right-console-width: 64px;
}

.map-explorer-workbench--telemetry-expanded {
    --telemetry-height: 180px;
}

.map-explorer-workbench button,
.map-explorer-workbench input,
.map-explorer-workbench select {
    font: inherit;
}

.map-explorer-workbench-header,
.map-explorer-workbench-context,
.map-explorer-workbench-telemetry {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    border-bottom: 1px solid rgba(21, 35, 27, 0.14);
    background: rgba(250, 252, 247, 0.96);
}

.map-explorer-workbench-header {
    padding: 0 0.8rem;
    justify-content: space-between;
}

.map-explorer-workbench-brand {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    min-width: 18rem;
}

.map-explorer-workbench-brand strong {
    font-size: 1rem;
}

.map-explorer-workbench-brand span,
.map-explorer-workbench label span,
.map-explorer-workbench-panel-title span,
.map-explorer-workbench-telemetry span,
.map-explorer-workbench-selected span,
.map-explorer-workbench-metrics span {
    color: #506257;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.map-explorer-workbench-header label,
.map-explorer-workbench-context label,
.map-explorer-workbench-mapchrome label,
.map-explorer-workbench-transform label {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.map-explorer-workbench-header label {
    position: relative;
    flex: 1;
    max-width: 42rem;
}

.map-explorer-workbench input,
.map-explorer-workbench select {
    min-width: 0;
    height: 1.85rem;
    border: 1px solid rgba(21, 35, 27, 0.22);
    border-radius: 6px;
    background: #ffffff;
    color: #15231b;
    padding: 0 0.5rem;
}

.map-explorer-workbench input:focus,
.map-explorer-workbench select:focus,
.map-explorer-workbench button:focus {
    outline: 2px solid #2f80ed;
    outline-offset: 2px;
}

.map-explorer-workbench-status {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    min-width: 20rem;
}

.map-explorer-workbench-status span,
.map-explorer-workbench-saveposture,
.map-explorer-workbench-cursor,
.map-explorer-workbench-chrome-button {
    border: 1px solid rgba(21, 35, 27, 0.16);
    border-radius: 999px;
    background: #fffdf6;
    padding: 0.25rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.map-explorer-workbench-chrome-button {
    color: #183829;
    cursor: pointer;
    height: 1.85rem;
}

.map-explorer-workbench-chrome-button[aria-expanded="false"] {
    background: #eef7ff;
    border-color: rgba(47, 128, 237, 0.38);
}

.map-explorer-workbench-status .dirty {
    border-color: rgba(184, 95, 37, 0.35);
    background: #fff0df;
    color: #8d4315;
}

.map-explorer-workbench-status .clean {
    border-color: rgba(47, 117, 74, 0.25);
    background: #eaf7ee;
    color: #245a39;
}

.map-explorer-workbench-context {
    padding: 0 0.8rem;
    border-bottom-color: rgba(21, 35, 27, 0.18);
}

.map-explorer-modebar {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem;
    border: 1px solid rgba(21, 35, 27, 0.14);
    border-radius: 8px;
    background: #f3f7ed;
}

.map-explorer-modebar button {
    min-height: 2rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #173928;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.map-explorer-modebar button.active,
.map-explorer-modebar button[aria-pressed="true"] {
    border-color: rgba(36, 100, 66, 0.26);
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(21, 35, 27, 0.1);
}

.map-explorer-workbench-context label {
    min-width: 8rem;
}

.map-explorer-workbench-context .map-explorer-workbench-context-place {
    flex: 1;
    min-width: 18rem;
}

.map-explorer-boundary-projection-strip {
    display: grid;
    grid-template-columns: minmax(16rem, 1fr) 5.5rem 5.5rem 5.5rem max-content max-content minmax(20rem, 1.2fr);
    align-items: center;
    gap: 0.65rem;
    min-height: 3rem;
    padding: 0.38rem 0.8rem;
    border-bottom: 1px solid rgba(21, 35, 27, 0.16);
    background: #f4f7ef;
}

.map-explorer-boundary-projection-strip > div:first-child {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
}

.map-explorer-boundary-projection-strip span,
.map-explorer-boundary-projection-strip label span {
    color: #506257;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.map-explorer-boundary-projection-strip strong {
    color: #173928;
    font-size: 0.86rem;
}

.map-explorer-boundary-projection-strip small {
    color: #53655b;
    font-size: 0.74rem;
    line-height: 1.2;
}

.map-explorer-boundary-projection-strip label {
    display: grid;
    gap: 0.12rem;
}

.map-explorer-boundary-projection-strip input {
    width: 100%;
}

.map-explorer-boundary-projection-toggle {
    align-items: center;
    display: flex !important;
    gap: 0.42rem !important;
    min-width: max-content;
}

.map-explorer-boundary-projection-toggle input {
    accent-color: #245f3c;
    inline-size: 1.05rem;
    min-inline-size: 1.05rem;
}

.map-explorer-boundary-projection-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
    min-width: 0;
}

.map-explorer-boundary-projection-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.24rem;
    border: 1px solid rgba(21, 35, 27, 0.14);
    border-radius: 999px;
    background: #ffffff;
    padding: 0.18rem 0.42rem;
    text-transform: none;
}

.map-explorer-boundary-projection-legend em {
    display: inline-grid;
    place-items: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 4px;
    background: var(--legend-color);
    color: #132019;
    font-style: normal;
    font-weight: 900;
}

.map-explorer-boundary-projection-legend strong {
    font-size: 0.72rem;
}

.map-explorer-workbench-shell {
    display: grid;
    grid-template-columns: var(--left-rail-width) minmax(0, 1fr) var(--right-console-width);
    min-height: 0;
}

.map-explorer-workbench-left,
.map-explorer-workbench-right {
    display: grid;
    align-content: start;
    gap: 0.6rem;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0.65rem;
    background: #f8faf4;
}

.map-explorer-workbench-rail-dock {
    display: none;
    gap: 0.35rem;
}

.map-explorer-workbench-rail-dock button {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid rgba(21, 35, 27, 0.16);
    border-radius: 8px;
    background: #ffffff;
    color: #183829;
    font-weight: 900;
}

.map-explorer-workbench--left-collapsed .map-explorer-workbench-left,
.map-explorer-workbench--right-collapsed .map-explorer-workbench-right {
    padding: 0.45rem 0.4rem;
}

.map-explorer-workbench--left-collapsed .map-explorer-workbench-left > :not(.map-explorer-workbench-rail-dock),
.map-explorer-workbench--right-collapsed .map-explorer-workbench-right > :not(.map-explorer-workbench-rail-dock) {
    display: none;
}

.map-explorer-workbench--left-collapsed .map-explorer-workbench-left .map-explorer-workbench-rail-dock,
.map-explorer-workbench--right-collapsed .map-explorer-workbench-right .map-explorer-workbench-rail-dock {
    display: grid;
}

.map-explorer-workbench-left {
    border-right: 1px solid rgba(21, 35, 27, 0.14);
    position: relative;
}

.map-explorer-workbench-right {
    border-left: 1px solid rgba(21, 35, 27, 0.14);
    position: relative;
}

.map-explorer-pane-splitter {
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 0.45rem;
    border-radius: 999px;
    background: rgba(40, 90, 67, 0.16);
    cursor: col-resize;
}

.map-explorer-pane-splitter:focus-visible {
    outline: 3px solid rgba(255, 207, 92, 0.9);
    outline-offset: 2px;
}

.map-explorer-pane-splitter--left {
    right: -0.25rem;
}

.map-explorer-pane-splitter--right {
    left: -0.25rem;
}

.map-explorer-workbench-panel {
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 252, 0.9);
    padding: 0.6rem;
}

.map-explorer-workbench-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.map-explorer-workbench-panel-title strong {
    color: #244634;
    font-size: 0.85rem;
}

.map-explorer-workbench-place-list,
.map-explorer-workbench-layer-list {
    display: grid;
    gap: 0.35rem;
    max-height: 25vh;
    overflow: auto;
    padding-right: 0.2rem;
}

.map-explorer-place-tree {
    display: grid;
    gap: 0.35rem;
    max-height: 31vh;
    overflow: auto;
    padding-right: 0.2rem;
}

.map-explorer-place-tree [role="treeitem"] {
    padding-left: calc(0.5rem + max(0, var(--place-tree-level, 1) - 1) * 0.8rem);
}

.map-explorer-governed-context {
    display: grid;
    gap: 0.45rem;
    padding: 0.65rem;
    border: 1px solid rgba(30, 78, 52, 0.18);
    border-radius: 10px;
    background: color-mix(in srgb, var(--map-surface, #fff) 92%, #dff3e5);
}

.map-explorer-governed-context > header,
.map-explorer-governed-context > header span,
.map-explorer-governed-context__grid,
.map-explorer-governed-context__grid article,
.map-explorer-governed-context__grid label,
.map-explorer-governed-context__grid label span {
    display: grid;
}

.map-explorer-governed-context > header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.45rem;
}

.map-explorer-governed-context > header small,
.map-explorer-governed-context__grid small {
    color: var(--map-muted, #58665d);
    font-size: 0.68rem;
    line-height: 1.2;
}

.map-explorer-governed-context > header button,
.map-explorer-governed-context__grid a {
    min-height: 2.75rem;
    padding: 0.28rem 0.45rem;
    border: 1px solid rgba(30, 78, 52, 0.22);
    border-radius: 7px;
    background: transparent;
    color: #244634;
    font: inherit;
    font-size: 0.72rem;
    text-decoration: none;
}

.map-explorer-governed-context__grid {
    /*
     * This panel is a narrow map rail even on wide desktops. Keep one governed
     * layer per row so the authoritative layer names remain visible instead of
     * collapsing into two columns of ambiguous ellipses.
     */
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
}

.map-explorer-governed-context__grid article {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
    padding: 0.35rem;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.72);
}

.map-explorer-governed-context__grid label {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.map-explorer-governed-context__grid strong,
.map-explorer-governed-context__grid small {
    overflow-wrap: anywhere;
    white-space: normal;
}

.map-explorer-governed-context__grid strong {
    font-size: 0.74rem;
}

.map-explorer-governed-context__authority,
.map-explorer-governed-context__disclaimer,
.map-explorer-governed-context__evidence {
    grid-column: 1 / -1;
}

.map-explorer-governed-context__evidence {
    min-width: 0;
}

.map-explorer-governed-context__evidence > summary {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    cursor: pointer;
    color: var(--map-muted, #58665d);
    font-size: 0.7rem;
    font-weight: 700;
}

.map-explorer-governed-context__evidence > summary span {
    padding: 0.2rem 0.42rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--map-accent, #256f3a) 12%, transparent);
    color: #244634;
    font-size: 0.66rem;
}

.map-explorer-governed-context__evidence-body {
    display: grid;
    gap: 0.35rem;
    padding-block: 0.15rem 0.35rem;
}

.map-explorer-governed-context__legend ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.map-explorer-governed-context__legend li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.map-explorer-governed-context__swatch {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    border: 2px solid var(--map-spatial-stroke);
    border-radius: 0.2rem;
    background: var(--map-spatial-fill);
}

.map-spatial-style--seaton-development { --map-spatial-fill: #d97706; --map-spatial-stroke: #7c2d12; }
.map-spatial-style--pickering-federal-lands { --map-spatial-fill: #7c3aed; --map-spatial-stroke: #4c1d95; }
.map-spatial-style--rouge-national-urban-park { --map-spatial-fill: #15803d; --map-spatial-stroke: #14532d; }
.map-spatial-style--green-river { --map-spatial-fill: #0891b2; --map-spatial-stroke: #164e63; }
.map-spatial-style--player1-property { --map-spatial-fill: #2563eb; --map-spatial-stroke: #1e3a8a; }
.map-spatial-style--homestead { --map-spatial-fill: #eab308; --map-spatial-stroke: #713f12; }

.map-explorer-governed-context__authority {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 0.55rem;
    margin: 0.1rem 0 0;
    padding-top: 0.3rem;
    border-top: 1px solid rgba(30, 78, 52, 0.12);
}

.map-explorer-governed-context__authority div {
    min-width: 0;
}

.map-explorer-governed-context__authority div:last-child,
.map-explorer-governed-context__grid [data-spatial-official-source] {
    grid-column: 1 / -1;
}

.map-explorer-governed-context__authority dt,
.map-explorer-governed-context__authority dd,
.map-explorer-governed-context__disclaimer {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 0.68rem;
    line-height: 1.3;
}

.map-explorer-governed-context__authority dt {
    color: var(--map-muted, #58665d);
    font-weight: 700;
}

.map-explorer-governed-context__authority dd {
    color: #244634;
}

.map-explorer-governed-context__disclaimer {
    color: var(--map-muted, #58665d);
}

.map-explorer-governed-context > p {
    margin: 0;
    color: var(--map-muted, #58665d);
    font-size: 0.66rem;
    line-height: 1.3;
}

[data-map-player-season-handoff] {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding-inline: 0.65rem;
}

@media (max-width: 980px) {
    .map-explorer-governed-context__grid {
        grid-template-columns: 1fr;
    }

    .map-explorer-governed-context__authority {
        grid-template-columns: 1fr;
    }
}

.map-explorer-layer-facets {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.map-explorer-layer-facets input[type="search"] {
    width: 100%;
    min-height: 2rem;
    border: 1px solid rgba(21, 35, 27, 0.15);
    border-radius: 7px;
    background: #ffffff;
    padding: 0.3rem 0.45rem;
}

.map-explorer-layer-facets [role="group"] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.map-explorer-layer-facets button {
    border: 1px solid rgba(21, 35, 27, 0.13);
    border-radius: 999px;
    background: #ffffff;
    color: #1a3b2b;
    font-size: 0.74rem;
    font-weight: 800;
}

.map-explorer-layer-facets button.active {
    border-color: rgba(47, 128, 237, 0.45);
    background: #eaf3ff;
}

.map-explorer-overlay-group {
    display: grid;
    gap: 0.45rem;
    border: 1px solid rgba(21, 35, 27, 0.13);
    border-radius: 8px;
    background: #fffef8;
    padding: 0.5rem;
}

.map-explorer-overlay-group header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
}

.map-explorer-overlay-group header span,
.map-explorer-overlay-leaf span {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
}

.map-explorer-overlay-group header em,
.map-explorer-overlay-leaf small {
    color: #526559;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 800;
}

.map-explorer-overlay-group input[type="range"],
.map-explorer-overlay-leaf input[type="range"] {
    width: 100%;
}

.map-explorer-overlay-group__expand {
    border: 1px solid rgba(21, 35, 27, 0.13);
    border-radius: 6px;
    background: #f5f9f0;
    font-size: 0.72rem;
    font-weight: 800;
}

.map-explorer-overlay-leaves {
    display: grid;
    gap: 0.3rem;
    max-height: 18rem;
    overflow: auto;
    border-top: 1px solid rgba(21, 35, 27, 0.1);
    padding-top: 0.35rem;
}

.map-explorer-overlay-leaf {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.35rem;
    align-items: center;
    border: 1px solid rgba(21, 35, 27, 0.08);
    border-radius: 6px;
    background: #ffffff;
    padding: 0.35rem;
}

.map-explorer-workbench-place,
.map-explorer-workbench-layer,
.map-explorer-workbench-bookmarks button,
.map-explorer-workbench-action-grid button {
    width: 100%;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 7px;
    background: #ffffff;
    color: #15231b;
    text-align: left;
}

.map-explorer-workbench-place {
    display: grid;
    gap: 0.1rem;
    padding: 0.45rem 0.5rem;
}

.map-explorer-workbench-place.active {
    border-color: #2f80ed;
    box-shadow: inset 3px 0 0 #2f80ed;
}

.map-explorer-workbench-place strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-place small,
.map-explorer-workbench-layer small,
.map-explorer-workbench-action-grid small,
.map-explorer-workbench-selected small,
.map-explorer-workbench-rule-list {
    color: #5d6c63;
    font-size: 0.78rem;
}

.map-explorer-workbench-layer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.4rem;
    padding: 0.45rem;
}

.map-explorer-workbench-layer--render {
    border-color: rgba(47, 128, 237, 0.24);
    background:
        linear-gradient(135deg, rgba(47, 128, 237, 0.08), rgba(255, 209, 102, 0.08)),
        #ffffff;
}

.map-explorer-workbench-layer span {
    min-width: 0;
}

.map-explorer-workbench-layer strong,
.map-explorer-workbench-layer small,
.map-explorer-workbench-layer em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-layer em {
    color: #2f6f4a;
    font-size: 0.6rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.map-explorer-workbench-layer output {
    align-self: center;
    justify-self: end;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 999px;
    background: #f6f8f3;
    color: #234634;
    padding: 0.08rem 0.38rem;
    font-size: 0.68rem;
    font-weight: 900;
}

.map-explorer-workbench-layer input[type="range"] {
    grid-column: 1 / -1;
    width: 100%;
    height: 1.3rem;
    padding: 0;
}

.map-explorer-workbench-bookmarks {
    display: grid;
    gap: 0.35rem;
}

.map-explorer-workbench-design-tools {
    background:
        linear-gradient(135deg, rgba(36, 90, 57, 0.08), rgba(47, 128, 237, 0.08)),
        rgba(255, 255, 252, 0.94);
}

.map-explorer-workbench-toolbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
}

.map-explorer-workbench-design-tool {
    display: grid;
    grid-template-columns: 2.15rem minmax(0, 1fr);
    align-items: center;
    gap: 0.42rem;
    width: 100%;
    min-height: 3.25rem;
    border: 1px solid rgba(21, 35, 27, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: #15231b;
    padding: 0.4rem;
    text-align: left;
    box-shadow: inset 0 -1px 0 rgba(21, 35, 27, 0.05);
}

.map-explorer-workbench-design-tool:hover {
    border-color: rgba(36, 90, 57, 0.42);
    background: #f6fbf2;
}

.map-explorer-workbench-design-tool.active {
    border-color: #245a39;
    background: linear-gradient(135deg, #f4fff0, #eef7ff);
    box-shadow: inset 0 0 0 2px rgba(36, 90, 57, 0.14);
}

.map-explorer-workbench-design-tool span:not(.map-explorer-workbench-tool-glyph) {
    display: grid;
    min-width: 0;
}

.map-explorer-workbench-design-tool strong,
.map-explorer-workbench-design-tool small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-tool-glyph {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    overflow: hidden;
    border: 1px solid rgba(24, 56, 41, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.28) 38%, transparent 68%),
        linear-gradient(135deg, #f9fbf3, #e9f2ec);
    box-shadow: inset 0 -1px 0 rgba(21, 35, 27, 0.1);
}

.map-explorer-workbench-tool-glyph img {
    display: block;
    width: 1.85rem;
    height: 1.85rem;
    object-fit: contain;
}

.map-explorer-workbench-design-tool.active .map-explorer-workbench-tool-glyph {
    border-color: rgba(36, 90, 57, 0.52);
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.2) 38%, transparent 68%),
        linear-gradient(135deg, #e8f6df, #e5f2ff);
}

.map-explorer-workbench-bookmarks button,
.map-explorer-workbench-action-grid button {
    padding: 0.45rem 0.55rem;
}

.map-explorer-workbench-stage {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #d9e2d6;
}

.map-explorer-workbench-stage--draw-area {
    cursor: crosshair;
}

.map-explorer-workbench-stage--edit-vertices {
    cursor: cell;
}

.map-explorer-workbench-stage--drag-polygon {
    cursor: move;
}

.map-explorer-workbench-stage--measure,
.map-explorer-workbench-stage--bitmap-boundary {
    cursor: crosshair;
}

.map-explorer-workbench-stage--cursor-select-zone {
    cursor: pointer;
}

.map-explorer-workbench-stage--cursor-vertex-target,
.map-explorer-workbench-stage--cursor-draw-boundary {
    cursor: crosshair;
}

.map-explorer-workbench-stage--cursor-move-zone,
.map-explorer-workbench-stage--cursor-move-vertex {
    cursor: grab;
}

.map-explorer-workbench-stage--zone-selected .map-explorer-workbench-map {
    outline: 2px solid rgba(255, 207, 92, 0.18);
    outline-offset: -2px;
}

.map-explorer-workbench-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.map-explorer-workbench-map-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #cfdccd;
}

.map-explorer-geometry-unavailable {
    position: absolute;
    z-index: var(--map-control-layer);
    right: 0.75rem;
    bottom: 0.75rem;
    display: grid;
    gap: 0.15rem;
    max-width: min(30rem, calc(100% - 1.5rem));
    padding: 0.6rem 0.75rem;
    border: 1px solid currentColor;
    border-radius: 0.65rem;
    background: var(--map-surface, #fff);
    color: var(--map-muted, #58665d);
    box-shadow: 0 8px 24px rgb(9 22 15 / 24%);
}

.map-explorer-geometry-unavailable[hidden] {
    display: none;
}

.map-explorer-geometry-unavailable strong {
    color: inherit;
}

.map-explorer-geometry-unavailable span {
    font-size: 0.78rem;
    line-height: 1.3;
}

.map-explorer-scene-lenses {
    position: absolute;
    z-index: 14;
    /* .map-explorer-workbench-mapchrome-top (z-index: 5) is a *separate*
       absolutely-positioned floating HUD layer over the map (top: 0.65rem,
       observed ~185px/11.6rem tall across its wrapped rows of surface/view
       controls), not a normal-flow header the map sits below - so this pill
       needs its own top offset to clear it instead of assuming it can float
       at the very top of the stage. Re-measure if mapchrome-top's control
       rows change enough to alter its height. */
    top: 13rem;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    max-width: calc(100% - 8rem);
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 999px;
    background: rgba(15, 32, 24, 0.88);
    box-shadow: 0 8px 24px rgba(9, 22, 15, 0.24);
    color: #fff;
    transform: translateX(-50%);
    backdrop-filter: blur(12px);
}

.map-explorer-scene-lenses button {
    min-height: 2rem;
    padding: 0.28rem 0.72rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
}

.map-explorer-scene-lenses button[aria-pressed="true"] {
    background: #d9f99d;
    color: #173114;
}

.map-explorer-scene-lenses button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.map-explorer-scene-lenses output {
    overflow: hidden;
    max-width: 19rem;
    padding: 0 0.55rem;
    color: #d8e6dc;
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .map-explorer-scene-lenses {
        top: 0.4rem;
        max-width: calc(100% - 1rem);
    }

    .map-explorer-scene-lenses output {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

.map-explorer-unicode-coordinate-overlay {
    position: absolute;
    inset: 0;
    z-index: 8;
    overflow: hidden;
    opacity: 0.92;
    pointer-events: none;
}

.map-explorer-unicode-coordinate-overlay[hidden] {
    display: none;
}

.map-explorer-unicode-coordinate-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.map-explorer-unicode-coordinate-cell {
    position: absolute;
    display: inline-grid;
    min-width: 1.15em;
    min-height: 1.15em;
    place-items: center;
    border-radius: 0.22em;
    background: rgba(12, 30, 20, 0.08);
    color: var(--glyph-color, #fff8d5);
    font-family: "Cascadia Mono", Consolas, "Courier New", monospace;
    font-weight: 900;
    line-height: 1;
    padding: 0.02em 0.07em;
    text-shadow:
        0 0 2px #07160e,
        0 0 5px rgba(7, 22, 14, 0.92),
        0 1px 0 rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%);
    user-select: none;
    white-space: pre;
}

.map-explorer-unicode-coordinate-svg .map-explorer-unicode-coordinate-cell {
    position: static;
    display: block;
    min-width: 0;
    min-height: 0;
    padding: 0;
    transform: none;
}

.map-explorer-unicode-coordinate-backdrop {
    fill: rgba(7, 22, 14, 0.18);
    stroke: rgba(255, 255, 255, 0.24);
    stroke-width: 0.75;
}

.map-explorer-unicode-coordinate-cell[data-structural="false"] .map-explorer-unicode-coordinate-backdrop {
    fill: transparent;
    stroke: transparent;
}

.map-explorer-unicode-coordinate-cell[data-structural="true"] .map-explorer-unicode-coordinate-backdrop {
    fill: rgba(7, 22, 14, 0.3);
    stroke: rgba(255, 255, 255, 0.42);
}

.map-explorer-unicode-coordinate-glyph {
    fill: #ffffff;
    font-family: "Cascadia Mono", Consolas, "Courier New", monospace;
    font-weight: 900;
    paint-order: stroke;
    stroke: #000000;
    stroke-width: 2px;
    stroke-linejoin: round;
}

[data-map-explorer-root] ::deep .map-explorer-unicode-coordinate-cell {
    position: absolute;
    display: inline-grid;
    min-width: 1.15em;
    min-height: 1.15em;
    place-items: center;
    border-radius: 0.22em;
    background: rgba(12, 30, 20, 0.08);
    color: var(--glyph-color, #fff8d5);
    font-family: "Cascadia Mono", Consolas, "Courier New", monospace;
    font-weight: 900;
    line-height: 1;
    padding: 0.02em 0.07em;
    text-shadow:
        0 0 2px #07160e,
        0 0 5px rgba(7, 22, 14, 0.92),
        0 1px 0 rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%);
    user-select: none;
    white-space: pre;
}

.map-explorer-unicode-coordinate-cell[data-structural="false"] {
    opacity: 0.56;
    background: transparent;
    text-shadow:
        0 0 2px rgba(7, 22, 14, 0.88),
        0 0 4px rgba(7, 22, 14, 0.72);
}

[data-map-explorer-root] ::deep .map-explorer-unicode-coordinate-cell[data-structural="false"] {
    opacity: 0.56;
    background: transparent;
    text-shadow:
        0 0 2px rgba(7, 22, 14, 0.88),
        0 0 4px rgba(7, 22, 14, 0.72);
}

.map-explorer-unicode-coordinate-cell[data-structural="true"] {
    opacity: 0.96;
    box-shadow: 0 0 0 1px rgba(255, 255, 250, 0.14);
}

[data-map-explorer-root] ::deep .map-explorer-unicode-coordinate-cell[data-structural="true"] {
    opacity: 0.96;
    box-shadow: 0 0 0 1px rgba(255, 255, 250, 0.14);
}

.map-explorer-unicode-coordinate-cell[data-dominance-reason*="lineal" i],
.map-explorer-unicode-coordinate-cell[data-overlay-family*="lineal" i] {
    background: rgba(8, 32, 45, 0.58);
    color: #e9fbff;
}

[data-map-explorer-root] ::deep .map-explorer-unicode-coordinate-cell[data-dominance-reason*="lineal" i],
[data-map-explorer-root] ::deep .map-explorer-unicode-coordinate-cell[data-overlay-family*="lineal" i] {
    background: rgba(8, 32, 45, 0.58);
    color: #e9fbff;
}

.map-explorer-unicode-coordinate-cell[data-overlay-family*="hardscape" i],
.map-explorer-unicode-coordinate-cell[data-overlay-family*="building" i],
.map-explorer-unicode-coordinate-cell[data-overlay-family*="vehicle" i] {
    background: rgba(36, 31, 28, 0.62);
    color: #fff2ca;
}

[data-map-explorer-root] ::deep .map-explorer-unicode-coordinate-cell[data-overlay-family*="hardscape" i],
[data-map-explorer-root] ::deep .map-explorer-unicode-coordinate-cell[data-overlay-family*="building" i],
[data-map-explorer-root] ::deep .map-explorer-unicode-coordinate-cell[data-overlay-family*="vehicle" i] {
    background: rgba(36, 31, 28, 0.62);
    color: #fff2ca;
}

.map-explorer-unicode-coordinate-cell[data-overlay-family*="outside" i] {
    display: none;
}

[data-map-explorer-root] ::deep .map-explorer-unicode-coordinate-cell[data-overlay-family*="outside" i] {
    display: none;
}

[data-map-explorer-root][data-boundary-map-unicode-overlay-contrast="white-on-black"] .map-explorer-unicode-coordinate-cell,
[data-map-explorer-root][data-boundary-map-unicode-overlay-contrast="white-on-black"] ::deep .map-explorer-unicode-coordinate-cell {
    border: 1px solid rgba(255, 255, 255, 0.58) !important;
    background: rgba(0, 0, 0, 0.86) !important;
    color: #ffffff !important;
    text-shadow:
        0 0 2px #000000,
        0 0 5px #000000,
        0 1px 0 #000000 !important;
}

[data-map-explorer-root][data-boundary-map-unicode-overlay-contrast="white-on-black"] .map-explorer-unicode-coordinate-backdrop {
    fill: rgba(0, 0, 0, 0.86);
    stroke: rgba(255, 255, 255, 0.72);
}

@media (forced-colors: active) {
    .map-explorer-unicode-coordinate-backdrop {
        fill: var(--shell-forced-canvas);
        stroke: var(--shell-forced-border-focus);
    }

    .map-explorer-unicode-coordinate-glyph {
        fill: var(--shell-forced-text);
        stroke: var(--shell-forced-canvas);
    }
}

[data-map-explorer-root][data-boundary-map-unicode-overlay-contrast="white-on-black"] .map-explorer-unicode-coordinate-cell[data-structural="false"],
[data-map-explorer-root][data-boundary-map-unicode-overlay-contrast="white-on-black"] ::deep .map-explorer-unicode-coordinate-cell[data-structural="false"] {
    opacity: 0.74 !important;
}

[data-map-explorer-root][data-boundary-map-unicode-overlay-contrast="white-on-black"] .map-explorer-unicode-coordinate-cell[data-structural="true"],
[data-map-explorer-root][data-boundary-map-unicode-overlay-contrast="white-on-black"] ::deep .map-explorer-unicode-coordinate-cell[data-structural="true"] {
    border-color: rgba(255, 255, 255, 0.86) !important;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.9),
        0 0 0 2px rgba(255, 255, 255, 0.28) !important;
    opacity: 0.98 !important;
}

.map-explorer-unicode-coordinate-overlay-status {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 9;
    max-width: min(28rem, calc(100% - 2rem));
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 0.55rem;
    background: rgba(12, 30, 20, 0.74);
    color: #fff8d5;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    padding: 0.46rem 0.64rem;
    pointer-events: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}

[data-map-explorer-root][data-player-preference-flyout="false"] .map-explorer-preferences__flyout {
    display: none !important;
}

[data-map-explorer-root][data-map-active-mode="land"] .map-explorer-lens-dial,
[data-map-explorer-root][data-map-active-mode="layers"] .map-explorer-lens-dial,
[data-map-explorer-root][data-map-active-mode="land"] .map-explorer-workbench-lensbar,
[data-map-explorer-root][data-map-active-mode="layers"] .map-explorer-workbench-lensbar {
    display: none !important;
}

[data-map-explorer-root][data-map-active-mode="land"] .map-explorer-onscreen-imagery__rail,
[data-map-explorer-root][data-map-active-mode="layers"] .map-explorer-onscreen-imagery__rail,
[data-map-explorer-root][data-map-active-mode="land"] .map-explorer-onscreen-imagery__context-rail,
[data-map-explorer-root][data-map-active-mode="layers"] .map-explorer-onscreen-imagery__context-rail,
[data-map-explorer-root][data-map-active-mode="land"] .map-explorer-onscreen-command-flyout,
[data-map-explorer-root][data-map-active-mode="layers"] .map-explorer-onscreen-command-flyout {
    display: none !important;
}

[data-map-explorer-root][data-map-active-mode="land"] .map-explorer-workbench-mapchrome-top,
[data-map-explorer-root][data-map-active-mode="layers"] .map-explorer-workbench-mapchrome-top {
    max-width: min(30rem, calc(100% - 2rem));
}

[data-map-explorer-root][data-map-active-mode="land"] .map-explorer-workbench-mapchrome-bottom,
[data-map-explorer-root][data-map-active-mode="layers"] .map-explorer-workbench-mapchrome-bottom {
    display: none !important;
}

[data-map-explorer-root][data-map-active-mode="land"] .map-explorer-onscreen-imagery__compass,
[data-map-explorer-root][data-map-active-mode="layers"] .map-explorer-onscreen-imagery__compass {
    display: none !important;
}

.map-explorer-workbench-map-frame[data-map-ready="true"] .map-explorer-workbench-map-placeholder {
    opacity: 0;
    pointer-events: none;
}

[data-map-explorer-root][data-spatial-evidence-capture="true"]
    .map-explorer-workbench-stage
    > :not(.map-explorer-workbench-map-frame) {
    visibility: hidden !important;
}

[data-map-explorer-root][data-spatial-evidence-capture="true"]
    .map-explorer-unicode-coordinate-svg {
    visibility: hidden !important;
}

.map-explorer-workbench-map-placeholder[hidden] {
    display: none !important;
}

.map-explorer-workbench-map-placeholder {
    position: absolute;
    left: 1rem;
    bottom: 5.5rem;
    /* Was z-index: 4 - far below this file's --map-control-layer (160)
       convention used by every other "float above the map" element. Once
       Azure Maps/MapLibre initializes its own canvas layers inside the map
       host (a sibling of this placeholder), those layers painted over this
       placeholder despite it still being visible/not hidden, leaving users
       looking at a blank map background with the "Hydrating map" loading
       copy and progress checkmarks invisible behind it. */
    z-index: var(--map-control-layer);
    display: grid;
    gap: 0.35rem;
    width: min(22rem, calc(100% - 2rem));
    border: 1px solid rgba(18, 49, 37, 0.16);
    border-radius: 8px;
    background: rgba(250, 252, 247, 0.9);
    color: #173724;
    padding: 0.7rem;
    box-shadow: 0 16px 36px rgba(12, 27, 20, 0.18);
    transition: opacity 160ms ease;
}

.map-explorer-workbench-map-placeholder strong {
    font-size: 0.9rem;
}

.map-explorer-workbench-map-placeholder p {
    margin: 0;
    color: #506257;
    font-size: 0.78rem;
}

.map-explorer-workbench-map-placeholder[data-foreground-motion-contract="map-loading-foreground-v1"] .map-explorer-loading-motion-bar {
    display: block;
    width: 100%;
    height: .3rem;
    border-radius: 999px;
    background:
        linear-gradient(90deg, transparent 0 28%, #2f80ed 42% 58%, transparent 72% 100%),
        #dce8df;
    background-position: -140% 0, 0 0;
    background-repeat: no-repeat;
    background-size: 45% 100%, 100% 100%;
}

.map-explorer-workbench-map-placeholder[data-foreground-motion-state="running"] .map-explorer-loading-motion-bar {
    animation: map-explorer-loading-foreground-sweep 1.15s ease-in-out infinite;
}

.map-explorer-workbench-map-placeholder[data-foreground-motion-state="static"] .map-explorer-loading-motion-bar {
    background-position: 50% 0, 0 0;
}

@keyframes map-explorer-loading-foreground-sweep {
    from {
        background-position: -140% 0, 0 0;
    }

    to {
        background-position: 240% 0, 0 0;
    }
}

.map-explorer-loading-phase {
    color: #315b43;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.map-explorer-loading-stages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
    margin: .2rem 0;
    padding: 0;
    list-style: none;
}

.map-explorer-loading-stages li {
    min-width: 0;
    border: 1px solid rgba(24, 86, 52, .2);
    border-radius: 999px;
    padding: .28rem .42rem;
    overflow: hidden;
    color: #53675a;
    font-size: .66rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-loading-stages li::before {
    content: "○ ";
}

.map-explorer-loading-stages li.ready {
    border-color: #237a4b;
    color: #185633;
}

.map-explorer-loading-stages li.ready::before {
    content: "✓ ";
}

.map-explorer-loading-stages li.degraded {
    border-color: #9a6a16;
    color: #70490c;
}

.map-explorer-loading-stages li.degraded::before {
    content: "◇ ";
}

.map-explorer-loading-stages li.error {
    border-color: #a13a32;
    color: #7c211c;
}

.map-explorer-loading-stages li.error::before {
    content: "! ";
}

@media (prefers-reduced-motion: reduce) {
    [data-map-explorer-root] .map-explorer-workbench-map-placeholder,
    [data-map-explorer-root] .map-explorer-button-primary,
    [data-map-explorer-root] .map-explorer-loading-stages li {
        animation: none;
        scroll-behavior: auto;
        transition: none;
    }

    [data-map-explorer-root] .map-explorer-loading-motion-bar {
        animation: none !important;
        background-position: 50% 0, 0 0;
    }
}

.map-explorer-button-primary {
    justify-self: start;
    border: 1px solid rgba(24, 86, 52, 0.28);
    border-radius: 7px;
    background: #1f6f45;
    color: #ffffff;
    padding: 0.4rem 0.7rem;
    font-weight: 900;
}

.map-explorer-discovery-cockpit {
    position: absolute;
    left: 0.75rem;
    right: 5.2rem;
    top: 4.05rem;
    z-index: 6;
    display: grid;
    grid-template-columns: minmax(14rem, 1fr) auto;
    gap: 0.4rem;
    max-width: min(42rem, calc(100% - 7rem));
    border: 1px solid rgba(18, 44, 30, 0.12);
    border-radius: 8px;
    background: rgba(250, 252, 247, 0.68);
    padding: 0.34rem 0.42rem;
    pointer-events: auto;
    box-shadow: 0 10px 22px rgba(12, 27, 20, 0.1);
    backdrop-filter: blur(6px);
}

.map-explorer-discovery-cockpit__title,
.map-explorer-simulator-status-panel__title,
.map-explorer-command-metadata {
    display: grid;
    min-width: 0;
}

.map-explorer-discovery-cockpit span,
.map-explorer-simulator-status-panel span,
.map-explorer-command-metadata span {
    color: #506257;
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-discovery-cockpit strong,
.map-explorer-discovery-cockpit small,
.map-explorer-simulator-status-panel strong,
.map-explorer-simulator-status-panel small,
.map-explorer-command-metadata strong,
.map-explorer-command-metadata small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-discovery-cockpit__title strong {
    color: #173724;
    font-size: 0.82rem;
}

.map-explorer-discovery-cockpit__title small,
.map-explorer-simulator-status-panel__title small,
.map-explorer-command-metadata small {
    color: #5c6a61;
    font-size: 0.68rem;
}

.map-explorer-discovery-cockpit__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.22rem;
    min-width: 0;
}

.map-explorer-discovery-cockpit__metrics article,
.map-explorer-simulator-status-panel__grid article {
    display: grid;
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.64);
    padding: 0.24rem 0.32rem;
}

.map-explorer-discovery-cockpit__metrics article[data-status-state="dirty"],
.map-explorer-simulator-status-panel__grid article[data-simulator-panel-state="review"] {
    border-color: rgba(184, 95, 37, 0.24);
    background: #fff4e8;
}

.map-explorer-discovery-cockpit__metrics article[data-replay-state="Reviewable"],
.map-explorer-discovery-cockpit__metrics article[data-replay-state="Revisable"],
.map-explorer-simulator-status-panel__grid article[data-simulator-panel-state="pass"] {
    border-color: rgba(47, 117, 74, 0.24);
    background: #eef7ea;
}

.map-explorer-onscreen-imagery {
    position: absolute;
    inset: 0;
    z-index: 4;
    overflow: hidden;
    pointer-events: none;
}

.map-explorer-onscreen-imagery__compass {
    position: absolute;
    top: 4.2rem;
    right: 1rem;
    display: grid;
    place-items: center;
    gap: 0.15rem;
    width: 3.85rem;
    border: 1px solid rgba(10, 31, 22, 0.14);
    border-radius: 8px;
    background: rgba(250, 252, 247, 0.62);
    padding: 0.26rem;
    color: #173724;
    font-size: 0.66rem;
    font-weight: 900;
    pointer-events: auto;
    box-shadow: 0 8px 18px rgba(12, 27, 20, 0.1);
    backdrop-filter: blur(6px);
}

.map-explorer-onscreen-imagery__compass svg {
    width: 1.9rem;
    height: 1.9rem;
    transform: rotate(72deg);
    transform-origin: center;
}

.map-explorer-onscreen-imagery__rail {
    position: absolute;
    top: 8.85rem;
    right: 0.9rem;
    display: grid;
    gap: 0.28rem;
    width: 3.32rem;
    border: 1px solid rgba(10, 31, 22, 0.1);
    border-radius: 8px;
    background: rgba(250, 252, 247, 0.5);
    padding: 0.26rem;
    pointer-events: auto;
    box-shadow: 0 8px 18px rgba(12, 27, 20, 0.08);
    backdrop-filter: blur(6px);
}

.map-explorer-onscreen-imagery__context-rail {
    position: absolute;
    right: 5.05rem;
    bottom: 1rem;
    display: flex;
    gap: 0.28rem;
    max-width: min(34rem, calc(100% - 5.6rem));
    border: 1px solid rgba(10, 31, 22, 0.1);
    border-radius: 8px;
    background: rgba(250, 252, 247, 0.5);
    padding: 0.26rem;
    pointer-events: auto;
    box-shadow: 0 8px 18px rgba(12, 27, 20, 0.08);
    backdrop-filter: blur(6px);
}

.map-explorer-onscreen-imagery__rail button,
.map-explorer-onscreen-imagery__context-rail button {
    display: grid;
    place-items: center;
    width: 2.76rem;
    height: 2.76rem;
    min-height: 0;
    border: 1px solid transparent;
    border-radius: 7px;
    background: rgba(255, 255, 252, 0.7);
    color: #183829;
    padding: 0;
    position: relative;
    box-shadow: none;
    transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.map-explorer-onscreen-imagery__context-rail button {
    width: 2.64rem;
    height: 2.64rem;
    background: rgba(255, 255, 252, 0.66);
}

.map-explorer-onscreen-imagery__rail button:hover,
.map-explorer-onscreen-imagery__context-rail button:hover {
    border-color: rgba(47, 128, 237, 0.42);
    background: #f5fbff;
    box-shadow: 0 6px 14px rgba(12, 27, 20, 0.12);
    transform: translateX(-1px);
}

.map-explorer-onscreen-imagery__rail button.active,
.map-explorer-onscreen-imagery__context-rail button.active {
    border-color: rgba(47, 128, 237, 0.62);
    background: #eef7ff;
    box-shadow: inset 0 0 0 1px rgba(47, 128, 237, 0.24);
}

.map-explorer-onscreen-imagery__rail button[data-active-tool-state="selected"]::after,
.map-explorer-onscreen-imagery__context-rail button[data-active-tool-state="selected"]::after {
    position: absolute;
    right: 0.18rem;
    bottom: 0.18rem;
    width: 0.42rem;
    height: 0.42rem;
    border: 1px solid rgba(255, 255, 252, 0.92);
    border-radius: 999px;
    background: #2f80ed;
    content: "";
}

.map-explorer-onscreen-imagery__rail-icon {
    display: grid;
    place-items: center;
    width: 2.28rem;
    height: 2.28rem;
    border-radius: 6px;
}

.map-explorer-onscreen-imagery__rail-icon img {
    display: block;
    width: 2.28rem;
    height: 2.28rem;
    object-fit: contain;
}

.map-explorer-onscreen-imagery__rail span,
.map-explorer-onscreen-imagery__context-rail span {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.map-explorer-onscreen-imagery__rail .map-explorer-onscreen-imagery__hint,
.map-explorer-onscreen-imagery__context-rail .map-explorer-onscreen-imagery__hint {
    position: absolute;
    z-index: 8;
    right: calc(100% + 0.42rem);
    top: 50%;
    width: min(18rem, 42vw);
    height: auto;
    min-height: 1.65rem;
    clip: auto;
    display: none;
    align-items: center;
    border: 1px solid rgba(12, 44, 30, 0.18);
    border-radius: 8px;
    background: rgba(20, 51, 35, 0.96);
    color: #fbfff8;
    padding: 0.38rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    white-space: normal;
    box-shadow: 0 10px 24px rgba(12, 27, 20, 0.2);
    transform: translateY(-50%);
}

.map-explorer-onscreen-imagery__context-rail .map-explorer-onscreen-imagery__hint {
    right: auto;
    left: 50%;
    top: auto;
    bottom: calc(100% + 0.42rem);
    width: min(16rem, 34vw);
    transform: translateX(-50%);
}

.map-explorer-onscreen-imagery__rail button:hover .map-explorer-onscreen-imagery__hint,
.map-explorer-onscreen-imagery__rail button:focus-visible .map-explorer-onscreen-imagery__hint,
.map-explorer-onscreen-imagery__context-rail button:hover .map-explorer-onscreen-imagery__hint,
.map-explorer-onscreen-imagery__context-rail button:focus-visible .map-explorer-onscreen-imagery__hint {
    display: flex;
}

.map-explorer-onscreen-imagery__surface-art {
    position: absolute;
    left: 0.8rem;
    top: 4.2rem;
    width: min(23rem, 42%);
    height: min(24rem, calc(100% - 8.8rem));
    min-height: 17rem;
    pointer-events: none;
}

.map-explorer-onscreen-imagery__concept-tile {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: min(14rem, 100%);
    border-color: rgba(255, 255, 252, 0.58);
    box-shadow: 0 12px 28px rgba(12, 27, 20, 0.2);
    opacity: 0.56;
}

.map-explorer-onscreen-imagery__concept-map {
    position: absolute;
    inset: 0.45rem 0.35rem 2.35rem 0.7rem;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 252, 0.56);
    border-radius: 8px;
    background:
        linear-gradient(112deg, rgba(58, 117, 77, 0.18), transparent 42%),
        linear-gradient(166deg, transparent 50%, rgba(95, 117, 80, 0.2) 51%, rgba(95, 117, 80, 0.18) 57%, transparent 58%),
        linear-gradient(22deg, rgba(189, 178, 124, 0.26), rgba(232, 240, 218, 0.54)),
        #dfe9d4;
    clip-path: polygon(18% 5%, 92% 12%, 98% 76%, 61% 96%, 8% 84%, 3% 28%);
    box-shadow:
        inset 0 0 0 1px rgba(34, 70, 46, 0.22),
        inset 0 0 34px rgba(21, 53, 34, 0.18),
        0 12px 30px rgba(12, 27, 20, 0.18);
}

.map-explorer-onscreen-imagery__field-plane,
.map-explorer-onscreen-imagery__orchard-rows,
.map-explorer-onscreen-imagery__driveway-stroke,
.map-explorer-onscreen-imagery__ditch-stroke,
.map-explorer-onscreen-imagery__canopy-cue,
.map-explorer-onscreen-imagery__root-zone-cue,
.map-explorer-onscreen-imagery__shadow-cue,
.map-explorer-onscreen-imagery__inventory-silhouette {
    position: absolute;
    display: block;
}

.map-explorer-find-refine-map-overlay {
    position: absolute;
    inset: 0.45rem 0.35rem 2.35rem 0.7rem;
    z-index: 4;
    overflow: hidden;
    border-radius: 8px;
    opacity: var(--find-refine-opacity, 0.34);
    pointer-events: none;
    transform: rotate(-14deg);
}

.map-explorer-find-refine-map-overlay[data-find-refine-evidence-mode="pixel-10m"],
.map-explorer-find-refine-map-overlay[data-find-refine-evidence-mode="pixel-25m"] {
    background:
        linear-gradient(90deg, rgba(30, 71, 48, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(30, 71, 48, 0.08) 1px, transparent 1px);
    background-size:
        calc(var(--find-refine-field-scale, 20) * 0.18rem) calc(var(--find-refine-field-scale, 20) * 0.18rem),
        calc(var(--find-refine-field-scale, 20) * 0.18rem) calc(var(--find-refine-field-scale, 20) * 0.18rem);
}

.map-explorer-find-refine-map-overlay[data-find-refine-contrast-profile="field-finder"] {
    filter: saturate(1.15) contrast(1.24);
}

.map-explorer-find-refine-map-overlay[data-find-refine-contrast-profile="green-zone"] {
    filter: saturate(1.34) hue-rotate(-8deg) contrast(1.15);
}

.map-explorer-find-refine-map-overlay[data-find-refine-contrast-profile="hardscape"] {
    filter: saturate(0.82) contrast(1.38) brightness(1.06);
}

.map-explorer-find-refine-map-overlay[data-find-refine-contrast-profile="waterflow"] {
    filter: saturate(1.16) hue-rotate(14deg) contrast(1.28);
}

.map-explorer-find-refine-map-overlay span {
    position: absolute;
    display: block;
}

.map-explorer-find-refine-map-overlay__field {
    border: 1px solid rgba(255, 255, 252, 0.72);
    background:
        linear-gradient(135deg, rgba(245, 221, 128, 0.2), rgba(118, 170, 89, 0.42)),
        repeating-linear-gradient(90deg, rgba(36, 90, 57, 0.18) 0 2px, transparent 2px 12px);
    box-shadow: inset 0 0 0 1px rgba(39, 86, 56, 0.18);
}

.map-explorer-find-refine-map-overlay__field--north {
    left: 18%;
    top: 16%;
    width: 53%;
    height: 29%;
    clip-path: polygon(0 10%, 100% 0, 95% 100%, 8% 88%);
}

.map-explorer-find-refine-map-overlay__field--east {
    left: 58%;
    top: 42%;
    width: 31%;
    height: 30%;
    clip-path: polygon(12% 8%, 100% 0, 92% 100%, 0 86%);
}

.map-explorer-find-refine-map-overlay__green {
    border: 1px solid rgba(238, 255, 230, 0.7);
    background:
        repeating-linear-gradient(45deg, rgba(19, 78, 74, 0.22) 0 5px, rgba(22, 101, 52, 0.18) 5px 12px),
        rgba(22, 101, 52, 0.28);
    box-shadow:
        inset 0 0 0 1px rgba(12, 52, 38, 0.18),
        0 0 14px rgba(19, 78, 74, 0.2);
}

.map-explorer-find-refine-map-overlay__green--valley {
    left: 21%;
    top: 33%;
    width: 47%;
    height: 21%;
    border-radius: 46% 54% 40% 60%;
    transform: rotate(-3deg);
}

.map-explorer-find-refine-map-overlay__green--break {
    left: 47%;
    top: 9%;
    width: 11%;
    height: 72%;
    border-radius: 999px;
    transform: rotate(5deg);
}

.map-explorer-find-refine-map-overlay__linear {
    height: calc(0.24rem + (var(--find-refine-bridge-gap, 35) * 0.008rem));
    border-radius: 999px;
    background: rgba(37, 93, 61, 0.72);
    box-shadow:
        0 0 0 2px rgba(255, 255, 252, 0.58),
        0 0 14px rgba(22, 57, 37, 0.24);
}

.map-explorer-find-refine-map-overlay[data-find-refine-linear-expansion-mode="liberal-green"] .map-explorer-find-refine-map-overlay__linear {
    height: calc(0.58rem + (var(--find-refine-bridge-gap, 35) * 0.011rem));
    box-shadow:
        0 0 0 3px rgba(238, 255, 230, 0.55),
        0 0 22px rgba(48, 112, 67, 0.45);
}

.map-explorer-find-refine-map-overlay[data-find-refine-linear-expansion-mode="strict-proof"] .map-explorer-find-refine-map-overlay__linear {
    height: 0.24rem;
    background: rgba(21, 87, 63, 0.86);
    box-shadow: 0 0 0 1px rgba(255, 255, 252, 0.72);
}

.map-explorer-find-refine-map-overlay__linear--windbreak {
    left: 15%;
    top: 57%;
    width: 67%;
    transform: rotate(-4deg);
}

.map-explorer-find-refine-map-overlay__linear--ditch {
    left: 10%;
    top: 76%;
    width: 82%;
    background: rgba(41, 120, 126, 0.68);
    transform: rotate(-2deg);
}

.map-explorer-find-refine-map-overlay__topography {
    left: 35%;
    top: 7%;
    width: 16%;
    height: 84%;
    border-radius: 45% 55% 38% 42%;
    background:
        linear-gradient(180deg, rgba(63, 133, 167, 0.28), rgba(37, 111, 87, 0.34)),
        repeating-linear-gradient(180deg, rgba(255, 255, 252, 0.28) 0 1px, transparent 1px 12px);
    transform: rotate(17deg);
}

.map-explorer-find-refine-map-overlay__cascade {
    border: 1px solid rgba(255, 255, 252, 0.6);
    background:
        repeating-linear-gradient(90deg, rgba(255, 222, 89, 0.26) 0 10px, rgba(93, 156, 83, 0.2) 10px 20px),
        rgba(255, 255, 252, 0.18);
    mix-blend-mode: multiply;
}

.map-explorer-find-refine-map-overlay__cascade--field-low {
    left: 12%;
    top: 13%;
    width: 72%;
    height: 64%;
    clip-path: polygon(0 14%, 94% 0, 100% 82%, 7% 100%);
}

.map-explorer-find-refine-map-overlay__cascade--field-mid {
    left: 19%;
    top: 18%;
    width: 60%;
    height: 51%;
    clip-path: polygon(0 10%, 98% 0, 92% 95%, 6% 100%);
}

.map-explorer-find-refine-map-overlay__cascade--field-high {
    left: 24%;
    top: 23%;
    width: 46%;
    height: 39%;
    clip-path: polygon(0 8%, 100% 0, 92% 92%, 8% 100%);
}

.map-explorer-find-refine-map-overlay__conflict {
    border: 1px dashed rgba(128, 31, 31, 0.72);
    background:
        repeating-linear-gradient(45deg, rgba(180, 47, 47, 0.16) 0 4px, transparent 4px 10px),
        rgba(43, 86, 53, 0.18);
}

.map-explorer-find-refine-map-overlay__conflict--forest-gap {
    left: 29%;
    top: 30%;
    width: 24%;
    height: 42%;
    border-radius: 45% 55% 52% 40%;
    transform: rotate(12deg);
}

.map-explorer-onscreen-imagery__field-plane {
    left: 17%;
    top: 20%;
    width: 62%;
    height: 58%;
    border: 1px solid rgba(44, 84, 54, 0.22);
    background:
        linear-gradient(104deg, rgba(255, 255, 252, 0.2), transparent 38%),
        linear-gradient(18deg, rgba(255, 209, 102, 0.16), rgba(89, 138, 84, 0.12));
    transform: rotate(-14deg);
}

.map-explorer-onscreen-imagery__orchard-rows {
    left: 55%;
    top: 39%;
    width: 32%;
    height: 36%;
    border-radius: 38% 28% 34% 26%;
    background:
        repeating-linear-gradient(
            104deg,
            rgba(38, 94, 50, 0.42) 0 2px,
            transparent 2px 9px),
        radial-gradient(circle at 42% 36%, rgba(122, 168, 77, 0.42), transparent 56%);
    opacity: 0.9;
    transform: rotate(-11deg);
}

.map-explorer-onscreen-imagery__driveway-stroke {
    left: 39%;
    top: 31%;
    width: 34%;
    height: 35%;
    border: 0.36rem solid rgba(238, 224, 193, 0.9);
    border-top: 0;
    border-radius: 0 0 42% 42%;
    box-shadow:
        inset 0 -1px 0 rgba(134, 110, 67, 0.35),
        0 1px 0 rgba(87, 71, 45, 0.2);
    transform: rotate(-16deg);
}

.map-explorer-onscreen-imagery__driveway-stroke::after {
    position: absolute;
    left: 70%;
    top: -11%;
    width: 47%;
    border-top: 0.35rem solid rgba(238, 224, 193, 0.9);
    content: "";
    transform: rotate(18deg);
    transform-origin: left center;
}

.map-explorer-onscreen-imagery__ditch-stroke {
    left: 21%;
    top: 78%;
    width: 65%;
    height: 0.42rem;
    border-radius: 999px;
    background:
        repeating-linear-gradient(90deg, rgba(27, 102, 139, 0.72) 0 12px, rgba(179, 221, 235, 0.68) 12px 18px);
    box-shadow: 0 0 0 3px rgba(45, 111, 128, 0.12);
    transform: rotate(-7deg);
}

.map-explorer-onscreen-imagery__canopy-cue {
    border-radius: 999px;
    background:
        radial-gradient(circle at 40% 34%, rgba(143, 181, 92, 0.72), rgba(68, 128, 73, 0.42) 56%, rgba(42, 89, 55, 0.16) 70%, transparent 72%);
    filter: drop-shadow(0 6px 7px rgba(38, 58, 42, 0.22));
}

.map-explorer-onscreen-imagery__canopy-cue--north {
    left: 27%;
    top: 12%;
    width: 30%;
    height: 24%;
}

.map-explorer-onscreen-imagery__canopy-cue--orchard {
    left: 69%;
    top: 24%;
    width: 18%;
    height: 17%;
}

.map-explorer-onscreen-imagery__root-zone-cue {
    left: 24%;
    top: 20%;
    width: 27%;
    height: 19%;
    border: 1px dashed rgba(66, 82, 45, 0.45);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(245, 239, 194, 0.22), transparent 66%);
}

.map-explorer-onscreen-imagery__shadow-cue {
    left: 33%;
    top: 28%;
    width: 34%;
    height: 9%;
    border-radius: 999px;
    background: rgba(34, 57, 43, 0.2);
    filter: blur(1px);
    transform: rotate(16deg);
}

.map-explorer-onscreen-imagery__inventory-silhouette {
    border: 1px solid rgba(91, 67, 41, 0.32);
    background:
        repeating-linear-gradient(90deg, rgba(184, 133, 74, 0.58) 0 8px, rgba(255, 247, 226, 0.72) 8px 12px);
    box-shadow: 0 4px 10px rgba(53, 39, 27, 0.12);
}

.map-explorer-onscreen-imagery__inventory-silhouette--beds {
    left: 63%;
    top: 50%;
    width: 20%;
    height: 11%;
    border-radius: 20% 28% 18% 22%;
    transform: rotate(-14deg);
}

.map-explorer-onscreen-imagery__inventory-silhouette--materials {
    left: 71%;
    top: 63%;
    width: 12%;
    height: 9%;
    border-radius: 6px;
    transform: rotate(12deg);
}

.map-explorer-onscreen-imagery__legend {
    position: absolute;
    left: 0.7rem;
    right: 0.35rem;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    border: 1px solid rgba(255, 255, 252, 0.58);
    border-radius: 8px;
    background: rgba(23, 46, 34, 0.78);
    color: #fffaf0;
    padding: 0.38rem 0.5rem;
    box-shadow: 0 10px 22px rgba(12, 27, 20, 0.18);
}

.map-explorer-onscreen-imagery__legend span {
    color: #cfe3d2;
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-onscreen-imagery__legend strong {
    font-size: 0.75rem;
    font-weight: 900;
}

.map-explorer-onscreen-imagery__art-palette {
    position: absolute;
    inset: 0;
    z-index: 4;
}

.map-explorer-onscreen-artifact {
    position: absolute;
    display: grid;
    grid-template-columns: 0.44rem 1.9rem minmax(0, 1fr);
    align-items: center;
    gap: 0.32rem;
    min-width: 6.9rem;
    max-width: 9.4rem;
    min-height: 2.25rem;
    border: 1px solid rgba(18, 44, 30, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(90deg, var(--artifact-tint, rgba(98, 134, 93, 0.16)), transparent 52%),
        rgba(255, 255, 252, 0.9);
    color: #183829;
    padding: 0.18rem 0.38rem 0.18rem 0.18rem;
    pointer-events: auto;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 20px rgba(12, 27, 20, 0.16);
}

.map-explorer-onscreen-artifact__swatch {
    width: 0.34rem;
    min-height: 1.78rem;
    border-radius: 999px;
    background: var(--artifact-color, #62865d);
    box-shadow: inset 0 -1px 0 rgba(14, 32, 22, 0.24);
}

.map-explorer-onscreen-artifact img {
    display: block;
    width: 1.82rem;
    height: 1.82rem;
    border: 1px solid rgba(22, 55, 36, 0.12);
    border-radius: 7px;
    background: #f8fbf5;
    object-fit: contain;
}

.map-explorer-onscreen-artifact__label {
    overflow: hidden;
    font-size: 0.68rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-onscreen-artifact:hover,
.map-explorer-onscreen-artifact.active {
    border-color: rgba(47, 128, 237, 0.58);
    background:
        linear-gradient(90deg, var(--artifact-hover-tint, rgba(47, 128, 237, 0.22)), transparent 58%),
        #eef7ff;
    color: #164b82;
    z-index: 3;
}

.map-explorer-onscreen-artifact[data-map-surface-artifact-category="hydrology"] {
    --artifact-color: #317b9a;
    --artifact-tint: rgba(49, 123, 154, 0.16);
    --artifact-hover-tint: rgba(49, 123, 154, 0.26);
}

.map-explorer-onscreen-artifact[data-map-surface-artifact-category="planting-zone"],
.map-explorer-onscreen-artifact[data-map-surface-artifact-category="canopy"],
.map-explorer-onscreen-artifact[data-map-surface-artifact-category="landscape-zone"] {
    --artifact-color: #4e8a4d;
    --artifact-tint: rgba(78, 138, 77, 0.16);
    --artifact-hover-tint: rgba(78, 138, 77, 0.26);
}

.map-explorer-onscreen-artifact[data-map-surface-artifact-category="hardscape"],
.map-explorer-onscreen-artifact[data-map-surface-artifact-category="built-form"] {
    --artifact-color: #ad8350;
    --artifact-tint: rgba(173, 131, 80, 0.18);
    --artifact-hover-tint: rgba(173, 131, 80, 0.28);
}

.map-explorer-onscreen-artifact[data-map-surface-artifact-category="inventory"] {
    --artifact-color: #9b6b37;
    --artifact-tint: rgba(155, 107, 55, 0.18);
    --artifact-hover-tint: rgba(155, 107, 55, 0.28);
}

.map-explorer-onscreen-imagery__selected {
    position: absolute;
    left: 31%;
    top: 23%;
    width: 34%;
    height: 42%;
    border: 2px solid rgba(255, 209, 102, 0.95);
    background:
        linear-gradient(72deg, transparent 48%, rgba(255, 209, 102, 0.34) 49%, rgba(255, 209, 102, 0.34) 51%, transparent 52%),
        linear-gradient(162deg, transparent 47%, rgba(47, 128, 237, 0.28) 48%, rgba(47, 128, 237, 0.28) 52%, transparent 53%),
        rgba(72, 137, 76, 0.16);
    transform: rotate(-18deg);
    transform-origin: center;
    box-shadow:
        inset 0 0 0 1px rgba(22, 63, 43, 0.36),
        0 0 0 9999px rgba(12, 28, 20, 0.03);
    pointer-events: none;
}

.map-explorer-onscreen-imagery__selected[data-zone-selected="False"],
.map-explorer-onscreen-imagery__selected[data-zone-selected="false"] {
    border-style: dashed;
    background: rgba(255, 255, 252, 0.1);
    box-shadow: none;
    opacity: 0.38;
}

.map-explorer-onscreen-imagery__selected::before,
.map-explorer-onscreen-imagery__selected::after {
    position: absolute;
    left: 0;
    right: 0;
    content: "";
    border-top: 1px dashed rgba(20, 67, 42, 0.45);
}

.map-explorer-onscreen-imagery__selected::before {
    top: 34%;
}

.map-explorer-onscreen-imagery__selected::after {
    top: 66%;
}

.map-explorer-onscreen-imagery__bearing {
    position: absolute;
    left: 50%;
    bottom: -1.8rem;
    min-width: 12rem;
    border: 1px solid rgba(255, 255, 252, 0.56);
    border-radius: 999px;
    background: rgba(22, 43, 33, 0.82);
    color: #fffaf0;
    padding: 0.22rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.map-explorer-onscreen-handle {
    position: absolute;
    display: grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    border: 2px solid #fffdf6;
    border-radius: 999px;
    background: #2f80ed;
    color: #ffffff;
    font-size: 0.56rem;
    font-weight: 900;
    pointer-events: auto;
    transform: translate(-50%, -50%);
    box-shadow: 0 5px 16px rgba(12, 27, 20, 0.28);
}

.map-explorer-onscreen-handle--resize {
    background: #2f80ed;
    cursor: nwse-resize;
}

.map-explorer-onscreen-handle--edge {
    width: 4.8rem;
    background: #245a39;
    cursor: ns-resize;
}

.map-explorer-onscreen-handle--vertex {
    background: #ffd166;
    color: #163f2b;
    cursor: copy;
}

.map-explorer-onscreen-handle--rotate {
    top: -0.6rem;
    width: 3.4rem;
    background: #b85f25;
    cursor: grab;
}

.map-explorer-onscreen-handle--move {
    width: 3.9rem;
    background: #163f2b;
    cursor: move;
}

.map-explorer-onscreen-handle:hover {
    box-shadow:
        0 0 0 4px rgba(255, 209, 102, 0.28),
        0 5px 16px rgba(12, 27, 20, 0.28);
}

.map-explorer-zone-vertex {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    border: 2px solid #fffdf6;
    border-radius: 999px;
    background: #ffcf5c;
    color: #10291b;
    font-size: 0.56rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 0 4px rgba(255, 207, 92, 0.26),
        0 8px 16px rgba(12, 27, 20, 0.26);
}

.map-explorer-zone-vertex:hover {
    background: #ffffff;
    color: #1a5939;
    cursor: grab;
    box-shadow:
        0 0 0 6px rgba(47, 128, 237, 0.24),
        0 8px 16px rgba(12, 27, 20, 0.28);
}

.map-explorer-workbench-mapchrome {
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.45rem;
    pointer-events: none;
}

.map-explorer-workbench-mapchrome > * {
    pointer-events: auto;
}

.map-explorer-workbench-mapchrome-top {
    top: 0.65rem;
}

.map-explorer-workbench-mapchrome-bottom {
    bottom: 0.65rem;
    align-items: end;
}

.map-explorer-workbench-mapchrome-bottom .map-explorer-workbench-segments {
    padding: 0.35rem;
    gap: 0.32rem;
}

.map-explorer-workbench-mapchrome-bottom .map-explorer-workbench-segments button {
    min-height: 2.34rem;
    padding-inline: 0.68rem;
}

.map-explorer-workbench-mapchrome-bottom label {
    min-width: 7rem;
    border: 1px solid rgba(21, 35, 27, 0.1);
    border-radius: 9px;
    background: rgba(255, 255, 252, 0.8);
    padding: 0.3rem 0.42rem;
    box-shadow: 0 8px 18px rgba(12, 27, 20, 0.08);
}

.map-explorer-workbench-mapchrome-bottom select {
    min-height: 2.1rem;
    font-weight: 850;
}

.map-explorer-workbench-segments,
.map-explorer-workbench-tabs {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid rgba(21, 35, 27, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 252, 0.92);
    padding: 0.25rem;
}

.map-explorer-workbench-segments button,
.map-explorer-workbench-tabs button,
.map-explorer-workbench button {
    min-height: 1.9rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #ffffff;
    color: #203529;
    cursor: pointer;
    font-weight: 700;
}

.map-explorer-workbench-segments button,
.map-explorer-workbench-tabs button {
    padding: 0.25rem 0.55rem;
    white-space: nowrap;
}

.map-explorer-workbench button:hover {
    border-color: rgba(47, 128, 237, 0.35);
}

.map-explorer-workbench button.active,
.map-explorer-workbench-tabs button.active {
    border-color: #2f80ed;
    background: #eaf3ff;
    color: #164b82;
}

.map-explorer-workbench-primary {
    border-color: #245a39 !important;
    background: #245a39 !important;
    color: #ffffff !important;
    padding-inline: 0.8rem;
}

.map-explorer-workbench-primary:disabled {
    opacity: 0.52;
    cursor: not-allowed;
}

.map-explorer-workbench-right {
    grid-template-rows: auto auto auto auto minmax(0, 1fr);
}

.map-explorer-workbench-tabs {
    justify-content: space-between;
}

.map-explorer-workbench-tabs button {
    flex: 1;
}

.map-explorer-workbench-breadcrumbs {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.1);
    border-radius: 8px;
    background: rgba(239, 246, 235, 0.82);
    padding: 0.35rem 0.45rem;
}

.map-explorer-workbench-breadcrumbs span {
    border: 1px solid rgba(36, 90, 57, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: #245a39;
    padding: 0.08rem 0.38rem;
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.map-explorer-workbench-breadcrumbs strong,
.map-explorer-workbench-breadcrumbs small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-breadcrumbs small {
    grid-column: 1 / -1;
    color: #5b6b62;
    font-size: 0.7rem;
}

.map-explorer-workbench-object-menu {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto auto auto;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(21, 35, 27, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 252, 0.92);
    padding: 0.4rem;
}

.map-explorer-workbench-object-menu[data-zone-active="False"],
.map-explorer-workbench-object-menu[data-zone-active="false"] {
    background: rgba(255, 255, 252, 0.74);
}

.map-explorer-workbench-object-menu div {
    display: grid;
    min-width: 0;
}

.map-explorer-workbench-object-menu span {
    color: #506257;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.map-explorer-workbench-object-menu strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-object-menu small,
.map-explorer-workbench-command-card small {
    overflow: hidden;
    color: #607168;
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-object-menu button,
.map-explorer-workbench-object-menu a {
    min-height: 1.7rem;
    padding: 0.15rem 0.45rem;
    font-size: 0.78rem;
}

.map-explorer-workbench-object-menu a,
.map-explorer-workbench-export-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(31, 85, 61, 0.2);
    border-radius: 7px;
    background: rgba(243, 248, 239, 0.94);
    color: #163622;
    font-weight: 800;
    text-decoration: none;
}

.map-explorer-workbench-object-menu button:disabled,
.map-explorer-onscreen-imagery__rail button:disabled {
    opacity: 0.46;
    cursor: not-allowed;
}

.map-explorer-workbench-zone-about {
    display: grid;
    gap: 0.45rem;
}

.map-explorer-workbench-zone-about__summary {
    display: grid;
    min-width: 0;
}

.map-explorer-workbench-zone-about span {
    color: #4f6258;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-workbench-zone-about strong,
.map-explorer-workbench-zone-about small,
.map-explorer-workbench-zone-about dd {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-zone-about__highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
}

.map-explorer-workbench-zone-about__highlights article {
    display: grid;
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.1);
    border-radius: 6px;
    background: rgba(246, 249, 242, 0.78);
    padding: 0.35rem;
}

.map-explorer-workbench-zone-about__highlights strong {
    color: #193629;
    font-size: 0.76rem;
}

.map-explorer-workbench-zone-about__details {
    padding: 0.35rem 0.45rem;
}

.map-explorer-workbench-zone-about dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    margin: 0;
}

.map-explorer-workbench-zone-about dl div {
    display: grid;
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.1);
    border-radius: 6px;
    background: rgba(246, 249, 242, 0.78);
    padding: 0.35rem;
}

.map-explorer-workbench-zone-about dt {
    color: #607168;
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-workbench-zone-about dd {
    margin: 0;
    color: #193629;
    font-size: 0.76rem;
    font-weight: 800;
}

.map-explorer-workbench-console {
    min-height: 0;
    overflow: auto;
}

.map-explorer-workbench-hover-window {
    position: absolute;
    left: 0.75rem;
    bottom: 4.25rem;
    z-index: 6;
    display: grid;
    gap: 0.12rem;
    width: min(360px, calc(100% - 1.5rem));
    border: 1px solid rgba(255, 247, 232, 0.68);
    border-radius: 8px;
    background: rgba(22, 43, 33, 0.88);
    color: #fffaf0;
    padding: 0.55rem 0.65rem;
    pointer-events: none;
    box-shadow: 0 12px 28px rgba(12, 27, 20, 0.24);
}

.map-explorer-workbench-hover-window span {
    color: #b9d9c4;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.map-explorer-workbench-hover-window strong,
.map-explorer-workbench-hover-window p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-hover-window p {
    margin: 0;
    color: #e3efe7;
    font-size: 0.78rem;
}

.map-explorer-workbench-selected {
    display: grid;
    gap: 0.15rem;
    border-bottom: 1px solid rgba(21, 35, 27, 0.12);
    margin-bottom: 0.6rem;
    padding-bottom: 0.55rem;
}

.map-explorer-workbench-selected strong {
    font-size: 1.15rem;
    line-height: 1.15;
}

.map-explorer-workbench-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0.55rem 0;
}

.map-explorer-workbench-metrics article,
.map-explorer-workbench-telemetry article {
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.11);
    border-radius: 7px;
    background: #ffffff;
    padding: 0.5rem;
}

.map-explorer-workbench-metrics strong,
.map-explorer-workbench-telemetry strong {
    display: block;
    overflow: hidden;
    color: #1f382a;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench details {
    border: 1px solid rgba(21, 35, 27, 0.11);
    border-radius: 7px;
    background: #ffffff;
    padding: 0.45rem 0.55rem;
}

.map-explorer-workbench-command-card {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.11);
    border-radius: 7px;
    background: #ffffff;
    padding: 0.45rem 0.55rem;
    margin: 0.55rem 0;
}

.map-explorer-workbench-export-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
    margin-top: 0.35rem;
}

.map-explorer-workbench-export-actions a {
    min-height: 2rem;
    padding: 0.25rem 0.35rem;
    font-size: 0.74rem;
}

.map-explorer-workbench-corn-scenario {
    display: grid;
    gap: 0.52rem;
    border: 1px solid rgba(35, 79, 60, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(246, 249, 239, 0.96), rgba(228, 242, 229, 0.92)),
        repeating-linear-gradient(102deg, rgba(62, 96, 67, 0.08) 0 9px, rgba(184, 158, 82, 0.07) 9px 18px);
    padding: 0.65rem;
    margin-bottom: 0.7rem;
}

.map-explorer-workbench-corn-scenario__hero {
    display: grid;
    gap: 0.18rem;
}

.map-explorer-workbench-corn-scenario__hero span,
.map-explorer-workbench-corn-scenario__status span {
    color: #4c664f;
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-workbench-corn-scenario__hero strong {
    color: #163727;
    font-size: 1.05rem;
    line-height: 1.05;
}

.map-explorer-workbench-corn-scenario__hero p {
    margin: 0;
    color: #405448;
    font-size: 0.78rem;
    line-height: 1.35;
}

.map-explorer-workbench-corn-scenario__status,
.map-explorer-workbench-corn-scenario__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.38rem;
}

.map-explorer-workbench-corn-scenario__status article {
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.45rem;
}

.map-explorer-workbench-corn-scenario__status strong {
    display: block;
    overflow: hidden;
    color: #1b3b2a;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-corn-scenario__actions button,
.map-explorer-workbench-corn-fields button {
    min-width: 0;
    border: 1px solid rgba(27, 59, 42, 0.16);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.92);
    color: #183528;
    font-weight: 900;
}

.map-explorer-workbench-corn-scenario__actions button {
    min-height: 2.15rem;
}

.map-explorer-workbench-corn-scenario__actions button:disabled {
    opacity: 0.55;
}

.map-explorer-workbench-scenario-designer {
    display: grid;
    gap: 0.45rem;
    border: 1px solid rgba(45, 87, 63, 0.22);
    border-radius: 8px;
    background: rgba(246, 250, 241, 0.86);
    padding: 0.55rem;
}

.map-explorer-mobile-round-card {
    display: grid;
    gap: 0.38rem;
    border: 2px solid rgba(24, 92, 53, 0.32);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(241, 250, 232, 0.98), rgba(255, 255, 250, 0.94));
    padding: 0.58rem;
    box-shadow: 0 12px 24px rgba(12, 27, 20, 0.1);
}

.map-explorer-scenario-command-puck {
    display: grid;
    grid-template-columns: auto repeat(4, minmax(0, 1fr));
    gap: 0.42rem;
    align-items: center;
    border: 1px solid rgba(15, 70, 43, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 250, 0.9);
    padding: 0.34rem 0.56rem;
    box-shadow: 0 12px 28px rgba(12, 27, 20, 0.16);
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-scenario-command-puck {
    grid-template-columns: auto minmax(9rem, 1.1fr) minmax(5.6rem, 0.7fr) minmax(4.8rem, 0.55fr);
    padding: 0.3rem 0.52rem;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-scenario-command-puck > span:last-child {
    display: none;
}

.map-explorer-scenario-command-puck__glyph {
    display: grid;
    place-items: center;
    width: 2.56rem;
    height: 2.56rem;
    border: 2px solid rgba(24, 92, 53, 0.3);
    border-radius: 999px;
    background: #166534;
    color: #fffaf0;
    font-size: 1.18rem;
    font-weight: 950;
    line-height: 1;
}

.map-explorer-scenario-command-puck span:not(.map-explorer-scenario-command-puck__glyph) {
    display: grid;
    min-width: 0;
    gap: 0.02rem;
}

.map-explorer-scenario-command-puck small {
    overflow: hidden;
    color: #52665a;
    font-size: 0.62rem;
    font-weight: 900;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.map-explorer-scenario-command-puck strong {
    overflow: hidden;
    color: #112b1d;
    font-size: 0.82rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-scenario-command-puck[data-pencil-cursor-state="poor-crossing"],
[data-map-explorer-root][data-pencil-cursor-state="poor-crossing"] .map-explorer-scenario-command-puck {
    border-color: rgba(173, 58, 42, 0.5);
    background: rgba(255, 241, 235, 0.88);
}

.map-explorer-scenario-command-puck[data-pencil-cursor-state="poor-crossing"] .map-explorer-scenario-command-puck__glyph,
[data-map-explorer-root][data-pencil-cursor-state="poor-crossing"] .map-explorer-scenario-command-puck__glyph {
    background: #b42318;
}

.map-explorer-scenario-command-puck[data-pencil-cursor-state="snap-linear"] .map-explorer-scenario-command-puck__glyph,
[data-map-explorer-root][data-pencil-cursor-state="snap-linear"] .map-explorer-scenario-command-puck__glyph {
    background: #0f766e;
}

.map-explorer-scenario-command-puck[data-pencil-cursor-state="close-ready"] .map-explorer-scenario-command-puck__glyph,
[data-map-explorer-root][data-pencil-cursor-state="close-ready"] .map-explorer-scenario-command-puck__glyph {
    background: #2563eb;
}

.map-explorer-scenario-draft-kind-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.22rem;
}

.map-explorer-scenario-draft-kind-strip button {
    min-height: 2rem;
    border: 1px solid rgba(18, 44, 30, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 250, 0.72);
    color: #173325;
    font-size: 0.68rem;
    font-weight: 950;
}

.map-explorer-scenario-draft-kind-strip button.active {
    border-color: rgba(22, 101, 52, 0.42);
    background: #166534;
    color: #fffaf0;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-scenario-draft-kind-strip {
    position: relative;
    z-index: 66;
}

[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="ready-start"] .map-explorer-workbench-map-frame,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="ready-start"] .map-explorer-workbench-map,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="ready-start"] .map-explorer-workbench-map *,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="ready-start"] canvas,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="aligned"] .map-explorer-workbench-map-frame,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="aligned"] .map-explorer-workbench-map,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="aligned"] .map-explorer-workbench-map *,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="aligned"] canvas {
    cursor: crosshair !important;
}

[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="snap-linear"] .map-explorer-workbench-map-frame,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="snap-linear"] .map-explorer-workbench-map,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="snap-linear"] .map-explorer-workbench-map *,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="snap-linear"] canvas {
    cursor: copy !important;
}

[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="close-ready"] .map-explorer-workbench-map-frame,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="close-ready"] .map-explorer-workbench-map,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="close-ready"] .map-explorer-workbench-map *,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="close-ready"] canvas {
    cursor: alias !important;
}

[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="poor-crossing"] .map-explorer-workbench-map-frame,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="poor-crossing"] .map-explorer-workbench-map,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="poor-crossing"] .map-explorer-workbench-map *,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="poor-crossing"] canvas,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="invalid-scale"] .map-explorer-workbench-map-frame,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="invalid-scale"] .map-explorer-workbench-map,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="invalid-scale"] .map-explorer-workbench-map *,
[data-map-explorer-root][data-map-pointer-tool-active="pencil"][data-pencil-cursor-state="invalid-scale"] canvas {
    cursor: not-allowed !important;
}

.map-explorer-mobile-round-card > span {
    color: #28573a;
    font-size: 0.66rem;
    font-weight: 950;
    text-transform: uppercase;
}

.map-explorer-mobile-round-card > strong {
    color: #102a1c;
    font-size: 1rem;
    line-height: 1.05;
}

.map-explorer-mobile-round-card > p {
    margin: 0;
    color: #405448;
    font-size: 0.72rem;
    line-height: 1.28;
}

.map-explorer-mobile-round-card__proof,
.map-explorer-mobile-round-card__step-status,
.map-explorer-mobile-round-card__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
}

.map-explorer-mobile-round-card__proof span {
    overflow: hidden;
    border: 1px solid rgba(21, 35, 27, 0.1);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.82);
    color: #173325;
    padding: 0.32rem;
    font-size: 0.62rem;
    font-weight: 900;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-mobile-round-card__step-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.map-explorer-mobile-round-card__step-status article {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.1);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.34rem;
}

.map-explorer-mobile-round-card__step-status span,
.map-explorer-workbench-scenario-designer__step-status span,
.map-explorer-workbench-scenario-designer__drafts > span {
    color: #536657;
    font-size: 0.58rem;
    font-weight: 950;
    text-transform: uppercase;
}

.map-explorer-mobile-round-card__step-status strong,
.map-explorer-workbench-scenario-designer__step-status strong,
.map-explorer-workbench-scenario-designer__drafts > strong {
    overflow: hidden;
    color: #173325;
    font-size: 0.72rem;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-mobile-round-card__step-status small,
.map-explorer-workbench-scenario-designer__step-status small,
.map-explorer-workbench-scenario-designer__drafts > small,
.map-explorer-workbench-scenario-designer__drafts li small {
    color: #5f7167;
    font-size: 0.62rem;
    line-height: 1.25;
}

.map-explorer-mobile-round-card[data-mobile-draft-state="drawing"],
.map-explorer-workbench-scenario-designer[data-scenario-draft-state="drawing"] {
    border-color: rgba(47, 96, 158, 0.42);
}

.map-explorer-mobile-round-card[data-mobile-draft-state="accepted"],
.map-explorer-workbench-scenario-designer[data-scenario-draft-state="accepted"] {
    border-color: rgba(38, 128, 78, 0.48);
}

.map-explorer-mobile-round-card[data-mobile-draft-state="rejected"],
.map-explorer-workbench-scenario-designer[data-scenario-draft-state="rejected"] {
    border-color: rgba(176, 78, 42, 0.56);
}

.map-explorer-mobile-round-card__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.18rem;
}

.map-explorer-mobile-round-card__actions button {
    min-height: 2.2rem;
    border: 1px solid rgba(21, 35, 27, 0.14);
    border-radius: 7px;
    background: #ffffff;
    color: #173325;
    font-size: 0.72rem;
    font-weight: 950;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__actions button {
    min-height: 1.54rem;
    font-size: 0.62rem;
}

.map-explorer-mobile-round-card__actions button:first-child {
    background: #165c37;
    color: #ffffff;
}

.map-explorer-mobile-round-card__mission {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) repeat(7, minmax(4.1rem, auto));
    gap: 0.28rem;
    align-items: center;
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 252, 0.58);
    padding: 0.32rem;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__mission {
    grid-template-columns: repeat(4, minmax(0, 1fr)) repeat(7, minmax(3.45rem, auto));
    gap: 0.18rem;
    border: 0;
    background: transparent;
    padding: 0;
}

.map-explorer-mobile-round-card__mission span {
    overflow: hidden;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.72);
    color: #173325;
    padding: 0.28rem 0.34rem;
    font-size: 0.68rem;
    font-weight: 950;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-mobile-round-card__mission button {
    min-height: 1.92rem;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 7px;
    background: rgba(255, 255, 252, 0.84);
    color: #173325;
    padding: 0.24rem 0.42rem;
    font-size: 0.68rem;
    font-weight: 950;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__mission span,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__mission button {
    min-height: 1.54rem;
    padding: 0.18rem 0.26rem;
    font-size: 0.58rem;
    line-height: 1;
}

.map-explorer-mobile-round-card__mission button.ready,
.map-explorer-mobile-round-card__mission button:first-of-type {
    border-color: rgba(22, 92, 55, 0.26);
    background: #165c37;
    color: #ffffff;
}

.map-explorer-mobile-round-card__mission button.complete {
    border-color: rgba(22, 92, 55, 0.18);
    background: rgba(22, 92, 55, 0.12);
    color: #173325;
}

.map-explorer-mobile-round-card__mission button:disabled {
    opacity: 0.44;
}

.map-explorer-scenario1-visual-strip {
    display: flex;
    gap: 0.22rem;
    min-width: 0;
    overflow: hidden;
    padding-top: 0.15rem;
}

.map-explorer-scenario1-visual {
    display: block;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(21, 35, 27, 0.14);
    border-radius: 8px;
    background-color: rgba(255, 255, 252, 0.72);
    background-repeat: no-repeat;
    background-size: 512px 512px;
    box-shadow: 0 5px 13px rgba(12, 27, 20, 0.12);
}

.map-explorer-workbench-scenario-designer__title {
    display: grid;
    gap: 0.08rem;
}

.map-explorer-workbench-scenario-designer__step-status {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
}

.map-explorer-workbench-scenario-designer__step-status article {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.84);
    padding: 0.42rem;
}

.map-explorer-workbench-scenario-designer__title span,
.map-explorer-workbench-scenario-designer__next span {
    color: #4c664f;
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-workbench-scenario-designer__title strong,
.map-explorer-workbench-scenario-designer__next strong {
    color: #173325;
    font-size: 0.86rem;
    line-height: 1.08;
}

.map-explorer-workbench-scenario-designer__title small,
.map-explorer-workbench-scenario-designer__steps small,
.map-explorer-workbench-scenario-designer__next small {
    color: #607366;
    font-size: 0.64rem;
    line-height: 1.25;
}

.map-explorer-workbench-scenario-designer__meter {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
}

.map-explorer-workbench-scenario-designer__meter span {
    overflow: hidden;
    border: 1px solid rgba(21, 35, 27, 0.1);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.86);
    color: #173325;
    padding: 0.32rem;
    font-size: 0.66rem;
    font-weight: 900;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-scenario1-visual-board {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.28rem;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 8px;
    background: rgba(248, 251, 245, 0.74);
    padding: 0.36rem;
}

.map-explorer-scenario1-visual-board button {
    display: grid;
    place-items: end center;
    min-height: 3.25rem;
    overflow: hidden;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 8px;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-size: 512px 512px;
    color: #173325;
    padding: 0.22rem;
}

.map-explorer-scenario1-visual-board button span {
    max-width: 100%;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 252, 0.84);
    padding: 0.1rem 0.24rem;
    font-size: 0.52rem;
    font-weight: 900;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-scenario-designer__steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.24rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.map-explorer-workbench-scenario-designer__steps li {
    display: grid;
    align-content: start;
    gap: 0.08rem;
    min-height: 78px;
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.1);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.36rem;
}

.map-explorer-workbench-scenario-designer__steps li > span {
    justify-self: start;
    border-radius: 999px;
    background: rgba(83, 102, 87, 0.1);
    color: #536657;
    padding: 0.09rem 0.28rem;
    font-size: 0.5rem;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.map-explorer-workbench-scenario-designer__steps li.active {
    border-color: #2f7249;
    background: #eef8ea;
    box-shadow: inset 0 0 0 2px rgba(67, 129, 74, 0.18);
}

.map-explorer-workbench-scenario-designer__steps li.active > span {
    background: #2f7249;
    color: #ffffff;
}

.map-explorer-workbench-scenario-designer__steps li.complete {
    border-color: rgba(138, 112, 42, 0.34);
    background: #fff7da;
}

.map-explorer-workbench-scenario-designer__steps li.complete > span {
    background: #8a702a;
    color: #fffdf4;
}

.map-explorer-workbench-scenario-designer__steps strong {
    overflow: hidden;
    color: #173325;
    font-size: 0.62rem;
    line-height: 1.12;
    text-overflow: ellipsis;
}

.map-explorer-workbench-scenario-designer__actions {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.28rem;
}

.map-explorer-workbench-scenario-designer__actions button {
    min-width: 0;
    min-height: 2.05rem;
    border: 1px solid rgba(21, 35, 27, 0.14);
    border-radius: 7px;
    background: #ffffff;
    color: #173325;
    font-size: 0.68rem;
    font-weight: 900;
}

.map-explorer-workbench-scenario-designer__actions button:disabled,
.map-explorer-workbench [data-scenario-designer-tool][disabled] {
    cursor: not-allowed;
    opacity: 0.38;
}

.map-explorer-workbench-scenario-designer__actions button.ready {
    border-color: #315d39;
    background: #eaf5e5;
}

.map-explorer-workbench-scenario-designer__actions button.complete {
    border-color: rgba(138, 112, 42, 0.34);
    background: #fff7da;
}

.map-explorer-workbench-scenario-designer__drafts {
    display: grid;
    gap: 0.22rem;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.76);
    padding: 0.42rem;
}

.map-explorer-workbench-scenario-designer__drafts ol {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.24rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.map-explorer-workbench-scenario-designer__drafts li {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 7px;
    background: #fffdf4;
    padding: 0.3rem;
}

.map-explorer-workbench-scenario-designer__drafts li[data-scenario-draft-status="accepted"] {
    border-color: rgba(38, 128, 78, 0.36);
    background: rgba(232, 248, 230, 0.92);
}

.map-explorer-workbench-scenario-designer__drafts li[data-scenario-draft-status="rejected"] {
    border-color: rgba(176, 78, 42, 0.42);
    background: rgba(255, 239, 229, 0.95);
}

.map-explorer-workbench-scenario-designer__drafts li span {
    color: #536657;
    font-size: 0.5rem;
    font-weight: 950;
    text-transform: uppercase;
}

.map-explorer-workbench-scenario-designer__drafts li strong {
    overflow: hidden;
    color: #173325;
    font-size: 0.62rem;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-scenario-designer__next {
    display: grid;
    gap: 0.08rem;
    border: 1px dashed rgba(49, 93, 57, 0.3);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.66);
    padding: 0.42rem;
}

.map-explorer-workbench-scenario-designer__next.unlocked {
    border-style: solid;
    border-color: #315d39;
    background: #eef8ea;
}

.map-explorer-workbench-corn-ledger-preview {
    display: grid;
    gap: 0.32rem;
    min-height: 64px;
    max-height: 132px;
    overflow: hidden;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.78);
    padding: 0.42rem;
}

.map-explorer-workbench-corn-ledger-preview > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.map-explorer-workbench-corn-ledger-preview span {
    color: #4c664f;
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-workbench-corn-ledger-preview strong {
    color: #173325;
    font-size: 0.72rem;
}

.map-explorer-workbench-corn-ledger-preview ol {
    display: grid;
    gap: 0.22rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.map-explorer-workbench-corn-ledger-preview li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 0.38rem;
    min-width: 0;
    border-left: 3px solid #315d39;
    padding-left: 0.32rem;
}

.map-explorer-workbench-corn-ledger-preview li span {
    grid-row: 1 / span 2;
    color: #315d39;
    font-size: 0.72rem;
}

.map-explorer-workbench-corn-ledger-preview li strong,
.map-explorer-workbench-corn-ledger-preview li small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-corn-ledger-preview li strong {
    color: #173325;
    font-size: 0.68rem;
}

.map-explorer-workbench-corn-ledger-preview li small {
    color: #607366;
    font-size: 0.58rem;
}

.map-explorer-workbench-corn-fields {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.32rem;
}

.map-explorer-workbench-corn-fields button {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.16rem 0.35rem;
    min-height: 72px;
    padding: 0.42rem;
    text-align: left;
}

.map-explorer-workbench-corn-fields button:hover,
.map-explorer-workbench-corn-fields button:focus-visible {
    border-color: #2a6943;
    background: #f4fbef;
    box-shadow: inset 0 0 0 2px rgba(71, 134, 74, 0.2);
}

.map-explorer-workbench-corn-fields span {
    display: grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #315d39;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
}

.map-explorer-workbench-corn-fields strong,
.map-explorer-workbench-corn-fields small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-explorer-workbench-corn-fields strong {
    color: #173325;
    font-size: 0.72rem;
    line-height: 1.08;
    white-space: nowrap;
}

.map-explorer-workbench-corn-fields small {
    grid-column: 1 / -1;
    color: #5f6f61;
    font-size: 0.58rem;
    white-space: nowrap;
}

.map-explorer-workbench-beautification {
    display: grid;
    gap: 0.55rem;
    border: 1px solid rgba(68, 105, 76, 0.26);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 253, 244, 0.96), rgba(235, 246, 235, 0.94));
    padding: 0.65rem;
    margin-bottom: 0.7rem;
}

.map-explorer-workbench-beautification__hero {
    display: grid;
    gap: 0.18rem;
}

.map-explorer-workbench-beautification__hero span,
.map-explorer-workbench-beautification__status span,
.map-explorer-workbench-beautification__move span {
    color: #5f6f61;
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-workbench-beautification__hero strong {
    color: #163727;
    font-size: 1.02rem;
    line-height: 1.05;
}

.map-explorer-workbench-beautification__hero p,
.map-explorer-workbench-beautification__move p {
    margin: 0;
    color: #405448;
    font-size: 0.78rem;
    line-height: 1.35;
}

.map-explorer-workbench-beautification__status,
.map-explorer-workbench-beautification__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
}

.map-explorer-workbench-beautification__status article,
.map-explorer-workbench-beautification__move {
    min-width: 0;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.45rem;
}

.map-explorer-workbench-beautification__status strong,
.map-explorer-workbench-beautification__move strong {
    display: block;
    overflow: hidden;
    color: #1b3b2a;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-beautification__track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.28rem;
}

.map-explorer-workbench-beautification__track button {
    display: grid;
    align-content: start;
    gap: 0.08rem;
    min-height: 74px;
    min-width: 0;
    border: 1px solid rgba(46, 80, 53, 0.18);
    border-radius: 7px;
    background: #fffefa;
    color: #183528;
    padding: 0.35rem;
    text-align: left;
}

.map-explorer-workbench-beautification__track button.active {
    border-color: #204e34;
    background: #e8f2e5;
    box-shadow: inset 0 0 0 2px rgba(66, 120, 76, 0.25);
}

.map-explorer-workbench-beautification__track button.complete {
    border-color: rgba(127, 92, 37, 0.35);
    background: #fff4d8;
}

.map-explorer-workbench-beautification__track span {
    color: #7a5830;
    font-size: 0.66rem;
    font-weight: 900;
}

.map-explorer-workbench-beautification__track strong,
.map-explorer-workbench-beautification__track small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-explorer-workbench-beautification__track strong {
    font-size: 0.7rem;
    line-height: 1.12;
}

.map-explorer-workbench-beautification__track small {
    color: #657468;
    font-size: 0.58rem;
    white-space: nowrap;
}

.map-explorer-workbench-beautification__actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.map-explorer-workbench-beautification__actions a,
.map-explorer-workbench-beautification__actions button {
    display: grid;
    place-items: center;
    min-height: 2rem;
    border: 1px solid rgba(21, 35, 27, 0.14);
    border-radius: 7px;
    background: #ffffff;
    color: #224232;
    font-size: 0.75rem;
    font-weight: 900;
    text-decoration: none;
}

.map-explorer-workbench-placements {
    display: grid;
    gap: 0.45rem;
    border: 1px solid rgba(115, 92, 41, 0.18);
    border-radius: 8px;
    background: rgba(255, 249, 231, 0.72);
    padding: 0.5rem;
}

.map-explorer-workbench-placements__title {
    display: grid;
    gap: 0.08rem;
}

.map-explorer-workbench-placements__title span,
.map-explorer-workbench-placement-detail span {
    color: #6c6342;
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-workbench-placements__title strong,
.map-explorer-workbench-placement-detail strong {
    overflow: hidden;
    color: #243728;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-placements__title small,
.map-explorer-workbench-placement-detail small {
    overflow: hidden;
    color: #677363;
    font-size: 0.62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-placement-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
}

.map-explorer-workbench-placement-grid button {
    display: grid;
    grid-template-columns: 0.55rem minmax(0, 1fr);
    gap: 0.08rem 0.28rem;
    min-height: 66px;
    min-width: 0;
    border: 1px solid rgba(42, 71, 45, 0.15);
    border-radius: 7px;
    background: #ffffff;
    color: #1b3225;
    padding: 0.38rem;
    text-align: left;
}

.map-explorer-workbench-placement-grid button.active {
    border-color: #1d5136;
    background: #e8f3e3;
    box-shadow: inset 0 0 0 2px rgba(55, 111, 62, 0.18);
}

.map-explorer-workbench-placement-grid button > span {
    grid-row: span 2;
    width: 0.55rem;
    min-height: 100%;
    border-radius: 99px;
    background: var(--placement-color, #7aa36f);
}

.map-explorer-workbench-placement-grid strong,
.map-explorer-workbench-placement-grid small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-explorer-workbench-placement-grid strong {
    font-size: 0.68rem;
    line-height: 1.12;
}

.map-explorer-workbench-placement-grid small {
    color: #657468;
    font-size: 0.58rem;
    white-space: nowrap;
}

.map-explorer-workbench-placement-detail {
    display: grid;
    gap: 0.1rem;
    border: 1px solid rgba(21, 35, 27, 0.1);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.45rem;
}

.map-explorer-workbench-placement-detail p {
    margin: 0;
    color: #445348;
    font-size: 0.74rem;
    line-height: 1.3;
}

.map-explorer-workbench-placement-validation {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.28rem;
}

.map-explorer-workbench-validation-chip {
    display: grid;
    min-width: 0;
    border: 1px solid rgba(33, 64, 43, 0.12);
    border-radius: 7px;
    background: #ffffff;
    padding: 0.32rem;
}

.map-explorer-workbench-validation-chip.pass {
    border-color: rgba(53, 116, 66, 0.28);
    background: #eef7ea;
}

.map-explorer-workbench-validation-chip.review {
    border-color: rgba(160, 112, 37, 0.3);
    background: #fff4d8;
}

.map-explorer-workbench-validation-chip strong,
.map-explorer-workbench-validation-chip small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-validation-chip strong {
    color: #223a2a;
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-workbench-validation-chip small {
    color: #59685d;
    font-size: 0.6rem;
}

.map-explorer-workbench-scenario-ledger {
    display: grid;
    gap: 0.42rem;
    border: 1px solid rgba(36, 62, 50, 0.18);
    border-radius: 8px;
    background: rgba(241, 247, 242, 0.82);
    padding: 0.5rem;
}

.map-explorer-workbench-scenario-ledger__title {
    display: grid;
    gap: 0.08rem;
}

.map-explorer-workbench-scenario-ledger__title span {
    color: #58705f;
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-workbench-scenario-ledger__title strong {
    color: #1d3929;
}

.map-explorer-workbench-scenario-ledger__title small,
.map-explorer-workbench-scenario-ledger__empty {
    margin: 0;
    color: #5c6a61;
    font-size: 0.68rem;
}

.map-explorer-workbench-scenario-ledger ol {
    display: grid;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.map-explorer-workbench-scenario-ledger li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0 0.35rem;
    align-items: center;
    min-width: 0;
    border: 1px solid rgba(33, 64, 43, 0.1);
    border-radius: 7px;
    background: #ffffff;
    padding: 0.32rem;
}

.map-explorer-workbench-scenario-ledger li span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: #264732;
    color: #fffaf0;
    font-size: 0.65rem;
    font-weight: 900;
}

.map-explorer-workbench-scenario-ledger li strong,
.map-explorer-workbench-scenario-ledger li small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-scenario-ledger li strong {
    color: #223a2a;
    font-size: 0.66rem;
}

.map-explorer-workbench-scenario-ledger li small {
    color: #68766b;
    font-size: 0.58rem;
}

.map-explorer-simulator-status-panel,
.map-explorer-command-metadata {
    display: grid;
    gap: 0.45rem;
    border: 1px solid rgba(36, 62, 50, 0.18);
    border-radius: 8px;
    background: rgba(247, 250, 244, 0.9);
    padding: 0.52rem;
}

.map-explorer-simulator-status-panel {
    margin-bottom: 0.55rem;
}

.map-explorer-simulator-status-panel__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
}

.map-explorer-command-metadata {
    margin: 0.55rem 0;
    background: rgba(255, 255, 255, 0.92);
}

.map-explorer-workbench-design-console {
    display: grid;
    align-content: start;
    gap: 0.55rem;
}

.map-explorer-workbench-design-hero {
    display: grid;
    grid-template-columns: 2.3rem minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(36, 90, 57, 0.18);
    border-radius: 8px;
    background: linear-gradient(135deg, #f7fff2, #eff6ff);
    padding: 0.55rem;
}

.map-explorer-workbench-design-hero > span {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 8px;
    background: #245a39;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-workbench-design-hero > span img {
    display: block;
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.map-explorer-workbench-design-hero div,
.map-explorer-workbench-design-stages article,
.map-explorer-workbench-zone-candidates button {
    min-width: 0;
}

.map-explorer-workbench-brush-contract {
    display: grid;
    gap: 0.48rem;
    border: 1px solid rgba(38, 84, 61, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(74, 132, 92, 0.14), rgba(244, 250, 240, 0.72)),
        repeating-linear-gradient(45deg, rgba(31, 81, 57, 0.08) 0 6px, transparent 6px 12px);
    padding: 0.62rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 252, 0.48);
}

.map-explorer-workbench-brush-contract > div:first-child {
    display: grid;
    gap: 0.12rem;
}

.map-explorer-workbench-brush-contract span,
.map-explorer-workbench-brush-contract output {
    color: #496054;
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-workbench-brush-contract strong {
    color: #173325;
}

.map-explorer-workbench-brush-contract small {
    color: #5d6c63;
    font-size: 0.72rem;
    line-height: 1.25;
}

.map-explorer-workbench-brush-contract label {
    display: grid;
    gap: 0.22rem;
}

.map-explorer-workbench-brush-contract label span {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.map-explorer-workbench-brush-contract__switches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
}

.map-explorer-workbench-find-refine {
    display: grid;
    gap: 0.55rem;
    border: 1px solid rgba(42, 99, 71, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 252, 0.86), rgba(226, 239, 220, 0.82)),
        radial-gradient(circle at 18% 18%, rgba(102, 159, 84, 0.18), transparent 38%);
    padding: 0.66rem;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 252, 0.62),
        0 10px 22px rgba(18, 44, 31, 0.08);
}

.map-explorer-workbench-find-refine__title {
    display: grid;
    gap: 0.12rem;
}

.map-explorer-workbench-find-refine span,
.map-explorer-workbench-find-refine output {
    color: #486154;
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-workbench-find-refine strong {
    color: #172f23;
}

.map-explorer-workbench-find-refine small {
    color: #596b61;
    font-size: 0.72rem;
    line-height: 1.25;
}

.map-explorer-workbench-find-refine__sliders {
    display: grid;
    gap: 0.38rem;
}

.map-explorer-workbench-find-refine__sliders label {
    display: grid;
    gap: 0.18rem;
}

.map-explorer-workbench-find-refine__sliders label span {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.map-explorer-workbench-find-refine__sliders input[type="range"] {
    accent-color: #20694a;
}

.map-explorer-workbench-find-refine__sliders select {
    min-width: 0;
    width: 100%;
    border: 1px solid rgba(35, 78, 55, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 252, 0.9);
    color: #163426;
    padding: 0.36rem 0.42rem;
    font-weight: 800;
}

.map-explorer-workbench-find-refine__toggle {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.map-explorer-workbench-find-refine__toggle input {
    justify-self: end;
}

.map-explorer-workbench-find-refine__metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.36rem;
}

.map-explorer-workbench-find-refine__metrics article {
    min-width: 0;
    border: 1px solid rgba(35, 78, 55, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 252, 0.68);
    padding: 0.42rem;
}

.map-explorer-workbench-find-refine__metrics article strong,
.map-explorer-workbench-find-refine__metrics article small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-find-refine__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-explorer-workbench-find-refine__actions button {
    border: 0;
    border-radius: 8px;
    background: #245a39;
    color: #ffffff;
    padding: 0.48rem 0.62rem;
    font-weight: 900;
}

.map-explorer-workbench-find-refine__actions small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-find-refine__cascade,
.map-explorer-workbench-find-refine__uia-rules {
    display: grid;
    gap: 0.34rem;
}

.map-explorer-workbench-find-refine__cascade {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.map-explorer-workbench-find-refine__cascade span,
.map-explorer-workbench-find-refine__uia-rules article {
    min-width: 0;
    border: 1px solid rgba(35, 78, 55, 0.13);
    border-radius: 8px;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--threshold-color, #9ed36f) 28%, transparent), transparent),
        rgba(255, 255, 252, 0.7);
    padding: 0.42rem;
}

.map-explorer-workbench-find-refine__cascade strong,
.map-explorer-workbench-find-refine__cascade small,
.map-explorer-workbench-find-refine__uia-rules strong,
.map-explorer-workbench-find-refine__uia-rules small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-find-refine__uia-rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.map-explorer-workbench-find-refine__uia-rules article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.42rem;
}

.map-explorer-workbench-find-refine__uia-rules article small {
    grid-column: 1 / -1;
}

.map-explorer-mobile-round-card__find-refine {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr)) auto;
    gap: 0.45rem;
    align-items: end;
    border: 1px solid rgba(37, 91, 62, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 252, 0.62);
    padding: 0.46rem;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__find-refine {
    display: flex;
    justify-content: flex-end;
    border: 0;
    background: transparent;
    padding: 0;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__find-refine label,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__find-refine .map-explorer-mobile-round-card__toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.map-explorer-mobile-round-card__find-refine label {
    display: grid;
    min-width: 0;
    gap: 0.12rem;
}

.map-explorer-mobile-round-card__find-refine label span {
    display: flex;
    justify-content: space-between;
    gap: 0.35rem;
    color: #455d51;
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-explorer-mobile-round-card__find-refine input[type="range"] {
    width: 100%;
    accent-color: #20694a;
}

.map-explorer-mobile-round-card__find-refine select {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(35, 78, 55, 0.16);
    border-radius: 7px;
    background: rgba(255, 255, 252, 0.9);
    color: #183829;
    padding: 0.28rem;
    font-size: 0.72rem;
    font-weight: 800;
}

.map-explorer-mobile-round-card__toggle {
    align-items: center;
}

.map-explorer-mobile-round-card__find-refine button {
    border: 0;
    border-radius: 8px;
    background: #245a39;
    color: #ffffff;
    padding: 0.46rem 0.58rem;
    font-weight: 900;
    white-space: nowrap;
}

[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-mobile-round-card__find-refine button {
    min-height: 1.54rem;
    border-radius: 999px;
    padding: 0.18rem 0.54rem;
    font-size: 0.62rem;
}

.map-explorer-mobile-round-card__uia-rules {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
}

.map-explorer-mobile-round-card__uia-rules span {
    min-width: 0;
    border: 1px solid rgba(35, 78, 55, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 252, 0.68);
    padding: 0.34rem;
}

.map-explorer-mobile-round-card__uia-rules strong,
.map-explorer-mobile-round-card__uia-rules small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-mobile-round-card__uia-rules strong {
    color: #183829;
    font-size: 0.72rem;
}

.map-explorer-mobile-round-card__uia-rules small {
    color: #5b6d61;
    font-size: 0.64rem;
}

.map-explorer-workbench-design-stages {
    display: grid;
    gap: 0.35rem;
}

.map-explorer-workbench-design-stages article {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    column-gap: 0.5rem;
    align-items: center;
    border-bottom: 1px solid rgba(21, 35, 27, 0.1);
    padding: 0.25rem 0;
}

.map-explorer-workbench-design-stages article span,
.map-explorer-workbench-zone-candidates button span {
    display: grid;
    place-items: center;
    min-width: 2rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #e7f0e5;
    color: #245a39;
    font-size: 0.72rem;
    font-weight: 900;
}

.map-explorer-workbench-design-stages article small,
.map-explorer-workbench-zone-candidates button small,
.map-explorer-workbench-design-hero small {
    overflow: hidden;
    color: #5d6c63;
    font-size: 0.74rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-design-stages article strong,
.map-explorer-workbench-zone-candidates button strong,
.map-explorer-workbench-design-hero strong {
    overflow: hidden;
    color: #183829;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-zone-candidates {
    display: grid;
    gap: 0.35rem;
}

.map-explorer-workbench-zone-candidates button {
    display: grid;
    grid-template-columns: 2.15rem minmax(0, 1fr);
    column-gap: 0.45rem;
    align-items: center;
    min-height: 2.35rem;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 8px;
    background: #ffffff;
    padding: 0.35rem 0.45rem;
    text-align: left;
}

.map-explorer-workbench-zone-candidates button:hover {
    border-color: rgba(47, 128, 237, 0.35);
    background: #f4f8ff;
}

.map-explorer-workbench-design-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
}

.map-explorer-workbench-design-actions button {
    padding-inline: 0.35rem;
}

.map-explorer-workbench-command-card span {
    color: #506257;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.map-explorer-workbench-command-card strong {
    overflow: hidden;
    color: #1f382a;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-command-console {
    display: grid;
    gap: 0.38rem;
    min-width: 0;
    padding-top: 0.25rem;
}

.map-explorer-workbench-command-console__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.map-explorer-workbench-command-console__title span {
    color: #506257;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.map-explorer-workbench-command-console__title strong {
    color: #244634;
    font-size: 0.78rem;
}

.map-explorer-workbench-command-console button {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    gap: 0.42rem;
    width: 100%;
    min-height: 2.35rem;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 7px;
    background: #ffffff;
    color: #183829;
    padding: 0.32rem 0.42rem;
    text-align: left;
    cursor: pointer;
}

.map-explorer-workbench-command-console button:hover {
    border-color: rgba(47, 128, 237, 0.34);
    background: #f5fbff;
}

.map-explorer-workbench-command-console__more {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 1.9rem !important;
    justify-items: center;
    border-style: dashed !important;
    background: #f8faf4 !important;
    color: #245a39 !important;
    font-size: 0.74rem;
    font-weight: 900;
    text-align: center !important;
}

.map-explorer-workbench-command-console button > span:last-child {
    display: grid;
    min-width: 0;
}

.map-explorer-workbench-command-console button strong,
.map-explorer-workbench-command-console button small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-explorer-workbench-command-console button strong {
    font-size: 0.78rem;
}

.map-explorer-workbench-command-console button small {
    color: #607168;
    font-size: 0.66rem;
}

.map-explorer-workbench-command-console__glyph {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-radius: 7px;
    background: #f8fbf2;
}

.map-explorer-workbench-command-console__glyph img,
.map-explorer-workbench-command-console__glyph svg {
    display: block;
    width: 1.45rem;
    height: 1.45rem;
}

.map-explorer-workbench summary {
    cursor: pointer;
    font-weight: 800;
}

.map-explorer-workbench details p,
.map-explorer-workbench-finding p,
.map-explorer-workbench-telemetry p {
    margin: 0.25rem 0 0;
    color: #526159;
    font-size: 0.78rem;
    line-height: 1.25;
}

.map-explorer-workbench-transform {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.map-explorer-workbench-action-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.65rem 0;
}

.map-explorer-workbench-action-row button {
    flex: 1;
}

.map-explorer-workbench-rule-list {
    display: grid;
    gap: 0.25rem;
    margin: 0.4rem 0 0;
    padding-left: 1rem;
}

.map-explorer-workbench-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.map-explorer-workbench-action-grid button {
    display: grid;
    gap: 0.15rem;
}

.map-explorer-workbench-finding {
    border: 1px solid rgba(21, 35, 27, 0.12);
    border-left-width: 4px;
    border-radius: 7px;
    background: #ffffff;
    padding: 0.55rem;
}

.map-explorer-workbench-finding + .map-explorer-workbench-finding {
    margin-top: 0.45rem;
}

.map-explorer-workbench-finding.pass {
    border-left-color: #2f754a;
}

.map-explorer-workbench-finding.warn {
    border-left-color: #d3912d;
}

.map-explorer-workbench-finding span {
    color: #526159;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.map-explorer-workbench-telemetry {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 0.85fr 0.9fr 0.85fr 1.2fr;
    gap: 0.55rem;
    align-items: stretch;
    overflow: hidden;
    padding: 0.45rem 0.8rem;
    border-top: 1px solid rgba(21, 35, 27, 0.16);
    border-bottom: 0;
}

.map-explorer-workbench-telemetry article {
    display: grid;
    align-content: start;
    gap: 0.16rem;
    min-width: 0;
}

.map-explorer-workbench:not(.map-explorer-workbench--telemetry-expanded) .map-explorer-workbench-telemetry article {
    align-content: center;
}

.map-explorer-workbench:not(.map-explorer-workbench--telemetry-expanded) .map-explorer-workbench-telemetry p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 2300px) {
    .map-explorer-workbench {
        --left-rail-width: 360px;
        --right-console-width: 540px;
    }

    .map-explorer-workbench--left-collapsed {
        --left-rail-width: 56px;
    }

    .map-explorer-workbench--right-collapsed {
        --right-console-width: 64px;
    }
}

@media (max-width: 1500px) {
    .map-explorer-workbench {
        min-width: 1180px;
    }

    .map-explorer-workbench-shell {
        grid-template-columns: var(--left-rail-width) minmax(0, 1fr) var(--right-console-width);
    }

    .map-explorer-workbench-mapchrome {
        flex-wrap: wrap;
    }

    .map-explorer-onscreen-imagery__surface-art {
        width: 16rem;
    }
}

@media (max-width: 900px), (max-height: 680px) {
    .map-explorer-workbench {
        --left-rail-width: 0px;
        --right-console-width: 0px;
        --telemetry-height: 54px;
        grid-template-rows: 44px 40px minmax(0, 1fr) var(--telemetry-height);
        min-width: 0;
        min-height: 0;
        width: 100dvw;
        height: 100dvh;
        overflow: hidden;
    }

    .map-explorer-workbench-header,
    .map-explorer-workbench-context {
        gap: 0.35rem;
        overflow: hidden;
        padding-inline: 0.45rem;
    }

    .map-explorer-workbench-brand {
        min-width: 8.5rem;
    }

    .map-explorer-workbench-brand strong {
        font-size: 0.82rem;
    }

    .map-explorer-workbench-brand span,
    .map-explorer-workbench-status span:not(:last-child),
    .map-explorer-workbench-context label:not(.map-explorer-workbench-context-place) {
        display: none;
    }

    .map-explorer-workbench-header label {
        max-width: none;
    }

    .map-explorer-workbench-status {
        min-width: 0;
    }

    .map-explorer-workbench-context .map-explorer-workbench-context-place {
        min-width: 0;
    }

    .map-explorer-workbench-left,
    .map-explorer-workbench-right {
        display: none;
    }

    .map-explorer-workbench--left-collapsed .map-explorer-workbench-left,
    .map-explorer-workbench--right-collapsed .map-explorer-workbench-right {
        position: absolute;
        top: 0.45rem;
        bottom: 0.45rem;
        z-index: 24;
        display: grid;
        width: min(21rem, calc(100vw - 0.9rem));
        overflow: auto;
        padding: 0.55rem;
        border: 1px solid rgba(18, 49, 37, 0.18);
        border-radius: 10px;
        background: rgba(250, 252, 247, 0.94);
        box-shadow: 0 24px 56px rgba(12, 27, 20, 0.28);
    }

    .map-explorer-workbench--left-collapsed .map-explorer-workbench-left {
        left: 0.45rem;
    }

    .map-explorer-workbench--right-collapsed .map-explorer-workbench-right {
        right: 0.45rem;
    }

    .map-explorer-workbench--left-collapsed .map-explorer-workbench-left > :not(.map-explorer-workbench-rail-dock),
    .map-explorer-workbench--right-collapsed .map-explorer-workbench-right > :not(.map-explorer-workbench-rail-dock) {
        display: grid;
    }

    .map-explorer-workbench--left-collapsed .map-explorer-workbench-left .map-explorer-workbench-rail-dock,
    .map-explorer-workbench--right-collapsed .map-explorer-workbench-right .map-explorer-workbench-rail-dock {
        display: none;
    }

    .map-explorer-workbench-shell {
        grid-template-columns: minmax(0, 1fr);
        overflow: hidden;
    }

    .map-explorer-workbench-stage {
        grid-column: 1;
        grid-row: 1;
    }

    .map-explorer-workbench-mapchrome {
        left: 0.45rem;
        right: 0.45rem;
        gap: 0.25rem;
    }

    .map-explorer-color-manager {
        min-width: min(16rem, calc(100vw - 0.9rem));
        width: min(16rem, calc(100vw - 0.9rem));
        max-width: min(16rem, calc(100vw - 0.9rem));
    }

    .map-explorer-lens-dial {
        width: min(16rem, calc(100vw - 0.9rem));
        height: min(16rem, calc(100vw - 0.9rem));
    }

    .map-explorer-color-manager__controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .map-explorer-workbench-mapchrome-top {
        top: 0.45rem;
    }

    .map-explorer-workbench-mapchrome-bottom {
        bottom: 0.45rem;
    }

    .map-explorer-workbench-segments {
        max-width: 100%;
        overflow: hidden;
    }

    .map-explorer-workbench-segments button {
        min-width: 2.2rem;
        padding-inline: 0.35rem;
        font-size: 0.68rem;
    }

    .map-explorer-discovery-cockpit {
        left: 0.45rem;
        right: 0.45rem;
        top: 3.55rem;
        grid-template-columns: minmax(0, 1fr);
        max-width: none;
        padding: 0.38rem;
    }

    .map-explorer-discovery-cockpit__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .map-explorer-mobile-round-card {
        position: fixed;
        left: 0.45rem;
        right: 0.45rem;
        bottom: 4.3rem;
        z-index: 17;
        max-height: 38dvh;
        overflow: auto;
        overscroll-behavior: contain;
        border-width: 2px;
        padding: 0.5rem;
    }

    .map-explorer-workbench-scenario-designer {
        display: none;
    }

    .map-explorer-mobile-round-card > p {
        display: none;
    }

    .map-explorer-mobile-round-card__proof {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .map-explorer-mobile-round-card__step-status {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .map-explorer-mobile-round-card__step-status small {
        display: none;
    }

    .map-explorer-onscreen-imagery__surface-art {
        left: 0.45rem;
        top: 9.1rem;
        width: min(14rem, 48vw);
        height: min(15rem, calc(100% - 13rem));
        min-height: 10rem;
    }

    .map-explorer-onscreen-imagery__rail {
        top: 8.8rem;
        right: 0.45rem;
        width: 2.7rem;
    }

    .map-explorer-onscreen-imagery__context-rail {
        right: 0.45rem;
        bottom: 3.8rem;
        max-width: calc(100% - 0.9rem);
        overflow: hidden;
    }

    .map-explorer-workbench-hover-window {
        left: 0.45rem;
        bottom: 6.6rem;
        width: min(21rem, calc(100% - 0.9rem));
    }

    .map-explorer-workbench-telemetry {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.3rem;
        padding: 0.3rem 0.45rem;
    }

    .map-explorer-workbench-telemetry article:nth-child(n+4) {
        display: none;
    }
}

/* Final quiet-surface overrides. Kept last so desktop and mobile screenshots favor
   the live map, with object detail moved into hover/context panels. */
.map-explorer-workbench-mapchrome {
    opacity: 0.82;
}

.map-explorer-workbench-mapchrome:hover,
.map-explorer-workbench-mapchrome:focus-within {
    opacity: 1;
}

.map-explorer-workbench-segments,
.map-explorer-workbench-tabs {
    border-color: rgba(21, 35, 27, 0.1);
    background: rgba(255, 255, 252, 0.68);
    box-shadow: 0 8px 18px rgba(12, 27, 20, 0.08);
    backdrop-filter: blur(6px);
}

.map-explorer-workbench-segments button,
.map-explorer-workbench-tabs button {
    min-height: 44px;
    background: rgba(255, 255, 252, 0.72);
    padding: 0.35rem 0.52rem;
    font-size: 0.76rem;
}

.map-explorer-discovery-cockpit {
    grid-template-columns: minmax(13rem, 1fr) auto;
    max-width: min(39rem, calc(100% - 7rem));
    border-color: rgba(18, 44, 30, 0.12);
    background: rgba(250, 252, 247, 0.62);
    padding: 0.32rem 0.4rem;
    box-shadow: 0 9px 19px rgba(12, 27, 20, 0.09);
    backdrop-filter: blur(6px);
}

.map-explorer-discovery-cockpit__title strong {
    font-size: 0.8rem;
}

.map-explorer-discovery-cockpit__metrics {
    grid-template-columns: repeat(4, minmax(4.2rem, 1fr));
    gap: 0.22rem;
}

/* Map Explorer is a dense command surface, but its actionable targets remain
   touch- and motor-accessible at every desktop and compact breakpoint. */
[data-map-explorer-root='true'] button:not(:disabled),
[data-map-explorer-root='true'] input:not(:disabled):not([type='hidden']),
[data-map-explorer-root='true'] select:not(:disabled),
[data-map-explorer-root='true'] [role='button']:not([aria-disabled='true']) {
    min-width: 44px;
    min-height: 44px !important;
}

[data-map-explorer-root='true'] input[type='checkbox'],
[data-map-explorer-root='true'] input[type='radio'] {
    min-width: 44px !important;
    width: 44px !important;
    height: 44px;
}

[data-map-explorer-root='true'] .map-explorer-boundary-projection-toggle input[type='checkbox'],
[data-map-explorer-root='true'] .map-explorer-overlay-toggle input[type='checkbox'],
[data-map-explorer-root='true'] input[data-boundary-map-unicode-overlay-toggle] {
    inline-size: 44px !important;
    min-inline-size: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
}

.map-explorer-discovery-cockpit__metrics article {
    background: rgba(255, 255, 255, 0.58);
    padding: 0.2rem 0.3rem;
}

.map-explorer-onscreen-imagery__compass,
.map-explorer-onscreen-imagery__rail,
.map-explorer-onscreen-imagery__context-rail {
    border-color: rgba(10, 31, 22, 0.1);
    background: rgba(250, 252, 247, 0.5);
    box-shadow: 0 8px 18px rgba(12, 27, 20, 0.08);
    backdrop-filter: blur(6px);
}

.map-explorer-onscreen-imagery__compass {
    width: 3.7rem;
    padding: 0.24rem;
    font-size: 0.64rem;
}

.map-explorer-onscreen-imagery__compass svg {
    width: 1.85rem;
    height: 1.85rem;
}

.map-explorer-onscreen-imagery__rail {
    width: 2.68rem;
    padding: 0.18rem;
}

.map-explorer-onscreen-imagery__rail button,
.map-explorer-onscreen-imagery__context-rail button {
    width: 2.18rem;
    height: 2.18rem;
    background: rgba(255, 255, 252, 0.64);
}

.map-explorer-onscreen-imagery__rail-icon,
.map-explorer-onscreen-imagery__rail-icon img {
    width: 1.82rem;
    height: 1.82rem;
}

.map-explorer-onscreen-imagery__surface-art {
    width: min(14rem, 24vw);
    height: min(14rem, calc(100% - 10rem));
    min-height: 8rem;
}

.map-explorer-onscreen-imagery__concept-tile,
.map-explorer-onscreen-imagery__legend {
    display: none;
}

.map-explorer-onscreen-imagery__concept-map {
    opacity: 0.16;
    box-shadow: inset 0 0 0 1px rgba(34, 70, 46, 0.12);
}

.map-explorer-onscreen-imagery__field-plane,
.map-explorer-onscreen-imagery__orchard-rows,
.map-explorer-onscreen-imagery__driveway-stroke,
.map-explorer-onscreen-imagery__ditch-stroke,
.map-explorer-onscreen-imagery__canopy-cue,
.map-explorer-onscreen-imagery__root-zone-cue,
.map-explorer-onscreen-imagery__shadow-cue,
.map-explorer-onscreen-imagery__inventory-silhouette {
    opacity: 0.42;
}

.map-explorer-onscreen-artifact {
    grid-template-columns: 0.24rem 1.42rem;
    gap: 0.18rem;
    min-width: 2.12rem;
    max-width: 2.12rem;
    min-height: 1.82rem;
    border-color: rgba(18, 44, 30, 0.12);
    border-radius: 999px;
    background:
        linear-gradient(90deg, var(--artifact-tint, rgba(98, 134, 93, 0.12)), transparent 56%),
        rgba(255, 255, 252, 0.54);
    padding: 0.12rem;
    box-shadow: 0 5px 14px rgba(12, 27, 20, 0.1);
    backdrop-filter: blur(4px);
}

.map-explorer-onscreen-artifact__swatch {
    width: 0.2rem;
    min-height: 1.22rem;
}

.map-explorer-onscreen-artifact img {
    width: 1.34rem;
    height: 1.34rem;
    border: 0;
    border-radius: 999px;
    background: rgba(248, 251, 245, 0.72);
}

.map-explorer-onscreen-artifact__label {
    position: absolute;
    left: calc(100% + 0.35rem);
    top: 50%;
    display: none;
    min-width: max-content;
    max-width: 12rem;
    border: 1px solid rgba(12, 44, 30, 0.18);
    border-radius: 999px;
    background: rgba(20, 51, 35, 0.92);
    color: #fbfff8;
    padding: 0.22rem 0.45rem;
    font-size: 0.65rem;
    line-height: 1.1;
    transform: translateY(-50%);
}

.map-explorer-onscreen-artifact:hover .map-explorer-onscreen-artifact__label,
.map-explorer-onscreen-artifact:focus-visible .map-explorer-onscreen-artifact__label,
.map-explorer-onscreen-artifact.active .map-explorer-onscreen-artifact__label {
    display: block;
}

.map-explorer-onscreen-imagery__selected {
    border: 1px solid rgba(255, 209, 102, 0.54);
    background: rgba(72, 137, 76, 0.04);
    box-shadow: inset 0 0 0 1px rgba(22, 63, 43, 0.12);
}

.map-explorer-onscreen-imagery__selected[data-zone-selected="False"],
.map-explorer-onscreen-imagery__selected[data-zone-selected="false"] {
    display: none;
}

.map-explorer-onscreen-imagery__selected::before,
.map-explorer-onscreen-imagery__selected::after {
    border-top-color: rgba(20, 67, 42, 0.2);
}

.map-explorer-onscreen-imagery__bearing {
    display: none;
}

.map-explorer-onscreen-handle {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 1px;
    background: rgba(47, 128, 237, 0.78);
    font-size: 0.46rem;
    box-shadow: 0 4px 11px rgba(12, 27, 20, 0.18);
}

.map-explorer-onscreen-handle--edge {
    width: 3rem;
}

.map-explorer-onscreen-handle--rotate {
    width: 2.55rem;
}

.map-explorer-onscreen-handle--move {
    width: 2.7rem;
}

.map-explorer-zone-vertex {
    width: 0.78rem;
    height: 0.78rem;
    border-width: 1px;
    font-size: 0;
    box-shadow:
        0 0 0 2px rgba(255, 207, 92, 0.18),
        0 5px 12px rgba(12, 27, 20, 0.16);
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-imagery__legend,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-imagery__art-palette,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-artifact,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-imagery__canopy-cue,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-imagery__root-zone-cue,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-imagery__shadow-cue,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-onscreen-imagery__inventory-silhouette {
    display: none !important;
}

/* Player1 live-map control contract. Keep the human controls in deterministic
   rows so the map, the layer drawer, and Unicode controls do not fight for
   the same pixels. */
[data-map-explorer-root] {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows:
        minmax(58px, auto)
        minmax(64px, auto)
        minmax(64px, auto)
        minmax(0, 1fr)
        0 !important;
}

[data-map-explorer-root] .map-explorer-workbench-header {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
}

[data-map-explorer-root] .map-explorer-workbench-context {
    grid-column: 1 / 2 !important;
    grid-row: 2 / 3 !important;
    max-height: 24dvh;
    overflow: auto;
}

[data-map-explorer-root] .map-explorer-boundary-projection-strip {
    grid-column: 1 / 2 !important;
    grid-row: 3 / 4 !important;
    /* This strip owns its grid row; it is not an overlay. Keeping the earlier
       control-layer z-index here placed it above the Layers drawer when the
       fixed-height grid became constrained, making governed overlay toggles
       visibly present but impossible to operate. */
    z-index: 0;
    max-height: 7.2rem;
    min-height: 4rem;
    overflow: auto;
}

[data-map-explorer-root] .map-explorer-workbench-shell {
    grid-column: 1 / 2 !important;
    grid-row: 4 / 5 !important;
    grid-template-columns: var(--left-rail-width) minmax(0, 1fr) var(--right-console-width) !important;
    position: relative !important;
    z-index: 1;
    overflow: hidden;
}

[data-map-explorer-root] .map-explorer-workbench-stage {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
}

[data-map-explorer-root] .map-explorer-workbench-left {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

[data-map-explorer-root] .map-explorer-workbench-right {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

[data-map-explorer-root][data-seasonal-map-season="winter"] .map-explorer-workbench-map-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(225,239,245,.42));
    mix-blend-mode: screen;
    opacity: var(--map-seasonal-snow-opacity, .42);
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"],
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows:
        minmax(58px, auto)
        minmax(64px, auto)
        minmax(64px, auto)
        minmax(0, 1fr)
        0 !important;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-workbench-context,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-workbench-context {
    grid-column: 1 / 2 !important;
    grid-row: 2 / 3 !important;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-boundary-projection-strip,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"] .map-explorer-boundary-projection-strip {
    grid-column: 1 / 2 !important;
    grid-row: 3 / 4 !important;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-workbench-shell {
    grid-column: 1 / 2 !important;
    grid-row: 4 / 5 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    position: relative !important;
}

[data-map-explorer-root][data-mobile-scenario-visual-mode="true"] .map-explorer-workbench-stage {
    grid-column: 1 / 2 !important;
}

[data-map-explorer-root][data-map-active-mode="layers"] .map-explorer-workbench-left,
[data-map-explorer-root][data-mobile-scenario-visual-mode="true"][data-map-active-mode="layers"] .map-explorer-workbench-left,
[data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"][data-map-active-mode="layers"] .map-explorer-workbench-left {
    position: absolute !important;
    top: 0.75rem !important;
    bottom: 0.75rem !important;
    left: 0.75rem !important;
    right: auto !important;
    width: min(31rem, calc(100% - 1.5rem)) !important;
    max-height: calc(100% - 1.5rem) !important;
    z-index: calc(var(--map-control-layer) + 20) !important;
    overflow: auto !important;
}

@media (max-width: 960px) {
    [data-map-explorer-root] {
        grid-template-rows:
            minmax(56px, auto)
            minmax(64px, auto)
            minmax(64px, auto)
            minmax(0, 1fr)
            0 !important;
    }

    [data-map-explorer-root] .map-explorer-boundary-projection-strip {
        max-height: 19dvh;
    }

    [data-map-explorer-root][data-map-active-mode="layers"] .map-explorer-workbench-left,
    [data-map-explorer-root][data-mobile-scenario-visual-mode="true"][data-map-active-mode="layers"] .map-explorer-workbench-left,
    [data-map-explorer-root][data-active-scenario-key="crops-cash-scenario-1-mobile"][data-scenario-start-mode="clean-parent"][data-map-active-mode="layers"] .map-explorer-workbench-left {
        top: 0.5rem !important;
        right: 0.5rem !important;
        bottom: 0.5rem !important;
        left: 0.5rem !important;
        width: auto !important;
        max-height: calc(100% - 1rem) !important;
    }
}
.map-explorer-seasonal-evidence{display:flex;align-items:center;gap:.55rem;min-height:2.75rem;margin:.35rem .65rem;padding:.45rem .65rem;border:1px solid #9fbfce;border-radius:.75rem;background:#edf7fb;color:#183b49}.map-explorer-seasonal-evidence>span{display:grid;flex:0 0 2rem;height:2rem;place-items:center;border-radius:.55rem;background:#d8ebf3;font-size:1.1rem}.map-explorer-seasonal-evidence strong,.map-explorer-seasonal-evidence small{display:block}.map-explorer-seasonal-evidence strong{font-size:.78rem}.map-explorer-seasonal-evidence small{color:#496773;font-size:.68rem}
