/* Walsh Engraving award designer (scoped to .bld) */
.bld { --panel: #141312; --stage: #1b1d21; --bline: #2b2925; --muted: #a8a399; --gold: #C9A84C; --gold-2: #E0C36A; --danger: #e58b7a; --display: "Instrument Serif", Georgia, "Times New Roman", serif; --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color-scheme: dark; }
.bld { max-width: 1180px; margin: 0 auto; padding-block: 20px 56px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.bld h1 { font: 400 clamp(30px, 4.4vw, 46px)/1.05 var(--display); margin: 18px 0 6px; text-wrap: balance; }
.bld .bld-lede { color: var(--muted); margin: 0 0 22px; max-width: 60ch; }
.bld .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 28px; align-items: start; }
.bld .stage-col { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); min-width: 0; }
.bld .stage { background: var(--stage); border-radius: 6px; padding: 18px 12px 12px; display: flex; flex-direction: column; align-items: center; }
.bld #mockup { width: 100%; height: min(calc(100vh - 190px), 860px); min-height: 420px; display: block; }
.bld .stage-cap { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; width: 100%; padding: 10px 6px 2px; font-size: 12.5px; color: var(--muted); }
.bld .stage-cap b { color: var(--fg); font-weight: 500; }
.bld .disclaimer { font-size: 12px; color: var(--muted); margin: 10px 2px 0; max-width: 70ch; }
.bld .pickcolor { margin-top: 8px; font-size: 13px; color: var(--gold-2); }
.bld .steps { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.bld .step { border-top: 1px solid var(--bline); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.bld .step h2 { font: 400 22px/1.1 var(--display); margin: 0; display: flex; gap: 10px; align-items: baseline; }
.bld .step h2 .n { font: 600 11px/1 var(--body); letter-spacing: .12em; color: var(--gold); }
.bld .hint { font-size: 13px; color: var(--muted); margin: 0; }
.bld .awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; }
.bld .award { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px 9px; border: 1px solid var(--bline); border-radius: 6px; background: var(--panel); color: var(--fg); font: 500 13px/1.25 var(--body); cursor: pointer; text-align: center; }
.bld .award svg { height: 54px; width: 54px; }
.bld .award small { color: var(--muted); font-weight: 400; font-size: 11.5px; }
.bld .award[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.bld .award:hover { border-color: #5a554a; }
.bld .swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.bld .swatch { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border: 1px solid var(--bline); border-radius: 999px; background: var(--panel); color: var(--fg); font: 500 14px var(--body); cursor: pointer; }
.bld .swatch i { width: 18px; height: 18px; border-radius: 50%; display: block; }
.bld .swatch[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.bld label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
.bld input[type=text], .bld input[type=email], .bld input[type=tel], .bld input[type=number], .bld input[type=date], .bld textarea {
  background: var(--panel); border: 1px solid var(--bline); border-radius: 5px; color: var(--fg); font: 15px var(--body); padding: 10px 11px; width: 100%;
}
.bld textarea { min-height: 70px; resize: vertical; }
.bld input:focus-visible, .bld textarea:focus-visible, .bld button:focus-visible, .bld .drop:focus-within { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.bld .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bld .seg { display: inline-flex; border: 1px solid var(--bline); border-radius: 6px; overflow: hidden; align-self: flex-start; }
.bld .seg button { background: var(--panel); color: var(--muted); border: 0; padding: 8px 14px; font: 500 13px var(--body); cursor: pointer; }
.bld .seg button[aria-pressed="true"] { background: var(--gold); color: #17140c; }
.bld .drop { flex-direction: row; color: var(--fg); font-size: 14px; border: 1px dashed #4a463e; border-radius: 6px; padding: 14px; display: flex; gap: 12px; align-items: center; background: var(--panel); cursor: pointer; }
.bld .drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bld .drop .ico { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); flex: none; font-size: 20px; line-height: 1; }
.bld .drop .t { font-weight: 500; }
.bld .drop .s { font-size: 12.5px; color: var(--muted); }
.bld .check { flex-direction: row; align-items: center; gap: 8px; color: var(--fg); font-size: 13.5px; }
.bld .note { font-size: 12.5px; border-left: 2px solid var(--gold); padding: 6px 10px; color: var(--muted); background: var(--panel); }
.bld .warn { color: var(--gold-2); font-size: 12.5px; }
.bld .bld-btn { background: var(--gold); color: #17140c; border: 0; border-radius: 6px; padding: 13px 18px; font: 600 15px var(--body); cursor: pointer; }
.bld .bld-btn:hover { background: var(--gold-2); }
.bld .bld-btn[disabled] { opacity: .6; cursor: progress; }
.bld #logo-clear, .bld #logo-none { align-self: flex-start; }
.bld .bld-ghost { background: transparent; color: var(--fg); border: 1px solid var(--bline); border-radius: 6px; padding: 9px 12px; font: 500 13px var(--body); cursor: pointer; }
.bld .err { color: var(--danger); font-size: 13px; }
.bld .done { border: 1px solid var(--gold); border-radius: 6px; padding: 14px; background: var(--panel); }
.bld .done h3 { font: 400 22px var(--display); margin: 0 0 6px; }
.bld details.tools { font-size: 13px; color: var(--muted); }
.bld details.tools summary { cursor: pointer; }
.bld details.tools .tools-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.bld .hp { position: absolute; left: -9999px; }
@media (max-width: 860px) {
  .bld .grid { grid-template-columns: minmax(0, 1fr); }
  .bld .stage-col { position: static; }
  .bld #mockup { height: 62vh; min-height: 360px; }
}
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { .swatch, .seg button, .bld-btn { transition: background .15s, border-color .15s; } }

.bld { padding-top: 34px; }
.bld h1 { font: 900 clamp(38px, 6vw, 72px)/0.95 var(--sans); letter-spacing: -0.04em; text-transform: uppercase; font-stretch: 75%; margin: 0 0 14px; }
.bld h1 .it { font-family: var(--display); font-style: italic; font-weight: 400; text-transform: none; color: var(--gold); letter-spacing: -0.02em; }
.bld .bld-lede { color: var(--fg-dim); font-size: 16px; }
.bld .award img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 4px; }
.bld .stage-col { top: 78px; }
.bld #stage-loading { padding: 40px 0; }
.bld p { margin: 0; }
