.ecm-field { position: relative; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
.ecm-control { position: relative; width: 100%; min-width: 0; max-width: 100%; }
.ecm-input { box-sizing: border-box; max-width: 100%; }
.ecm-feedback { margin: 6px 0 0; color: #675962; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.ecm-attribution { margin: 4px 0 0; font-size: 10px; line-height: 1.45; color: #73636c; overflow-wrap: anywhere; }
.ecm-attribution .ecm-source { color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ecm-source:focus-visible { outline: 2px solid #9b5c76; outline-offset: 2px; }
.ecm-has-error .ecm-feedback { color: #962f42; }
.ecm-has-error .ecm-input { outline: 2px solid #b65066; outline-offset: 2px; }
.ecm-listbox { position: absolute; z-index: 10020; top: 100%; inset-inline: 0; box-sizing: border-box; max-width: 100%; max-height: min(320px, 45vh); margin-top: 4px; overflow: auto; overscroll-behavior: contain; background: #fff; border: 1px solid #cbb3be; border-radius: 12px; box-shadow: 0 10px 28px #493c4326; padding: 4px; text-align: start; }
.ecm-listbox[hidden] { display: none !important; }
.ecm-listbox-above { top: auto; bottom: 100%; margin-top: 0; margin-bottom: 4px; }
.ecm-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; margin: 0; padding: 10px 12px; box-sizing: border-box; border-radius: 8px; cursor: pointer; color: #493c43; background: #fff; font-size: 15px; line-height: 1.4; }
.ecm-option-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ecm-option-canton { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #785365; border: 1px solid #e3d5dd; border-radius: 6px; padding: 2px 6px; }
.ecm-option:hover, .ecm-option-active { background: #f5eaf0; color: #742c4a; }
.ecm-option-active { outline: 2px solid #c598ab; outline-offset: -2px; }
.ecm-canton-host { min-width: 0; }
.ecm-canton-output { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 46px; box-sizing: border-box; width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid #deced6; border-radius: 11px; background: #f8f4f6; color: #493c43; line-height: 1.4; }
.ecm-canton-output[hidden] { display: none !important; }
.ecm-canton-code { flex: 0 0 auto; font-size: 16px; font-weight: 600; }
.ecm-canton-hint { flex: 1 1 100px; min-width: 0; font-size: 12px; color: #675962; overflow-wrap: anywhere; }
.ecm-canton-is-locked > .ecm-canton-native, .ecm-canton-is-locked > .select2-container { display: none !important; }
.ecm-derived-canton-remove { display: none !important; }
@media (max-width: 480px) {
    .ecm-listbox { max-height: min(280px, 42vh); }
    .ecm-option { min-height: 48px; padding: 11px 10px; font-size: 16px; }
    .ecm-feedback { font-size: 12px; }
}
@media (forced-colors: active) {
    .ecm-option-active { outline: 2px solid Highlight; }
    .ecm-has-error .ecm-input { outline: 2px solid Highlight; }
}
