#dPickupPanel[hidden],#dDoorFields[hidden],#dModeField[hidden],.pickup-option[hidden]{display:none!important}#dPickupPanel{margin:12px 0}.pickup-map{height:290px;position:relative;isolation:isolate;z-index:0;border:1px solid #e4dfd5;border-radius:12px;background:#f4f1e9;margin:10px 0;overflow:hidden}.pickup-list{display:grid;gap:6px;max-height:240px;overflow:auto;margin:8px 0}.pickup-option{display:grid;gap:5px;background:white;border:1px solid #dcd8cd;padding:10px;text-align:left;border-radius:9px;color:#173d31;cursor:pointer}.pickup-option span{font-size:12px;color:#555}.pickup-option[aria-pressed=true]{border:2px solid #173d31;background:#eff4ef}.pickup-option:focus-visible{outline:2px solid #b88939}.pickup-map .leaflet-control a{text-decoration:none}@media(max-width:550px){.pickup-map{height:240px}}

/* 3.2.29: compact CDEK address search, optional map and explicit confirmation */
.mw-cdek-picker [hidden],.mw-cdek-picker[hidden]{display:none!important}.mw-cdek-picker{min-width:0}.mw-cdek-rates{display:grid;gap:8px}.mw-cdek-rate{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #d6d8d1;border-radius:10px;cursor:pointer}.mw-cdek-rate input{width:auto;flex:none}.mw-cdek-rate:has(input:checked){border-color:#173d31;background:#f0f5f0}.mw-cdek-picker [data-pickup]{margin-top:16px;padding:14px;border:1px solid #e3ded3;border-radius:12px;background:#faf9f5}.mw-cdek-picker [data-pickup] h3{margin:0 0 10px}.mw-cdek-picker [data-point-hint]{font-size:13px;margin:6px 0}.mw-cdek-picker [data-points]{display:grid;gap:6px}.mw-cdek-point{width:100%;overflow-wrap:anywhere;min-height:44px}.mw-cdek-point strong{font-size:14px;font-weight:600}.mw-cdek-map-toggle{width:100%;min-height:44px;margin:8px 0 0}.mw-cdek-map{height:250px;position:relative;isolation:isolate;z-index:0;border:1px solid #e4dfd5;border-radius:10px;margin-top:8px;overflow:hidden;background:#ecebe5}.mw-cdek-selected{display:grid;gap:6px;border:1px solid #173d31;border-radius:10px;background:#eef5ef;padding:12px;margin-top:10px;overflow-wrap:anywhere;color:#173d31}.mw-cdek-selected small{color:#59665e}.mw-cdek-selected button{justify-self:start;min-height:40px}.mw-cdek-confirm{margin:12px 0}.mw-cdek-confirm .primary{display:block;width:100%;min-height:50px;white-space:normal;font-weight:700}.mw-cdek-confirm .primary:disabled{opacity:.55;cursor:default}.mw-cdek-confirm [data-result]{margin:8px 0;overflow-wrap:anywhere}.mw-cdek-picker [data-map-status]{font-size:13px}.mw-cdek-picker [data-point-search]{width:100%;min-width:0;min-height:44px}@media(max-width:550px){.mw-cdek-picker [data-pickup]{padding:10px}.mw-cdek-map{height:220px}.mw-cdek-point{padding:9px}}

.mw-cdek-address[hidden]{display:none!important}

/* 3.2.35: compact postal office suggestions */
.mw-post-picker [data-post-points]{display:grid;gap:6px}.mw-post-picker [data-post-hint],.mw-post-picker .mw-post-note{font-size:13px;margin:6px 0}.mw-post-picker [data-post-search]{width:100%;min-height:44px}.mw-post-picker [data-post-result]{overflow-wrap:anywhere}.mw-post-picker [data-post-selected]{margin-bottom:10px}form:has(.mw-post-picker) label[hidden]{display:none!important}

/* 3.2.37 postal map and fallback */
.mw-post-picker .mw-post-official{display:block;color:#173d31;text-decoration:underline;font-size:13px;margin:9px 0}.mw-post-picker .mw-post-version{display:block;color:#66776d;font-size:11px;margin:4px 0}.mw-post-picker [data-post-map-status]{font-size:13px;margin:8px 0}.mw-post-picker [data-post-map-toggle]{font-weight:600}

/* 3.2.38: same city and pickup controls as CDEK. */
.mw-post-picker [data-post-city]{min-height:44px;width:100%}.mw-post-picker [data-city-status]{font-size:13px;margin:6px 0}.mw-post-picker [data-post-more],.mw-post-picker [data-post-manual]{min-height:44px;margin-top:8px}.mw-post-picker [data-manual-wrap]{margin-top:8px}.mw-post-picker [data-post-points]{margin:6px 0}.mw-post-picker [data-post-result]{margin:8px 0;color:#173d31}

/* 3.2.47: prominent postal actions, without changing their behavior. */
.mw-post-picker button.chip[data-post-more],
.mw-post-picker button.chip[data-post-manual]{
  display:block;width:100%;min-height:48px;box-sizing:border-box;
  margin:12px 0 4px;padding:12px 16px;border:2px solid #173d31;
  border-radius:10px;font-size:14px;font-weight:700;line-height:1.35;
  text-align:center;white-space:normal;overflow-wrap:anywhere;cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.mw-post-picker button.chip[data-post-more]{background:#173d31;color:#fff;}
.mw-post-picker button.chip[data-post-manual]{background:#f5efe3;color:#173d31;}
@media (hover:hover){
  .mw-post-picker button.chip[data-post-more]:not(:disabled):hover{background:#245749;border-color:#245749;}
  .mw-post-picker button.chip[data-post-manual]:not(:disabled):hover{background:#e8dfce;}
}
.mw-post-picker button.chip[data-post-more]:not(:disabled):active{background:#102d24;}
.mw-post-picker button.chip[data-post-manual]:not(:disabled):active{background:#ddd1bb;}
.mw-post-picker button.chip[data-post-more]:focus-visible,
.mw-post-picker button.chip[data-post-manual]:focus-visible{outline:2px solid #986d29;outline-offset:3px;}
.mw-post-picker button.chip[data-post-more]:disabled,
.mw-post-picker button.chip[data-post-manual]:disabled{opacity:.6;cursor:default;}
@media(max-width:550px){
  .mw-post-picker button.chip[data-post-more],.mw-post-picker button.chip[data-post-manual]{min-height:50px;padding:12px 10px;}
}
@media(prefers-reduced-motion:reduce){
  .mw-post-picker button.chip[data-post-more],.mw-post-picker button.chip[data-post-manual]{transition:none;}
}

/* 3.2.48: map is the primary action in both live pickup selectors. */
.mw-cdek-picker button.chip[data-map-toggle],
.mw-post-picker button.chip[data-post-map-toggle]{
  display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;min-height:54px;box-sizing:border-box;margin:12px 0 4px;
  padding:12px 16px;border:2px solid #173d31;border-radius:10px;
  background:#173d31;color:#fff;font-size:15px;font-weight:700;
  line-height:1.35;text-align:center;white-space:normal;overflow-wrap:anywhere;
  cursor:pointer;box-shadow:0 2px 6px rgba(23,61,49,.16);
  transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.mw-cdek-picker button.chip[data-map-toggle]::before,
.mw-post-picker button.chip[data-post-map-toggle]::before{
  content:"";flex:0 0 20px;width:20px;height:20px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* Secondary action keeps its size and contrast, but no longer competes with the map. */
.mw-post-picker button.chip[data-post-more]{background:#e5eee7;color:#173d31;border-color:#648273;}
@media(hover:hover){
  .mw-cdek-picker button.chip[data-map-toggle]:not(:disabled):hover,
  .mw-post-picker button.chip[data-post-map-toggle]:not(:disabled):hover{background:#245749;border-color:#245749;}
  .mw-post-picker button.chip[data-post-more]:not(:disabled):hover{background:#d4e5d8;border-color:#173d31;}
}
.mw-cdek-picker button.chip[data-map-toggle]:not(:disabled):active,
.mw-post-picker button.chip[data-post-map-toggle]:not(:disabled):active{background:#102d24;box-shadow:none;}
.mw-post-picker button.chip[data-post-more]:not(:disabled):active{background:#c9dccd;}
.mw-cdek-picker button.chip[data-map-toggle]:focus-visible,
.mw-post-picker button.chip[data-post-map-toggle]:focus-visible{outline:2px solid #986d29;outline-offset:3px;}
.mw-cdek-picker button.chip[data-map-toggle]:disabled,
.mw-post-picker button.chip[data-post-map-toggle]:disabled{opacity:.55;cursor:default;box-shadow:none;}
@media(max-width:550px){
  .mw-cdek-picker button.chip[data-map-toggle],.mw-post-picker button.chip[data-post-map-toggle]{min-height:54px;padding:12px 10px;}
}
@media(prefers-reduced-motion:reduce){
  .mw-cdek-picker button.chip[data-map-toggle],.mw-post-picker button.chip[data-post-map-toggle]{transition:none;}
}
