#postContainer {
  display: flex;
  flex-direction: row;
  height: 30rem;
  position: relative;
  --post-color-mid: rgb(191, 191, 191);
  --post-color-light: rgb(240, 240, 240);
  --post-color-dark: rgb(128, 128, 128);
  --postThickness: 1rem;
  --postGradient: linear-gradient(90deg,
      var(--post-color-mid) 0%,
      var(--post-color-light) 40%,
      var(--post-color-dark) 100%);
}

#postContainer.postColorSilver {
  --post-color-mid: rgb(191, 191, 191);
  --post-color-light: rgb(240, 240, 240);
  --post-color-dark: rgb(128, 128, 128);
}

#postContainer.postColorBlack {
  --post-color-mid: rgb(74, 74, 74);
  --post-color-light: rgb(120, 120, 120);
  --post-color-dark: rgb(20, 20, 20);
}

#postContainer.postColorBrown {
  --post-color-mid: rgb(124, 86, 52);
  --post-color-light: rgb(171, 124, 82);
  --post-color-dark: rgb(86, 55, 28);
}

#postContainer.postColorRed {
  --post-color-mid: rgb(193, 38, 38);
  --post-color-light: rgb(235, 110, 110);
  --post-color-dark: rgb(120, 16, 16);
}

#postContainer.polePositionOverhead .post {
  visibility: visible;
}

#postContainer.polePositionLeft .post:last-child,
#postContainer.polePositionRight .post:first-child {
  visibility: hidden;
}

#postContainer.polePositionRural .post,
#postContainer.polePositionCenter .post {
  visibility: hidden;
}

#postContainer.polePositionLeft #panelContainer,
#postContainer.polePositionRight #panelContainer,
#postContainer.polePositionOverhead #panelContainer {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 47%,
      var(--post-color-mid) 47%,
      var(--post-color-light) 49%,
      var(--post-color-dark) 52%,
      rgba(255, 255, 255, 0) 52%,
      rgba(255, 255, 255, 0) 64%,
      var(--post-color-mid) 64%,
      var(--post-color-light) 66%,
      var(--post-color-dark) 69%,
      rgba(255, 255, 255, 0) 69%);
  height: 15rem;
}

#postContainer.polePositionRural #panelContainer {
  position: relative;
  background-image: linear-gradient(90deg,
      var(--post-color-mid) 0%,
      var(--post-color-light) 40%,
      var(--post-color-dark) 100%),
    linear-gradient(90deg,
      var(--post-color-mid) 0%,
      var(--post-color-light) 40%,
      var(--post-color-dark) 100%);
  background-repeat: no-repeat;
  background-size:
    var(--postThickness, 1rem) 24rem,
    var(--postThickness, 1rem) 24rem;
  background-position:
    left 1rem bottom,
    right 1rem bottom;
  margin-top: 20rem;
}

#postContainer.polePositionCenter #panelContainer {
  position: relative;
  background-image: linear-gradient(90deg,
      var(--post-color-mid) 0%,
      var(--post-color-light) 40%,
      var(--post-color-dark) 100%);
  background-repeat: no-repeat;
  background-size: var(--postThickness, 1rem) 24rem;
  background-position: center bottom;
  margin-top: 7.5rem;
}

.post {
  background: var(--postGradient);
  width: var(--postThickness, 1rem);
  height: 24rem;

  align-self: flex-end;
}

.post:first-child {
  margin-left: auto;
}

.post:last-child {
  margin-right: auto;
}

#panelContainer {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: -moz-max-content;
  width: -webkit-max-content;
  width: intrinsic;
  gap: var(--panelSpacing, 0rem);
}

.panel {
  --signBorderRadius: 0.75rem;
  text-align: center;
  display: block;
  padding: 0rem;
  position: relative;
}

.panel:first-child {
  padding-left: 1rem;
}

.panel:last-child {
  padding-right: 1rem;
}

#postContainer.polePositionRural .panel {
  margin-top: -10rem;
}

#postContainer.polePositionCenter .panel {
  margin-top: -22.5rem;
}

#postContainer.polePositionRural .panel:not(:first-child),
#postContainer.polePositionCenter .panel:not(:first-child) {
  display: none;
}

.panel.orange .sign {
  background-color: var(--orange);
}

/* Panel drag-and-drop on rendered sign */
.panel.panelWiggle {
  animation: textEditorBlockWiggle 0.12s ease-in-out infinite alternate;
  animation-delay: var(--wiggle-delay, 0s);
  cursor: grab;
}

.panel.dragging {
  opacity: 0.5;
  cursor: grabbing;
  animation: none;
}

.panel.dropBefore::before,
.panel.dropAfter::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  width: 0.3rem;
  border-radius: 0.2rem;
  background: var(--selectedColor, rgb(100, 150, 255));
  pointer-events: none;
  z-index: 10;
}

.panel.dropBefore::before {
  left: 0.25rem;
}

.panel.dropAfter::after {
  right: 0.25rem;
}

.panel.green .sign,

.panel.blue .sign,
.panel.brown .sign,
.panel.black .sign,
.panel.red .sign,
.panel.green .guideArrows,
.panel.blue .guideArrows,
.panel.brown .guideArrows,
.panel.black .guideArrows,
.panel.red .guideArrows {
  color: var(--white);
  border-color: var(--white);
}

.panel.white .sign,
.panel.yellow .sign,
.panel.fluorescent.yellow-green .sign,
.panel.fluorescent.pink .sign,
.panel.white .guideArrows,
.panel.yellow .guideArrows,
.panel.fluorescent.yellow-green .guideArrows,
.panel.fluorescent.pink .guideArrows,
.panel.orange .sign,
.panel.orange .guideArrows {
  color: var(--black);
  border-color: var(--black);
}

.panel.green .sign,
.panel.green .signContainer,
.panel.green .exitTabContainer,
.panel.green .guideArrows {
  background-color: var(--green);
}

.panel.blue .sign,
.panel.blue .signContainer,
.panel.blue .exitTabContainer,
.panel.blue .guideArrows {
  background-color: var(--blue);
}

.panel.brown .sign,
.panel.brown .signContainer,
.panel.brown .exitTabContainer,
.panel.brown .guideArrows {
  background-color: var(--brown);
}

.panel.yellow .sign,
.panel.yellow .signContainer,
.panel.yellow .exitTabContainer,
.panel.yellow .guideArrows {
  background-color: var(--yellow);
}

.panel.white .sign,
.panel.white .signContainer,
.panel.white .exitTabContainer,
.panel.white .guideArrows {
  background-color: var(--white);
}

.panel.black .sign,
.panel.black .signContainer,
.panel.black .exitTabContainer,
.panel.black .guideArrows {
  background-color: var(--black);
}

.panel.red .sign,
.panel.red .signContainer,
.panel.red .exitTabContainer,
.panel.red .guideArrows {
  background-color: var(--red);
}

.panel.purple .sign,
.panel.purple .signContainer,
.panel.purple .exitTabContainer,
.panel.purple .guideArrows {
  background-color: var(--purple);
  border-color: rgb(255, 255, 255);
  color: rgb(255, 255, 255);
}

.panel.orange .sign,
.panel.orange .signContainer,
.panel.orange .exitTabContainer,
.panel.orange .guideArrows {
  background-color: var(--orange);
  border-color: var(--black);
  color: var(--black);
}

.panel.fluorescent.pink .sign,
.panel.fluorescent.pink .signContainer,
.panel.fluorescent.pink .exitTabContainer,
.panel.fluorescent.pink .guideArrows {
  background-color: var(--fluorescent-pink);
}

.panel.fluorescent.yellow-green .sign,
.panel.fluorescent.yellow-green .signContainer,
.panel.fluorescent.yellow-green .exitTabContainer,
.panel.fluorescent.yellow-green .guideArrows {
  background-color: var(--fluorescent-yellow-green);
}

.panel.white .dividerElement,
.panel.orange .dividerElement,
.panel.yellow .dividerElement,
.panel.fluorescent.yellow-green .dividerElement,
.panel.fluorescent.pink .dividerElement {
  background-color: black;
}

.panel.orange .arrow,
.panel.fluorescent.yellow-green .arrow,
.panel.fluorescent.pink .arrow {
  filter: invert(100%);
  -webkit-filter: invert(100%);
}

.exitTab.green,
.exitTabHolder.green {
  background-color: var(--green);
  border-color: var(--white);
  color: var(--white);
}

.exitTab.blue,
.exitTabHolder.blue {
  background-color: var(--blue);
  border-color: var(--white);
  color: var(--white);
}

.exitTab.brown,
.exitTabHolder.brown {
  background-color: var(--brown);
  border-color: var(--white);
  color: var(--white);
}

.exitTab.yellow,
.exitTabHolder.yellow {
  background-color: var(--yellow);
  border-color: var(--black);
  color: var(--black);
  padding: 1px;
}

.exitTab.white,
.exitTabHolder.white {
  background-color: var(--white);
  border-color: var(--black);
  color: var(--black);
}

.exitTab.black,
.exitTabHolder.black {
  background-color: var(--black);
  border-color: var(--white);
  color: var(--white);
}

.exitTab.red,
.exitTabHolder.red {
  background-color: var(--red);
  border-color: var(--white);
  color: var(--white);
}

.exitTab.purple,
.exitTabHolder.purple {
  background-color: var(--purple);
  border-color: var(--white);
  color: var(--white);
}

.exitTab.orange,
.exitTabHolder.orange {
  background-color: var(--orange);
  border-color: var(--black);
  color: var(--black);
}

.exitTab.fluorescent.pink,
.exitTabHolder.fluorescent.pink {
  background-color: var(--fluorescent-pink);
  border-color: var(--black);
  color: var(--black);
}

.exitTab.fluorescent.yellow-green,
.exitTabHolder.fluorescent.yellow-green {
  background-color: var(--fluorescent-yellow-green);
  border-color: var(--black);
  color: var(--black);
  padding: 1px;
}

.exitTabHolder {
  flex-grow: 1;
}

.exitTab {
  border-radius: 0.5rem 0.5rem 0 0;
  border-top-style: solid;
  border-top-width: 0.2rem;
  border-right-style: solid;
  border-right-width: 0.2rem;
  border-bottom: none;
  border-left-style: solid;
  border-left-width: 0.2rem;
  font-size: 1rem;
  visibility: hidden;
  /* hides exitTab by default when loading page */
  float: none;
  min-height: 2.25rem;
  padding: 0 0.5rem;
}

.exitTab.squareCorners {
  border-radius: 0.25rem 0.25rem 0 0;
  padding: 0 1.3rem;
}

.exitTab.squareCorners.out {
  border-radius: 0.25rem;
}

.exitTab.borderless {
  border-radius: 0;
}

.exitTab.out {
  width: -moz-max-content;
  width: -webkit-max-content;
  width: intrinsic;
  width: max-content;
  border-bottom-width: 0.2rem;
  border-bottom-style: solid;
  border-radius: 0.5rem;
}

.out.center {
  margin: auto;
  margin-bottom: 0.25rem;
}

.exitTab.narrow,
.exitTab.edge {
  width: -moz-max-content;
  width: -webkit-max-content;
  width: intrinsic;
  width: max-content;
}

.exitTabContainer.out.left {
  float: left;
}

.exitTabContainer.out {
  margin-bottom: 0.25rem;
  margin-right: var(--signBorderRadius,
      0.75rem);
  /* Margin keeps the edge of the tab from going above the */
  margin-left: var(--signBorderRadius,
      0.75rem);
  /* curved corners of the panel below */
}

.exitTabContainer.out.right {
  float: right;
}

.exitTabContainer.wide,
.exitTabContainer.narrow {
  margin-right: var(--signBorderRadius,
      0.75rem);
  /* Margin keeps the edge of the tab from going above the */
  margin-left: var(--signBorderRadius,
      0.75rem);
  /* curved corners of the panel below */
}

.exitTabContainer.edge.right {
  margin-right: 0rem;
}

.exitTabContainer.edge.left {
  margin-left: 0rem;
}

.narrow.center,
.edge.center {
  margin: auto;
}

.exitTabContainer,
.signContainer {
  z-index: 2;
  gap: var(--nestedTabSpacing, 0);
}

.signContainer,
.exitTabContainer.narrow,
.exitTabContainer.edge {
  width: max-content;
}

.exitTabContainer.narrow.left,
.exitTabContainer.edge.left {
  margin-right: auto;
}

.exitTabContainer.narrow.right,
.exitTabContainer.edge.right {
  margin-left: auto;
}

.exitTab.wide.left,
.exitTab.full.left {
  justify-content: flex-start;
}

.exitTab.wide.center,
.exitTab.full.center {
  justify-content: center;
}

.exitTab.wide.right,
.exitTab.full.right {
  justify-content: flex-end;
}

.exitTab.full {
  width: 100%;
  border-radius: var(--signBorderRadius, 0.75rem) var(--signBorderRadius, 0.75rem) 0 0;
}

.sign.full.tabVisible {
  border-radius: 0 0 var(--signBorderRadius, 0.75rem) var(--signBorderRadius, 0.75rem);
}

.sign.edge.right.tabVisible {
  border-radius: var(--signBorderRadius, 0.75rem) 0 var(--signBorderRadius, 0.75rem) var(--signBorderRadius, 0.75rem);
}

.sign.edge.left.tabVisible {
  border-radius: 0 var(--signBorderRadius, 0.75rem) var(--signBorderRadius, 0.75rem) var(--signBorderRadius, 0.75rem);
}

.panel.round .exitTabContainer,
.panel.round .signContainer {
  visibility: hidden;
}

.sign {
  border-radius: var(--signBorderRadius, 0.75rem);
  border-style: solid;
  border-width: 0.2rem;
  display: block;
  clear: both;
  visibility: visible;
  overflow: hidden;
}

.signHolder {
  display: flex;
  clear: both;
  flex-direction: row;
}

.signContainer > .sign {
  min-width: 100%;
  box-sizing: border-box;
}

.signHolder {
  width: max-content;
  min-width: 100%;
  justify-content: center;
}

.signHolder > .subPanelDisplay:only-of-type {
  flex: 1 1 auto;
  width: 100%;
  min-width: 100%;
}

.signHolder > .subPanelDisplay:only-of-type > .signContentContainer {
  width: 100%;
  min-width: 100%;
}

/* Multiple regular subpanels should size to their own content, not split space evenly */
.signHolder > .subPanelDisplay:not(.hasAplWidthReserve):not(:only-of-type) {
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
  box-sizing: border-box;
}

.signHolder > .subPanelDisplay:not(.hasAplWidthReserve):not(:only-of-type) > .signContentContainer {
  width: max-content;
  min-width: max-content;
  box-sizing: border-box;
}

/* Standard guide arrows widen the actual subpanel group so the sign body matches the arrow band. */
.signHolder.hasStandardGuideArrowWidthReserve {
  width: var(--standardGuideArrowMinWidth) !important;
  min-width: var(--standardGuideArrowMinWidth) !important;
  max-width: none !important;
  justify-content: stretch;
  box-sizing: border-box;
}

.signHolder.hasStandardGuideArrowWidthReserve > .subPanelDisplay:not(.hasAplWidthReserve) {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box;
}

.signHolder.hasStandardGuideArrowWidthReserve > .subPanelDisplay:not(.hasAplWidthReserve) > .signContentContainer {
  width: 100% !important;
  min-width: max-content !important;
  box-sizing: border-box;
}

.signHolder.hasStandardGuideArrowWidthReserve > .subDivider {
  flex: 0 0 auto;
}

.signHolder > .subDivider {
  flex: 0 0 auto;
}

.signHolder:not(:has(.subpanelAplArrows)) > .subDivider.hasStandardGuideArrowBelow {
  background-color: transparent !important;
  position: relative;
  overflow: visible;
}

.signHolder:not(:has(.subpanelAplArrows)) > .subDivider.hasStandardGuideArrowBelow::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: var(--standardGuideArrowDividerStopOffset, 1.15rem);
  left: 0;
  width: 100%;
  background-color: var(--white);
}

.panel.white .signHolder:not(:has(.subpanelAplArrows)) > .subDivider.hasStandardGuideArrowBelow::before,
.panel.yellow .signHolder:not(:has(.subpanelAplArrows)) > .subDivider.hasStandardGuideArrowBelow::before,
.panel.orange .signHolder:not(:has(.subpanelAplArrows)) > .subDivider.hasStandardGuideArrowBelow::before,
.panel.fluorescent.yellow-green .signHolder:not(:has(.subpanelAplArrows)) > .subDivider.hasStandardGuideArrowBelow::before,
.panel.fluorescent.pink .signHolder:not(:has(.subpanelAplArrows)) > .subDivider.hasStandardGuideArrowBelow::before {
  background-color: var(--black);
}

.globalTop,
.globalBottom {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.globalTop.hasGlobalBlocks,
.globalBottom.hasGlobalBlocks {
  padding: 0.45rem 0;
}

.globalPanelBlockElements {
  width: 100%;
}

.globalPanelBlockElements .blockElementRow {
  width: 100%;
}

.panel.round .exitTabContainer,
.panel.round .signContainer {
  visibility: hidden;
}

.panel .exitTabContainer {
  visibility: hidden;
}

.panel .tabVisible {
  visibility: visible;
}

.sideLeftArrow,
.sideRightArrow {
  margin-top: auto;
  margin-bottom: auto;
  display: none;
  height: 2.5rem;
  width: auto;
  padding: 0.2rem;
  flex: 0 0 auto;
  object-fit: contain;
  box-sizing: content-box;
}

.sideLeftArrow {
  margin-left: 0;
  margin-right: 1rem;
}

.sideRightArrow {
  margin-left: 1rem;
  margin-right: 0;
}

.signHolder.hasSideGuideArrow {
  width: max-content;
  min-width: max-content;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.signHolder.hasSideGuideArrow > .subPanelDisplay {
  flex: 0 0 auto;
}

.signContentContainer {
  display: flex;
  width: 100%;
  padding: 0.3rem 0.75rem 0.3rem 0.75rem;
  justify-content: center;
}

.signContentContainer.shieldPositionLeft {
  flex-direction: row;
  align-items: center;
}

.signContentContainer.shieldPositionAbove {
  flex-direction: column;
  justify-content: center;
}

.signContentContainer.shieldPositionRight {
  flex-direction: row-reverse;
  align-items: center;
}


.shieldsContainer {
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
}

.markerImg {
  height: 1.5rem;
  top: 0.25rem;
  position: relative;
  z-index: 0;
}

.left .markerImg {
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -moz-transform: scaleX(-1);
}

.otherSymbols {
  display: inline-flex;
  flex-direction: column;
  margin-right: auto;
  margin-left: auto;
  padding: 0.1rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.oSNum {
  /* Add .left and .right */
  font-family: "Series EM";
  position: absolute;
  width: 100%;
  z-index: 1;
  text-align: center;
  top: 0.1rem;
  font-size: 1.25em;
  left: -0.3rem;
  color: black;
}

.left .oSNum {
  left: 0.3rem;
}

.oSNum.short {
  letter-spacing: 0.1rem;
}

.oSNum.five {
  font-family: "Series C";
  top: 0.29rem;
  font-size: 1.2em;
}

.routeNumber {
  font-size: 1.5rem;

  width: 100%;

  position: absolute;
}

.streetName {
  border: solid var(--white) 0.15rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  padding: 0 1rem;
}

.streetName:last-child {
  margin-bottom: 0;
}

.streetName,
.controlText {
  font-family: "Clearview 5WR";
  font-size: 1.75rem;
  line-height: 2rem;
  white-space: pre-wrap;
}

.controlText {
  --fhwaBaselineOffset: 0px;
  position: relative;
  top: var(--fhwaBaselineOffset);
}

.guideArrows {
  border-style: solid;
  border-width: 0.2rem;
  border-top-width: 0;
  border-radius: 0 0 var(--signBorderRadius, 0.75rem) var(--signBorderRadius, 0.75rem);

  display: none;
}

.guideArrows.exit_only {
  background-color: var(--yellow) !important;
  border-color: var(--black) !important;
  color: var(--black) !important;
}

.guideArrows.new,
.guideArrows.new2 {
  border-color: var(--white) !important;
  background-color: var(--green) !important;
  padding: 0px 2px 2px 2px;
}

.guideArrows.split_exit.only {
  padding: 0rem 0.5rem 0.25rem 0.5rem;
}

.guideArrows.split_exit.only .arrowContainer {
  gap: 0.5rem;
}

.guideArrows.half_exit.only.new2 {
  background: var(--green) !important;
}

.guideArrows.half_exit.only.default {
  padding: 0;
  position: relative;
  overflow: visible;
}

.guideArrows.half_exit.only {
  color: black !important;
}

.guideArrows.half_exit.only.default.halfExitNoBorder::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25rem;
  height: 0.35rem;
  background: var(--white);
  border-bottom-left-radius: 0.9rem;
  border-bottom-right-radius: 0.9rem;
  pointer-events: none;
  z-index: 2;
}

.guideArrows.half_exit.only.default .arrowContainer {
  position: relative;
  z-index: auto;
}

.halfarrow {
  height: 1.8rem;
  position: relative;
  margin-left: 0rem;
}

.specialExitOnly {
  --fhwaBaselineOffset: var(--fhwaBaselineShift);
  color: var(--black);
  background-color: var(--yellow);
  font-family: "Series EM";
  border-radius: 0.2rem;
  border-width: 0rem;
  padding: 0.1rem;
  position: relative;
  top: var(--fhwaBaselineOffset);
}

.otherSymbols+.actionMessage {
  padding-right: 0.2rem;
}

.exitTab {
  --fhwaBaselineOffset: 0px;
  display: flex;
  align-items: center;
  font-family: "Clearview 4W";
  font-size: 18px;
}

.exitTab .exitTabText {
  position: relative;
  top: calc(var(--exitTabTextBaseOffset, 0px) + var(--fhwaBaselineOffset) + var(--exitTabAdditionalOffset, 0px));
}

.exitTab .numeral {
  font-size: calc(1.5em * var(--exitTabNumeralScale, 1));
}

.exitTab .exitTabTextSpacer {
  display: inline-block;
  min-width: 0.35rem;
}

.exitTab .exitTabNumberLinesContainer {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.exitTab .exitTabNumberLine {
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.15rem;
}

.exitTab .exitTabVerticalContainer {
  display: flex;
  flex-direction: column;Im
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 0;
}

.exitTab .exitTabVerticalText {
  line-height: 1.3;
  margin-bottom: 0;
}

.exitTab .exitTabVerticalNumber {
  line-height: 1.3;
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-top: 0;
}

.exitTab.verticalArrangement {
  padding: 0 0.75rem 0.2rem 0.75rem;
  align-items: flex-start;
}

.exitTabContainer.caStyle {
  width: auto;
  margin: 0;
  padding: 0 0.5rem;
  order: -1;
}

.exitTabContainer.caStyle .exitTab {
  border-radius: 0.25rem;
  min-height: auto;
  padding: 0.2rem 0.5rem;
  font-size: 0.9rem;
  border: 0.15rem solid;
}

.signContentContainer:has(.exitTabContainer.caStyle) {
  align-items: flex-start;
}

.exitTabContainer.hovExitTabContainer,
.panel .exitTabContainer.hovExitTabContainer {
  background: transparent;
  border-color: transparent;
}

.exitTabHolder.hovExitTabHolder {
  background: transparent;
  border-color: transparent;
  color: inherit;
  padding: 0;
}

.exitTab.hovExitTab {
  display: flex;
  padding: 0;
  background: var(--white);
  color: var(--black);
  border-color: var(--black);
  gap: 0;
}

.exitTab.hovExitTab .hovIconColumn {
  flex: 0 0 auto;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  min-width: 3.25rem;
  position: relative;
  box-shadow: inset 0 0 0 0.18rem var(--white);
  border-right: 0.25rem solid var(--white);
}

.exitTab.hovExitTab .hovIconColumn .hovIcon {
  display: block;
  width: 100%;
  height: auto;
}

.exitTab.hovExitTab .hovContentColumn {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.35rem 1.25rem 0.3rem;
  background: var(--white);
}

.exitTab.hovExitTab .hovTextRow {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.exitTab.hovExitTab .hovTextRow .exitTabText {
  position: static;
  top: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.exitTab.hovExitTab .hovBottomBar {
  width: 100%;
  height: 0.7rem;
  margin-top: 0.3rem;
  background: var(--green);
  border-top: 0.2rem solid var(--white);
}

.exitTabContainer.tollLogoExitTabContainer.logoOnly {
  background: transparent !important;
  border-color: transparent !important;
  border-style: none;
}

.exitTabHolder.tollLogoExitHolder.logoOnly {
  background: transparent !important;
  border-color: transparent !important;
  border-style: none;
  flex-grow: 0;
  width: auto;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.exitTab.tollLogoExitTab {
  --tollLogoSize: 3rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  gap: 0.35rem;
}

.exitTab.tollLogoExitTab.logoOnly {
  padding: 0;
  border: none;
  border-width: 0 !important;
  border-style: none !important;
  min-height: unset;
  background: transparent !important;
  gap: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  width: auto;
}

.exitTab.tollLogoExitTab.logoOnly .tollLogoLogoWrapper {
  width: auto;
}

.exitTab.tollLogoExitTab.logoOnly .tollLogoImageHolder {
  margin: 0;
  width: auto;
  max-width: none;
  max-height: var(--tollLogoSize, 3rem);
}

.exitTab.tollLogoExitTab .tollLogoLogoWrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.exitTab.tollLogoExitTab .tollLogoImageHolder {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: calc(var(--tollLogoSize, 3rem) * 2.25);
  max-height: var(--tollLogoSize, 3rem);
  min-height: var(--tollLogoSize, 3rem);
}

.exitTab.tollLogoExitTab .tollLogoImageHolder.squareIcon {
  aspect-ratio: 1 / 1;
  width: var(--tollLogoSize, 3rem);
  height: var(--tollLogoSize, 3rem);
}

.exitTab.tollLogoExitTab .tollLogoImageHolder.squareIcon .tollLogoImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.exitTab.tollLogoExitTab .tollLogoImage {
  max-width: 100%;
  width: auto;
  height: var(--tollLogoSize, 3rem);
  object-fit: contain;
}

.exitTab.tollLogoExitTab .tollLogoNumberWrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem;
  text-align: center;
}

.exitTab.tollLogoExitTab .tollLogoNumberWrapper .exitTabTextSpacer {
  min-width: 0.3rem;
}

.exitTab.fullLeft {
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  border-color: var(--white);
  border-top-width: 0;
  border-top-style: none;
  overflow: visible;
}

.exitTab.fullLeft .fullLeftBanner {
  background: var(--yellow);
  color: var(--black);
  font-family: "Series E", var(--fontFamily, "Clearview 4W");
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0.2rem 0.5rem;
  border: 0.2rem solid var(--black);
  border-bottom-width: 0.2rem;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin: -0.2rem -0.2rem 0;
}

.exitTab.fullLeft .fullLeftNumber {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem 0.4rem;
  border: 0.2rem solid var(--white);
  border-top-width: 0;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin: 0 -0.2rem -0.2rem;
  background: inherit;
}

.exitTab.fullLeft .fullLeftNumber .exitTabTextSpacer {
  min-width: 0.35rem;
}

/* BILINGUAL EXIT TABS */
.exitTab.bilingualExitTab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.06rem 0.72rem 0.22rem;
  box-sizing: border-box;
  overflow: visible;
}

.exitTab.bilingualCompactExitTab {
  width: max-content !important;
  min-width: max-content !important;
  flex: 0 0 auto !important;
}

.exitTabHolder.bilingualCompactExitTabHolder {
  flex-grow: 0;
  width: max-content;
}

.exitTabContainer.bilingualCompactExitTabContainer.edge,
.exitTabContainer.bilingualCompactExitTabContainer.narrow {
  width: max-content;
}

.exitTabContainer.bilingualCompactExitTabContainer.edge.right,
.exitTabContainer.bilingualCompactExitTabContainer.narrow.right {
  margin-left: auto;
}

.exitTabContainer.bilingualCompactExitTabContainer.edge.left,
.exitTabContainer.bilingualCompactExitTabContainer.narrow.left {
  margin-right: auto;
}

.exitTabBilingualBlock {
  display: grid;
  grid-template-columns: max-content max-content;
  grid-template-rows: auto auto;
  column-gap: 0.85em;
  row-gap: 0.08em;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: 0.08em;
}

.exitTabBilingualLine {
  display: contents;
}

.exitTabBilingualTopLine .exitTabBilingualLabelText {
  grid-column: 1;
  grid-row: 1;
}

.exitTabBilingualBottomLine .exitTabBilingualLabelText {
  grid-column: 1;
  grid-row: 2;
}

.exitTabBilingualLabelText {
  display: inline-block;
  text-align: left;
  white-space: nowrap;
}

.exitTabBilingualNumber {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-block;
  margin-left: 0;
  letter-spacing: 0;
  line-height: 1;
  align-self: center;
  justify-self: end;
  position: relative;
}

.exitTab .exitTabTrailing {
  margin-left: var(--exitTabTrailingGap, 0.04em);
}

.exitTab .exitTabSeparatedSuffixSpacer {
  min-width: 1rem;
}

.action_message {
  --fhwaBaselineOffset: 0px;
  display: inline-flex;
  align-items: center;
  font-family: "Clearview 5WR";
  justify-content: center;
  position: relative;
  top: var(--fhwaBaselineOffset);
}

.exitFormat {
  display: inline;
  --exitTabTextBaseOffset: -0.1rem;
}

.exitOnlyArrow {
  display: inline-block;
  margin-top: 0.1em;
  height: 1.8rem;
  padding: 2px 0.35rem;
}

.exitOnlyArrow[src$="A-4.svg"],
.exitOnlyArrow[src$="A-1.svg"] {
  transform: scale(1.14);
  transform-origin: center center;
}

.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow[src$="B-4.svg"]:only-of-type),
.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow[src$="A-4.svg"]:only-of-type),
.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow[src$="B-1.svg"]:only-of-type),
.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow[src$="A-1.svg"]:only-of-type) {
  display: grid;
  grid-template-columns: 4.4ch auto 4.4ch;
  align-items: center;
  column-gap: 0.32rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin: 0 auto;
}
.guideArrows.exit_only:has(.exitOnlyArrow[src$="A-4.svg"]),
.guideArrows.exit_only:has(.exitOnlyArrow[src$="A-1.svg"]) {
  padding-top: var(--guideArrowSpacing, 0.25rem) !important;
  padding-bottom: var(--guideArrowSpacing, 0.25rem) !important;
  padding-left: 0.1rem !important;
  padding-right: 0.1rem !important;
}

.guideArrows.exit_only:has(.exitOnlyArrow[src$="A-4.svg"]) .arrowContainer,
.guideArrows.exit_only:has(.exitOnlyArrow[src$="A-1.svg"]) .arrowContainer {
  min-height: 1.0rem;
}

.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow[src$="A-4.svg"]:only-of-type) > .exitOnlyText:first-of-type,
.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow[src$="A-1.svg"]:only-of-type) > .exitOnlyText:first-of-type {
  text-align: right;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
}

.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow[src$="A-4.svg"]:only-of-type) > .exitOnlyText:last-of-type,
.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow[src$="A-1.svg"]:only-of-type) > .exitOnlyText:last-of-type {
  text-align: left;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}

.arrowContainer.hideExitOnlyArrows .exitOnlyArrow,
.arrowContainer.hideExitOnlyArrows .halfarrow {
  opacity: 0;
}

.exitOnlyText {
  --fhwaBaselineOffset: var(--fhwaBaselineShift);
  font-family: "Series E";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.7ch;
  width: auto;
  padding: 0 0.8rem;
  padding-top: 0.18rem;
  font-size: 1.45rem;
  word-spacing: 0.2rem;
  letter-spacing: 0.02rem;
  margin: -1rem 0;
  position: relative;
  top: var(--fhwaBaselineOffset);
  text-align: center;
  white-space: nowrap;
}

.exitOnlyText.split {
  --fhwaBaselineOffset: var(--fhwaBaselineShift);
  background-color: var(--yellow);
  color: var(--black);
  border-radius: 0.1rem;
  font-size: 1rem;
  padding: 0px 0px 0px 3px;
  margin-left: 0.3rem;
  margin-right: 0.3rem;
  margin-top: 0.3rem;
  font-family: "Series EM";
  height: 1.15rem;
  position: relative;
  top: var(--fhwaBaselineOffset);
}

.exitOnlySpace {
  display: inline-block;
  width: 7.6ch;
  margin-right: 0;
}


.oText {
  margin: 0 1rem;
}

.arrow {
  font-size: 4rem;
  line-height: 0;
  display: inline-block;
  margin: 0rem 4.25rem 0.5rem;
  padding: 0 0.1rem 0 0.05rem;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

/* Straight / down */
.arrow.downarrow,
.arrow.straight,
.arrow.down,
.arrow.up,
.arrow.uparrow {
  height: 1.5rem;
}

.arrow[src$="B-4.svg"],
.arrow[src$="B-1.svg"],
.arrow[src$="B-3.svg"],
.arrow[src$="B-2.svg"] {
  height: 2rem !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Diagonals */
.arrow.left\/uparrow,
.arrow.right\/uparrow,
.arrow.left\/downarrow,
.arrow.right\/downarrow {
  height: 2.25rem;
}

/* Alt diagonals */
.arrow.alt.left\/uparrow,
.arrow.alt.right\/uparrow,
.arrow.alt.left\/downarrow,
.arrow.alt.right\/downarrow {
  height: 2rem !important;
  width: auto !important;
  transform: none !important;
}

/* Wide horizontal arrows */
.arrow.leftarrow,
.arrow.rightarrow {
  height: 1.8rem;
}

/* Sharp curves */
.arrow.sharpleft,
.arrow.sharpright {
    height: 2.5rem;
}

/* Slight curves */
.arrow.slightleft,
.arrow.slightright {
  height: 2.15rem;
}

.arrowContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  margin: 0 auto;
}

.arrow:first-child {
  margin-left: 1rem;
}

.arrow:last-child {
  margin-right: 1rem;
}

/* 1 Arrow */
.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow:nth-of-type(1):last-of-type) {
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  margin: 0 auto;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow:nth-of-type(1):last-of-type) > .exitOnlyText {
  min-width: auto;
  padding-left: 0.32rem;
  padding-right: 0.32rem;
  margin-left: 0;
  margin-right: 0;
}

.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow:nth-of-type(1):last-of-type) > img.exitOnlyArrow {
  padding-left: 0.32rem;
  padding-right: 0.32rem;
  margin: 0;
}

/* 2 Arrows */
.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow:nth-of-type(2):last-of-type) > img.exitOnlyArrow:first-of-type {
  padding-right: 0.08rem;
}

.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow:nth-of-type(2):last-of-type) > img.exitOnlyArrow:last-of-type {
  padding-left: 0.08rem;
}

/* 3 Arrows */
.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow:nth-of-type(3):last-of-type) .exitOnlyText {
  min-width: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: 0;
  margin-right: 0;
}

.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow:nth-of-type(3):last-of-type) > img.exitOnlyArrow:first-of-type {
  margin-right: 1.15rem;
}

.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow:nth-of-type(3):last-of-type) > img.exitOnlyArrow:nth-of-type(2) {
  margin-left: 0.8rem;
  margin-right: 0.8rem;
}

.guideArrows.exit_only .arrowContainer:has(> img.exitOnlyArrow:nth-of-type(3):last-of-type) > img.exitOnlyArrow:nth-of-type(3):last-of-type {
  margin-left: 1.15rem;
}


/* 4 Arrows */
.guideArrows.exit_only:has(.arrowContainer.exitOnlyFourLane) {
  width: 100%;
}

.guideArrows.exit_only .arrowContainer.exitOnlyFourLane {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  align-items: center !important;
  justify-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding-left: 0.8rem !important;
  padding-right: 0.8rem !important;
  margin: 0 !important;
  position: relative !important;
}

.guideArrows.exit_only .arrowContainer.exitOnlyFourLane > .exitOnlyArrow {
  margin: 0 !important;
  padding: 2px 0 !important;
}

.guideArrows.exit_only .arrowContainer.exitOnlyFourLane > .exitOnlyFourLaneText {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  min-width: auto !important;
  margin: 0 !important;
  padding-left: 0.35rem !important;
  padding-right: 0.35rem !important;
  pointer-events: none;
  z-index: 1;
}

.arrowContainer .left {
  margin-right: 1rem;
}

.arrowContainer .middle {
  float: none;
}

.arrowContainer .right {
  margin-left: 1rem;
}

.centerText .arrow {
  margin-right: 0.5rem;
  margin-top: -0.25rem;
}

.actionMessage + .arrow {
  margin-left: 0.5rem;
}

.actionMessage {
  --fhwaBaselineOffset: 0px;
  font-size: 1.2rem;
  position: relative;
  top: var(--fhwaBaselineOffset);
}

.numeral {
  font-size: 1.5em;
  word-spacing: -0.4rem;
  line-height: 0;
}

.fraction {
  font-size: 1.5rem;
}

.numeral:first-child,
.fraction:first-child {
  padding-right: 0.5rem;
}

.numeral:last-child,
.fraction:last-child {
  padding-left: 0.5rem;
}

.numeral.special,
.fraction.special {
  padding-left: 0rem;
}

.numeral.special {
  padding-left: 0.4rem;
  padding-right: 0.2rem;
}

.fraction.special {
  padding-right: 0.4rem;
}

.centerText .numeral:last-child,
.centerText .fraction:last-child {
  padding-left: 0rem;
}

.yellowElmt {
  background-color: var(--yellow);
  color: var(--black);
  border-radius: 5px;
  font-family: "Series E";
  padding: 0.15rem 0.7rem;
  width: max-content;
  width: -webkit-max-content;
  width: -moz-max-content;
  font-size: 1.3rem;
  line-height: 1.2rem;
  margin: 0.4rem 0rem;
}

.exitOnlyText.yellowElmt {
  margin-top: 0;
}

.TOLL {
  margin-top: 0;
}

.subPanelDisplay {
  height: auto;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
}

/* Center subpanel content vertically, except for APL subpanels */
.subPanelDisplay:not(:has(.subpanelAplArrows)) .signContentContainer {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: max-content;
  min-width: max-content;
  box-sizing: border-box;
}

/* Only APL subpanels should stretch equally by default */
.signHolder:has(.subpanelAplArrows) .subPanelDisplay {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.signHolder:has(.subpanelAplArrows) .subPanelDisplay .signContentContainer {
  width: auto;
  min-width: 0;
}
.subPanelDisplay.hasAplExitOnlySubpanel {
  --aplExitOnlySubpanelReserve: 5.7rem;
  flex-basis: var(--aplExitOnlySubpanelReserve);
}

/* Make content area grow to push APL arrows to consistent bottom position */
.subPanelDisplay:has(.subpanelAplArrows) .signContentContainer {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.subDivider {
  width: 0.2rem;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  /* Align arrow to bottom */
}

/* When APL arrows are present, shorten the divider to stop above arrows */
.signHolder:has(.subpanelAplArrows) .subDivider {
  margin-bottom: 6.2rem;
  /* 6rem min-height + 0.2rem border */
}

/* If the divider has an arrow, remove the margin so it extends down */
.signHolder:has(.subpanelAplArrows) .subDivider.hasArrow {
  margin-bottom: 0;
  background-color: transparent;
  /* Transparent background so we can simulate the line */
  position: relative;
}

/* Simulate the white line stopping above the arrow */
.subDivider.hasArrow::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 6.2rem;
  /* Stop where the line would normally stop */
  width: 0.2rem;
  background-color: var(--white);
}

.aplDividerArrow {
  height: 4.75rem;
  /* Default size (UP) */
  width: auto;
  margin-bottom: 0.7rem;
  /* Align with other arrows */
  z-index: 10;
}

.aplDividerArrow[data-type="APL_TURN"] {
  height: 3.5rem;
}

.aplDividerArrow[data-type="APL_DUAL_TURN"] {
  height: 4.5rem;
}

.arrowContainer.new {
  background: var(--yellow);
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  width: 100%;
  padding: 0.32rem 0 0.32rem 0;
}

.arrowContainer.left.new2 {
  background-color: var(--yellow);
  border-bottom-left-radius: 0.5rem;
}

.arrowContainer.right.new2 {
  background-color: var(--yellow);
  border-bottom-right-radius: 0.5rem;
}

img.exitOnlyArrow:first-child {
  padding-left: 0.8rem;
  padding-right: 0.3rem;
}
img.exitOnlyArrow:last-child {
  padding-right: 0.8rem;
  padding-left: 0.3rem;
}

/* Full EXIT ONLY containers */


.tagOnlyText {
  color: black;
  background: white;
  padding: 0.3rem 0.3rem 0.2rem 0.3rem;
  font-family: "Series E";
  line-height: 0.8rem;
}

.exitTab:has(.tagOnlyText) {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
}

.signContainer:has(.guideArrows.exit_only) {
  /* background: linear-gradient(180deg, var(--green), var(--yellow)); */
}

/* APL Arrows */
.aplContainer {
  display: flex;
  width: 100%;
  justify-content: space-around;
}

.aplArrowWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  padding-bottom: 0.5rem;
}

.aplExitBox {
  background-color: var(--yellow);
  color: black;
  font-family: "Series E";
  padding: 0.2rem;
  margin-bottom: 0.2rem;
  font-size: 1rem;
  width: 100%;
  text-align: center;
  font-weight: bold;
}

.aplDivider {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 0.4rem;
  background-color: white;
  z-index: 10;
  transform: translateX(50%);
}


.aplArrows {
  border-style: solid;
  border-width: 0.2rem;
  border-top-width: 0;
  border-radius: 0 0 var(--signBorderRadius, 0.75rem) var(--signBorderRadius, 0.75rem);
  display: none;
  justify-content: center;
  align-items: flex-end;
  padding: 0.5rem 1rem;
}

.aplArrow {
  height: 4.75rem;
  width: auto;
  margin-left: 3.6rem;
  margin-right: 3.6rem;
}

.aplArrow:first-child {
  margin-left: 1rem;
}

.aplArrow:last-child {
  margin-right: 1rem;
}

.aplArrow[data-type="APL_TURN"] {
  height: 3.5rem;
}

.aplArrow[data-type="APL_DUAL_TURN"] {
  height: 4.5rem;
}

.panel.green .aplArrows {
  background-color: var(--green);
  border-color: var(--white);
}

.panel.white .aplArrows {
  background-color: var(--white);
  border-color: var(--black);
}

.panel.yellow .aplArrows {
  background-color: var(--yellow);
  border-color: var(--black);
}

.panel.orange .aplArrows {
  background-color: var(--orange);
  border-color: var(--black);
}

/* not adding colors other than green, white, yellow, orange bc no apl uses those colors */
.panel.yellow .aplArrow,
.panel.white .aplArrow,
.panel.orange .aplArrow {
  filter: invert(1);
}


@keyframes flashSelection {
  0% {
    box-shadow: 0 0 0 0.18rem rgba(255, 255, 0, 0.75);
    opacity: 1;
  }

  20% {
    box-shadow: 0 0 0 0.28rem rgba(255, 255, 0, 1);
    opacity: 1;
  }

  100% {
    box-shadow: 0 0 0 0.18rem rgba(255, 255, 0, 0);
    opacity: 0;
  }
}

.flash-selection {
  position: absolute;
  pointer-events: none;
  z-index: 50;
  background: rgba(255, 255, 0, 0.08);
  border-radius: inherit;
  animation: flashSelection 0.45s ease-out forwards;
}
#postContainer {
  position: relative;
}

.flash-selection {
  position: absolute;
  pointer-events: none;
  box-sizing: border-box;
}

/* ---------- Exit Only / Half Exit Only corner fill only, correct parent ---------- */

/* The green corner is coming from .signContainer, not .sign */
.signContainer:has(> .guideArrows.exit_only),
.signContainer:has(> .guideArrows.half_exit.only) {
  position: relative !important;
  overflow: hidden !important;
}

/* Keep actual sign and guide arrow contents above the corner patches */
.signContainer:has(> .guideArrows.exit_only) > *,
.signContainer:has(> .guideArrows.half_exit.only) > * {
  position: relative;
  z-index: 2;
}

/* Full Exit Only: both bottom corners behind the guide strip should be yellow */
.signContainer:has(> .guideArrows.exit_only)::before,
.signContainer:has(> .guideArrows.exit_only)::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: var(--signBorderRadius, 0.75rem);
  height: var(--signBorderRadius, 0.75rem);
  background-color: var(--yellow) !important;
  z-index: 1;
  pointer-events: none;
}

.signContainer:has(> .guideArrows.exit_only)::before {
  left: 0;
}

.signContainer:has(> .guideArrows.exit_only)::after {
  right: 0;
}

/* Keep full Exit Only yellow even when .new / .new2 tries to turn it green */
.guideArrows.exit_only,
.guideArrows.exit_only.new,
.guideArrows.exit_only.new2 {
  background-color: var(--yellow) !important;
  border-color: var(--black) !important;
  color: var(--black) !important;
}

/* Half Exit Only: left corner only when the yellow half-exit piece touches the left edge */
.signContainer:has(> .guideArrows.half_exit.only .arrowContainer.left.new2)::before,
.signContainer:has(> .guideArrows.half_exit.only .arrowContainer.new:first-child)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--signBorderRadius, 0.75rem);
  height: var(--signBorderRadius, 0.75rem);
  background-color: var(--yellow) !important;
  z-index: 1;
  pointer-events: none;
}

/* Half Exit Only: right corner only when the yellow half-exit piece touches the right edge */
.signContainer:has(> .guideArrows.half_exit.only .arrowContainer.right.new2)::after,
.signContainer:has(> .guideArrows.half_exit.only .arrowContainer.new:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: var(--signBorderRadius, 0.75rem);
  height: var(--signBorderRadius, 0.75rem);
  background-color: var(--yellow) !important;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Quebec-style exit marker feature ---------- */

.sign,
.guideArrows {
  position: relative;
}

.qcExitMarker {
  position: absolute;
  z-index: 18;
  pointer-events: none;
  display: block;
}

.qcExitMarker.qcOnSign {
  width: var(--qc-marker-width, 3.05rem);
  height: var(--qc-marker-height, 1.18rem);
  bottom: 0.42rem;
}

.qcExitMarker.qcLeft {
  left: 0.85rem;
}

.qcExitMarker.qcCenter {
  left: 50%;
  transform: translateX(-50%);
}

.qcExitMarker.qcRight {
  right: 0.85rem;
}

.qcExitMarker.flipped .qcExitMarkerImg {
  transform: scaleX(-1);
  transform-origin: center;
}

.qcExitMarkerImg {
  width: 100%;
  height: 100%;
  display: block;
}

.qcExitMarkerNumber {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  z-index: 2;
  font-family: "Series E";
  font-size: var(--qc-marker-font-size, 1rem);
  line-height: 1;
  font-weight: 700;
  padding-top: 0.01rem;
}

/* QC marker inside Exit Only / Half Exit Only yellow band */

.guideArrows.qcExitMarkerMode {
  min-height: 1.95rem;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  position: relative;
}

.guideArrows.qcExitMarkerMode .exitOnlyText {
  display: none !important;
}

.guideArrows.qcExitMarkerMode .arrowContainer {
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.guideArrows.qcExitMarkerMode .qcExitOnlyPair {
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.72rem !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.guideArrows.qcExitMarkerMode .qcExitOnlyArrow {
  width: 1.75rem !important;
  height: 1.75rem !important;
  display: block !important;
  flex: 0 0 auto;
  padding: 0 !important;
  margin: 0 !important;
  object-fit: contain !important;
  filter: none !important;
}

.guideArrows.qcExitMarkerMode .qcExitOnlyArrow.flipped {
  transform: scaleX(-1);
}

.guideArrows.qcExitMarkerMode .qcExitMarker.qcInBand {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: var(--qc-marker-width, 3.05rem) !important;
  height: var(--qc-marker-height, 1.18rem) !important;
  flex: 0 0 auto;
  margin: 0 !important;
  z-index: 19;
}

.guideArrows.qcExitMarkerMode .qcExitMarker.flipped .qcExitMarkerImg {
  transform: scaleX(-1);
  transform-origin: center;
}

.guideArrows.qcExitMarkerMode .qcExitMarkerImg {
  width: 100%;
  height: 100%;
  display: block;
}

.guideArrows.qcExitMarkerMode .qcExitMarkerNumber {
  font-size: var(--qc-marker-font-size, 1rem) !important;
  padding-top: 0 !important;
}


/* Downsize in-panel diagonal guide arrows only.
   Does not affect Side Left / Side Right, because those use
   .sideLeftArrow and .sideRightArrow instead of .arrow. */

/* diagonal arrow SVGs */
.guideArrows .arrow[src$="A-1.svg"],
.guideArrows .arrow[src$="A-4.svg"],
.guideArrows .arrow[src$="B-1.svg"],
.guideArrows .arrow[src$="B-4.svg"],
.guideArrows .arrow[src$="C-1.svg"],
.guideArrows .arrow[src$="C-4.svg"],
.guideArrows .arrow[src$="D-1.svg"],
.guideArrows .arrow[src$="D-4.svg"],
.guideArrows .arrow[src$="E-1.svg"],
.guideArrows .arrow[src$="E-4.svg"] {
  height: 1.85rem !important;
  width: auto !important;
  object-fit: contain !important;
}

/* keep true side arrows full size */
.sideLeftArrow,
.sideRightArrow {
  height: 2.5rem;
}

.guideArrows .arrow.right\/uparrow,
.guideArrows .arrow.left\/uparrow,
.guideArrows .arrow.right\/downarrow,
.guideArrows .arrow.left\/downarrow,
.guideArrows .arrow.uprightturn,
.guideArrows .arrow.upleftturn,
.guideArrows .arrow.downrightturn,
.guideArrows .arrow.downleftturn {
  height: 1.85rem !important;
  width: auto !important;
}

.guideArrows .arrow.down,
.guideArrows .arrow.downarrow {
  height: 1.5rem !important;
  width: auto !important;
  object-fit: contain !important;
}

.guideArrows .arrow.leftarrow,
.guideArrows .arrow.rightarrow {
  height: 1.5rem !important;
  width: auto !important;
  object-fit: contain !important;
}

.exitOnlyText.fhwaScaledExitOnlyText {
  font-size: 120%;
}

/* ---------- APL subpanel arrows ---------- */

.subPanelDisplay.hasAplWidthReserve {
  flex: 0 0 auto !important;
  width: max-content;
  min-width: var(--aplSubpanelMinWidth) !important;
}

.subPanelDisplay.hasAplWidthReserve .signContentContainer {
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}

.subPanelDisplay.hasAplWidthReserve .subpanelAplArrows {
  width: var(--aplSubpanelMinWidth) !important;
  min-width: var(--aplSubpanelMinWidth) !important;
  max-width: var(--aplSubpanelMinWidth) !important;
}

.subPanelDisplay.hasAplWidthReserve .subpanelAplArrows {
  width: 100%;
}

/* Extra text room on edge APL subpanels should grow outward from the sign lane */
.signHolder > .subPanelDisplay.hasAplWidthReserve:first-of-type .subpanelAplArrows {
  margin-left: auto !important;
  margin-right: 0 !important;
}

.signHolder > .subPanelDisplay.hasAplWidthReserve:last-of-type .subpanelAplArrows {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.signHolder > .subPanelDisplay.hasAplWidthReserve:not(:first-of-type):not(:last-of-type) .subpanelAplArrows {
  margin-left: auto !important;
  margin-right: auto !important;
}

.subPanelDisplay:has(.subpanelAplArrows) .signContentContainer {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.subpanelAplArrows {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: flex-end !important;
  gap: 0 !important;

  width: 100%;
  height: var(--aplArrowZoneHeight, 5.8rem);
  min-height: var(--aplArrowZoneHeight, 5.8rem);
  padding: 0rem 0 0rem 0;
  margin: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  position: relative;
  overflow: visible;
  box-sizing: border-box;
}

.aplArrowSlot {
  position: relative;
  display: block;
  flex: 0 0 0;
  width: 0;
  height: var(--aplArrowSlotHeight, 4.8rem);
  overflow: visible;
  line-height: 0;
}

.aplArrowSlot > .aplArrow {
  position: absolute;
  left: 50%;
  bottom: 0;

  display: block;
  width: auto;
  max-width: none;
  margin: 0 !important;

  transform: translateX(-50%);
  transform-origin: center center;
}

.aplArrowSlot[data-flipped="true"] > .aplArrow {
  transform: translateX(-50%) scaleX(-1);
}

/* APL divider should stop at the arrows, not run full height */
.signHolder:has(.subpanelAplArrows) .subDivider {
  width: 0.2rem !important;
  flex: 0 0 0.2rem !important;
  align-self: stretch !important;
  margin: 0 0 var(--aplArrowZoneHeight, 5.8rem) 0 !important;
  background-color: var(--white) !important;
  position: relative !important;
  overflow: visible !important;
  z-index: 4;
}

.panel.white .signHolder:has(.subpanelAplArrows) .subDivider,
.panel.yellow .signHolder:has(.subpanelAplArrows) .subDivider,
.panel.orange .signHolder:has(.subpanelAplArrows) .subDivider,
.panel.fluorescent.yellow-green .signHolder:has(.subpanelAplArrows) .subDivider,
.panel.fluorescent.pink .signHolder:has(.subpanelAplArrows) .subDivider {
  background-color: var(--black) !important;
}

/* Divider with its own APL arrow: hide the full-height bar, then draw only the upper segment */
.signHolder:has(.subpanelAplArrows) .subDivider.hasArrow {
  margin-bottom: 0 !important;
  background-color: transparent !important;
}

.subDivider.hasArrow::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: var(--aplDividerStopOffset, var(--aplArrowZoneHeight, 5.5rem));
  left: 0;
  width: 0.2rem;
  background-color: var(--white);
}

.panel.white .signHolder:has(.subpanelAplArrows) .subDivider.hasArrow::before,
.panel.yellow .signHolder:has(.subpanelAplArrows) .subDivider.hasArrow::before,
.panel.orange .signHolder:has(.subpanelAplArrows) .subDivider.hasArrow::before,
.panel.fluorescent.yellow-green .signHolder:has(.subpanelAplArrows) .subDivider.hasArrow::before,
.panel.fluorescent.pink .signHolder:has(.subpanelAplArrows) .subDivider.hasArrow::before {
  background-color: var(--black);
}

.signHolder:has(.subpanelAplArrows) .subDivider:last-child {
  border: 0 !important;
  border-radius: 0 !important;
}

.aplDividerArrowSlot {
  position: absolute;
  left: 50%;
  bottom: var(--aplDividerArrowBottomOffset, 0.45rem);
  z-index: 6;
  margin: 0;
  transform: translateX(-50%);
}

.aplExitOnlyContainer {
  --aplExitOnlyGap: 1.15rem;
  --aplExitOnlyLabelBottom: 0.15rem;
  --aplExitOnlyStemOffset: 0rem;
}

.aplExitOnlyContainer[data-arrow-type*="TURN"] {
  --aplExitOnlyGap: 1.1rem;
  --aplExitOnlyStemOffset: -0.75rem;
}

.aplExitOnlyLabel {
  position: absolute;
  bottom: var(--aplExitOnlyLabelBottom);
  z-index: 8;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  min-width: 3.25rem;
  height: 1.35rem;
  padding: 0.12rem 0.18rem 0;

  background-color: var(--yellow);
  color: var(--black);
  border-radius: 0.08rem;

  font-family: "Series E", sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.aplExitOnlyExit {
  right: calc(var(--aplExitOnlyGap) - var(--aplExitOnlyStemOffset));
}

.aplExitOnlyOnly {
  left: calc(var(--aplExitOnlyGap) + var(--aplExitOnlyStemOffset));
}

.aplExitOnlySharedLabel {
  left: var(--aplExitOnlySharedCenterOffset, 0rem);
  right: auto;
  transform: translateX(-50%);
  min-width: 6.9rem;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  letter-spacing: 0.08em;
}

.subDivider.hasSharedExitOnlyBoundary {
  position: relative !important;
  overflow: visible !important;
}

.subDivider.hasSharedExitOnlyBoundary .aplExitOnlyBoundarySharedLabel {
  left: calc(50% + var(--aplExitOnlyBoundaryCenterOffset, 0rem));
  right: auto;
  transform: translateX(-50%);
  min-width: 6.9rem;
  z-index: 12;
}

/* Divider has its own arrow, so the shared plaque sits in the normal arrow zone */
.subDivider.hasSharedExitOnlyBoundary.hasArrow .aplExitOnlyBoundarySharedLabel {
  bottom: calc(var(--aplDividerArrowBottomOffset, 0.45rem) + 0.05rem);
}

/* Divider has no arrow, so it has to drop into the APL arrow zone below the divider */
.subDivider.hasSharedExitOnlyBoundary:not(.hasArrow) .aplExitOnlyBoundarySharedLabel {
  bottom: calc(-6.2rem + var(--aplSubpanelArrowBottomOffset, 0.45rem) + 0.05rem);
}

/* Lift regular subpanel APL arrows off the sign border */
.subpanelAplArrows {
  --aplSubpanelArrowBottomOffset: 0.45rem;
}

.subpanelAplArrows > .aplArrowSlot > .aplArrow {
  bottom: var(--aplSubpanelArrowBottomOffset, 0.45rem);
}

.subpanelAplArrows > .aplExitOnlyContainer .aplExitOnlyLabel {
  bottom: calc(var(--aplSubpanelArrowBottomOffset, 0.45rem) + 0.05rem);
}

.subpanelAplArrows > .aplExitOnlyContainer .aplExitOnlySharedLabel {
  bottom: calc(var(--aplSubpanelArrowBottomOffset, 0.45rem) + 0.05rem);
}

/* Half Exit Only final layout */
.signContainer:has(> .guideArrows.half_exit.only.default) {
  display: inline-flex !important;
  flex-direction: column !important;
  width: max-content !important;
  min-width: max-content !important;
  overflow: visible !important;
}

.signContainer:has(> .guideArrows.half_exit.only.default) > .sign {
  width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
}

.guideArrows.half_exit.only.default {
  display: block !important;
  width: 100% !important;
  min-width: max-content !important;

  padding: 0 !important;
  margin: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 0 var(--signBorderRadius, 0.75rem) var(--signBorderRadius, 0.75rem) !important;

  overflow: visible !important;
  box-sizing: border-box !important;
}

.guideArrows.half_exit.only.default > .arrowContainer.new2,
.guideArrows.half_exit.only.default > .arrowContainer.halfExitWrapper {
  display: flex !important;
  align-items: stretch !important;
  justify-content: stretch !important;

  width: 100% !important;
  min-width: max-content !important;

  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;

  background: transparent !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* Green normal-arrow lane */
.guideArrows.half_exit.only.default .halfExitGuideLane {
  flex: 1 1 auto !important;
  min-width: 7.6rem !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: var(--guideArrowSpacing, 0.25rem) 0.65rem !important;
  margin: 0 !important;

  background-color: var(--green) !important;

  border-style: solid !important;
  border-color: var(--white) !important;
  border-top-width: 0 !important;
  border-bottom-width: 0.2rem !important;

  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Green lane on the left side */
.guideArrows.half_exit.only.default .halfExitGuideLane.left {
  border-left-width: 0.2rem !important;
  border-right-width: 0 !important;
  border-bottom-left-radius: var(--signBorderRadius, 0.75rem) !important;
  border-bottom-right-radius: 0 !important;
}

/* Green lane on the right side */
.guideArrows.half_exit.only.default .halfExitGuideLane.right {
  border-left-width: 0 !important;
  border-right-width: 0.2rem !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: var(--signBorderRadius, 0.75rem) !important;
}

.guideArrows.half_exit.only.default .halfExitGuideLane .halfarrow {
  height: 1.55rem !important;
  width: auto !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: contain !important;
  filter: none !important;
}

/* Yellow EXIT ONLY lane */
.guideArrows.half_exit.only.default .arrowContainer.half_exit.only.new2 {
  flex: 0 0 auto !important;
  min-width: max-content !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  gap: 0.32rem !important;
  padding: var(--guideArrowSpacing, 0.25rem) 0.65rem !important;
  margin: 0 !important;

  background-color: var(--yellow) !important;
  color: var(--black) !important;

  border-style: solid !important;
  border-color: var(--black) !important;
  border-top-width: 0 !important;
  border-bottom-width: 0.2rem !important;

  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Yellow on the left edge: black outside left + bottom only */
.guideArrows.half_exit.only.default .arrowContainer.half_exit.only.new2.left {
  border-left-width: 0.2rem !important;
  border-right-width: 0 !important;
  border-bottom-left-radius: var(--signBorderRadius, 0.75rem) !important;
  border-bottom-right-radius: 0 !important;
}

/* Yellow on the right edge: black outside right + bottom only */
.guideArrows.half_exit.only.default .arrowContainer.half_exit.only.new2.right {
  border-left-width: 0 !important;
  border-right-width: 0.2rem !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: var(--signBorderRadius, 0.75rem) !important;
}

.guideArrows.half_exit.only.default .arrowContainer.half_exit.only.new2 .exitOnlyText {
  color: var(--black) !important;
  min-width: max-content !important;
  width: max-content !important;

  margin: 0 !important;
  padding: 0 0.22rem !important;

  font-size: 1.22rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.guideArrows.half_exit.only.default .arrowContainer.half_exit.only.new2 .exitOnlyArrow {
  height: 1.65rem !important;
  width: auto !important;

  margin: 0 !important;
  padding: 0 0.16rem !important;

  object-fit: contain !important;
  filter: invert(1) !important;
}

/* Half Exit Only: nudge the white guide arrow inward without changing row width */
.guideArrows.half_exit.only.default .halfExitGuideLane.left {
  justify-content: flex-start !important;
  padding-left: 0.95rem !important;
  padding-right: 1.65rem !important;
}

.guideArrows.half_exit.only.default .halfExitGuideLane.right {
  justify-content: flex-end !important;
  padding-left: 1.65rem !important;
  padding-right: 0.95rem !important;
}

.guideArrows.half_exit.only.default .halfExitGuideLane .halfarrow {
  margin: 0 !important;
}


/* Light-background signs should use black borders/dividers instead of white */
.panel.yellow .sign,
.panel.white .sign,
.panel.orange .sign,
.panel.fluorescent.yellow-green .sign,
.panel.fluorescent.pink .sign,
.panel.yellow .exitTab,
.panel.white .exitTab,
.panel.orange .exitTab,
.panel.fluorescent.yellow-green .exitTab,
.panel.fluorescent.pink .exitTab,
.panel.yellow .exitTabHolder,
.panel.white .exitTabHolder,
.panel.orange .exitTabHolder,
.panel.fluorescent.yellow-green .exitTabHolder,
.panel.fluorescent.pink .exitTabHolder {
  border-color: var(--black) !important;
  color: var(--black);
}

/* Divider lines between subpanels */
.panel.yellow .subDivider,
.panel.white .subDivider,
.panel.orange .subDivider,
.panel.fluorescent.yellow-green .subDivider,
.panel.fluorescent.pink .subDivider {
  background-color: var(--black) !important;
}

/* APL divider pseudo-line */
.panel.yellow .subDivider.hasArrow::before,
.panel.white .subDivider.hasArrow::before,
.panel.orange .subDivider.hasArrow::before,
.panel.fluorescent.yellow-green .subDivider.hasArrow::before,
.panel.fluorescent.pink .subDivider.hasArrow::before {
  background-color: var(--black) !important;
}

/* Borders inside light-background panel content */
.panel.yellow .streetName,
.panel.white .streetName,
.panel.orange .streetName,
.panel.fluorescent.yellow-green .streetName,
.panel.fluorescent.pink .streetName {
  border-color: var(--black) !important;
}

/* Guide arrow containers/bands on light-background panels */
.panel.yellow .guideArrows,
.panel.white .guideArrows,
.panel.orange .guideArrows,
.panel.fluorescent.yellow-green .guideArrows,
.panel.fluorescent.pink .guideArrows {
  border-color: var(--black) !important;
  color: var(--black);
}

/* Side Left / Side Right guide arrows reserve space inside the sign border */
.sign.hasSideGuideArrow {
  --sideGuideArrowReserve: 2.90rem;
  --sideGuideArrowInset: 0.48rem;

  position: relative !important;
  overflow: hidden !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  box-sizing: content-box !important;
}

.sign.hasSideLeftGuideArrow {
  padding-left: var(--sideGuideArrowReserve) !important;
}

.sign.hasSideRightGuideArrow {
  padding-right: var(--sideGuideArrowReserve) !important;
}

.sign.hasSideGuideArrow .signHolder {
  position: static !important;
  overflow: visible !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  align-items: center;
  justify-content: center;
}

.sign.hasSideGuideArrow .sideLeftArrow,
.sign.hasSideGuideArrow .sideRightArrow {
  position: absolute !important;
  top: 50% !important;
  display: none !important;

  height: 2.35rem !important;
  width: auto !important;
  max-width: none !important;

  padding: 0 !important;
  margin: 0 !important;

  flex: 0 0 auto !important;
  object-fit: contain !important;
  transform: translateY(-50%) !important;
  z-index: 5;
  box-sizing: content-box;
  pointer-events: none;
}

.sign.hasSideLeftGuideArrow .sideLeftArrow {
  display: block !important;
  left: var(--sideGuideArrowInset) !important;
}

.sign.hasSideRightGuideArrow .sideRightArrow {
  display: block !important;
  right: var(--sideGuideArrowInset) !important;
}

.sign.hasSideLeftGuideArrow .sideRightArrow,
.sign.hasSideRightGuideArrow .sideLeftArrow {
  display: none !important;
}

.sign.hasSideGuideArrow .subPanelDisplay {
  flex: 0 0 auto !important;
}


.exportCaptureTarget,
.exportCaptureTarget * {
  box-sizing: border-box;
}

#panelContainer.exportCaptureTarget {
  width: max-content !important;
  min-width: max-content !important;
  height: max-content !important;
  min-height: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  background-image: none !important;
  align-items: flex-start !important;
}

#panelContainer.exportCaptureTarget .panel:first-child {
  padding-left: 0 !important;
}

#panelContainer.exportCaptureTarget .panel:last-child {
  padding-right: 0 !important;
}


/* Dynamic full-bleed row corner fill
   These patches fill only the square area behind rounded sign corners.
   The sign itself stays above them, so only the outside corner color changes. */
.signContainer.hasDynamicSignCornerPatches {
  position: relative !important;
  overflow: hidden !important;
}

.signContainer.hasDynamicSignCornerPatches > :not(.dynamicSignCornerPatch) {
  position: relative;
  z-index: 2;
}

.signContainer.hasDynamicSignCornerPatches > .dynamicSignCornerPatch {
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--signBorderRadius, 0.75rem) + 0.35rem);
  z-index: 1;
  pointer-events: none;
}

.signContainer.hasDynamicSignCornerPatches > .dynamicSignCornerPatch.top {
  top: 0;
  background-color: var(--dynamicSignTopCornerColor, transparent);
}

.signContainer.hasDynamicSignCornerPatches > .dynamicSignCornerPatch.bottom {
  bottom: 0;
  background-color: var(--dynamicSignBottomCornerColor, transparent);
}

/* Rendered sign selection and icon spacing fixes */
.selectedRenderedSubpanel,
.selectedRenderedBlockRow,
.selectedRenderedBlockElement {
  outline: none !important;
  box-shadow: none !important;
}

.bE-iconElement {
  display: inline-grid;
  place-items: center;
  font-size: 0;
  line-height: 0;
  width: max-content;
  height: max-content;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  margin-top: var(--iconVerticalMargin, 0rem);
  margin-bottom: var(--iconVerticalMargin, 0rem);
  margin-left: var(--iconHorizontalMargin, 0rem);
  margin-right: var(--iconHorizontalMargin, 0rem);
  padding: 0 !important;
  background-color: transparent !important;
  border: 0 !important;
}

.bE-iconElement > .bE-iconBox {
  display: inline-grid;
  grid-template-columns: var(--iconPaddingHorizontal, 0rem) auto var(--iconPaddingHorizontal, 0rem);
  grid-template-rows: var(--iconPaddingVertical, 0rem) auto var(--iconPaddingVertical, 0rem);
  align-items: center;
  justify-items: center;
  font-size: 0;
  line-height: 0;
  width: max-content;
  height: max-content;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  padding: 0 !important;
}

.bE-iconElement > .bE-iconBox.hasBackground {
  background-color: var(--iconBgColor);
}

.bE-iconElement > .bE-iconBox.hasBorder {
  border: 0.12rem solid var(--iconBorderColor, currentColor);
  border-radius: var(--borderRadius, 0px);
}

.bE-iconElement > .bE-iconBox > img,
.bE-iconElement > img {
  display: block;
  grid-column: 2;
  grid-row: 2;
  width: auto;
  height: var(--iconSize, 3rem);
  max-width: none;
  max-height: none;
  object-fit: contain;
}

/* Export-only real first-letter spans for shield banners and action-message banner text. */
.exportRealFirstLetter::first-letter {
  font-size: inherit !important;
  line-height: inherit !important;
}

.exportBannerFirstLetter {
  display: inline-block;
}

.exportStaticCaptureWrapper,
.exportStaticCaptureClone {
  box-sizing: border-box;
}


/* Real DOM first-letter sizing for action-message banner text so SVG/PNG export matches the editor. */
.bE-banner.bE-realBannerFirstLetter::first-letter {
  font-size: inherit !important;
}

.bE-banner.bE-realBannerFirstLetter .bE-bannerFirstLetter {
  display: inline-block;
  font-size: calc(var(--bannerFirstLetterSize, 120) * 1%);
  line-height: 1;
}

.exportStaticCaptureWrapper {
  isolation: isolate;
}


/* Standard guide-arrow dropdown additions */
.guideArrows .arrow.illinoisDownArrow,
.guideArrows .arrow.canadianDownArrow {
  height: 1.5rem !important;
  width: auto !important;
  object-fit: contain !important;
}

.bE-iconElement > .bE-iconBox.invertColors > img {
  filter: invert(1);
  -webkit-filter: invert(1);
}

/* Multi-line control/action text alignment
   The control's Alignment setting already controls which block group the element sits in.
   These rules make that same setting align the individual lines inside one multi-line text block. */
.bE-textElement.bE-multilineTextElement {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
  text-align: var(--alignmentCss, center);
  white-space: normal;
}

.bE-textElement.bE-multilineTextElement > .bE-textLine {
  display: block;
  width: 100%;
  text-align: var(--alignmentCss, center);
  white-space: pre;
  line-height: inherit;
}

/* Tight spaces used by enlarged action-message/control-text numerals. */
.bE-tightSpace,
.bE-tightNumeralSpace {
  display: inline;
  white-space: pre;
  font-size: var(--tightNumeralSpaceScale, 0.35em);
  line-height: 0;
  vertical-align: baseline;
}

.bE-tightNumeralSpace {
  width: auto;
}

.bE-tightInternalNumeralSpace {
  font-size: var(--tightInternalNumeralSpaceScale, 0.35em);
}


/* Vertically stacked panels within the same post position */
.panelStack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--stackedPanelSpacing, 0rem);
  width: max-content;
  flex: 0 0 auto;
}


.panelStack.stackedPanelMatchWidth > .panel {
  width: 100%;
  box-sizing: border-box;
}

.panelStack.stackedPanelMatchWidth > .panel > .signContainer,
.panelStack.stackedPanelMatchWidth > .panel > .signContainer > .sign,
.panelStack.stackedPanelMatchWidth > .panel > .signContainer > .sign > .signHolder {
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.panelStack.stackedPanelMatchWidth > .panel > .exitTabContainer.full,
.panelStack.stackedPanelMatchWidth > .panel > .exitTabContainer.wide,
.panelStack.stackedPanelMatchWidth > .panel > .exitTabContainer.edge {
  width: 100%;
  box-sizing: border-box;
}

#panelContainer > .panelStack:first-child {
  padding-left: 1rem;
}

#panelContainer > .panelStack:last-child {
  padding-right: 1rem;
}

.panelStack > .panel {
  padding-left: 0;
  padding-right: 0;
}

.panelStack > .panel:first-child,
.panelStack > .panel:last-child {
  padding-left: 0;
  padding-right: 0;
}

.panelStack .stackedPanelBottom {
  margin-top: 0;
}

#postContainer.polePositionRural .panelStack,
#postContainer.polePositionCenter .panelStack {
  margin-top: -10rem;
}

#postContainer.polePositionCenter .panelStack {
  margin-top: -22.5rem;
}
