:root {
  --andrd-finale-ink: #101722;
  --andrd-finale-graphite: #263242;
  --andrd-finale-frost: #f4f8fc;
  --andrd-finale-aqua: #58c9f3;
  --andrd-finale-bondi: #168fd0;
  --andrd-finale-lime: #c5f47b;
  --andrd-finale-line: #b9c7d2;
}

.staggs-configurator .option-group.total .button-wrapper {
  align-items: stretch;
}

.staggs-configurator .andrd-review-build {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  min-width: 154px;
  min-height: 50px;
  margin: 0 8px 0 0;
  padding: 7px 21px 8px;
  overflow: hidden;
  color: #062234;
  text-align: left;
  text-shadow: 0 1px rgba(255, 255, 255, .75);
  border: 1px solid #0878b6;
  border-radius: 16px;
  background:
    linear-gradient(rgba(255, 255, 255, .87), rgba(255, 255, 255, .06) 45%, transparent 46%),
    linear-gradient(180deg, #9ceaff 0%, #49c4f4 48%, #199ad8 52%, #52c8f2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(6, 79, 117, .28),
    0 2px 7px rgba(15, 64, 91, .28);
  cursor: pointer;
  isolation: isolate;
}

.staggs-configurator .andrd-review-build::after {
  content: "";
  position: absolute;
  inset: 2px 10px auto;
  height: 19px;
  z-index: -1;
  border-radius: 999px 999px 50% 50%;
  background: linear-gradient(rgba(255, 255, 255, .75), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.staggs-configurator .andrd-review-build:hover {
  filter: brightness(1.05) saturate(1.05);
}

.staggs-configurator .andrd-review-build:focus-visible {
  outline: 3px solid rgba(22, 143, 208, .32);
  outline-offset: 3px;
}

.staggs-configurator .andrd-review-build span {
  font-size: 13px;
  font-weight: 800;
  line-height: 15px;
}

.staggs-configurator .andrd-review-build small {
  margin-top: 1px;
  color: #194e69;
  font-size: 8px;
  font-weight: 700;
  line-height: 10px;
  letter-spacing: .02em;
}

.andrd-finale-open {
  overflow: hidden !important;
}

.andrd-finale {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 26px;
  visibility: hidden;
  opacity: 0;
  font-family: "dunbar-tall", Arial, Helvetica, sans-serif;
  transition: opacity .2s ease, visibility .2s ease;
}

.andrd-finale.is-open {
  visibility: visible;
  opacity: 1;
}

.andrd-finale__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 22, .78);
  backdrop-filter: blur(18px) saturate(.9);
}

.andrd-finale__window {
  position: relative;
  width: min(1260px, 96vw);
  height: min(820px, 92vh);
  overflow: hidden;
  color: var(--andrd-finale-ink);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 19px;
  background: var(--andrd-finale-frost);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, .48),
    0 0 0 1px rgba(29, 66, 89, .38),
    inset 0 1px rgba(255, 255, 255, .9);
  transform: translateY(14px) scale(.985);
  transition: transform .25s cubic-bezier(.2, .75, .25, 1);
}

.andrd-finale.is-open .andrd-finale__window {
  transform: translateY(0) scale(1);
}

.andrd-finale__titlebar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 43px;
  padding: 0 15px;
  color: #2a3644;
  border-bottom: 1px solid #8f9ba7;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .56) 0 2px, rgba(190, 201, 212, .44) 2px 4px),
    linear-gradient(#f9fbfd, #cbd4dc);
  box-shadow: inset 0 1px rgba(255, 255, 255, .95), 0 1px 3px rgba(30, 48, 61, .16);
}

.andrd-finale__titlebar p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px rgba(255, 255, 255, .92);
}

.andrd-finale__traffic {
  display: flex;
  gap: 7px;
}

.andrd-finale__traffic i {
  display: block;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(44, 55, 67, .45);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 18%, #fff 0 7%, transparent 8%), linear-gradient(#f66d64, #cf332d);
  box-shadow: inset 0 -1px 2px rgba(0, 0, 0, .24), 0 1px rgba(255, 255, 255, .7);
}

.andrd-finale__traffic i:nth-child(2) {
  background: radial-gradient(circle at 50% 18%, #fff 0 7%, transparent 8%), linear-gradient(#ffd664, #d89f25);
}

.andrd-finale__traffic i:nth-child(3) {
  background: radial-gradient(circle at 50% 18%, #fff 0 7%, transparent 8%), linear-gradient(#7be282, #39a94a);
}

.andrd-finale__close {
  justify-self: end;
  padding: 5px 10px;
  color: #344250;
  font: 700 10px/1 "dunbar-tall", Arial, Helvetica, sans-serif;
  border: 1px solid #9aa7b2;
  border-radius: 999px;
  background: linear-gradient(#fff, #d9e0e6);
  box-shadow: inset 0 1px #fff, 0 1px 2px rgba(27, 44, 56, .14);
  cursor: pointer;
}

.andrd-finale__close:hover {
  background: #fff;
}

.andrd-finale__body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, .82fr);
  height: calc(100% - 43px);
}

.andrd-finale__visuals {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 24px 16px 18px 24px;
  background:
    radial-gradient(circle at 68% 44%, rgba(88, 201, 243, .22), transparent 46%),
    linear-gradient(145deg, #0d1621, #1c2d40 62%, #125b78);
}

.andrd-finale__backgrounds {
  display: flex;
  gap: 7px;
  margin: 0 0 10px;
}

.andrd-finale__background-choice {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 45px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 9px;
  background-color: #172033;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
  cursor: pointer;
}

.andrd-finale__background-choice span {
  position: absolute;
  inset: auto 0 0;
  padding: 3px 4px;
  color: #fff;
  font: 700 9px/1.1 "dunbar-tall", Arial, sans-serif;
  text-align: center;
  text-shadow: 0 1px 3px #000;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
}

.andrd-finale__background-choice.is-active {
  border: 2px solid #58c9f3;
  box-shadow: 0 0 0 2px rgba(88, 201, 243, .28);
}

.andrd-finale__pair-picker {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin: -4px 0 8px;
}

.andrd-finale__pair-choice {
  min-height: 27px;
  padding: 4px 11px;
  color: #e7f4fb;
  font: 700 9px/1 "dunbar-tall", Arial, sans-serif;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(5, 10, 16, .48);
  cursor: pointer;
}

.andrd-finale__pair-choice.is-active {
  color: #062234;
  border-color: #58c9f3;
  background: linear-gradient(#b6edfc, #58c9f3);
}

.andrd-finale__pair-choice:focus-visible {
  outline: 3px solid rgba(88, 201, 243, .55);
  outline-offset: 2px;
}

.andrd-finale__gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.andrd-finale__gallery-item {
  min-width: 0;
  padding: 4px;
  overflow: hidden;
  color: #e7f4fb;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 9px;
  background: rgba(5, 10, 16, .56);
  cursor: pointer;
}

.andrd-finale__gallery-item img {
  display: block;
  width: 100%;
  height: 54px;
  object-fit: contain;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
}

.andrd-finale__gallery-item span {
  display: block;
  padding-top: 4px;
  font: 700 9px/1.1 "dunbar-tall", Arial, sans-serif;
}

.andrd-finale__gallery-item.is-active {
  border-color: #58c9f3;
  background: rgba(22, 143, 208, .36);
  box-shadow: 0 0 0 1px rgba(88, 201, 243, .48);
}

.andrd-finale__gallery-item:focus-visible,
.andrd-finale__background-choice:focus-visible {
  outline: 3px solid rgba(88, 201, 243, .55);
  outline-offset: 2px;
}

.andrd-finale__page-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(290px, 100%);
  margin: 8px auto 0;
}

.andrd-finale__page-previews figure {
  min-width: 0;
  margin: 0;
  padding: 4px;
  overflow: hidden;
  color: #e7f4fb;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 7px;
  background: rgba(5, 10, 16, .56);
}

.andrd-finale__page-previews img {
  display: block;
  width: 100%;
  height: 55px;
  object-fit: contain;
  border-radius: 3px;
  background: rgba(255, 255, 255, .08);
}

.andrd-finale__page-previews figcaption {
  padding-top: 3px;
  color: #d6e6ef;
  font: 600 8px/1.1 "dunbar-tall", Arial, sans-serif;
  text-align: center;
}

.andrd-finale__stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background:
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(255, 255, 255, .025) 6px 7px),
    rgba(6, 11, 18, .38);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, .3), 0 12px 30px rgba(0, 0, 0, .16);
}

.andrd-finale__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 1px rgba(255, 255, 255, .25);
  pointer-events: none;
}

.andrd-finale__main-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 0;
  object-fit: contain;
  animation: andrd-finale-image-in .25s ease both;
}

@keyframes andrd-finale-image-in {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: scale(1); }
}

.andrd-finale__loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f4f8fc;
  text-align: center;
}

.andrd-finale__loading[hidden] {
  display: none;
}

.andrd-finale__loading strong {
  margin-top: 15px;
  font-size: 17px;
}

.andrd-finale__loading small {
  margin-top: 5px;
  color: #9db2c4;
  font-size: 11px;
}

.andrd-finale__spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, .17);
  border-top-color: var(--andrd-finale-aqua);
  border-radius: 50%;
  animation: andrd-finale-spin .75s linear infinite;
}

@keyframes andrd-finale-spin {
  to { transform: rotate(360deg); }
}

.andrd-finale__view-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  width: min(600px, 100%);
  margin: 14px auto 0;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 15px;
  background: rgba(5, 10, 16, .42);
}

.andrd-finale__view-tabs button {
  min-height: 34px;
  padding: 6px 10px;
  color: #b8c8d5;
  font: 700 10px/1 "dunbar-tall", Arial, Helvetica, sans-serif;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.andrd-finale__view-tabs button.is-active {
  color: #062234;
  text-shadow: 0 1px rgba(255, 255, 255, .72);
  border-color: #1188c4;
  background:
    linear-gradient(rgba(255, 255, 255, .74), rgba(255, 255, 255, .08) 47%, transparent 48%),
    linear-gradient(#89e1fb, #2ca9df 51%, #66cdec);
  box-shadow: inset 0 1px #fff, 0 1px 4px rgba(0, 0, 0, .22);
}

.andrd-finale__details {
  min-width: 0;
  overflow-y: auto;
  padding: 38px 35px 26px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .72) 0 3px, rgba(221, 229, 236, .62) 3px 4px),
    #eef4f8;
}

.andrd-finale__eyebrow {
  margin: 0 0 8px;
  color: var(--andrd-finale-bondi);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.andrd-finale__details h2 {
  max-width: 360px;
  margin: 0;
  color: var(--andrd-finale-ink);
  font-family: "dunbar-tall", Arial, Helvetica, sans-serif;
  font-size: clamp(31px, 3vw, 47px);
  font-stretch: condensed;
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
}

.andrd-finale__intro {
  max-width: 390px;
  margin: 17px 0 18px;
  color: #566677;
  font-size: 12px;
  line-height: 1.55;
}

.andrd-finale__name-field {
  display: block;
  margin: 0 0 16px;
}

.andrd-finale__name-field > span {
  display: flex;
  justify-content: space-between;
  margin: 0 2px 6px;
  color: #344250;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.andrd-finale__name-field small {
  color: #7b8995;
  font-size: 8px;
  font-weight: 600;
  text-transform: none;
}

.andrd-finale__name-field input {
  width: 100%;
  height: 39px;
  padding: 8px 12px;
  color: #101722;
  font: 700 12px/1 "dunbar-tall", Arial, Helvetica, sans-serif;
  border: 1px solid #9eacb8;
  border-radius: 10px;
  background: rgba(255, 255, 255, .82);
  box-shadow: inset 0 1px 3px rgba(28, 47, 61, .12), 0 1px rgba(255, 255, 255, .9);
}

.andrd-finale__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.andrd-finale__specs div {
  min-width: 0;
  padding: 9px 10px;
  color: #263242;
  border: 1px solid #bdcbd6;
  border-radius: 10px;
  background: linear-gradient(#fff, #dde6ed);
  box-shadow: inset 0 1px #fff, 0 1px 2px rgba(32, 51, 65, .09);
}

.andrd-finale__specs strong,
.andrd-finale__specs em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.andrd-finale__specs strong {
  font-size: 9px;
  font-weight: 800;
}

.andrd-finale__specs em {
  margin-top: 3px;
  color: #65727c;
  font-size: 7.5px;
  line-height: 1.2;
}

.andrd-finale__suggestions {
  margin: 0 0 19px;
  padding: 12px 14px;
  color: #243240;
  border: 1px solid #bdcbd6;
  border-radius: 11px;
  background: rgba(255, 255, 255, .62);
  box-shadow: inset 0 1px rgba(255, 255, 255, .86);
}

.andrd-finale__suggestions[hidden] {
  display: none;
}

.andrd-finale__suggestions strong {
  display: block;
  margin-bottom: 6px;
  color: var(--andrd-finale-bondi);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.andrd-finale__suggestions ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.andrd-finale__suggestions li {
  position: relative;
  margin-top: 4px;
  padding-left: 13px;
  font-size: 10px;
  line-height: 1.35;
}

.andrd-finale__suggestions li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--andrd-finale-bondi);
  font-weight: 800;
}

.andrd-finale__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.andrd-finale__button,
.andrd-finale__cart {
  position: relative;
  min-height: 41px;
  padding: 9px 13px;
  color: #273642;
  font: 800 10px/1.1 "dunbar-tall", Arial, Helvetica, sans-serif;
  text-shadow: 0 1px rgba(255, 255, 255, .82);
  border: 1px solid #99a7b3;
  border-radius: 12px;
  background:
    linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .1) 48%, transparent 49%),
    linear-gradient(#fdfefe, #d5dde4 52%, #eef2f5);
  box-shadow: inset 0 1px #fff, 0 2px 5px rgba(33, 53, 67, .14);
  cursor: pointer;
}

.andrd-finale__button:hover,
.andrd-finale__cart:hover {
  filter: brightness(1.04);
}

.andrd-finale__button:focus-visible,
.andrd-finale__cart:focus-visible,
.andrd-finale__close:focus-visible,
.andrd-finale__view-tabs button:focus-visible,
.andrd-finale__name-field input:focus-visible {
  outline: 3px solid rgba(22, 143, 208, .28);
  outline-offset: 2px;
}

.andrd-finale__button:disabled {
  color: #8694a0;
  border-color: #c1cbd3;
  background: #e4eaee;
  box-shadow: none;
  cursor: wait;
}

.andrd-finale__button--primary {
  color: #062234;
  border-color: #0878b6;
  background:
    linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .08) 46%, transparent 47%),
    linear-gradient(#9ceaff, #49c4f4 49%, #199ad8 52%, #52c8f2);
}

.andrd-finale__button--primary:first-child {
  grid-column: 1 / -1;
  min-height: 47px;
  font-size: 12px;
}

.andrd-finale__cart-row {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #c6d1da;
}

.andrd-finale__cart {
  width: 100%;
  color: #263018;
  border-color: #72912f;
  background:
    linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .05) 47%, transparent 48%),
    linear-gradient(#dcf7a4, #addb56 52%, #c7ea7f);
}

.andrd-finale__cart-row p {
  margin: 6px 0 0;
  color: #738290;
  font-size: 8px;
  text-align: center;
}

.andrd-finale__status {
  min-height: 15px;
  margin: 10px 0 0;
  color: #566677;
  font-size: 9px;
  line-height: 1.35;
  text-align: center;
}

.andrd-finale__status[data-tone="success"] {
  color: #397621;
}

.andrd-finale__status[data-tone="error"] {
  color: #a02f29;
}

.andrd-finale-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 2147483200;
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 17px;
  color: #f4f8fc;
  font: 700 11px/1.4 "dunbar-tall", Arial, Helvetica, sans-serif;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(16, 23, 34, .94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .34);
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.andrd-finale-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .andrd-finale {
    padding: 10px;
  }

  .andrd-finale__window {
    width: 100%;
    height: calc(100dvh - 20px);
    border-radius: 15px;
  }

  .andrd-finale__body {
    display: block;
    overflow-y: auto;
  }

  .andrd-finale__visuals {
    height: 53dvh;
    min-height: 430px;
    padding: 12px 12px 14px;
  }

  .andrd-finale__details {
    overflow: visible;
    padding: 30px 23px 34px;
  }

  .andrd-finale__details h2 {
    font-size: 38px;
  }

  .staggs-configurator .andrd-review-build {
    min-width: 132px;
    margin-right: 5px;
    padding-inline: 14px;
  }
}

@media (max-width: 560px) {
  .andrd-finale__titlebar {
    grid-template-columns: auto 1fr auto;
  }

  .andrd-finale__traffic i:nth-child(2),
  .andrd-finale__traffic i:nth-child(3) {
    display: none;
  }

  .andrd-finale__visuals {
    height: 48dvh;
    min-height: 360px;
  }

  .andrd-finale__view-tabs {
    grid-template-columns: 1fr 1fr;
    width: min(330px, 100%);
  }

  .andrd-finale__specs {
    grid-template-columns: 1fr;
  }

  .andrd-finale__actions {
    grid-template-columns: 1fr;
  }

  .andrd-finale__button--primary:first-child {
    grid-column: auto;
  }

  .staggs-configurator .option-group.total .button-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .staggs-configurator .andrd-review-build {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .staggs-configurator .option-group.total form.cart {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .andrd-finale,
  .andrd-finale__window,
  .andrd-finale__main-image,
  .andrd-finale-toast {
    animation: none !important;
    transition: none !important;
  }
}

/* round 9/10: review-screen view tabs readable (white text, blue active tab), all widths */
@media all {
  html body .andrd-finale .andrd-finale__view-tabs {
    background: rgba(5, 10, 16, .55) !important;
  }
  html body .andrd-finale .andrd-finale__view-tabs button {
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .45) !important;
  }
  html body .andrd-finale .andrd-finale__view-tabs button.is-active {
    border-color: rgb(6, 79, 159) !important;
    background: linear-gradient(rgb(25, 118, 210) 0%, rgb(13, 104, 196) 55%, rgb(6, 79, 159) 100%) !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .25), 0 1px 4px rgba(0, 0, 0, .3) !important;
  }
}

/* round 10: short build link row */
.andrd-finale__link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 8px 8px 8px 14px;
  border: 1px solid rgba(13, 104, 196, .25);
  border-radius: 12px;
  background: rgba(13, 104, 196, .06);
  font: 600 13px/1.2 "dunbar-tall", Arial, Helvetica, sans-serif;
}
.andrd-finale__link[hidden] { display: none !important; }
.andrd-finale__link span { color: #5b6773; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.andrd-finale__link a { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgb(13, 104, 196); text-decoration: none; }
html body .andrd-finale .andrd-finale__link button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgb(6, 79, 159);
  border-radius: 9px;
  color: #fff;
  font: 700 12px/1 "dunbar-tall", Arial, Helvetica, sans-serif;
  background: linear-gradient(rgb(25, 118, 210) 0%, rgb(13, 104, 196) 55%, rgb(6, 79, 159) 100%);
  cursor: pointer;
}

/* Finale visual workbench refresh: keep controls legible against theme button resets. */
html body .andrd-finale .andrd-finale__visuals {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  grid-template-rows: auto auto minmax(250px, 1fr) 104px auto !important;
  background:
    radial-gradient(circle at 70% 12%, rgba(88, 201, 243, .24), transparent 38%),
    linear-gradient(155deg, #f7fbfd 0%, #e4eef3 58%, #d8e9f0 100%) !important;
}

html body .andrd-finale .andrd-finale__stage {
  min-height: 250px !important;
  border-color: rgba(58, 105, 129, .24) !important;
  background: linear-gradient(145deg, #eaf3f7, #d4e2e9) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .9), 0 9px 24px rgba(33, 68, 86, .13) !important;
}

html body .andrd-finale .andrd-finale__details h2 {
  font-size: clamp(28px, 2.4vw, 36px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.025em !important;
}

html body .andrd-finale .andrd-finale__pair-picker {
  gap: 6px !important;
  margin: -2px 0 8px !important;
}

html body .andrd-finale .andrd-finale__pair-choice {
  min-height: 27px !important;
  margin: 0 !important;
  padding: 4px 12px !important;
  color: #344c5b !important;
  font: 700 10px/1 "dunbar-tall", Arial, sans-serif !important;
  text-shadow: none !important;
  border: 1px solid #9db4c1 !important;
  border-radius: 999px !important;
  background: linear-gradient(#fff, #dce8ee) !important;
  box-shadow: inset 0 1px #fff, 0 1px 2px rgba(31, 62, 79, .1) !important;
}

html body .andrd-finale .andrd-finale__pair-choice.is-active {
  color: #073248 !important;
  border-color: #168fc0 !important;
  background: linear-gradient(#c8f2ff, #77d7f4) !important;
}

html body .andrd-finale .andrd-finale__gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body .andrd-finale .andrd-finale__gallery-item,
html body .andrd-finale .andrd-finale__gallery-item:hover,
html body .andrd-finale .andrd-finale__gallery-item:active {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 104px !important;
  margin: 0 !important;
  padding: 7px !important;
  overflow: hidden !important;
  color: #223947 !important;
  font: 700 11px/1.15 "dunbar-tall", Arial, sans-serif !important;
  text-align: center !important;
  text-shadow: none !important;
  white-space: normal !important;
  border: 1px solid #a9c0cc !important;
  border-radius: 11px !important;
  background: linear-gradient(#fff, #edf5f8) !important;
  box-shadow: inset 0 1px #fff, 0 2px 5px rgba(33, 68, 86, .1) !important;
  cursor: pointer !important;
}

html body .andrd-finale .andrd-finale__gallery-item.is-active {
  color: #073248 !important;
  border-color: #168fc0 !important;
  background: linear-gradient(#effcff, #d4f3fc) !important;
  box-shadow: 0 0 0 2px rgba(36, 174, 218, .22), inset 0 1px #fff !important;
}

html body .andrd-finale .andrd-finale__gallery-item img {
  position: static !important;
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 64px !important;
  height: 64px !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: #f7fbfd !important;
}

html body .andrd-finale .andrd-finale__gallery-item span {
  position: static !important;
  display: block !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-height: 18px !important;
  margin: 5px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #203a49 !important;
  font: 700 10px/1.2 "dunbar-tall", Arial, sans-serif !important;
  text-align: center !important;
  text-shadow: none !important;
  white-space: normal !important;
  background: transparent !important;
}

html body .andrd-finale .andrd-finale__page-previews figure {
  color: #344c5b !important;
  border-color: #b6c9d2 !important;
  background: linear-gradient(#fff, #eaf2f6) !important;
}

html body .andrd-finale .andrd-finale__page-previews img {
  background: #f7fbfd !important;
}

html body .andrd-finale .andrd-finale__page-previews figcaption {
  color: #344c5b !important;
}

@media (max-width: 560px) {
  html body .andrd-finale .andrd-finale__visuals {
    min-height: 420px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    grid-template-rows: auto auto minmax(250px, 1fr) 104px auto !important;
  }
  html body .andrd-finale .andrd-finale__gallery {
    gap: 6px !important;
  }
  html body .andrd-finale .andrd-finale__gallery-item {
    height: 92px !important;
    padding: 5px !important;
  }
  html body .andrd-finale .andrd-finale__gallery-item img {
    min-height: 50px !important;
    height: 50px !important;
  }
}
