/* Keep the signed-out tracking actions visible and together. */
html:root .wf-shell #wf-orders:has(> p > a[href*="mode=register"]) {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}
html:root .wf-shell #wf-orders:has(> p > a[href*="mode=register"]) > p {
  margin:0;
}
html:root .wf-shell #wf-orders > p > a[href*="mode=register"],
html:root .wf-shell #wf-orders > .wf-actions > a {
  box-sizing:border-box;
  display:inline-flex;
  min-height:48px;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border:1px solid #aa8745;
  border-radius:0;
  background:#70531e;
  color:#fff!important;
  font-size:14px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:.02em;
  text-align:center;
  text-decoration:none;
}
html:root .wf-shell #wf-orders > p > a[href*="mode=register"]:hover,
html:root .wf-shell #wf-orders > .wf-actions > a:hover {
  background:#563f15;
  color:#fff!important;
}
html:root .wf-shell #wf-orders > p > a[href*="mode=register"]:focus-visible,
html:root .wf-shell #wf-orders > .wf-actions > a:focus-visible {
  outline:3px solid #70531e;
  outline-offset:3px;
}
html:root .wf-shell #wf-orders > .wf-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin:0;
  padding:0;
  border:0;
}
html:root .wf-shell #wf-orders:has(> p > a[href*="mode=register"]) > p:last-child {
  flex-basis:100%;
  margin-top:4px;
}
@media(max-width:800px) {
  html:root .wf-shell #wf-orders:has(> p > a[href*="mode=register"]) {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  html:root .wf-shell #wf-orders:has(> p > a[href*="mode=register"]) > .wf-actions {
    display:contents;
  }
  html:root .wf-shell #wf-orders:has(> p > a[href*="mode=register"]) > p:last-child {
    grid-column:1/-1;
  }
  html:root .wf-shell #wf-orders > p > a[href*="mode=register"],
  html:root .wf-shell #wf-orders > .wf-actions > a,
  html:root .wf-shell #wf-orders > p > a.wf-primary {
    width:100%;
  }
}
@media(max-width:620px) {
  html:root .wf-shell #wf-orders:has(> p > a[href*="mode=register"]) {
    grid-template-columns:1fr;
  }
}
