:root {
  --paper: #f8f7f2;
  --ink: #2d3229;
  --gray: #555b50;
  --line: #d7d7cb;
  --olive: #45533d;
  --pale: #e9ecdf;
  --copper: #945331;
  --panel: #fffefa;
  --display:
    Baskerville, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.52 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select,
input[type="checkbox"] {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
select:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid #a56539;
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
}
.wrap {
  max-width: 1450px;
  width: calc(100% - clamp(36px, 8vw, 144px));
  margin-inline: auto;
}
.bar {
  border-bottom: 1px solid var(--line);
}
.bar-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 64px;
  height: 43px;
  object-fit: contain;
}
.brand span {
  font-family: var(--display);
  font-size: 27px;
  line-height: 1;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font: 700 8.5px/1.6 var(--sans);
  letter-spacing: 1.85px;
}
.mast-note {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.mast {
  padding: 36px 0 33px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.eyebrow,
.label,
.over,
.category {
  color: var(--olive);
  font: 700 10px/1.5 var(--sans);
  letter-spacing: 1.9px;
  text-transform: uppercase;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
}
h1 {
  font-size: clamp(51px, 5.5vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 8px 0 0;
}
h1 em {
  font-weight: 400;
  color: #59654d;
}
h2 {
  font-size: clamp(34px, 3.3vw, 55px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}
h3 {
  font-size: clamp(24px, 2vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.mast p {
  text-align: right;
  font-size: 13px;
  line-height: 1.65;
}
.mast p strong {
  font-weight: 600;
}
.mast p span,
.sub,
.small,
.caption,
.muted {
  color: var(--gray);
}
.stepwrap {
  border-block: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 5;
}
.steps {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.steps li {
  padding: 16px 3px 14px;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--gray);
  font-size: 14px;
  font-weight: 550;
}
.steps li.current {
  border-color: var(--olive);
  color: var(--olive);
}
.step-no {
  font: italic 17px var(--display);
  color: #747b6d;
}
.steps [aria-current] .step-no {
  color: var(--olive);
}
.stage {
  padding-block: 34px 36px;
  scroll-margin-top: 64px;
}
.secthead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
  gap: 18px;
}
.secthead .label {
  margin-bottom: 6px;
}
.secthead .sub {
  max-width: 480px;
  text-align: right;
  font-size: 14px;
}
.section {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.section > h3 {
  margin: 2px 0 16px;
}
.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(285px, 0.83fr);
  gap: clamp(22px, 3.2vw, 60px);
  align-items: start;
}
.hero {
  width: 100%;
  position: relative;
  display: block;
  padding: 0;
  aspect-ratio: 1.68;
  background: #e8e4d9;
  overflow: hidden;
  border: 1px solid #d8d4c7;
}
.hero img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}
.hero.plan img,
.hero.native img {
  object-fit: contain;
}
.hero.plan {
  background: #fcfaf5;
}
.hero.native {
  background: #d9d8d2;
}
.expand {
  position: absolute;
  bottom: 12px;
  right: 12px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: rgba(255, 254, 250, 0.94);
  font-size: 18px;
}
.captionline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 9px 0 11px;
  font-size: 12px;
}
.captionline strong {
  font-weight: 600;
}
.thumbs {
  display: flex;
  gap: 8px;
}
.thumbs button {
  min-width: 0;
  flex: 1;
  text-align: left;
  padding: 0 0 4px;
  border-bottom: 2px solid transparent;
  color: var(--gray);
  font-size: 11px;
}
.thumbs button[aria-pressed="true"] {
  border-color: var(--olive);
  color: var(--ink);
  font-weight: 700;
}
.thumbs img {
  width: 100%;
  height: clamp(40px, 4.3vw, 68px);
  display: block;
  object-fit: cover;
  margin-bottom: 5px;
}
.thumbs .plan img {
  object-fit: contain;
  background: #edeae2;
}
.config {
  border-top: 2px solid var(--olive);
  padding-top: 15px;
}
.layout-name {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 3px 0 14px;
}
.layout-name h3 {
  font-size: 30px;
}
.code {
  display: inline-block;
  background: var(--olive);
  color: white;
  font: 600 12px/1 var(--sans);
  padding: 6px 8px;
  letter-spacing: 0.02em;
}
.field {
  margin: 17px 0;
}
.field-title {
  font-weight: 650;
  font-size: 14px;
  display: block;
  margin-bottom: 7px;
}
.seg {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: #ebeae3;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.seg button {
  flex: 1;
  min-width: 0;
  padding: 9px 5px;
  line-height: 1.25;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 13px;
}
.seg button[aria-pressed="true"] {
  background: var(--panel);
  border-color: #c9cabc;
  box-shadow: 0 1px 3px #3332;
  color: var(--olive);
  font-weight: 650;
}
.door-style-choice .seg {
  width: 100%;
  max-width: 32rem;
}
.door-style-choice .seg button {
  min-height: 44px;
}
.door-style-choice .seg button[aria-pressed="true"] {
  background: var(--olive);
  color: white;
}
.desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}
.stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.stat strong {
  display: block;
  font: 26px/1.1 var(--display);
}
.stat small {
  font-size: 11px;
  color: var(--gray);
}
.actionrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.nextbar {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.primary,
.secondary,
.textbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 17px;
  border-radius: 3px;
  font: 600 13px/1.4 var(--sans);
  text-decoration: none;
}
.primary {
  background: var(--olive);
  color: #fff;
}
.primary:hover {
  background: #34412e;
}
.secondary {
  border: 1px solid #a7ac9d;
  background: var(--panel);
}
.textbtn {
  padding-inline: 0;
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.config > .primary {
  margin-top: 18px;
}
.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.note {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.note h3 {
  margin-bottom: 7px;
}
.note p {
  font-size: 14px;
  color: var(--gray);
  max-width: 610px;
}
.over {
  color: var(--copper);
}
.sub {
  font-size: 14px;
  line-height: 1.55;
}
.small {
  font-size: 12px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 13px;
}
.pick {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}
.pick[aria-pressed="true"] {
  border-color: var(--olive);
  box-shadow: inset 0 0 0 1px var(--olive);
}
.pick .checkdot {
  background: var(--panel);
  border: 1px solid #b6baac;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  position: absolute;
  right: 9px;
  top: 9px;
}
.pick[aria-pressed="true"] .checkdot {
  background: var(--olive);
  color: white;
  border-color: white;
}
.pick img {
  width: 100%;
  height: 133px;
  object-fit: cover;
  display: block;
}
.pick-copy {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pick-copy strong {
  font-size: 14px;
}
.pick-copy small {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.45;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.sw {
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 7px 6px;
  font-size: 12px;
}
.sw[aria-pressed="true"] {
  border-color: var(--olive);
  box-shadow: inset 0 0 0 1px var(--olive);
}
.chip {
  display: inline-flex;
  border-radius: 50%;
  overflow: hidden;
  width: 25px;
  height: 25px;
  flex: none;
}
.chip i {
  flex: 1;
  background-size: cover;
  background-position: center;
}
.config select,
.bidcontrols select,
.qty {
  padding: 8px 10px;
  background: var(--panel);
  border: 1px solid #b7bcae;
  border-radius: 3px;
  max-width: 100%;
}
.config select {
  width: 100%;
}
.feature {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.feature > img {
  width: 88px;
  height: 70px;
  object-fit: cover;
}
.feature-info {
  flex: 1;
}
.feature-info strong,
.checkline strong {
  display: block;
  font-size: 14px;
}
.feature small,
.checkline small {
  display: block;
  font-size: 12px;
  color: var(--gray);
  line-height: 1.45;
}
.checkline {
  display: flex;
  gap: 10px;
  align-items: start;
  cursor: pointer;
  margin: 10px 0;
}
.checkline input,
.feature input,
.bidcontrols input {
  width: 18px;
  height: 18px;
  accent-color: var(--olive);
  flex: none;
}
.inspiration {
  display: flex;
  gap: 10px;
  margin-top: 17px;
  align-items: center;
}
.inspiration img {
  width: 72px;
  height: 54px;
  object-fit: cover;
}
.inspiration p {
  font-size: 12px;
  color: var(--gray);
}
.gallerypair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.imagebtn {
  display: block;
  padding: 0;
  width: 100%;
}
.oak-comparison {
  margin: 1rem 0 0.5rem;
}
.oak-comparison .imagebtn,
.oak-comparison img {
  display: block;
  width: 100%;
}
.oak-comparison figcaption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.55rem 0;
  text-align: center;
  font-size: 0.85rem;
}
.oak-comparison strong {
  display: block;
}
.imagebtn img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  display: block;
}
.gallerypair figcaption,
.refcard figcaption {
  color: var(--gray);
  font-size: 13px;
  margin: 7px 0 0;
}
.refcard strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}
.refcard img {
  max-height: 360px;
}
.video-box {
  aspect-ratio: 16/9;
  background: #292f28;
  position: relative;
  margin: 10px 0;
}
.video-box iframe,
.video-box button,
.video-box img,
video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-box button {
  position: relative;
  padding: 0;
}
.video-box img {
  object-fit: cover;
}
.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #131c1322;
  color: white;
}
.play b {
  background: #35452ff0;
  padding: 9px 18px;
  border-radius: 2px;
  font-size: 13px;
}
.video-link {
  color: var(--olive);
  font-size: 12px;
  text-underline-offset: 3px;
}
.twogrid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 27px;
}
.bidcontrols {
  padding: 17px 21px;
  border: 1px solid var(--line);
  background: #f1f1e9;
}
.bidcontrols h3 {
  margin-bottom: 12px;
}
.bidcontrols label.selectrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 10px 0;
  font-size: 13px;
}
.bidcontrols .checkline {
  font-size: 14px;
}
.bidtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.bidtable td,
.bidtable th {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.bidtable th {
  font-size: 11px;
  text-align: left;
  color: var(--gray);
}
.bidtable th:last-child,
.bidtable td:last-child {
  text-align: right;
  white-space: nowrap;
}
.bidtable td small {
  display: block;
  color: var(--gray);
}
.total {
  background: var(--olive);
  color: #fff;
  padding: 19px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
}
.total strong {
  font: 34px/1 var(--display);
}
.bidfoot {
  font-size: 12px;
  margin: 10px 0;
  color: var(--gray);
}
.bid-deposit {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
  break-inside: avoid;
}
.bid-deposit small {
  display: block;
  margin-top: 4px;
  color: var(--gray);
}
.bidcard {
  margin-bottom: 20px;
}
.bidcard h3 {
  margin-bottom: 8px;
}
.bid-choice {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--gray);
  border-top: 1px solid var(--line);
  padding-block: 20px;
}
.close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 27px;
  line-height: 1;
}
dialog {
  padding: 8px;
  border: 0;
  max-width: min(95vw, 1300px);
  max-height: 94dvh;
  background: var(--panel);
}
dialog img {
  display: block;
  max-width: 100%;
  max-height: 82dvh;
  object-fit: contain;
  margin: auto;
}
dialog p {
  padding: 6px;
  font-size: 13px;
}
dialog::backdrop {
  background: #22291de8;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 20;
  background: white;
  padding: 8px;
}
#status:not(:empty) {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  border-radius: 4px;
  z-index: 15;
}
.printonly {
  display: none;
}
@media (max-width: 830px) {
  .layout-grid,
  .twogrid {
    grid-template-columns: 1fr;
  }
  .mast {
    padding: 23px 0;
  }
  .stage {
    padding-top: 23px;
  }
  .bar-inner {
    height: 60px;
  }
  .steps li {
    gap: 5px;
    font-size: 12px;
    padding-block: 12px;
  }
  .step-no {
    font-size: 13px;
  }
  .config {
    margin-top: 4px;
  }
  .hero {
    aspect-ratio: 1.57;
  }
  .thumbs img {
    height: 58px;
  }
  .secthead .sub {
    max-width: 290px;
  }
  .mast h1 {
    font-size: 56px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .config > .primary {
    display: none;
  }
  .layout-grid {
    gap: 17px;
  }
  .bidcontrols {
    order: 0;
  }
  .bidcard {
    order: 1;
  }
}
@media (max-width: 550px) {
  .wrap {
    width: calc(100% - 34px);
  }
  .bar-inner {
    height: 52px;
  }
  .brand img {
    width: 45px;
    height: 33px;
  }
  .brand span {
    font-size: 22px;
  }
  .brand small {
    font-size: 7px;
  }
  .mast-note {
    font-size: 11px;
  }
  .mast {
    padding: 20px 0;
    align-items: start;
    display: block;
  }
  .mast p {
    margin-top: 10px;
    text-align: left;
    font-size: 12px;
  }
  .mast p br,
  .mast p span {
    display: none;
  }
  .mast h1 {
    font-size: 49px;
  }
  .eyebrow,
  .label,
  .over,
  .category {
    font-size: 9px;
  }
  .steps {
    width: calc(100% - 20px);
    gap: 0;
  }
  .steps li {
    font-size: 11.5px;
    padding: 10px 1px;
    gap: 4px;
  }
  .steps li .step-no {
    display: none;
  }
  .secthead {
    display: block;
    margin-bottom: 13px;
  }
  .secthead .sub {
    text-align: left;
    margin-top: 6px;
    max-width: 100%;
  }
  .secthead h2 {
    font-size: 34px;
  }
  .stage {
    padding-top: 20px;
    scroll-margin-top: 40px;
  }
  .gallerypair,
  .spread {
    gap: 13px;
  }
  .gallerypair.stack,
  .spread,
  .twogrid {
    grid-template-columns: 1fr;
  }
  .config .layout-name {
    margin-bottom: 7px;
  }
  .thumbs img {
    height: 40px;
  }
  .thumbs button {
    font-size: 10px;
  }
  .captionline {
    font-size: 11px;
  }
  .section {
    margin-top: 25px;
    padding-top: 20px;
  }
  .primary,
  .secondary {
    font-size: 12px;
    padding: 10px 13px;
  }
  .cards {
    gap: 8px;
  }
  .pick img {
    height: 102px;
  }
  .pick-copy {
    padding: 9px;
  }
  .foot {
    font-size: 10px;
  }
  .nextbar {
    margin-top: 22px;
  }
  .bidcontrols {
    padding: 13px;
  }
  .total strong {
    font-size: 30px;
  }
}
@media print {
  .bar,
  .steps,
  .stepwrap,
  .foot,
  .nextbar,
  .bidcontrols,
  .actionrow,
  .skip,
  dialog,
  #status,
  .screenonly,
  .mast .eyebrow {
    display: none !important;
  }
  .wrap {
    width: 100%;
  }
  .mast {
    padding: 0 0 12px;
  }
  .mast h1 {
    font-size: 28px;
  }
  .stage {
    padding: 0;
  }
  .twogrid {
    display: block;
  }
  .printonly {
    display: block;
  }
  .bidtable tr,
  .total {
    break-inside: avoid;
  }
  .total {
    color: black;
    background: white;
    border: 1px solid #444;
  }
  .bidtable td {
    padding: 4px;
  }
  .secthead h2 {
    font-size: 24px;
  }
  body {
    background: white;
    font-size: 11px;
  }
}
.spaced {
  margin-bottom: 14px;
}
.small.spaced {
  margin-top: 14px;
}
.featurephoto {
  width: 90px;
  flex: none;
  padding: 0;
}
.featurephoto img {
  display: block;
  width: 100%;
  height: 68px;
  object-fit: cover;
}
.inspiration .featurephoto {
  width: 74px;
}
.selectrow span {
  font-size: 13px;
}
.config .field > .selectrow > span {
  display: none;
}
.feature .checkline {
  margin: 0;
}
.video-link:hover,
.textbtn:hover {
  color: #794b34;
}
.pick:hover,
.sw:hover {
  border-color: #7e8774;
}
.hero img {
  transition: filter 0.18s;
}
.hero:hover img {
  filter: brightness(1.025);
}
@media print {
  .selectrow,
  .skip {
    display: none;
  }
}

.detailstrip {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray);
  font-size: 13px;
  margin-top: 14px;
}
.bid-preview {
  margin: 0 0 17px;
}
.bid-preview .imagebtn img {
  height: 170px;
  object-fit: cover;
}
.bid-preview p {
  margin-top: 3px;
}
.gallerypair > figure > button:focus-visible,
.featurephoto:focus-visible {
  outline: 3px solid var(--copper);
}
@media (max-width: 830px) {
  .bidcard {
    order: 0;
  }
  .bidcontrols {
    order: 1;
  }
  .bidcard .actionrow {
    margin-top: 10px;
  }
}

.mobiletotal {
  display: none;
}
#bid-adjust {
  scroll-margin-top: 100px;
}
@media screen and (max-width: 830px) {
  .mobiletotal {
    position: sticky;
    top: 44px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 11px;
    background: var(--olive);
    color: white;
    margin-bottom: 16px;
    font-size: 12px;
  }
  .mobiletotal strong {
    font-family: var(--display);
    font-size: 22px;
  }
  .mobiletotal a {
    color: white;
  }
  .bidcontrols {
    order: 0;
  }
  .bidcard {
    order: 1;
  }
}
@media screen and (max-width: 550px) {
  .mobiletotal {
    top: 41px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.brand {
  text-decoration: none;
  color: inherit;
}
.hero img {
  object-fit: contain;
}
.hero {
  background: #e7e2d8;
  aspect-ratio: 1.565;
}

.estimate-delta {
  color: var(--olive);
  font-size: 13px;
  margin: -5px 0 8px;
  font-weight: 600;
}
@media print {
  .estimate-delta {
    display: none;
  }
}

.topdesigns {
  grid-template-columns: 1fr 1fr;
}
.topdesigns .pick img {
  height: auto;
  aspect-ratio: 1.95;
  object-fit: cover;
}
@media (max-width: 550px) {
  .topdesigns .pick img {
    aspect-ratio: 1.4;
  }
}

.measure {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.measure summary {
  cursor: pointer;
  color: var(--olive);
  font-weight: 650;
}
.measure dl {
  margin: 12px 0;
}
.measure dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding: 3px 0;
}
.measure dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.measure p {
  color: var(--gray);
  font-size: 12px;
}
@media print {
  .measure {
    display: none;
  }
}
.bid-preview {
  display: flex;
  gap: 9px;
}
.bid-preview figure {
  flex: 1;
  min-width: 0;
}
.bid-preview .imagebtn img {
  height: auto;
  aspect-ratio: 1.65;
}
.bid-preview figcaption {
  font-size: 11px;
  line-height: 1.3;
  margin-top: 4px;
  color: var(--gray);
}

/* Section navigation and dimensioned opening spread */
.steps {
  padding: 0;
  margin-block: 0;
  list-style: none;
}
.steps li {
  padding: 0;
}
.steps li button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  display: flex;
  align-items: center;
  gap: inherit;
  padding: 0 4px;
  min-height: 48px;
  min-width: 44px;
  justify-content: center;
  cursor: pointer;
}
.steps li button:hover {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pantry-photo-choice {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 8px;
}
@media (max-width: 600px) {
  .steps li button {
    min-height: 44px;
    padding-inline: 2px;
  }
}
.nextbar .primary {
  font-size: 16px;
  min-height: 56px;
  padding: 15px 27px;
  min-width: 232px;
}
.layout-options .config {
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) 1fr 1.15fr;
  align-items: end;
  column-gap: 24px;
  border-top: 1px solid var(--line);
  padding: 12px 0 16px;
}
.layout-options .over {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
.layout-options .layout-name {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}
.layout-options .layout-name h3 {
  font-size: clamp(21px, 2.2vw, 32px);
}
.layout-options .field {
  grid-row: 1 / span 2;
  margin: 0;
}
.plan-pair {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 16px;
}
.plan-pair figure {
  position: relative;
  margin: 0;
  min-width: 0;
}
.plan-pair figcaption {
  font-size: 13px;
  font-weight: 650;
  padding: 0 0 6px;
}
.drawing {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #fcfaf5;
}
.drawing.native {
  background: #d9d8d3;
}
.drawing img {
  display: block;
  width: 100%;
  height: clamp(265px, 31vw, 415px);
  object-fit: contain;
}
.layout-options ~ .gallery > .hero {
  aspect-ratio: auto;
  height: clamp(265px, 34vw, 485px);
}
.layout-options ~ .gallery .thumbs {
  max-width: 760px;
}
.pair-back {
  font-size: 12px;
  color: var(--olive);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.layout-summary {
  display: grid;
  grid-template-columns: minmax(0, 620px) auto;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}
.layout-summary .stats {
  margin: 0;
  padding: 0;
  border: 0;
}
.frame-choices .pick img {
  height: clamp(210px, 22vw, 345px);
  object-fit: contain;
  background: #efede6;
}
.frame-choices .pick-copy {
  padding: 15px;
}
.frame-choices .checkdot {
  width: 25px;
  height: 25px;
}
.frame-detail {
  gap: 16px;
  align-items: center;
}
.frame-detail .featurephoto {
  width: clamp(145px, 20vw, 310px);
}
.frame-detail .featurephoto img {
  height: 140px;
  object-fit: contain;
  background: #eeeae1;
}
.construction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.construction-grid .feature {
  display: block;
  padding: 0;
  border: 0;
}
.construction-grid .featurephoto,
.construction-grid .featurephoto img {
  display: block;
  width: 100%;
}
.construction-grid .featurephoto img,
.shop-film video {
  width: 100%;
  height: clamp(190px, 19vw, 285px);
  object-fit: contain;
  background: #efece4;
}
.construction-grid .checkline {
  margin: 12px 0;
}
.shop-film {
  margin: 0;
}
.shop-film figcaption,
.pullout-example figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: var(--gray);
}
.checkline input,
.bidcontrols input,
.feature input {
  width: 22px;
  height: 22px;
}
.organizer-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: center;
}
.organizer-feature .imagebtn img,
.pullout-example .imagebtn img,
.girasolo .imagebtn img {
  object-fit: contain;
  width: 100%;
  background: #efece4;
}
.organizer-feature .imagebtn img {
  height: clamp(220px, 25vw, 360px);
}
.organizer-feature .checkline input {
  width: 28px;
  height: 28px;
}
.organizer-feature .selectrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-block: 14px;
}
.selectrow select {
  max-width: 100%;
  padding: 7px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.pullout-example {
  margin-top: 20px;
}
.pullout-example .imagebtn img {
  height: clamp(170px, 18vw, 270px);
  aspect-ratio: auto;
}
.girasolo {
  margin-block: 18px 26px;
}
.pantry-interior {
  max-width: 920px;
}
.pantry-interior .imagebtn img {
  max-height: 520px;
  aspect-ratio: auto;
  object-fit: contain;
  background: #efece4;
}
@media (max-width: 830px) {
  .layout-options .config {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .layout-options .over {
    display: none;
  }
  .layout-options .layout-name {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .layout-options .field {
    grid-row: 2;
  }
  .plan-pair {
    gap: 10px;
  }
  .layout-summary {
    display: flex;
    flex-wrap: wrap;
  }
  .construction-grid {
    grid-template-columns: 1fr 1fr;
  }
  .shop-film {
    grid-column: 1 / -1;
  }
  .shop-film video {
    height: auto;
    max-height: 360px;
    object-fit: contain;
  }
  .frame-choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 550px) {
  .layout-options .config {
    grid-template-columns: 1fr;
  }
  .layout-options .layout-name,
  .layout-options .field {
    grid-column: 1;
    grid-row: auto;
  }
  .plan-pair {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .drawing img {
    height: clamp(142px, 47vw, 225px);
  }
  .plan-pair figcaption {
    font-size: 12px;
  }
  .frame-choices,
  .construction-grid,
  .organizer-feature {
    grid-template-columns: 1fr;
  }
  .frame-choices .pick img,
  .construction-grid .featurephoto img {
    height: clamp(210px, 67vw, 320px);
  }
  .organizer-feature {
    gap: 10px;
  }
  .nextbar {
    flex-wrap: wrap;
  }
  .nextbar .primary {
    width: 100%;
  }
  .frame-detail .featurephoto img {
    height: 140px;
  }
  .shop-film {
    grid-column: 1;
  }
  .pair-back {
    font-size: 11px;
  }
  .frame-detail .featurephoto {
    width: 44%;
  }
}

.wood-caption {
  position: absolute;
  left: 12px;
  top: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 11px;
  border-radius: 2px;
  background: rgba(255, 254, 250, 0.96);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-align: left;
}
.girasolo .imagebtn img {
  max-height: 400px;
  aspect-ratio: 1.2;
}
@media (max-width: 550px) {
  .wood-caption {
    font-size: 11px;
    left: 7px;
    top: 7px;
  }
}

.construction-grid .joint-detail {
  margin-left: 35px;
  padding: 0 0 8px;
  font-size: 12px;
}
.gallery-stage {
  position: relative;
  min-width: 0;
}
.gallery-stage.is-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(50px, 6vw, 90px);
  gap: 8px;
}
.gallery-stage > .hero {
  height: clamp(265px, 34vw, 485px);
  aspect-ratio: auto;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0;
  text-align: center;
}
.gallery-arrow span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
  color: #33432e;
  background: #fffffff0;
  box-shadow: 0 1px 6px #242c222e;
}
.gallery-arrow.prev {
  left: 7px;
}
.gallery-arrow.next {
  right: 7px;
}
.gallery-arrow.peek {
  position: relative;
  inset: auto;
  transform: none;
  grid-column: 2;
  margin-top: 25px;
  overflow: hidden;
  background: #ded9cc;
  border: 1px solid var(--line);
}
.gallery-arrow.peek img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  opacity: 0.66;
}
.gallery-arrow.peek span,
.gallery-arrow.peek small {
  z-index: 1;
}
.gallery-arrow.peek small {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 5px 2px;
  background: #f8f7f0e8;
  font-size: 11px;
}
.rollout-control {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 14px;
}
.rollout-control > .secondary {
  margin-top: 7px;
}
.framing-note {
  font-size: 14px;
  line-height: 1.55;
  background: #f1f0e8;
  padding: 14px 16px;
}
.framing-note strong {
  display: block;
  margin-bottom: 4px;
}
.framing-note span {
  white-space: nowrap;
}
.send-panel {
  margin: 15px 0 20px;
  border: 1px solid #a6b19b;
  border-radius: 3px;
  background: var(--pale);
  padding: 16px 18px;
}
.send-panel h3 {
  font-size: 23px;
}
.send-panel p {
  font-size: 13px;
  margin: 5px 0 12px;
}
.send-panel .primary:disabled {
  opacity: 0.75;
  cursor: default;
}
.bid-basis {
  color: var(--olive);
  font-size: 13px;
  font-weight: 650;
  margin-top: 6px;
}
@media (max-width: 550px) {
  .gallery-stage.is-pair {
    grid-template-columns: minmax(0, 1fr) 39px;
    gap: 4px;
  }
  .gallery-arrow span {
    width: 32px;
    height: 32px;
    font-size: 19px;
  }
  .gallery-arrow.peek {
    margin-top: 23px;
  }
  .gallery-arrow.peek small {
    font-size: 9px;
  }
  .gallery-arrow.prev {
    left: 2px;
  }
  .gallery-arrow.next:not(.peek) {
    right: 2px;
  }
  .send-panel .primary {
    width: 100%;
  }
}
@media print {
  .send-panel {
    display: none;
  }
}

.send-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  scroll-margin-top: 82px;
}
.send-panel p {
  margin-bottom: 0;
}
.send-panel .primary {
  flex: none;
  padding: 15px 20px;
}
.film-slot {
  width: 100%;
}
@media (max-width: 650px) {
  .send-panel {
    display: grid;
    gap: 13px;
  }
}
@media print {
  .send-panel {
    display: none;
  }
}

.contract-send-actions {display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
@media(max-width:650px){.contract-send-actions{width:100%;}.contract-send-actions button{width:100%;}}

.self-install-choice{margin:24px 0;padding:24px;border:1px solid var(--line,#d8ddd5);background:#f1f2e9;border-radius:5px}.self-install-choice .checkline{margin:0}.self-install-note{margin-top:18px;padding:18px;border-left:3px solid #8e6d37;background:#fffaf0}.self-install-note h3{font-size:19px;margin:0 0 8px}.self-install-note p{margin:0;line-height:1.6}
