.company-markets {
    display:inline-block;
    max-width:100%;
    vertical-align:middle;
}
.company-markets > summary {
    display:inline-flex;
    align-items:center;
    gap:.6em;
    box-sizing:border-box;
    max-width:100%;
    min-height:44px;
    padding:5px 8px;
    border:1px solid #9bafbd;
    border-radius:4px;
    background:#fff;
    color:var(--company-ink,#102c45);
    cursor:pointer;
    font-weight:650;
    line-height:1.4;
    list-style:none;
}
.company-markets > summary::-webkit-details-marker { display:none; }
.company-markets > summary::after {
    content:"";
    flex:0 0 auto;
    width:.46em;
    height:.46em;
    border:solid currentColor;
    border-width:0 1.5px 1.5px 0;
    transform:translateY(-.1em) rotate(45deg);
}
.company-markets[open] > summary::after { transform:translateY(.1em) rotate(225deg); }
.company-markets > summary:hover { border-color:var(--company-ink,#102c45); }
.company-markets > summary:focus-visible { outline:3px solid #a73808; outline-offset:3px; }
.company-markets-list {
    max-block-size:min(13rem,44dvh);
    margin:8px 0 0;
    padding:4px 8px 4px 1.3em;
    overflow-y:auto;
    scrollbar-gutter:stable;
    border-block:1px solid var(--company-steel,#d1dce0);
}
.company-markets-list:focus-visible {
    outline:2px solid var(--premsa-focus,#185f9f);
    outline-offset:2px;
}
.company-markets-list > li + li { margin-top:3px; }
@media (max-width:680px), (pointer:coarse) {
    .company-markets { display:block; }
}
