/* THE MAPPP Portugal V435 | Melhorias sobre V434 */
/* Passos: palavras visíveis e só a palavra ativa em azul. A regra antiga .mxc-steps span
   aplica-se também aos descendentes; o texto passou a strong para não herdar esses estilos. */
.mxc .mxc-shellhead .mxc-steps>.mxc-progress-step b{display:inline-flex!important;gap:5px!important;align-items:center!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}
.mxc .mxc-shellhead .mxc-steps>.mxc-progress-step b strong.mxc-step-word{display:inline!important;visibility:visible!important;opacity:1!important;color:inherit!important;line-height:1!important;font:inherit!important;white-space:nowrap!important}
.mxc .mxc-shellhead .mxc-steps>.mxc-progress-step.on b strong.mxc-step-word{color:#459dff!important}

/* Preview e formulário lado a lado completamente visíveis, sem scroll no desktop normal.
   Em visores muito baixos o conteúdo é adaptado com clamp, mantendo os controlos acessíveis. */
.mxc .mxc-v408-step2.mxc-world-personalize{grid-template-columns:minmax(0,1fr) minmax(250px,300px)!important;gap:20px!important;padding:6px 4px 0!important;align-items:start!important;height:auto!important;overflow:visible!important}
.mxc .mxc-v408-step2 .mxc-world-data-panel{padding:0 0 0 0!important}
.mxc .mxc-v408-step2 .mxc-world-data-panel .mxc-f{margin-bottom:10px!important}
.mxc .mxc-v408-step2 .mxc-world-data-panel .mxc-f>span{margin-bottom:5px!important}
.mxc .mxc-v408-step2 .mxc-f input#mxcName{height:37px!important;min-height:37px!important;padding:7px 10px!important}
.mxc .mxc-v408-step2 .mxc-f textarea#mxcDesc{height:57px!important;min-height:57px!important;resize:none!important;padding:8px 10px!important}
.mxc .mxc-v408-step2 .mxc-logo-upload-wrap{margin-top:0!important}
.mxc .mxc-v408-step2 .mxc-world-upload,
.mxc .mxc-v408-step2 .mxc-world-upload:not(.has-logo){height:clamp(255px,calc(100dvh - 300px),385px)!important;min-height:255px!important;max-height:385px!important}
.mxc .mxc-v408-step2 .mxc-cats{height:102px!important;min-height:102px!important;max-height:102px!important;margin:5px 0 0!important}
.mxc .mxc-v408-step2 .mxc-cat[data-d="2"]{visibility:hidden!important;pointer-events:none!important}
.mxc .mxc-v408-step2 .mxc-social-inline{height:42px!important;min-height:42px!important}
.mxc .mxc-v408-step2 .mxc-social-tab,.mxc .mxc-v408-step2 .mxc-social-slot,.mxc .mxc-v408-step2 .mxc-social-entry,.mxc .mxc-v408-step2 .mxc-social-entry input[data-social-input],.mxc .mxc-v408-step2 .mxc-social-entry button[data-social-ok]{height:42px!important;min-height:42px!important}

/* Lista dos concelhos do império com oferta à direita e alvo de edição destacado. */
.mxc .mxc-v399 .mxc-new-empire-cols,.mxc .mxc-v399 .mxc-new-editor{min-width:0!important;width:100%!important;display:block!important}
.mxc .mxc-v399 .mxc-new-expansion{padding:6px 11px!important;min-width:0!important}
.mxc .mxc-v399 .mxc-v435-empire-list{display:flex!important;flex-direction:column!important;gap:2px!important;max-height:102px!important;min-height:0!important;overflow-y:auto!important;scrollbar-width:thin!important;margin:0 0 5px!important}
.mxc .mxc-v399 .mxc-v435-empire-row{box-sizing:border-box!important;display:flex!important;flex:0 0 21px!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:21px!important;max-height:21px!important;width:100%!important;padding:2px 6px!important;background:rgba(50,76,103,.18)!important;border:1px solid transparent!important;cursor:pointer!important;color:#b6c8d7!important;text-align:left!important;font:600 9.5px/1.2 Manrope,Arial,sans-serif!important}
.mxc .mxc-v399 .mxc-v435-empire-row span{flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.mxc .mxc-v399 .mxc-v435-empire-row b{flex:0 0 auto!important;color:#d3e6f7!important;font:750 9.5px/1.2 Manrope,Arial,sans-serif!important;white-space:nowrap!important}
.mxc .mxc-v399 .mxc-v435-empire-row.active{background:rgba(30,106,203,.3)!important;border-left:2px solid #67b7ff!important;color:#fff!important}
.mxc .mxc-v399 .mxc-v435-empire-row.active b{color:#fff!important}
.mxc .mxc-v399 .mxc-new-range{margin-top:3px!important;gap:5px!important}
.mxc .mxc-v399 .mxc-new-range label{font-size:9px!important}
.mxc .mxc-v399 .mxc-new-range output{font-size:16px!important}
.mxc .mxc-v399 svg .mxc-edit-target{filter:drop-shadow(0 0 3px rgba(244,251,255,.85))!important}
.mxc .mxc-v399 .mxc-map-marker-layer .mxc-map-marker[data-n]{cursor:pointer!important}

@media(max-height:720px) and (min-width:801px){
 .mxc .mxc-v408-step2 .mxc-world-upload,.mxc .mxc-v408-step2 .mxc-world-upload:not(.has-logo){height:clamp(245px,calc(100dvh - 300px),340px)!important;min-height:245px!important;max-height:340px!important}
 .mxc .mxc-v408-step2 .mxc-world-data-panel .mxc-f{margin-bottom:8px!important}
}
@media(max-width:800px){
 .mxc .mxc-v408-step2.mxc-world-personalize{grid-template-columns:1fr!important;overflow:auto!important}
 .mxc .mxc-v408-step2 .mxc-world-upload,.mxc .mxc-v408-step2 .mxc-world-upload:not(.has-logo){height:300px!important;min-height:300px!important;max-height:300px!important}
}
