/* 07715: new entries only. Reuse the approved 07613 atlas/07633 card style. */
#madangBody .cdx-lab-section { margin: 24px 0; }
#madangBody .cdx-lab-section[hidden] { display: none; }
#madangBody .cdx-lab-heading {
  color: #43392a; font: inherit; font-weight: 800; font-size: 14.5px;
  line-height: 1.6; margin: 0 0 8px; word-break: keep-all;
}
#madangBody .cdx-lab-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
#madangBody .cdx-lab-tile, #madangBody .cdx-lab-parent {
  background: #fff; border: 1px solid #deceb4; border-radius: 14px;
  color: #403325; text-decoration: none; font-family: inherit; cursor: pointer;
  box-sizing: border-box; min-width: 0; position: relative;
}
#madangBody .cdx-lab-tile { text-align: center; }
#madangBody .cdx-lab-parent { appearance: none; width: 100%; }
#madangBody .cdx-lab-tile:focus-visible, #madangBody .cdx-lab-parent:focus-visible {
  outline: 3px solid #a77521; outline-offset: 3px;
}
#madangBody .cdx-lab-tile:hover, #madangBody .cdx-lab-parent:hover { border-color: #a77521 !important; }
#madangBody .cdx-lab-parent[aria-haspopup="dialog"]::after {
  content: '›'; position: absolute; right: 7px; top: 5px;
  color: #806335; font-size: 16px; line-height: 1;
}
#cdxLabChooser {
  width: min(420px,calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  max-height: calc(100vh - 32px); box-sizing: border-box;
  padding: 24px; border: 1px solid #deceb4; border-radius: 18px;
  background: #fffdf8; color: #403325; font-family: inherit;
  overflow-y: auto; overscroll-behavior: contain;
}
@supports (height: 100dvh) { #cdxLabChooser { max-height: calc(100dvh - 32px); } }
#cdxLabChooser::backdrop { background: rgba(40,31,22,.48); }
#cdxLabChooser .cdx-lab-dialog-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
#cdxLabChooser h2 { flex: 1; min-width: 0; font-size: 22px; line-height: 1.5; margin: 0; word-break: keep-all; }
#cdxLabChooser .cdx-lab-close {
  display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px;
  padding: 0; background: transparent; border: 1px solid #deceb4; border-radius: 50%;
  color: #403325; font-size: 26px; line-height: 1; cursor: pointer;
}
#cdxLabChooser .cdx-lab-choice {
  display: block; width: 100%; box-sizing: border-box; min-height: 72px;
  text-align: left; padding: 14px 16px; margin: 10px 0;
  background: #fff; border: 1px solid #deceb4; border-radius: 12px;
  color: #403325; text-decoration: none; font: inherit; cursor: pointer;
}
#cdxLabChooser .cdx-lab-choice strong { display: block; font-size: 16px; line-height: 1.55; }
#cdxLabChooser .cdx-lab-choice span { display: block; color: #685b4c; font-size: 14px; line-height: 1.7; margin-top: 4px; }
#cdxLabChooser .cdx-lab-note { font-size: 13px; line-height: 1.7; color: #685b4c; margin: 16px 0 0; }
#cdxLabChooser :is(p,strong,span) { word-break: keep-all; overflow-wrap: anywhere; }
#cdxLabChooser :is(button,a):focus-visible { outline: 3px solid #a77521; outline-offset: 3px; }
#cdxLabChooser .cdx-lab-choice:hover { border-color: #a77521; }
@media(max-width:350px) {
  #madangBody .cdx-lab-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #cdxLabChooser { padding: 18px; }
}
@supports(padding:env(safe-area-inset-bottom)) {
  #cdxLabChooser { padding-bottom: max(24px,env(safe-area-inset-bottom)); }
}
