.mcs-account.mcs-map-access { width: min(650px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid #6a6c65; border-radius: 9px; background: #fff; color: #292d29; box-shadow: 0 10px 30px #18251b55; font: 14px/1.4 Arial, sans-serif; overflow: auto; }
.mcs-account.mcs-map-access::backdrop { background: #263a4666; }
.mcs-account.mcs-map-access > header { padding: 13px 18px; gap: 12px; background: #575953; color: #fff; border: 0; }
.mcs-account.mcs-map-access h2 { font: bold 22px/1.2 Arial, sans-serif; }
.mcs-account.mcs-map-access h2:focus { outline: none; }
.mcs-account.mcs-map-access header svg { width: 27px; height: 29px; stroke-width: 1.7; }
.mcs-map-access-body { padding: 14px 18px 10px; }
.mcs-account.mcs-map-access .mcs-map-access-intro { margin: 0 0 12px; font-size: 14px; }
.mcs-map-access-list { list-style: none; margin: 0; padding: 0 3px 0 0; max-height: min(360px, 48dvh); overflow-y: auto; scrollbar-width: thin; }
.mcs-map-access-row { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: #f7f7f3; border: 1px solid #d3d6cd; border-radius: 7px; padding: 9px 11px; margin: 0 0 8px; min-height: 70px; }
.mcs-map-access-row:last-child { margin-bottom: 0; }
.mcs-map-access-row:hover { border-color: #91a875; }
.mcs-map-access-requested { background: #fff7e7; border-color: #cc9a37; }
.mcs-map-access-requested:hover { border-color: #b7841c; }
.mcs-map-access-text { min-width: 0; }
.mcs-map-access-text strong { display: block; font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.mcs-account.mcs-map-access .mcs-map-access-text small { margin: 4px 0 0; color: #62665d; font: 12px/1.3 Arial, sans-serif; overflow-wrap: anywhere; }
.mcs-map-access-eyebrow { display: block; color: #976715; font-size: 10px; font-weight: bold; margin-bottom: 4px; }
.mcs-map-access-thumbnail { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; overflow: hidden; border-radius: 4px; background: #aed7e8; color: #527784; }
.mcs-map-access-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mcs-map-access-thumbnail svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.mcs-map-access .mcs-map-access-action { display: inline-flex; align-items: center; justify-content: center; min-width: 112px; min-height: 40px; border: 1px solid #638f31; border-bottom-width: 2px; padding: 8px 12px; border-radius: 5px; background: #6f9c38; color: #fff; font: bold 14px/1.2 Arial, sans-serif; text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer; }
.mcs-map-access .mcs-map-access-action:hover { background: #5c862c; color: #fff; text-decoration: none; }
.mcs-map-access .mcs-map-access-upgrade { background: #b67b0c; border-color: #9c6808; }
.mcs-map-access .mcs-map-access-upgrade:hover { background: #986507; }
.mcs-map-access-section { margin: 13px 0 7px; color: #72776b; font-size: 11px; font-weight: bold; }
.mcs-account.mcs-map-access .mcs-map-access-upgrade-note { grid-column: 1 / -1; margin: 0; color: #654d22; font-size: 12px; }
.mcs-map-access-upgrade-note:empty { display: none; }
.mcs-account.mcs-map-access .mcs-map-access-source { grid-column: 1 / -1; margin: 0; font-size: 12px; }
.mcs-map-access-source select { display: block; width: 100%; min-width: 0; margin-top: 5px; padding: 7px; border: 1px solid #bca87d; border-radius: 4px; background: #fff; color: #292d29; font: 13px Arial, sans-serif; }
.mcs-account.mcs-map-access .mcs-map-access-empty { margin: 12px 0 0; color: #62665d; }
.mcs-map-access-help { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 11px; font-size: 12px; }
.mcs-map-access-help a { color: #526b78; text-decoration: underline; }
.mcs-account.mcs-map-access > footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 18px; border-top: 1px solid #d7dbd2; background: #f1f2ed; font-size: 12px; }
.mcs-map-access > footer span::before { content: 'ⓘ'; color: #52758c; font-size: 17px; margin-right: 7px; vertical-align: -1px; }
.mcs-map-access > footer button { flex: none; background: #fafbf8; color: #42483d; border: 1px solid #a1a699; border-bottom-width: 2px; border-radius: 4px; padding: 7px 10px; font: bold 12px Arial, sans-serif; cursor: pointer; }
.mcs-map-access :is(a, button, select):focus-visible { outline: 3px solid #5278a6; outline-offset: 2px; }
@media (max-width: 520px) {
    .mcs-account.mcs-map-access > header { padding: 12px; }
    .mcs-account.mcs-map-access h2 { font-size: 20px; }
    .mcs-map-access-body { padding: 12px; }
    .mcs-map-access-row { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 8px; padding: 9px 8px; }
    .mcs-map-access-thumbnail { width: 38px; height: 44px; }
    .mcs-map-access-text strong { font-size: 14px; }
    .mcs-map-access .mcs-map-access-action { min-width: 87px; padding: 8px; font-size: 12px; }
    .mcs-account.mcs-map-access > footer { padding: 9px 12px; }
}
@media (max-width: 360px) {
    .mcs-map-access-row { grid-template-columns: 34px minmax(0, 1fr); }
    .mcs-map-access-thumbnail { width: 34px; }
    .mcs-map-access-row > .mcs-map-access-action { grid-column: 2; justify-self: start; }
    .mcs-account.mcs-map-access > footer { align-items: flex-start; flex-direction: column; }
}
