/* Phase 5: wizard. Phone-first; matches builder.css tokens (sage/olive, Five-Part colors on bag cards). */
.wiz { max-width: 760px; margin: 0 auto; padding: 8px 0 32px; }
.wiz__dots { display: flex; gap: 8px; justify-content: center; list-style: none; margin: 0 0 18px; padding: 0; }
.wiz__dot { width: 10px; height: 10px; border-radius: 50%; background: #dfe2d6; transition: background .2s, transform .2s; }
.wiz__dot.is-on { background: #4f5a2c; transform: scale(1.15); }
.wiz__dot.is-skip { opacity: .3; }
.wiz__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.wiz__q { font-size: 26px; line-height: 1.15; font-weight: 800; color: #1f2314; margin: 0 0 6px; padding: 0; }
.wiz__lead { color: #5b6350; margin: 0 0 16px; font-size: 16px; }
.wiz__cards { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 600px) { .wiz__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wiz__card { position: relative; display: block; background: #fff; border: 2px solid #dfe2d6; border-radius: 12px; padding: 14px 16px 14px 48px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.wiz__card:hover { border-color: #b9c0a8; }
.wiz__card input { position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; margin: 0; accent-color: #4f5a2c; }
.wiz__card:has(input:checked) { border-color: #4f5a2c; box-shadow: 0 0 0 3px rgba(79, 90, 44, .15); }
.wiz__card--typed:has(input:checked) { border-color: var(--wc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wc) 30%, transparent); }
.wiz__card--typed::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 5px; border-radius: 0 4px 4px 0; background: var(--wc); }
.wiz__label { display: block; font-weight: 800; font-size: 17px; color: #1f2314; }
.wiz__hint { display: block; font-size: 14px; color: #5b6350; margin-top: 2px; }
.wiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.wiz__back, .wiz__next, .wiz__go { all: unset; box-sizing: border-box; cursor: pointer; border-radius: 8px; padding: 12px 20px; font-weight: 800; font-size: 16px; line-height: 1.2; text-align: center; }
.wiz__back { color: #4f5a2c; background: #fff; border: 2px solid #dfe2d6; }
.wiz__next { margin-left: auto; color: #fff; background: #4f5a2c; min-width: 140px; }
.wiz__go { margin-left: auto; background: linear-gradient(#f9d85f, #e9a925); color: #1f2314; border: 2px solid #c9731c; min-width: 180px; }
.wiz__go[disabled] { opacity: .7; cursor: wait; }
.wiz__foot { margin: 18px 0 0; font-size: 14px; color: #5b6350; text-align: center; }
.wiz__foot a { color: #4f5a2c; font-weight: 700; }
/* Builder page card that leads here. */
.wiz-entry { display: flex; align-items: center; gap: 14px; background: #fff; border: 2px solid #c9731c; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; text-decoration: none !important; color: #1f2314 !important; }
.wiz-entry strong { font-size: 18px; display: block; }
.wiz-entry span { color: #5b6350; font-size: 14px; }
.wiz-entry::after { content: '›'; margin-left: auto; font-size: 28px; color: #c9731c; }

/* ---- Your bag, explained ---- */
.xp { max-width: 780px; margin: 0 auto; padding: 8px 16px 40px; color: #1f2314; }
@media (min-width: 768px) { .xp { padding-left: 0; padding-right: 0; } }
.xp__kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 800; color: #c9731c; margin: 0 0 4px; }
.xp__title { font-size: 30px; line-height: 1.1; font-weight: 900; margin: 0 0 6px; color: #1f2314 !important; text-shadow: none !important; text-transform: none; }
.xp__facts { color: #5b6350; font-weight: 700; margin: 0 0 14px; }
.xp__situation { font-size: 17px; line-height: 1.5; margin: 0 0 10px; }
.xp__note { background: #fff7e6; border-left: 4px solid #e9a925; padding: 10px 14px; border-radius: 0 8px 8px 0; margin: 0 0 10px; }
.xp__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.xp__btn { all: unset; box-sizing: border-box; cursor: pointer; border-radius: 8px; padding: 11px 18px; font-weight: 800; font-size: 15px; line-height: 1.2; color: #4f5a2c; background: #fff; border: 2px solid #dfe2d6; text-align: center; }
.xp__btn--go { background: linear-gradient(#f9d85f, #e9a925); color: #1f2314; border-color: #c9731c; }
.xp__group { margin: 30px 0 0; padding-top: 18px; border-top: 1px solid #e6e6df; }
.xp__h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 900; margin: 0 0 8px; }
.xp__num { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: #4f5a2c; color: #fff; font-size: 15px; align-items: center; justify-content: center; }
.xp__intro { font-size: 15.5px; line-height: 1.5; color: #3b4230; margin: 0 0 10px; }
.xp__items { list-style: none; margin: 0; padding: 0; }
.xp__item { display: flex; gap: 12px; padding: 10px 0; border-top: 1px dashed #e6e6df; }
.xp__item.is-oos { opacity: .75; }
.xp__thumb { width: 56px !important; height: 56px !important; max-width: none; object-fit: contain; flex: 0 0 56px; align-self: flex-start; background: #fff; border: 1px solid #eee; border-radius: 6px; margin: 0; }
.xp__thumb--none { display: block; }
.xp__body { min-width: 0; }
.xp__name { margin: 0 0 2px; font-weight: 800; font-size: 16px; line-height: 1.25; }
.xp__name a { color: #1f2314; text-decoration: none; }
.xp__qty { color: #c9731c; }
.xp__why { margin: 0 0 3px; font-size: 14.5px; line-height: 1.4; color: #3b4230; }
.xp__meta { margin: 0; font-size: 13px; color: #5b6350; }
.xp__oos { color: #a33; }
.xp__foot { margin-top: 30px; padding-top: 18px; border-top: 2px solid #1f2314; }
.xp__small { font-size: 13px; color: #5b6350; margin: 10px 0 0; word-break: break-word; }
/* the lid sheet */
.lid { margin-top: 40px; padding: 20px; border: 2px dashed #b9c0a8; border-radius: 12px; background: #fff; }
.lid__title { font-size: 20px; font-weight: 900; margin: 0; }
.lid__sub { color: #5b6350; margin: 2px 0 12px; font-size: 14px; }
.lid__cols { columns: 2; column-gap: 24px; }
@media (min-width: 600px) { .lid__cols { columns: 3; } }
.lid__group { break-inside: avoid; margin: 0 0 10px; }
.lid__h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 4px; color: #4f5a2c; }
.lid__list { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.5; }
.lid__box { display: inline-block; width: 11px; height: 11px; border: 1.5px solid #1f2314; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.lid__blanks { margin-top: 14px; display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 600px) { .lid__blanks { grid-template-columns: 1fr 1fr; } }
.lid__blank strong { display: block; font-size: 13px; margin-bottom: 2px; }
.lid__blank span { display: block; border-bottom: 1px solid #999; height: 20px; }
.lid__rot { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
.lid__rot th, .lid__rot td { border: 1px solid #c6c9bb; padding: 6px 8px; text-align: left; height: 26px; }
.lid__foot { font-size: 11px; color: #777; margin: 10px 0 0; text-align: center; }
@media print {
  body * { visibility: hidden; }
  .xp, .xp * { visibility: visible; }
  .xp { position: absolute; left: 0; top: 0; width: 100%; max-width: none; padding: 0; font-size: 12px; }
  .xp__actions, .xp__thumb--none { display: none !important; }
  .xp__title { font-size: 24px; } .xp__situation { font-size: 14px; } .xp__h2 { font-size: 18px; } .xp__intro, .xp__why { font-size: 12px; }
  .xp__group { break-inside: avoid; margin-top: 14px; padding-top: 8px; }
  .xp__item { padding: 4px 0; } .xp__thumb { width: 36px; height: 36px; flex-basis: 36px; }
  .xp__name a { color: #000; }
  .lid { break-before: page; border: 0; padding: 0; margin: 0; }
  .lid__cols { columns: 3; }
}
