/* Shared styles for the bid builder drafts (Options A, B and C). */

.draft-banner {
  background: #fff3c4; color: #5c4300; border-bottom: 1px solid #e3c35a;
  font-size: .92rem; text-align: center; padding: 8px 16px;
}
.draft-banner a { color: inherit; font-weight: 600; }

.bid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.bid-main { min-width: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 1.45rem; }
.panel h3 { margin-top: 4px; }
.hint { color: var(--muted); font-size: .95rem; margin-top: -4px; }

/* Choice cards (radio or checkbox styled as tiles) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 14px 0 6px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: block; height: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; background: #fff; transition: border-color .15s, background .15s;
}
.choice strong { display: block; font-family: var(--head); font-size: 1.08rem; }
.choice small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; line-height: 1.4; }
.choice:hover span { border-color: #b9c4cf; }
.choice input:checked + span { border-color: var(--accent); background: #fffaf0; box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Number steppers for counts */
.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px 20px; margin-top: 12px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.counter label { font-weight: 500; }
.counter small { display: block; color: var(--muted); font-size: .82rem; font-weight: 400; }
.stepper { display: inline-flex; align-items: center; border: 1px solid #c4cdd6; border-radius: 8px; overflow: hidden; flex: none; }
.stepper button { width: 36px; height: 36px; border: 0; background: var(--bg-soft); font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: #e7ecf1; }
.stepper input { width: 46px; height: 36px; border: 0; text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Progress (Option A) */
.progress { display: flex; gap: 6px; margin-bottom: 18px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress span.done { background: var(--accent); }
.step-label { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 6px; }
.step { display: none; }
.step.active { display: block; }
.nav-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.btn-plain { background: none; border: 1.5px solid #c4cdd6; color: var(--ink); cursor: pointer; font: inherit; }
.btn-plain:hover { border-color: var(--navy); }
button.btn { cursor: pointer; font: inherit; font-weight: 600; }

/* Summary sidebar */
.summary { position: sticky; top: 90px; }
.summary h3 { font-size: 1.15rem; }
.summary dl { margin: 0; }
.summary .row-line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary .row-line dt { color: var(--muted); }
.summary .row-line dd { margin: 0; font-weight: 500; text-align: right; }
.summary .empty { color: var(--muted); font-size: .95rem; }
.price {
  background: var(--navy); color: #fff; border-radius: 12px; padding: 18px; margin: 16px 0 12px; text-align: center;
}
.price .label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #b9c6d3; }
.price .amount { font-family: var(--head); font-size: 2rem; font-weight: 700; line-height: 1.2; margin-top: 4px; }
.price .sub { font-size: .85rem; color: #c9d4de; margin-top: 4px; }
.sample-flag {
  display: inline-block; background: #fff3c4; color: #6b4e00; border: 1px dashed #d6a600;
  font-size: .75rem; font-weight: 600; border-radius: 4px; padding: 1px 8px; margin-top: 8px;
}
.fine-print { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.lines { margin: 10px 0 0; padding: 0; list-style: none; font-size: .92rem; }
.lines li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.lines li span:last-child { white-space: nowrap; color: var(--muted); }

/* Rooms (Option C) */
.add-rooms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.add-rooms button {
  border: 1.5px dashed #b9c4cf; background: #fff; border-radius: 999px; padding: 8px 14px;
  font: inherit; font-weight: 500; cursor: pointer;
}
.add-rooms button:hover { border-color: var(--accent); color: var(--accent-dark); }
.room { border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-top: 16px; background: #fff; }
.room-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.room-head input { font: inherit; font-family: var(--head); font-size: 1.15rem; font-weight: 600; border: 0; border-bottom: 1px dashed transparent; padding: 2px 0; min-width: 0; flex: 1; }
.room-head input:hover, .room-head input:focus { border-bottom-color: #b9c4cf; outline: none; }
.room-remove { background: none; border: 0; color: #b03a2e; cursor: pointer; font: inherit; font-size: .9rem; }
.empty-rooms { text-align: center; color: var(--muted); padding: 28px 10px; border: 1.5px dashed var(--line); border-radius: 12px; margin-top: 16px; }

/* Comparison page */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.option-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
.option-card .letter {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; margin-bottom: 12px;
}
.option-card ul { padding-left: 18px; color: var(--muted); font-size: .95rem; }
.option-card .btn { margin-top: auto; text-align: center; }
.option-card.pick { border: 2px solid var(--accent); }
.pick-badge { align-self: flex-start; background: var(--accent); color: var(--navy); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }

@media (max-width: 960px) {
  .bid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .options { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .panel { padding: 18px; }
  .choices { grid-template-columns: 1fr 1fr; }
  .counters { grid-template-columns: 1fr; }
  .price .amount { font-size: 1.6rem; }
}

.panel .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .panel .row { grid-template-columns: 1fr; gap: 0; } }
[data-show-for][hidden] { display: none; }
.btn-link { background: none; border: 0; color: var(--accent-dark); font: inherit; font-weight: 600; cursor: pointer; padding: 10px 0 0; }
.btn-link:hover { text-decoration: underline; }
/* Let the hidden attribute win over display rules above. */
.bid [hidden] { display: none !important; }
.choice strong { line-height: 1.25; }

/* Plan your project hub and method switcher */
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.method-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.method-card:hover { border-color: var(--accent); box-shadow: 0 6px 20px rgba(19, 40, 59, .08); }
.method-card h3 { font-size: 1.4rem; margin: 8px 0 4px; }
.method-card p { color: var(--muted); }
.method-card .method-short { color: var(--ink); font-weight: 500; }
.method-card .btn { margin-top: auto; text-align: center; }
.method-best { align-self: flex-start; background: #fffaf0; color: var(--accent-dark); border: 1px solid #f0d28a; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; }
.method-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.method-foot h3 { font-size: 1.15rem; }
.method-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: .92rem; color: #c9d4de; }
.method-switch a, .method-switch span { border-radius: 999px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .3); text-decoration: none; color: #fff; }
.method-switch a:hover { border-color: var(--accent); }
.method-switch span { background: var(--accent); border-color: var(--accent); color: var(--navy); font-weight: 600; }
@media (max-width: 960px) { .methods, .method-foot { grid-template-columns: 1fr; } }

/* Beta note and disclaimer on the Plan your project pages */
.beta-note { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-size: .92rem; color: #c9d4de; }
.beta-note span { background: var(--accent); color: var(--navy); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 2px 10px; }
.plan-disclaimer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 26px 0 30px; }
.plan-disclaimer p { font-size: .88rem; color: var(--muted); line-height: 1.6; max-width: 900px; margin: 0 0 10px; }
.plan-disclaimer p:last-child { margin-bottom: 0; }

/* Price agreement popup (agree.js) */
.price-gate { max-width: 560px; width: calc(100% - 32px); border: 0; border-radius: 14px; padding: 26px 26px 22px; color: var(--ink); box-shadow: 0 20px 60px rgba(19, 40, 59, .35); }
.price-gate::backdrop { background: rgba(19, 40, 59, .6); }
.price-gate h2 { font-size: 1.45rem; margin: 0 0 10px; }
.price-gate p, .price-gate li { font-size: .95rem; line-height: 1.55; }
.price-gate ul { padding-left: 20px; margin: 10px 0 16px; }
.price-gate li { margin-bottom: 8px; }
.pg-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.pg-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pg-actions .btn[disabled] { opacity: .45; cursor: not-allowed; }
.pg-no { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.pg-alt { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
.prices-locked .price .amount, .prices-locked .price .sub, .prices-locked #b-lines { visibility: hidden; }
.prices-locked .price { position: relative; }
.pg-unlock { position: absolute; inset: auto 12px 12px 12px; }
@media (max-width: 560px) { .price-gate { padding: 20px 18px 18px; } .price-gate h2 { font-size: 1.25rem; } }
