#exchange .atlas-brand-stack{display:grid;justify-items:start;align-content:center;gap:3px;flex:1;min-width:0}
#exchange .atlas-vendors{display:inline-flex;align-items:center;min-height:36px;padding:0 10px;color:#f0f9f3;border:1px solid #a2bca456;border-radius:10px;background:#07130edc;font:650 13px system-ui;text-decoration:none;pointer-events:auto}
#exchange .atlas-city-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0}
#exchange .atlas-city-meta{min-width:0}
#exchange .atlas-city-meta #atlasCity{margin:8px 0 2px}
#exchange .atlas-city-meta #cityStoreCount{max-width:100%;display:inline-block}
#exchange:is([data-region=toronto],[data-region=vancouver],[data-region=calgary],[data-region=mississauga],[data-region=brampton],[data-region=hamilton],[data-region=ottawa],[data-region=london]) .atlas-city-row #cameraTools{position:static!important;inset:auto!important;display:flex;flex:none;align-self:center;align-items:center;margin:0;transform:none;pointer-events:auto;border-radius:12px;background:#0a1713e8}
#exchange .atlas-city-row #cameraTools button{min-width:34px;min-height:40px;font:650 14px system-ui;color:#f4f4e7}
#exchange[data-region=choose] .atlas-city-row{display:none}
#exchange #networkPanel:not(.directory-active) #shopDrawer:not([open]),#exchange #networkPanel:not(.directory-active)>.sampleNote{display:none!important}
#exchange #shopDrawer summary i,#exchange #shopDrawer summary::after{display:none!important}
#exchange #networkPanel #askNetwork{position:relative;isolation:isolate;padding:3px;border:1px solid #e8ddff;background:linear-gradient(115deg,#8ceaff,#c1a2ff 45%,#ffd6f4);box-shadow:0 0 0 2px #b7a1ff50,0 0 10px #ae76ffb0,0 0 22px #67d8ff55;border-radius:15px;margin-block:7px 12px}
#exchange #askNetwork>div{background:#10181e;border-radius:12px;overflow:hidden;align-items:stretch}
#exchange #askNetwork #basketRequest{background:#111a20;color:white;outline:0;border:0;box-shadow:none}
#exchange #askNetwork:focus-within{outline:2px solid white;outline-offset:3px}
#exchange #askNetwork button{background:linear-gradient(135deg,#bcecff,#d9c3ff 55%,#fbd9f7);color:#221431;border:0;text-shadow:none;font-weight:800}
#exchange #shopModes button[data-mode]{--metal:#85cfa7;--shade:#4d876d;--pale:#ceffe3;--ink:#102b20;
 background:radial-gradient(ellipse at 80% -25%,#ffffffed 1%,transparent 51%),linear-gradient(164deg,var(--pale) 0%,var(--metal) 21%,#ffffff 36%,var(--metal) 44%,var(--shade) 49%,var(--metal) 57%,var(--pale) 78%,#fff 86%,var(--metal) 100%)!important;
 border:1px solid #effffbe6!important;box-shadow:inset 0 2px 1px #fff,inset 0 -3px 3px #1b25296e,0 4px 8px #0005!important;color:var(--ink)!important}
#exchange #shopModes button[data-mode=nearby]{--metal:#b4aad9;--shade:#776b9c;--pale:#eeeaff;--ink:#241939}
#exchange #shopModes button[data-mode=mail]{--metal:#ddc488;--shade:#a58b52;--pale:#fff3cb;--ink:#322513}
#exchange #shopModes button[data-mode]>span{font-weight:800;text-shadow:0 1px 1px #ffffffb3}
#exchange #shopModes button[data-mode][aria-pressed=true]{outline:2px solid var(--pale);outline-offset:2px}
@media(max-width:700px){#exchange .atlas-city-row{margin-top:3px}#exchange .atlas-city-meta #atlasCity{font-size:clamp(22px,7vw,32px)}}
@media(forced-colors:active){#exchange #shopModes button[data-mode],#exchange #askNetwork button{background:ButtonFace!important;color:ButtonText!important;border:1px solid ButtonText!important}}
/* Keep the header link legible when keyboard focus enters the map. */
#exchange .atlas-vendors:focus-visible{outline:3px solid #bff7ef;outline-offset:3px}
#exchange .atlas-head.atlas-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"city vendors" "brand camera";align-items:center;gap:6px 8px;width:100%;box-sizing:border-box}
#exchange .atlas-toolbar>label{grid-area:city;justify-self:start;margin:0;width:auto;max-width:none}
#exchange .atlas-toolbar #atlasArea{box-sizing:border-box;width:8.1em;max-width:100%;min-height:40px;padding:6px 25px 6px 10px;font:600 14px system-ui}
@supports(field-sizing:content){#exchange .atlas-toolbar #atlasArea{field-sizing:content;width:auto}}
#exchange .atlas-toolbar>.atlas-vendors{grid-area:vendors;justify-self:end;min-height:40px;box-sizing:border-box}
#exchange .atlas-toolbar>.atlas-kicker{grid-area:brand;justify-self:start}
#exchange:is([data-region=toronto],[data-region=vancouver],[data-region=calgary],[data-region=mississauga],[data-region=brampton],[data-region=hamilton],[data-region=ottawa],[data-region=london]) .atlas-toolbar #cameraTools{grid-area:camera;position:static!important;inset:auto!important;transform:none;margin:0;display:flex;justify-self:end;align-items:center;pointer-events:auto;border-radius:12px;padding:0}
#exchange .atlas-toolbar #cameraTools button{min-width:34px;min-height:38px;font:650 14px system-ui}
#exchange #shopModes button[data-mode]{background:linear-gradient(180deg,color-mix(in srgb,var(--pale) 90%,white),var(--metal))!important;transition:none;transform:none;box-shadow:inset 0 1px 1px white,inset 0 -1px 1px #27342c44,0 3px 8px #0003!important}
#exchange #shopModes button[data-mode]::before{display:none!important;animation:none!important}
#exchange #shopModes button[data-mode]:is(:hover,:active){transform:none}
@media(forced-colors:active){#exchange #shopModes button[data-mode]{background:ButtonFace!important}}
#exchange .atlas-head.atlas-toolbar{grid-template-areas:"brand links" "brand camera"}
#exchange .atlas-links{grid-area:links;justify-self:end;position:relative;z-index:4;color:#fff;pointer-events:auto}
#exchange .atlas-links summary{display:flex;align-items:center;min-height:38px;padding:0 12px;gap:6px;list-style:none;cursor:pointer;background:#091710d9;border:1px solid #bedec04d;border-radius:12px;font:650 14px system-ui}
.atlas-links summary::-webkit-details-marker{display:none}.atlas-links summary:before{content:'☰';font-size:14px}
#exchange .atlas-links>div{position:absolute;right:0;top:100%;display:grid;width:max-content;background:#0b1d16;border:1px solid #638272;border-radius:12px;padding:4px;box-shadow:0 5px 20px #0007}
#exchange .atlas-links a{color:#edf6ef;padding:10px 12px;margin:0;display:block;font:600 14px system-ui;min-height:0;border:0;background:transparent;text-decoration:none}
#exchange .atlas-city-meta .city-switch{position:relative;display:flex;align-items:center;gap:5px;width:max-content;pointer-events:auto}
#exchange .city-switch select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px;pointer-events:auto}
#exchange .city-switch:focus-within{outline:2px solid #bcf3cc;border-radius:7px}
#exchange .city-switch>span{color:#d3f1db;font:700 18px system-ui}
#exchange #networkPanel>h2{white-space:normal;max-width:100%;font-size:48px;line-height:1.04;letter-spacing:0;margin:0 0 14px;padding-block:3px}
#exchange #networkPanel>h2 br{display:block}
#exchange #networkPanel>h2 br::after{content:none}
@media(max-width:700px){#exchange #networkPanel>h2{font-size:clamp(28px,8.5vw,48px);margin-bottom:12px}}
#exchange #askNetwork button,#portalAsk button[type=submit]{position:relative;z-index:1;color:#fff;background:linear-gradient(150deg,#9136e8,#6725c5);border:1px solid #d8a2ff;box-shadow:inset 0 0 8px #e3bcff55,0 0 8px #ba65ff,0 0 17px #a22eff99;text-shadow:0 1px 2px #431070}
#portalAsk:has(button[type=submit])>div:first-of-type,#exchange #askNetwork>div{overflow:visible}

/* A single clipped silhouette makes the submit action the end of the field. */
#portalAsk:has(button[type=submit]) > .portal-input:first-of-type,
#exchange #networkPanel #askNetwork > div {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #89968f;
  border-radius: 16px;
  background: #101816;
  box-shadow: none;
}
#exchange #networkPanel #askNetwork {
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  outline: none;
}
#exchange #networkPanel #askNetwork > div {
  border-color: #b899df;
  background: #12151c;
  box-shadow: 0 0 6px #aa77ec40;
}
#portalAsk #portalQuestion, #exchange #askNetwork #basketRequest {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding-inline: 12px;
  background: transparent;
}
#portalAsk .portal-input button[type=submit], #exchange #networkPanel #askNetwork button {
  align-self: stretch;
  flex: none;
  min-height: 44px;
  margin: 0;
  padding: 0 clamp(10px, 3vw, 18px);
  border: 0;
  border-radius: 0;
  background: linear-gradient(#fafcfb, #d5dedd 43%, #bdc9c8 51%, #dce4e0 56%, #c8d1cb);
  color: #14201c;
  font: 750 14px/1.1 system-ui;
  text-shadow: none;
  box-shadow: inset 1px 0 #ffffff80;
}
#portalAsk .portal-input :focus-visible, #exchange #networkPanel #askNetwork > div :focus-visible {
  outline: 2px solid #9765cc;
  outline-offset: -3px;
}
/* Three machined segments share one rim and a continuous satin face. */
#exchange #shopModes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 1px;
  border-radius: 17px;
  background: linear-gradient(155deg, #fbfffd, #737f80 26%, #363c40 52%, #e7ebee 81%, #777d80);
}
#exchange #shopModes button[data-mode] {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  min-height: 58px;
  height: auto;
  margin: 0;
  padding: 6px 2px;
  border: 0!important;
  border-radius: 0;
  color: #18201e!important;
  background: linear-gradient(180deg, #eef1ef, #c4c9c9 38%, #abb3b5 65%, #d5dada)!important;
  box-shadow: inset 0 1px #fff9, inset 0 -2px var(--metal)!important;
}
#exchange #shopModes button[data-mode]:first-child {border-radius: 16px 0 0 16px}
#exchange #shopModes button[data-mode]:last-child {border-radius: 0 16px 16px 0}
#exchange #shopModes button[data-mode] + button {border-left: 1px solid #80898a!important}
#exchange #shopModes button[data-mode] svg {width: 21px; height: 21px; color: var(--ink)}
#exchange #shopModes button[data-mode] > span {font: 720 clamp(12px, 3.4vw, 15px)/1.2 system-ui; text-shadow: none}
#exchange #shopModes button[data-mode]:is(:focus-visible,[aria-pressed=true]) {outline: 2px solid var(--ink); outline-offset: -4px}
@media(forced-colors:active){#exchange #shopModes button[data-mode],#portalAsk .portal-input button[type=submit],#exchange #networkPanel #askNetwork button{background:ButtonFace!important;color:ButtonText!important;border:1px solid ButtonText!important}}

#exchange .atlas-head.atlas-toolbar {
  display: flex;
  align-items: flex-start;
  min-height: 0;
  padding-block: 0;
}
#exchange .atlas-toolbar .atlas-links,
#exchange .atlas-toolbar #cameraTools {display: none !important}
#exchange #modeTools:has(#postalForm:not([hidden])) {
  padding: 0;
  border: 0;
  background: transparent;
}
#exchange #postalForm input {width: 100%; box-sizing: border-box}

/* Optical kerning for the display font and a fixed, right-shifted lamp. */
#exchange #networkPanel>h2 .heading-ou{display:inline;margin-left:-.14em;color:inherit}
#exchange #mapViewport::after{transform:translateX(5vw)}
