/* GOLD EDITING NOTE: Full-screen Global Network atlas. All selectors are isolated from standard content and member-directory pages. */
body:has(.af-network-atlas-page) {
    overflow: hidden;
    background: #061b2d;
}

body:has(.af-network-atlas-page) .af-mega-footer {
    display: none;
}

body.af-network-modal-open {
    overflow: hidden;
}

.af-network-atlas-page {
    --af-atlas-ocean-deep: #082b45;
    --af-atlas-ocean: #0d4b6c;
    --af-atlas-land: #cfdee4;
    --af-atlas-line: #66889c;
    --af-atlas-active: #0b6ecc;
    --af-atlas-active-hover: #ffbd59;
    color: #fff;
    background: var(--af-atlas-ocean-deep);
}

.af-network-atlas {
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 630px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(134, 211, 237, .24), transparent 34%),
        linear-gradient(145deg, #0a3d5b 0%, #0b5574 49%, #082c47 100%);
}

.af-network-atlas::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: var(--af-header-height) 0 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(194, 229, 241, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(194, 229, 241, .055) 1px, transparent 1px),
        radial-gradient(circle at 79% 23%, rgba(255, 189, 89, .15) 0 1px, transparent 1.6px),
        radial-gradient(circle at 21% 68%, rgba(172, 225, 244, .16) 0 1px, transparent 1.6px);
    background-size: 72px 72px, 72px 72px, 183px 167px, 227px 211px;
}

.af-network-atlas::after {
    content: "";
    position: absolute;
    z-index: 4;
    inset: var(--af-header-height) 0 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(2, 19, 33, .23), transparent 22%, transparent 78%, rgba(2, 19, 33, .22)),
        linear-gradient(0deg, rgba(2, 17, 30, .28), transparent 18%, transparent 78%, rgba(2, 17, 30, .12));
    box-shadow: inset 0 0 110px rgba(0, 10, 18, .25);
}

.af-network-atlas-viewport {
    position: absolute;
    z-index: 2;
    inset: var(--af-header-height) 0 0;
    overflow: hidden;
    cursor: grab;
    outline: none;
    touch-action: none;
}

.af-network-atlas-viewport.is-dragging {
    cursor: grabbing;
}

.af-network-atlas-viewport:focus-visible::after {
    content: "";
    position: absolute;
    z-index: 10;
    inset: 10px;
    border: 2px solid rgba(255, 189, 89, .82);
    box-shadow: 0 0 0 3px rgba(2, 20, 36, .5);
    pointer-events: none;
}

.af-network-atlas-viewport #map-container,
.af-network-atlas-viewport svg {
    width: 100%;
    height: 100%;
    display: block;
}

.af-network-atlas-viewport #map-container {
    position: relative;
    filter: drop-shadow(0 16px 14px rgba(0, 14, 25, .19));
}

.af-network-atlas-viewport svg {
    opacity: 0;
    transition: opacity .45s ease;
}

.is-map-ready .af-network-atlas-viewport svg {
    opacity: 1;
}

.af-network-atlas-viewport svg path {
    outline: none;
    fill: var(--af-atlas-land) !important;
    stroke: var(--af-atlas-line);
    stroke-width: .72;
    vector-effect: non-scaling-stroke;
    transition: fill .18s ease, stroke .18s ease, filter .18s ease, opacity .18s ease;
}

.af-network-atlas-viewport svg path.is-reference-country {
    opacity: .93;
}

.af-network-atlas-viewport svg path.is-reference-country:hover {
    fill: #dbe8ec !important;
    stroke: #496d84;
}

.af-network-atlas-viewport svg path.is-member-country {
    fill: var(--af-atlas-active) !important;
    stroke: #d8f1ff;
    stroke-width: 1.05;
    opacity: 1;
    cursor: pointer;
    filter: drop-shadow(0 2px 2px rgba(0, 35, 67, .33));
}

.af-network-atlas-viewport svg path.is-member-country:hover,
.af-network-atlas-viewport svg path.is-member-country:focus-visible {
    fill: #37a4e2 !important;
    stroke: #fff;
    stroke-width: 1.35;
    filter: drop-shadow(0 0 5px rgba(104, 203, 246, .72));
}

.af-network-atlas-viewport svg path.is-member-country.is-selected {
    fill: var(--af-atlas-active-hover) !important;
    stroke: #fff4d4;
    stroke-width: 1.4;
    filter: drop-shadow(0 0 7px rgba(255, 189, 89, .8));
}

.af-network-atlas-viewport svg > circle {
    display: none;
}

.af-network-atlas-depth {
    width: 72vw;
    height: 16px;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 3.5%;
    border-radius: 50%;
    background: rgba(0, 13, 23, .22);
    filter: blur(18px);
    transform: translateX(-50%);
    pointer-events: none;
}

.af-network-atlas-intro,
.af-network-atlas-summary,
.af-network-atlas-filters,
.af-network-atlas-controls,
.af-network-atlas-utility {
    position: absolute;
    z-index: 6;
    color: #fff;
    background: rgba(3, 26, 45, .86);
    border: 1px solid rgba(181, 217, 233, .24);
    box-shadow: 0 18px 46px rgba(0, 17, 30, .23);
    backdrop-filter: blur(16px) saturate(.9);
}

.af-network-atlas-intro {
    top: calc(var(--af-header-height) + 20px);
    left: 20px;
    width: min(360px, calc(100vw - 40px));
    padding: 16px 18px 15px;
    border-top: 2px solid var(--af-gold-400);
}

.af-network-atlas-intro > p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 7px;
    color: var(--af-gold-400);
    font: var(--af-font-label);
    letter-spacing: .13em;
    text-transform: uppercase;
}

.af-network-atlas-intro > p::before {
    width: 7px;
    height: 7px;
    background: currentColor;
    transform: rotate(45deg);
    content: "";
}

.af-network-atlas-intro h1 {
    margin: 0;
    color: #fff;
    font: 680 clamp(21px, 1.85vw, 27px)/1.1 var(--af-display);
    letter-spacing: -.035em;
    text-wrap: balance;
}

.af-network-atlas-intro > div {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid rgba(181, 217, 233, .16);
}

.af-network-atlas-intro > div span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b7cdd9;
}

.af-network-atlas-intro > div i {
    width: 10px;
    height: 10px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .62);
}

.af-network-atlas-intro > div .af-network-legend-active {
    background: var(--af-atlas-active);
    box-shadow: 0 0 0 3px rgba(11, 110, 204, .2);
}

.af-network-atlas-intro > div .af-network-legend-base {
    background: var(--af-atlas-land);
}

.af-network-atlas-intro > div b {
    font: 700 9px/1 var(--af-display);
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* GOLD EDITING NOTE — GN94 separates the organization atlas from individual members. Keep this visible professional-directory route compact and outside legacy legend selectors. */
.af-gn94-professionals{display:grid;grid-template-columns:17px minmax(0,1fr) 12px;align-items:center;gap:10px;margin-top:11px;padding-top:10px;border-top:1px solid #b5d9e92b;color:#aec6d6;font-size:10px;line-height:1.4;text-decoration:none}
.af-gn94-professionals strong{display:block;margin-top:2px;color:#d9eaf5;font-size:11px;font-weight:700}
.af-gn94-professionals>i{color:#80b8de;font-size:14px}
.af-gn94-professionals>i:last-child{font-size:11px}
.af-gn94-professionals:hover,.af-gn94-professionals:hover strong{color:#ffc05e}
.af-gn94-professionals:focus-visible{outline:2px solid #ffc05e;outline-offset:4px}

.af-network-atlas-summary {
    top: calc(var(--af-header-height) + 20px);
    right: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.af-network-atlas-summary span {
    min-width: 112px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 16px;
}

.af-network-atlas-summary span + span {
    border-left: 1px solid rgba(181, 217, 233, .18);
}

.af-network-atlas-summary b {
    color: var(--af-gold-400);
    font: 700 23px/1 var(--af-display);
}

.af-network-atlas-summary small {
    margin-top: 6px;
    color: #9fb8c7;
    font: 800 8px/1.2 var(--af-display);
    letter-spacing: .09em;
    text-transform: uppercase;
}

.af-network-atlas-filters {
    left: 20px;
    bottom: 20px;
    display: grid;
    grid-template-columns: 190px 150px 42px;
    margin: 0;
}

.af-network-atlas-filters label {
    min-width: 0;
    height: 52px;
    display: grid;
    align-content: center;
    position: relative;
    margin: 0;
    padding: 7px 11px 5px;
}

.af-network-atlas-filters label + label,
.af-network-atlas-filters button {
    border-left: 1px solid rgba(181, 217, 233, .18);
}

.af-network-atlas-filters label > span {
    position: relative;
    z-index: 1;
    margin-bottom: 2px;
    color: #7194aa;
    font: 800 7px/1 var(--af-display);
    letter-spacing: .1em;
    text-transform: uppercase;
    pointer-events: none;
}

.af-network-atlas-filters select {
    width: 100%;
    min-width: 0;
    height: 22px;
    padding: 0 20px 0 0;
    overflow: hidden;
    color: #fff;
    background: transparent;
    border: 0;
    outline: 0;
    font: 700 10px/1.1 var(--af-display);
    text-overflow: ellipsis;
    cursor: pointer;
}

.af-network-atlas-filters select option {
    color: #0a2f4e;
    background: #fff;
}

.af-network-atlas-filters label:focus-within {
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 -2px var(--af-gold-400);
}

.af-network-atlas-filters .af-network-country-filter:has(img:not([hidden])) {
    padding-left: 43px;
}

.af-network-country-filter img {
    width: 23px;
    height: 16px;
    position: absolute;
    top: 18px;
    left: 11px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .3);
    box-shadow: 0 2px 5px rgba(0, 9, 18, .24);
}

.af-network-atlas-filters button {
    color: var(--af-gold-400);
    background: transparent;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    cursor: pointer;
}

.af-network-atlas-filters button:hover {
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.af-network-atlas-controls {
    right: 20px;
    bottom: 74px;
    display: grid;
    grid-template-columns: 58px repeat(3, 44px);
}

.af-network-atlas-controls output,
.af-network-atlas-controls button {
    height: 44px;
    display: grid;
    place-items: center;
    color: #d5e7f1;
    background: transparent;
    border: 0;
}

.af-network-atlas-controls output {
    color: var(--af-gold-400);
    font: 800 9px/1 var(--af-display);
}

.af-network-atlas-controls button {
    border-left: 1px solid rgba(181, 217, 233, .18);
    font-size: 14px;
    cursor: pointer;
}

.af-network-atlas-controls button:hover:not(:disabled) {
    color: #fff;
    background: rgba(255, 255, 255, .075);
}

.af-network-atlas-controls button:disabled {
    color: #59788a;
    cursor: default;
}

.af-network-atlas-utility {
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
}

.af-network-atlas-utility p {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 0 14px;
    color: #93afbf;
    font: 650 9px/1 var(--af-display);
}

.af-network-atlas-utility p i {
    color: #6fb8e2;
    font-size: 11px;
}

.af-network-atlas-utility p i:not(:first-child) {
    margin-left: 8px;
}

.af-network-atlas-utility a {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0 15px;
    color: #fff;
    background: #0b6ecc;
    border-left: 1px solid rgba(255, 255, 255, .15);
    font: 750 10px/1 var(--af-display);
}

.af-network-atlas-utility a:hover {
    color: #082947;
    background: var(--af-gold-400);
}

.af-network-atlas-tooltip {
    position: absolute;
    z-index: 9;
    top: var(--af-map-tip-y);
    left: var(--af-map-tip-x);
    min-width: 160px;
    padding: 10px 12px;
    color: #fff;
    background: rgba(2, 20, 36, .94);
    border-top: 2px solid var(--af-gold-400);
    box-shadow: 0 13px 28px rgba(0, 13, 24, .32);
    pointer-events: none;
}

.af-network-atlas-tooltip strong,
.af-network-atlas-tooltip span {
    display: block;
}

.af-network-atlas-tooltip strong {
    font: 700 13px/1.2 var(--af-display);
}

.af-network-atlas-tooltip span {
    margin-top: 4px;
    color: #9fb9c9;
    font: 600 10px/1.3 var(--af-body);
}

.af-network-atlas-noscript {
    position: absolute;
    z-index: 12;
    right: 20px;
    bottom: 130px;
    max-width: 360px;
    padding: 13px;
    color: #fff;
    background: #7c2d22;
    font-size: 12px;
}

/* GOLD EDITING NOTE: Country member modal and profile cards opened from highlighted map territories. */
.af-network-modal[hidden] {
    display: none;
}

.af-network-modal {
    position: fixed;
    z-index: 2200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.af-network-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 10, 19, .62);
    border: 0;
    opacity: 0;
    backdrop-filter: blur(5px);
    transition: opacity .22s ease;
}

.af-network-modal-dialog {
    width: min(900px, 100%);
    max-height: min(760px, calc(100dvh - 48px));
    display: flex;
    flex-direction: column;
    position: relative;
    color: var(--af-ink);
    background: #f5f8fa;
    border: 1px solid rgba(191, 214, 227, .76);
    border-top: 2px solid var(--af-gold-400);
    box-shadow: 0 34px 90px rgba(0, 9, 18, .42);
    opacity: 0;
    outline: none;
    transform: translateY(18px) scale(.985);
    transition: opacity .22s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}

.af-network-modal.is-open .af-network-modal-backdrop {
    opacity: 1;
}

.af-network-modal.is-open .af-network-modal-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.af-network-modal-dialog > header {
    min-height: 102px;
    display: grid;
    grid-template-columns: 44px minmax(160px, .8fr) minmax(280px, 1.3fr) 36px;
    gap: 16px;
    align-items: center;
    padding: 16px 24px;
    color: #fff;
    background:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(125deg, #03182c, #08466f);
    background-size: 36px 36px, 36px 36px, auto;
}

.af-network-modal-code {
    width: 44px;
    display: flex;
    align-items: center;
}

.af-network-modal-code img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgba(255, 255, 255, .42);
    box-shadow: 0 5px 14px rgba(0, 10, 20, .22);
}

.af-network-modal-dialog header p {
    margin: 0 0 5px;
    color: var(--af-gold-400);
    font: var(--af-font-label);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.af-network-modal-dialog h2 {
    margin: 0;
    color: #fff;
    font: 700 clamp(22px, 2.1vw, 28px)/1.06 var(--af-display);
    letter-spacing: -.025em;
}

.af-network-modal-dialog header div > span {
    display: block;
    margin-top: 5px;
    color: #abc4d3;
    font: 650 11px/1.3 var(--af-body);
}

.af-network-modal-close {
    width: 36px;
    height: 36px;
    position: relative;
    align-self: center;
    color: #dcecf6;
    background: #123e5b;
    border: 1px solid #54768d;
    border-radius: 5px;
    transition: background-color .16s ease, border-color .16s ease;
    cursor: pointer;
}

.af-network-modal-close:hover {
    background: #205675;
    border-color: #92b5cd;
}

.af-network-modal-close span {
    width: 14px;
    height: 1.5px;
    position: absolute;
    top: calc(50% - .75px);
    left: calc(50% - 7px);
    background: currentColor;
    transform: rotate(45deg);
}

.af-network-modal-close span + span {
    transform: rotate(-45deg);
}

.af-network-modal-list {
    min-height: 0;
    display: grid;
    gap: 1px;
    overflow: auto;
    padding: 1px 0;
    background: #d5e1e8;
}

/* GOLD EDITING NOTE: Country-panel search and expandable filters. Keep controls compact; mobile uses a full-width second header row. */
.af-gn112-header { flex-shrink: 0; }
.af-gn112-header:has(.af-gn112-toggle[aria-expanded="true"]) > .af-network-modal-close { align-self: start; }
.af-gn112-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; min-width: 0; margin: 0; }
.af-gn112-search { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 0 12px; margin: 0; background: #fff; border: 1px solid #bed2e0; border-radius: 5px; color: #0b6ecc; }
.af-gn112-search input { width: 100%; min-width: 0; height: 34px; padding: 0; border: 0; outline: none; background: transparent; color: #10334d; font: 500 12px/1.3 var(--af-body); }
.af-gn112-search input::placeholder { color: #587183; opacity: 1; }
.af-gn112-search:focus-within { outline: 2px solid #76baff; outline-offset: 2px; }
.af-gn112-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; height: 36px; color: #dcecf6; background: #123e5b; border: 1px solid #54768d; border-radius: 5px; font: 650 11px/1 var(--af-body); transition: background-color .16s ease, border-color .16s ease; }
.af-gn112-toggle:hover, .af-gn112-toggle[aria-expanded="true"] { background: #205675; border-color: #92b5cd; }
.af-gn112-toggle[aria-expanded="true"] > .bi-chevron-down { transform: rotate(180deg); }
.af-gn112-toggle b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: #0b6ecc; font-size: 10px; }
.af-gn112-toggle b[hidden], .af-gn112-filters[hidden] { display: none; }
.af-gn112-filters { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr auto; gap: 9px; padding-top: 5px; }
.af-gn112-filters label { min-width: 0; display: grid; gap: 5px; margin: 0; color: #c6ddec; font: 600 10px/1.3 var(--af-body); }
.af-gn112-filters select { width: 100%; height: 32px; padding: 0 22px 0 9px; background: #fff; color: #12384f; border: 1px solid #bed2e0; border-radius: 4px; font: 600 11px/1.3 var(--af-body); }
.af-gn112-reset { display: flex; align-items: center; justify-content: center; gap: 5px; align-self: end; height: 32px; padding: 0 8px; background: transparent; border: 1px solid #638299; border-radius: 4px; color: #d6e7f2; font: 600 11px/1 var(--af-body); }
.af-gn112-tools button:focus-visible, .af-gn112-filters select:focus-visible, .af-gn112-empty button:focus-visible { outline: 2px solid #efc366; outline-offset: 3px; }
.af-gn112-results { flex-shrink: 0; margin: 0; padding: 10px 24px; background: #e8f1f7; border-bottom: 1px solid #cedee9; color: #416079; font: 650 11px/1.4 var(--af-body); }
.af-gn112-empty { padding: 35px 20px; text-align: center; background: #fff; color: #476479; }
.af-gn112-empty > i { font-size: 27px; color: #0b6ecc; }
.af-gn112-empty h3 { margin: 12px 0 8px; font-size: 19px; color: #0b304a; }
.af-gn112-empty p { font-size: 13px; }
.af-gn112-empty button { padding: 10px 16px; background: #0b6ecc; color: #fff; border: 0; border-radius: 4px; font-size: 12px; }
@media (max-width: 767.98px) {
    .af-network-modal-dialog > .af-gn112-header { grid-template-columns: 38px minmax(0, 1fr) 38px; }
    .af-gn112-header > .af-network-modal-close { grid-column: 3; grid-row: 1; }
    .af-gn112-tools { grid-column: 1 / -1; grid-row: 2; }
    .af-gn112-search input { font-size: 16px; }
    .af-gn112-search, .af-gn112-toggle { min-height: 44px; }
    .af-gn112-filters select { height: 40px; }
    .af-gn112-search input::placeholder { font-size: 12px; }
    .af-gn112-filters { grid-template-columns: 1fr 1fr; }
    .af-gn112-reset { grid-column: 1 / -1; height: 32px; }
    .af-gn112-results { padding: 8px 14px; }
}

.af-network-profile {
    min-height: 128px;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 18px 22px;
    background: #fff;
}

.af-network-profile-media {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #07375d, #0b6ecc);
    border: 1px solid #c5d5df;
    box-shadow: 0 8px 20px rgba(4, 31, 52, .1);
    font: 800 28px/1 var(--af-display);
}

.af-network-profile-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.af-network-profile.is-institutional .af-network-profile-media {
    padding: 9px;
    background: #f5f8fa;
}

.af-network-profile.is-institutional .af-network-profile-media img {
    object-fit: contain;
}

.af-network-profile-copy {
    min-width: 0;
}

.af-network-profile-copy p {
    margin: 0 0 5px;
    color: #0b6ecc;
    font: var(--af-font-label);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.af-network-profile-copy h3 {
    margin: 0;
    color: #092e4e;
    font: 700 21px/1.15 var(--af-display);
    letter-spacing: -.025em;
}

.af-network-profile-copy strong {
    display: block;
    margin-top: 6px;
    color: #526e82;
    font: 650 12px/1.35 var(--af-body);
}

.af-network-profile-copy > span {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #7a8f9e;
    font: 500 11px/1.3 var(--af-body);
}

.af-network-profile-copy > span i {
    color: #d58b14;
}

.af-network-profile > .af-button {
    white-space: nowrap;
}

.af-network-modal-dialog > footer {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 13px 22px;
    background: #edf3f7;
    border-top: 1px solid #cedce5;
}

.af-network-modal-dialog > footer p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #657e90;
    font: 600 10px/1.4 var(--af-body);
}

.af-network-modal-dialog > footer p i {
    color: #d58b14;
    font-size: 14px;
}

.af-network-modal-dialog > footer a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #075fae;
    font: 800 10px/1 var(--af-display);
    white-space: nowrap;
}

/* GOLD EDITING NOTE: Compact atlas and bottom-sheet modal for tablet and mobile viewports. */
/* GOLD EDITING NOTE — Tablet map controls: keep the route filter/reset clear of the utility link. */
@media (min-width: 768px) and (max-width: 991.98px) {
    .af-network-atlas-utility p { display: none; }
}

@media (max-width: 767.98px) {
    .af-network-atlas {
        min-height: 590px;
    }

    .af-network-atlas::before,
    .af-network-atlas::after {
        inset: var(--af-header-height, 82px) 0 0;
    }

    .af-network-atlas-viewport {
        inset: var(--af-header-height, 82px) 0 0;
    }

    .af-network-atlas-intro {
        top: calc(var(--af-header-height, 82px) + 12px);
        left: 12px;
        width: calc(100vw - 24px);
        padding: 10px 12px 9px;
    }

    .af-network-atlas-intro > p {
        margin-bottom: 4px;
        font-size: .54rem;
    }

    .af-network-atlas-intro h1 {
        max-width: none;
        font-size: 15px;
        line-height: 1.1;
    }

    .af-network-atlas-intro > div {
        gap: 16px;
        margin-top: 7px;
        padding-top: 7px;
    }

    .af-network-atlas-intro > div b {
        font-size: 7px;
    }

    .af-network-atlas-summary {
        top: auto;
        right: auto;
        bottom: 12px;
        left: 12px;
    }

    .af-network-atlas-filters {
        width: calc(100vw - 24px);
        top: calc(var(--af-header-height, 82px) + 166px);
        bottom: auto;
        left: 12px;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) 38px;
    }

    .af-network-atlas-filters label {
        height: 45px;
        padding: 6px 9px 4px;
    }

    .af-network-atlas-filters select {
        font-size: 9px;
    }

    .af-network-atlas-filters .af-network-country-filter:has(img:not([hidden])) {
        padding-left: 38px;
    }

    .af-network-country-filter img {
        width: 21px;
        height: 14px;
        top: 16px;
        left: 9px;
    }

    .af-network-atlas-summary span {
        min-width: 76px;
        min-height: 47px;
        padding: 8px 10px;
    }

    .af-network-atlas-summary b {
        font-size: 17px;
    }

    .af-network-atlas-summary small {
        margin-top: 4px;
        font-size: 6.5px;
    }

    .af-network-atlas-controls {
        right: 12px;
        bottom: 66px;
        grid-template-columns: 49px repeat(3, 41px);
    }

    .af-network-atlas-controls output,
    .af-network-atlas-controls button {
        height: 41px;
    }

    .af-network-atlas-utility {
        right: 12px;
        bottom: 12px;
    }

    .af-network-atlas-utility p {
        display: none;
    }

    .af-network-atlas-utility a {
        min-height: 47px;
        padding: 0 13px;
        font-size: 9px;
    }

    .af-network-atlas-tooltip {
        display: none;
    }

    .af-network-modal {
        align-items: end;
        padding: 0;
    }

    .af-network-modal-dialog {
        width: 100%;
        max-height: min(78dvh, 680px);
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        transform: translateY(100%);
    }

    .af-network-modal.is-open .af-network-modal-dialog {
        transform: translateY(0);
    }

    .af-network-modal-dialog > header {
        min-height: 84px;
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 11px;
        padding: 13px 12px;
    }

    .af-network-modal-code {
        width: 38px;
    }

    .af-network-modal-dialog h2 {
        font-size: 20px;
    }

    .af-network-modal-close {
        width: 44px;
        height: 44px;
        border-width: 4px;
        border-color: transparent;
        background-clip: padding-box;
        margin: -3px;
    }
    .af-network-modal-close:hover { border-color: transparent; }

    .af-network-profile {
        min-height: 96px;
        grid-template-columns: 62px minmax(0, 1fr) 28px;
        gap: 12px;
        position: relative;
        padding: 12px 14px;
        transition: background-color .16s ease;
    }

    .af-network-profile::after {
        width: 28px;
        height: 28px;
        display: grid;
        grid-column: 3;
        grid-row: 1;
        place-items: center;
        align-self: center;
        color: #0b6ecc;
        border: 1px solid #b9cfdd;
        border-radius: 50%;
        font: 700 13px/1 var(--af-display);
        content: "\2197";
        transition: color .16s ease, background-color .16s ease, border-color .16s ease;
    }

    .af-network-profile:active {
        background: #eef5f9;
    }

    .af-network-profile:active::after,
    .af-network-profile:focus-within::after {
        color: #fff;
        background: #0b6ecc;
        border-color: #0b6ecc;
    }

    .af-network-profile-media {
        width: 62px;
        height: 62px;
    }

    .af-network-profile-copy h3 {
        font-size: 17px;
    }

    .af-network-profile-copy strong {
        font-size: 10px;
    }

    .af-network-profile-copy > span {
        margin-top: 7px;
        font-size: 9px;
    }

    .af-network-profile > .af-button {
        position: absolute;
        z-index: 2;
        inset: 0;
        min-height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        opacity: 0;
    }

    .af-network-modal-dialog > footer {
        min-height: 54px;
        padding: 10px 12px;
    }

    .af-network-modal-dialog > footer p {
        display: none;
    }
}

@media (max-width: 389.98px) {
    .af-network-atlas-intro h1 {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .af-network-atlas-viewport svg,
    .af-network-modal-backdrop,
    .af-network-modal-dialog,
    .af-network-atlas-viewport svg path {
        transition: none;
    }
}
