/* Scoped controls. Map height, toolbar, navigation and page grid are unchanged. */
.maplibregl-ctrl.mulk-style-control{position:relative;font-family:Vazirmatn,system-ui,sans-serif;color:var(--crystal-ink,#18352f);max-width:calc(100vw - 100px);background:none;box-shadow:none}
.mulk-style-control summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid var(--crystal-edge,#cedbd6);border-radius:12px;background:var(--crystal-control,rgba(249,253,251,.96));box-shadow:0 3px 12px #09291c12;font-size:12px;font-weight:650}
.mulk-style-control summary::-webkit-details-marker{display:none}
.mulk-style-control summary svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}
.mulk-style-panel{position:absolute;right:0;top:50px;width:244px;max-width:calc(100vw - 70px);padding:8px;border:1px solid var(--crystal-edge,#cedbd6);border-radius:16px;background:var(--crystal-floating,#f9fcfb);box-shadow:0 12px 35px #071c2930;z-index:6;max-height:min(320px,52svh);overflow-y:auto}
.mulk-style-panel button{display:flex!important;align-items:center;gap:10px;width:100%!important;min-height:44px;height:auto!important;margin:2px 0;padding:6px 10px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;color:inherit!important;font:inherit!important;font-size:12px!important;text-align:start;cursor:pointer}
.mulk-style-panel button[aria-checked=true]{background:#00a67a18!important;border-color:#039c7355!important;font-weight:700!important}
.mulk-style-panel button:disabled{opacity:.5;cursor:default}
.mulk-style-sample{width:32px;height:28px;border:1px solid #90b1a660;border-radius:7px;flex:none;background:linear-gradient(135deg,#eef4ef 48%,#172832 49%)}
[data-style=light] .mulk-style-sample{background:repeating-linear-gradient(28deg,#edf4ee 0 9px,#9dafaa 10px 12px)}
[data-style=dark] .mulk-style-sample{background:repeating-linear-gradient(28deg,#101824 0 9px,#415470 10px 12px)}
[data-style=color] .mulk-style-sample{background:linear-gradient(145deg,#c8e7b9 0 35%,#ffe1a1 36% 44%,#edf0e4 45% 67%,#9ad5ee 68%)}
[data-style=satellite] .mulk-style-sample{background:repeating-linear-gradient(22deg,#536249 0 6px,#9b916e 7px 9px,#657350 10px 15px)}
.mulk-style-hint,.mulk-style-status{font-size:11px;line-height:1.6;max-width:230px;margin:5px 3px;white-space:normal}
.mulk-style-status{padding:6px 8px;background:var(--crystal-floating,#f9fcfb);border-radius:8px;box-shadow:0 2px 8px #0002}
.mulk-style-control [hidden]{display:none!important}
.mulk-satellite-credit{display:block;text-align:right;font-size:10px;background:#fffffff2;color:#163a4c;padding:2px 5px;border-radius:4px;margin-top:5px}
.mulk-style-control :focus-visible{outline:2px solid #00a87c;outline-offset:3px}
[data-em-theme=dark] .mulk-style-control{color:#eef7f4}
[data-em-theme=dark] .mulk-style-control summary,[data-em-theme=dark] .mulk-style-panel,[data-em-theme=dark] .mulk-style-status{background:var(--crystal-floating,#14272ff5);border-color:var(--crystal-edge,#52717c)}
@media(max-width:600px){.mulk-style-control summary{font-size:11px;gap:6px;padding:0 10px}.mulk-style-panel{width:228px}}
