/* Promo square page. Builds on /styles.css (same header and buttons as the booth map). */
.promo-main { max-width: 720px; margin: 0 auto; padding: 16px 14px 48px; }
.pcard { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.pcard h2 { margin: 0 0 8px; font-size: 19px; }
.promo-page label { display: block; font-weight: 600; margin: 12px 0 4px; }
.promo-page input[type="text"], .promo-page input:not([type]), .promo-page input[type="email"] {
  width: 100%; padding: 11px 12px; border: 1px solid #c9c4bc; border-radius: 9px; font-size: 16px; background: #fff;
}
.row { display: flex; gap: 8px; }
.row input { flex: 1; min-width: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } .row { flex-direction: column; } }
.req { font-weight: 400; color: var(--muted); font-size: 13px; }
.center { text-align: center; }
.note { border-radius: 10px; padding: 12px 14px; font-weight: 600; margin: 12px 0; background: #eef3ff; color: #183a7a; }
.note.bad { background: #fde8eb; color: #8a0f22; }
.note.ok { background: #e6f4ea; color: #145c2a; }
.note.wait { background: #fff3cd; color: #5c4500; }
.note .small { font-weight: 400; color: inherit; }
.choices { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px 10px; margin: 14px 0 0; }
.choices legend { font-weight: 700; padding: 0 4px; }
.choices label { font-weight: 500; margin: 6px 0; display: flex; gap: 8px; align-items: center; }
.btn.big { font-size: 18px; padding: 14px 18px; }
.examples { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ex { margin: 0; border-radius: 10px; overflow: hidden; border: 3px solid; }
.ex.good { border-color: #1a7f37; }
.ex.bad { border-color: #c8102e; }
.ex figcaption { color: #fff; font-weight: 800; letter-spacing: .06em; text-align: center; padding: 4px; font-size: 14px; }
.ex.good figcaption { background: #1a7f37; }
.ex.bad figcaption { background: #c8102e; }
.ex img { display: block; width: 100%; height: auto; aspect-ratio: 1; background: #ddd; }
.guides { border: 2px solid #6b2fa0; }
.guides ul { margin: 4px 0 0; padding-left: 20px; }
.guides li { margin: 6px 0; font-weight: 700; }
.stage { position: relative; margin: 10px 0; }
#preview { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 6px; box-shadow: 0 4px 18px rgba(0,0,0,.18); touch-action: none; background: #eee; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
#preview.dragging { cursor: grabbing; }
.loading { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 520px) { .slots { grid-template-columns: 1fr; } }
.slot { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.slot.active { border-color: var(--sel); box-shadow: 0 0 0 2px rgba(31,95,209,.25); }
.slot h3 { margin: 0; font-size: 14px; }
.slot .btns { display: flex; gap: 6px; flex-wrap: wrap; }
.slot .btn { padding: 7px 10px; font-size: 14px; }
.slot input[type="range"] { width: 100%; }
.slot .warn { color: #8a5a00; font-size: 12px; font-weight: 600; }
.slot .kept { color: var(--muted); font-size: 12px; }
.send .btn[disabled] { cursor: not-allowed; }
.drop-hint { outline: 4px dashed var(--sel); outline-offset: -4px; }
.loading[hidden] { display: none; }
.dl-box { margin-top: 12px; padding: 12px; border-radius: 10px; background: #fff; border: 2px dashed #6b2fa0; display: flex; flex-direction: column; gap: 8px; }
.dl-title { font-weight: 800; color: #6b2fa0; }
.dl-box .btn { text-align: center; text-decoration: none; }
