/* Efekt Murawa Tools – Stage 1.6 calculator + modal UX */
.emt-root {
  --emt-primary: #2d6a4f;
  --emt-primary-dark: #1b4332;
  --emt-accent: #7cb518;
  --emt-text: #1a2420;
  --emt-muted: #5a6b61;
  --emt-background: #f3f7f4;
  --emt-surface: #ffffff;
  --emt-border: rgba(27, 67, 50, 0.1);
  --emt-danger: #9b2226;
  --emt-radius: 16px;
  --emt-font: "Outfit", "Segoe UI", sans-serif;
  --emt-display: "Fraunces", Georgia, serif;

  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  color: var(--emt-text);
  font-family: var(--emt-font);
  max-width: 1080px;
  margin: 0 auto;
  min-height: 0;
  padding: 0.85rem 1rem 0;
  background: linear-gradient(180deg, #f7faf8 0%, var(--emt-background) 100%);
  border: 1px solid var(--emt-border);
  border-radius: calc(var(--emt-radius) + 6px);
  -webkit-font-smoothing: antialiased;
}

.emt-root *,
.emt-root *::before,
.emt-root *::after { box-sizing: border-box; }

.emt-app__header { flex: 0 0 auto; margin-bottom: 0.55rem; }
.emt-app__brand { display: flex; align-items: center; gap: 0.55rem; }
.emt-app__logo {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(45, 106, 79, 0.1); color: var(--emt-primary-dark);
}
.emt-app__eyebrow {
  margin: 0; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--emt-primary);
}
.emt-app__title {
  margin: 0.05rem 0 0; font-family: var(--emt-display);
  font-size: 1.15rem; line-height: 1.15; color: var(--emt-primary-dark); font-weight: 700;
}

.emt-progress { flex: 0 0 auto; margin-bottom: 0.65rem; }
.emt-progress__mobile { display: none; }
.emt-progress__mobile span {
  display: block; font-size: 0.82rem; font-weight: 600; color: var(--emt-muted); margin-bottom: 0.35rem;
}
.emt-progress__bar {
  height: 5px; background: rgba(45, 106, 79, 0.12); border-radius: 999px; overflow: hidden;
}
.emt-progress__fill {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--emt-primary-dark), var(--emt-accent));
  transition: width .25s ease;
}
.emt-progress__steps {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  list-style: none; margin: 0.55rem 0 0; padding: 0;
}
.emt-progress__steps li {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.55rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500; color: var(--emt-muted);
}
.emt-progress__steps li span {
  display: grid; place-items: center; width: 18px; height: 18px;
  border-radius: 999px; background: rgba(45,106,79,.1); font-size: 0.68rem; font-weight: 700;
}
.emt-progress__steps li.is-active {
  color: var(--emt-primary-dark); background: rgba(124,181,24,.18); font-weight: 700;
}
.emt-progress__steps li.is-active span { background: var(--emt-primary-dark); color: #fff; }
.emt-progress__steps li.is-done { color: var(--emt-primary); }
.emt-progress__steps li.is-done span { background: var(--emt-accent); color: var(--emt-primary-dark); }

.emt-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-bottom: 0.5rem;
}

.emt-card {
  background: var(--emt-surface);
  border: 1px solid var(--emt-border);
  border-radius: var(--emt-radius);
  padding: 1rem 1.1rem;
}

.emt-step__title {
  margin: 0 0 0.3rem; font-family: var(--emt-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--emt-primary-dark); font-weight: 700;
}
.emt-step__lead { margin: 0 0 1rem; color: var(--emt-muted); font-size: 0.98rem; }

/* Address form */
.emt-address__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.emt-field--city { grid-column: 1; }
.emt-field--postcode { grid-column: 2; }
.emt-field label {
  display: block; margin-bottom: 0.3rem;
  font-size: 0.82rem; font-weight: 600; color: var(--emt-muted);
}
.emt-optional { font-weight: 500; opacity: .75; }
.emt-input {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--emt-border); border-radius: 12px;
  font: inherit; font-size: 1rem; background: #fbfdfb; color: var(--emt-text);
}
.emt-input:focus {
  outline: none; border-color: var(--emt-primary);
  box-shadow: 0 0 0 3px rgba(45,106,79,.12);
}

.emt-btn {
  appearance: none; border: 0; border-radius: 12px;
  min-height: 48px; padding: 0.7rem 1.1rem;
  font: inherit; font-size: 0.92rem; font-weight: 700;
  cursor: pointer; transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.emt-btn:active { transform: scale(0.98); }
.emt-btn:disabled { opacity: .4; cursor: not-allowed; }
.emt-btn--primary { background: var(--emt-primary-dark); color: #fff; }
.emt-btn--primary:hover:not(:disabled) { background: var(--emt-primary); }
.emt-btn--ghost {
  background: transparent; color: var(--emt-primary-dark);
  box-shadow: inset 0 0 0 1.5px var(--emt-border);
}
.emt-btn--lg { min-height: 52px; padding-inline: 1.25rem; }
.emt-btn--block { width: 100%; }
.emt-open-btn {
  appearance: none; border: 0; border-radius: 12px; min-height: 48px;
  padding: 0.75rem 1.2rem; background: var(--emt-primary-dark); color: #fff;
  font: inherit; font-weight: 700; cursor: pointer;
}

.emt-trust { display: flex; gap: .4rem; margin: .75rem 0 0; font-size: .84rem; color: var(--emt-muted); }
.emt-btn.is-busy .emt-btn__spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: .45rem;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -0.15em;
  animation: emt-spin .7s linear infinite;
}
.emt-btn__spinner { display: none; }
@keyframes emt-spin { to { transform: rotate(360deg); } }

.emt-address.is-loading .emt-input { opacity: .85; }

.emt-search-status {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .65rem 0 0;
  padding: .55rem .75rem;
  border-radius: 10px;
  background: rgba(216,243,220,.55);
  border: 1px solid var(--emt-border);
  color: var(--emt-primary-dark);
  font-size: .9rem;
  font-weight: 600;
}
.emt-search-status[hidden] { display: none !important; }
.emt-search-status__dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--emt-accent);
  box-shadow: 0 0 0 0 rgba(124,181,24,.55);
  animation: emt-pulse 1.2s ease-out infinite;
  flex: 0 0 auto;
}
@keyframes emt-pulse {
  0% { box-shadow: 0 0 0 0 rgba(124,181,24,.45); }
  70% { box-shadow: 0 0 0 8px rgba(124,181,24,0); }
  100% { box-shadow: 0 0 0 0 rgba(124,181,24,0); }
}

.emt-map-skeleton {
  position: absolute;
  inset: 0;
  z-index: 450;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: linear-gradient(135deg, #d7e8db 0%, #eef5ef 50%, #d3e4d8 100%);
  color: var(--emt-primary-dark);
  font-size: .9rem;
  font-weight: 650;
  pointer-events: none;
}
.emt-map-skeleton[hidden] { display: none !important; }
.emt-map-skeleton__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(27,67,50,.15);
  border-top-color: var(--emt-primary);
  border-radius: 50%;
  animation: emt-spin .75s linear infinite;
}

.emt-candidate-label { background: transparent !important; border: 0 !important; }
.emt-candidate-label__inner {
  min-width: 28px;
  padding: .15rem .35rem;
  border-radius: 8px;
  background: #fff;
  border: 2px solid #f59e0b;
  color: #92400e;
  font-weight: 800;
  font-size: .85rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
}
.emt-candidate-label__inner.is-selected {
  border-color: #22c55e;
  color: #14532d;
  background: #ecfdf5;
}

.emt-msg { margin: .55rem 0 0; font-size: .92rem; color: var(--emt-muted); }
.emt-msg.is-error { color: var(--emt-danger); }
.emt-msg.is-warn { color: #9a6700; }

.emt-map-preview { margin-top: .85rem; }
.emt-map-shell--preview {
  position: relative;
  min-height: min(42vh, 360px);
  height: min(42vh, 360px);
}
.emt-map-shell--preview .emt-map {
  position: absolute; inset: 0; height: auto; min-height: 0;
}
.emt-map.is-pinning { cursor: crosshair; }

.emt-locate-result {
  margin-top: .85rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--emt-border);
  background: rgba(216,243,220,.45);
}
.emt-locate-result__badge {
  margin: 0 0 .35rem;
  font-weight: 700;
  color: var(--emt-primary);
}
.emt-locate-result__addr {
  margin: 0 0 .75rem;
  font-family: var(--emt-display);
  font-size: 1.25rem;
  color: var(--emt-primary-dark);
  font-weight: 700;
}
.emt-locate-result__note,
.emt-locate-result__hint {
  margin: 0 0 .75rem;
  font-size: .9rem;
  color: var(--emt-muted);
}
.emt-linkish {
  appearance: none; display: block; width: 100%;
  margin-top: .55rem; border: 0; background: transparent;
  color: var(--emt-muted); font: inherit; font-size: .88rem;
  text-decoration: underline; cursor: pointer; text-align: center;
}
.emt-pin-confirm {
  margin-top: .75rem; padding-top: .75rem;
  border-top: 1px dashed var(--emt-border);
}
.emt-pin-confirm p { margin: 0 0 .55rem; font-weight: 650; color: var(--emt-primary-dark); }
.emt-pin-confirm__actions { display: flex; flex-wrap: wrap; gap: .45rem; }

.emt-locate-result__cta {
  margin: 0 0 .55rem;
  font-size: .95rem;
  color: var(--emt-primary-dark);
}

.emt-zoom-toast {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 600;
  max-width: min(92%, 360px);
  padding: .45rem .75rem;
  border-radius: 10px;
  background: rgba(15, 30, 22, 0.88);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  pointer-events: none;
}
.emt-zoom-toast[hidden] { display: none !important; }

/* Tiles must never steal draw clicks */
.emt-map .leaflet-tile-pane,
.emt-map .emt-tiles-sat,
.emt-map .emt-tiles-map,
.emt-map .emt-tiles-labels {
  pointer-events: none !important;
}

.emt-addr-marker { background: transparent !important; border: 0 !important; }
.emt-addr-marker__pin { font-size: 22px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.emt-addr-marker--discrete .emt-addr-marker__pin {
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #ef4444;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  margin: 0 auto;
  font-size: 0;
  line-height: 0;
}
.emt-addr-marker.is-faded {
  opacity: 0.28;
  transition: opacity .2s ease;
}
.emt-addr-popup .leaflet-popup-content {
  margin: 8px 10px;
  font-size: 13px;
  font-weight: 650;
}
.emt-addr-marker__label {
  margin-top: 2px; display: inline-block;
  background: rgba(255,255,255,.95); color: #1b4332;
  font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2); white-space: nowrap; max-width: 140px;
  overflow: hidden; text-overflow: ellipsis;
}

.emt-map {
  width: 100%; height: 280px; min-height: 220px;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--emt-border); background: #dce8df;
  touch-action: manipulation;
}
.emt-map--preview { height: min(42vh, 360px); }
.emt-map--draw { height: 100%; min-height: 0; border-radius: 14px; }
.emt-map.is-drawing, .emt-map--draw { cursor: crosshair; }

/* Draw layout */
.emt-draw-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
  gap: 0.75rem;
  height: 100%;
  min-height: 0;
}
.emt-draw-main {
  display: flex; flex-direction: column; gap: 0.45rem; min-height: 0; min-width: 0;
}
.emt-draw-intro {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.65rem; align-items: baseline;
  padding: 0.45rem 0.7rem; border-radius: 10px;
  background: rgba(216,243,220,.55); border: 1px solid var(--emt-border);
  font-size: 0.88rem; color: var(--emt-muted);
}
.emt-draw-intro strong { color: var(--emt-primary-dark); }

.emt-toolbar { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.emt-tool {
  appearance: none; display: inline-flex; align-items: center; gap: .3rem;
  min-height: 36px; padding: .35rem .7rem; border-radius: 999px;
  border: 1px solid var(--emt-border); background: #f8fbf8;
  color: var(--emt-text); font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer;
}
.emt-tool[hidden] { display: none !important; }
.emt-tool--primary { background: var(--emt-primary-dark); border-color: var(--emt-primary-dark); color: #fff; }
.emt-tool--danger { color: var(--emt-danger); background: rgba(155,34,38,.06); border-color: rgba(155,34,38,.15); }

.emt-map-shell {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(320px, 52vh, 650px);
}
.emt-map-shell .emt-map { position: absolute; inset: 0; height: auto; }

.emt-map-toggle {
  position: absolute; top: 10px; right: 10px; z-index: 500;
  display: flex; background: #fff; border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15); overflow: hidden;
}
.emt-map-toggle button {
  appearance: none; border: 0; background: transparent;
  padding: .4rem .75rem; font: inherit; font-size: .78rem; font-weight: 700;
  color: var(--emt-muted); cursor: pointer;
}
.emt-map-toggle button.is-active { background: var(--emt-primary-dark); color: #fff; }

.emt-side {
  background: var(--emt-surface);
  border: 1px solid var(--emt-border);
  border-radius: var(--emt-radius);
  padding: 0.85rem;
  display: flex; flex-direction: column; gap: 0.55rem;
  max-height: 100%; overflow: auto;
}
.emt-side__title {
  margin: 0; font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--emt-muted); font-weight: 700;
}
.emt-side__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.emt-side__item {
  border: 1px solid var(--emt-border); border-radius: 10px; padding: .55rem .65rem; background: #fbfdfb;
}
.emt-side__item.is-editing { border-color: var(--emt-accent); }
.emt-side__item-top {
  display: flex; justify-content: space-between; gap: .5rem;
  font-size: .9rem; margin-bottom: .3rem;
}
.emt-side__item-actions { display: flex; gap: .45rem; }
.emt-side__item-actions button {
  appearance: none; border: 0; background: transparent;
  color: var(--emt-primary); font: inherit; font-size: .8rem; font-weight: 650; cursor: pointer; padding: 0;
}
.emt-side__item-actions button[data-emt-delete] { color: var(--emt-danger); }
.emt-side__empty { margin: 0; font-size: .85rem; color: var(--emt-muted); }
.emt-side__total {
  margin-top: auto; padding-top: .65rem; border-top: 1px dashed var(--emt-border);
  display: flex; flex-direction: column; gap: .15rem;
}
.emt-side__total span { font-size: .8rem; color: var(--emt-muted); font-weight: 600; }
.emt-side__total strong {
  font-family: var(--emt-display); font-size: 1.65rem; color: var(--emt-primary-dark); line-height: 1.1;
}

.emt-fragment-done {
  background: #fff; border: 1px solid var(--emt-border); border-radius: 14px;
  padding: .85rem 1rem; text-align: center;
}
.emt-fragment-done__ok { margin: 0; font-weight: 700; color: var(--emt-primary); }
.emt-fragment-done__area {
  margin: .25rem 0 .75rem; font-family: var(--emt-display);
  font-size: 2rem; color: var(--emt-primary-dark); font-weight: 700;
}
.emt-fragment-done__actions {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
}

.emt-area__value {
  margin: .35rem 0 0; font-family: var(--emt-display);
  font-size: clamp(2.2rem, 5vw, 3rem); color: var(--emt-primary-dark); font-weight: 700;
}
.emt-area__value--inline { margin: .45rem 0 .7rem; text-align: center; }
.emt-success { text-align: center; margin-bottom: 1rem; }
.emt-success__eyebrow {
  margin: 0 0 .25rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--emt-accent); font-size: .75rem;
}
.emt-service-preview {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; margin-bottom: .5rem;
}
.emt-tile {
  display: flex; flex-direction: column; gap: .35rem; padding: .85rem;
  border-radius: 12px; border: 1px solid var(--emt-border); background: #fbfdfb;
}
.emt-tile.is-muted { opacity: .72; }
.emt-tile strong { font-size: .92rem; color: var(--emt-primary-dark); }

/* Sticky footer inside calculator */
.emt-footer {
  flex: 0 0 auto;
  position: sticky; bottom: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center; gap: .65rem;
  margin: 0 -1rem; padding: .65rem 1rem;
  background: rgba(243,247,244,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--emt-border);
  border-radius: 0 0 calc(var(--emt-radius) + 6px) calc(var(--emt-radius) + 6px);
}
.emt-footer__right {
  display: flex; flex-wrap: wrap; gap: .45rem; justify-content: flex-end;
  margin-left: auto;
}

.emt-dialog[hidden] { display: none !important; }
.emt-dialog {
  position: absolute; inset: 0; z-index: 40;
  display: grid; place-items: center; padding: 1rem;
  background: rgba(12,24,18,.45);
}
.emt-dialog__card {
  width: min(440px, 100%); background: #fff; border-radius: 16px;
  padding: 1.15rem; box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.emt-dialog__card h3 { margin: 0 0 .4rem; color: var(--emt-primary-dark); }
.emt-dialog__card p { margin: 0 0 1rem; color: var(--emt-muted); }
.emt-dialog__actions { display: flex; flex-direction: column; gap: .5rem; }

/* Leaflet labels / handles */
.emt-poly-label { background: transparent !important; border: 0 !important; }
.emt-poly-label__inner {
  background: rgba(255,255,255,.96); border: 1px solid rgba(27,67,50,.2);
  border-radius: 8px; padding: .25rem .45rem; text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.28); line-height: 1.15;
  text-shadow: 0 0 2px #fff;
}
.emt-poly-label__inner strong { display: block; font-size: .85rem; color: var(--emt-primary-dark); }
.emt-poly-label__inner span { font-size: .72rem; color: #5a6b61; }
.emt-edit-handle span {
  display: block; width: 16px; height: 16px; border-radius: 999px;
  background: #7cb518; border: 2px solid #fff; box-shadow: 0 0 0 1px #1b4332;
}
.emt-close-hint-wrap { background: transparent !important; border: 0 !important; }
.emt-close-hint {
  background: #1b4332; color: #fff; border-radius: 8px;
  font-size: 12px; font-weight: 600; padding: 5px 9px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2); white-space: nowrap;
  text-align: center;
}

/* ===== Modal almost fullscreen ===== */
.emt-modal[hidden] { display: none !important; }
.emt-modal {
  position: fixed; inset: 0; z-index: 100000;
  display: grid; place-items: center; padding: 1.5vh 2vw;
}
.emt-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 18, 14, 0.62); backdrop-filter: blur(2px);
}
.emt-modal__dialog {
  position: relative; z-index: 1;
  width: min(96vw, 1600px);
  height: 94vh;
  max-height: 94vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--emt-background, #f3f7f4);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}
.emt-modal__chrome {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: .55rem .85rem;
  background: rgba(243,247,244,.97); border-bottom: 1px solid var(--emt-border, rgba(27,67,50,.1));
}
.emt-modal__chrome-title {
  margin: 0; font-family: var(--emt-display, Georgia, serif);
  font-size: 1.05rem; color: var(--emt-primary-dark, #1b4332);
}
.emt-modal__close {
  width: 42px; height: 42px; border: 0; border-radius: 999px;
  background: rgba(27,67,50,.08); font-size: 1.4rem; cursor: pointer;
  color: var(--emt-primary-dark, #1b4332);
}
.emt-modal__body {
  flex: 1 1 auto; min-height: 0; overflow: hidden;
  display: flex; flex-direction: column; padding: 0;
}
.emt-modal__body .emt-root {
  flex: 1 1 auto; width: 100%; max-width: none; height: 100%;
  margin: 0; border: 0; border-radius: 0; box-shadow: none;
  background: transparent;
}
.emt-modal__body .emt-body { overflow: auto; }
.emt-modal__body .emt-step[data-emt-panel="2"].is-active {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.emt-root .emt-step[hidden],
.emt-modal .emt-step[hidden],
[data-emt-panel][hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.emt-modal__body .emt-draw-layout {
  flex: 1 1 auto; min-height: 0;
  height: auto;
}
.emt-modal__body .emt-map-shell {
  min-height: clamp(420px, calc(94vh - 280px), 700px);
}
.emt-modal__body .emt-footer {
  margin: 0; border-radius: 0;
}

html.emt-modal-open,
html.emt-modal-open body {
  overflow: hidden !important;
}

@media (min-width: 1100px) {
  .emt-draw-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .emt-service-preview { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  .emt-draw-layout {
    grid-template-columns: 1fr;
  }
  .emt-map-shell { min-height: clamp(300px, 48vh, 520px); }
  .emt-side { order: 2; max-height: none; }
}

@media (max-width: 720px) {
  .emt-root { padding: .7rem .7rem 0; border-radius: 12px; }
  .emt-progress__mobile { display: block; }
  .emt-progress__steps { display: none; }
  .emt-address__grid { grid-template-columns: 1fr 1fr; }
  .emt-field--street { grid-column: 1 / -1; }
  .emt-field--number { grid-column: 1 / -1; }
  .emt-field--city, .emt-field--postcode { grid-column: auto; }
  .emt-footer {
    flex-direction: column-reverse; align-items: stretch; margin: 0 -.7rem;
  }
  .emt-footer__right { flex-direction: column; }
  .emt-footer .emt-btn { width: 100%; }
  .emt-fragment-done__actions { flex-direction: column; }
  .emt-fragment-done__actions .emt-btn { width: 100%; }

  /* Mobile modal = true fullscreen */
  .emt-modal { padding: 0; }
  .emt-modal__dialog {
    width: 100%; height: 100dvh; max-height: 100dvh;
    border-radius: 0;
  }
  .emt-modal__body .emt-map-shell {
    min-height: clamp(280px, calc(100dvh - 340px), 520px);
  }
}

@media (min-width: 1600px) {
  .emt-modal__body .emt-map-shell {
    min-height: clamp(520px, calc(94vh - 260px), 760px);
  }
}

.emt-root .leaflet-container { font: inherit; }
