/* Door Prize website planner. Every rule is scoped under .dp-planner or a dp- class,
   so nothing here changes the shared site styles. Uses the tokens from /styles.css. */

.dp-planner{padding-block:64px 104px}
.dp-planner__intro{max-width:760px;margin-bottom:48px}
.dp-planner__intro .eyebrow{margin-bottom:22px}
.dp-planner__intro h1{font-size:clamp(46px,6.2vw,92px);line-height:1.03;letter-spacing:-.055em}
.dp-planner__lede{font-size:1.1875rem;line-height:1.65;margin-top:24px;max-width:560px}
.dp-planner__lede-note{font-size:1rem;color:var(--muted);margin-top:12px;max-width:560px}

.dp-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.dp-fallback{border:1px solid var(--line);background:var(--soft);padding:28px;max-width:680px}
.dp-fallback h2{font-size:28px;margin-bottom:12px}
.dp-fallback p{font-size:1.0625rem;line-height:1.7}
.dp-fallback p+p{margin-top:12px}
.dp-fallback a{color:var(--wine);text-decoration:underline;text-underline-offset:3px}

.dp-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:56px;align-items:start}
.dp-main{min-width:0}
.dp-aside{position:sticky;top:130px;display:grid;gap:24px;min-width:0}

/* Progress: a ticket-stub strip with perforated joins */
.dp-progress__text{font-size:.875rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--wine);margin-bottom:14px}
.dp-progress{list-style:none;margin:0 0 36px;padding:0;display:flex;border:1px solid var(--wine)}
.dp-progress__item{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:10px;padding:12px 14px;font-size:.9375rem;font-weight:700;color:var(--muted);position:relative}
.dp-progress__item+.dp-progress__item{border-left:2px dashed rgba(105,7,22,.45)}
.dp-progress__num{flex:none;width:28px;height:28px;border:1.5px solid currentColor;border-radius:50%;display:grid;place-items:center;font-size:.8125rem;font-weight:800}
.dp-progress__label{overflow-wrap:normal}
.dp-progress__item.is-done{color:var(--wine)}
.dp-progress__item.is-current{background:var(--wine);color:var(--paper)}
.dp-progress__item.is-current .dp-progress__label{text-decoration:underline;text-underline-offset:4px}

.dp-notice{border-left:4px solid var(--wine);background:var(--soft);padding:14px 18px;margin-bottom:24px;font-size:1rem;line-height:1.6}

/* Steps and fields */
.dp-step h2{font-size:clamp(30px,3.4vw,44px);letter-spacing:-.045em;margin-bottom:28px;scroll-margin-top:130px}
.dp-step h2:focus,.dp-result h2:focus{outline:none}
.dp-step h2:focus-visible,.dp-result h2:focus-visible{outline:3px solid var(--blue);outline-offset:6px}
.dp-step__error{border:1px solid var(--wine);background:#fff;color:var(--wine);font-weight:800;padding:12px 16px;margin-bottom:22px}
.dp-field{margin-bottom:28px}
.dp-field--followup{margin-left:0;padding:18px 20px 2px;border-left:3px solid var(--wine);background:rgba(237,232,223,.55)}
.dp-field>label,.dp-fieldset legend{display:block;font-weight:700;font-size:1.0625rem;line-height:1.5;margin-bottom:8px;padding:0}
.dp-fieldset{border:0;margin:0;padding:0;min-width:0}
.dp-req{font-weight:400;font-size:.875rem;color:var(--muted)}
.dp-help{font-size:.9375rem;line-height:1.6;color:var(--muted);margin:0 0 10px}
.dp-planner textarea{min-height:96px}
.dp-planner select{appearance:auto}

.dp-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:10px}
.dp-choice{display:flex;align-items:flex-start;gap:12px;min-height:56px;padding:14px 16px;border:1px solid #b9b1a6;border-radius:2px;background:transparent;cursor:pointer;position:relative;transition:border-color .15s,background .15s}
.dp-choice:hover{border-color:var(--wine)}
.dp-planner .dp-choice input[type=radio],.dp-planner .dp-choice input[type=checkbox]{flex:none;width:22px;height:22px;min-height:0;margin:1px 0 0;padding:0;accent-color:var(--wine);cursor:pointer}
.dp-choice__body{display:flex;flex-direction:column;gap:3px;min-width:0}
.dp-choice__label{font-weight:700;font-size:1rem;line-height:1.4;overflow-wrap:anywhere}
.dp-choice__hint{font-size:.875rem;line-height:1.5;color:var(--muted)}
.dp-choice.is-checked{border-color:var(--wine);box-shadow:inset 0 0 0 1px var(--wine);background:rgba(105,7,22,.06)}
.dp-choice:focus-within{outline:3px solid var(--blue);outline-offset:3px}
.dp-planner .dp-choice input:focus-visible{outline:none}

.dp-field.has-error>input,.dp-field.has-error>textarea,.dp-field.has-error>select{border-color:var(--wine);border-width:2px}
.dp-field.has-error .dp-choice{border-style:dashed;border-color:var(--wine)}
.dp-error{color:var(--wine);font-weight:800;font-size:.9375rem;line-height:1.5;margin:8px 0 0}
.dp-error:empty{display:none}
.dp-error:not(:empty)::before{content:"Needs attention: ";font-weight:800}

.dp-nav{display:flex;flex-wrap:wrap;gap:14px 20px;align-items:center;margin-top:12px;padding-top:26px;border-top:2px dashed rgba(105,7,22,.35)}

/* Buttons. Scoped, so the shared .button class is untouched. */
.dp-btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:54px;padding:14px 24px;border:1px solid var(--wine);border-radius:2px;background:transparent;color:var(--wine);font-size:1rem;font-weight:800;letter-spacing:.01em;line-height:1.2;text-align:center;cursor:pointer;transition:background .2s,color .2s}
.dp-btn svg{width:19px;height:19px}
.dp-btn--primary{background:var(--wine);color:var(--paper)}
.dp-btn--primary:hover{background:#440310}
.dp-btn--outline:hover,.dp-btn--ghost:hover{background:var(--wine);color:var(--paper)}
.dp-btn--ghost{border-color:#b9b1a6;color:var(--ink)}
.dp-btn--small{min-height:46px;padding:10px 16px;font-size:.9375rem}
.dp-link-button{border:0;border-bottom:1px solid currentColor;background:transparent;padding:4px 0;font-size:.9375rem;font-weight:700;color:var(--wine);cursor:pointer;justify-self:start}
.dp-link-button:hover{color:#440310}

/* Live summary and tools */
.dp-live{background:var(--soft);border:1px solid var(--line);padding:22px 24px}
.dp-live__top{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;font-weight:800;letter-spacing:.12em;color:var(--wine);border-bottom:1px dashed rgba(105,7,22,.5);padding-bottom:14px;margin-bottom:16px}
.dp-live__top svg{width:30px;height:15px;color:var(--wine)}
.dp-live__empty{font-size:1rem;line-height:1.65;color:var(--muted)}
.dp-live__label{font-size:.75rem;font-weight:800;letter-spacing:.1em;color:var(--muted)}
.dp-live__headline{font-size:1.5rem;font-weight:800;line-height:1.2;letter-spacing:-.03em;margin:6px 0 8px;overflow-wrap:anywhere}
.dp-live__price{font-size:1rem;display:flex;flex-wrap:wrap;gap:2px 6px;align-items:baseline}
.dp-live__price strong{font-size:1.5rem;letter-spacing:-.03em}
.dp-live__type{flex-basis:100%;font-size:.875rem;color:var(--muted)}
.dp-live__price--soft{color:var(--muted)}
.dp-facts{margin:18px 0 12px;display:grid;gap:8px;font-size:.9375rem;line-height:1.5}
.dp-facts dt{font-weight:800;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.dp-facts dd{margin:0;overflow-wrap:anywhere}
.dp-tools{display:grid;gap:10px;justify-items:start}
.dp-remember{display:flex;gap:12px;align-items:flex-start;font-weight:700;font-size:1rem}
.dp-planner .dp-remember input{flex:none;width:22px;height:22px;min-height:0;margin:2px 0 0;padding:0;accent-color:var(--wine)}
.dp-confirm{border:1px solid var(--wine);padding:16px;background:#fff;width:100%}
.dp-confirm p{font-weight:700;margin-bottom:12px;font-size:1rem}
.dp-confirm__actions{display:flex;flex-wrap:wrap;gap:10px}

/* Result */
.dp-result h2{font-size:clamp(34px,4vw,54px);letter-spacing:-.05em;margin-bottom:14px;scroll-margin-top:130px}
.dp-lede{font-size:1.125rem;max-width:600px;margin-bottom:28px}
.dp-print-head{display:none}
.dp-card{border:1px solid var(--wine);background:#fff;margin-bottom:36px}
.dp-card__top{display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--wine);color:var(--paper);padding:14px 24px;font-size:.75rem;font-weight:800;letter-spacing:.12em}
.dp-card__top svg{width:30px;height:15px;color:var(--blue)}
.dp-card>*:not(.dp-card__top){margin-inline:24px}
.dp-card h3{font-size:clamp(30px,3.4vw,44px);margin-top:24px;letter-spacing:-.05em;overflow-wrap:anywhere}
.dp-card h4{font-size:1rem;letter-spacing:-.01em;margin-top:22px;margin-bottom:8px}
.dp-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-top:14px;padding-block:16px;border-block:1px dashed rgba(105,7,22,.5)}
.dp-price__prefix{font-size:.9375rem;font-weight:700}
.dp-price__value{font-size:clamp(34px,4vw,48px);font-weight:800;letter-spacing:-.05em;line-height:1;color:var(--wine)}
.dp-price__type{font-size:.9375rem;color:var(--muted)}
.dp-card__intro{margin-top:16px;font-weight:700;font-size:1.0625rem;line-height:1.6}
.dp-candidates{list-style:none;margin:0 24px 6px;padding:0;display:grid;gap:8px}
.dp-candidates li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;border:1px solid var(--line);padding:10px 14px;font-weight:700}
.dp-budget-note{margin-top:14px;padding:12px 14px;background:var(--soft);font-size:1rem;line-height:1.6}
.dp-card>.dp-help:last-child{margin-top:16px;margin-bottom:22px}
.dp-list{margin:0;padding-left:20px;display:grid;gap:6px;font-size:1.0625rem;line-height:1.6}
.dp-card .dp-list{margin-right:24px}
.dp-list--tight{padding-left:18px;gap:2px}
.dp-section{margin-bottom:40px}
.dp-section>h3{font-size:clamp(26px,2.8vw,34px);letter-spacing:-.04em;margin-bottom:16px}
.dp-section>p{font-size:1.0625rem;line-height:1.65;margin-bottom:12px}
.dp-group{border-top:1px solid var(--wine);padding-block:16px 8px}
.dp-group__head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px}
.dp-group__head h4{font-size:1.0625rem;letter-spacing:-.01em}
.dp-rows{margin:0;display:grid;grid-template-columns:minmax(120px,200px) minmax(0,1fr);gap:8px 20px;font-size:1rem;line-height:1.6}
.dp-rows dt{font-weight:700;color:var(--muted)}
.dp-rows dd{margin:0 0 4px;overflow-wrap:anywhere}
.dp-pre{white-space:pre-wrap}
.dp-monthly{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:12px}
.dp-monthly li{border:1px solid var(--line);padding:14px 18px}
.dp-monthly__head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;font-size:1.0625rem}
.dp-monthly p{font-size:.9375rem;color:var(--muted);margin-top:4px;line-height:1.55}
.dp-actions{display:flex;flex-wrap:wrap;gap:12px;margin-block:16px}
.dp-status{min-height:1.5em;font-size:1rem;line-height:1.7;color:var(--wine);font-weight:700}
.dp-status:empty{display:none}
.dp-fallback-copy{margin-top:16px}
.dp-fallback-copy label{display:block;font-weight:700;margin-bottom:8px}
.dp-email{border-top:2px dashed rgba(105,7,22,.35);padding-top:32px}
.dp-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.dp-email .dp-field{margin-bottom:20px}

@media(max-width:1000px){
  .dp-layout{grid-template-columns:minmax(0,1fr);gap:40px}
  .dp-aside{position:static}
}
@media(max-width:760px){
  .dp-planner{padding-block:40px 72px}
  .dp-planner__intro{margin-bottom:32px}
  .dp-rows{grid-template-columns:minmax(0,1fr);gap:0}
  .dp-rows dd{margin-bottom:12px}
  .dp-contact-grid{grid-template-columns:minmax(0,1fr)}
  .dp-progress__item{padding:10px 8px;justify-content:center}
  .dp-progress__item:not(.is-current) .dp-progress__label{display:none}
  .dp-progress__item.is-current{flex:2.4 1 0}
  .dp-field--followup{padding-inline:14px}
  .dp-card>*:not(.dp-card__top){margin-inline:18px}
  .dp-candidates,.dp-card .dp-list{margin-inline:18px}
  .dp-card__top{padding-inline:18px}
  .dp-nav .dp-btn{flex:1 1 100%}
  .dp-actions .dp-btn{flex:1 1 100%}
}
@media(max-width:370px){
  .dp-live{padding:18px}
  .dp-btn{padding-inline:16px}
}
@media(prefers-reduced-motion:reduce){
  .dp-choice,.dp-btn{transition:none}
}

@media print{
  .skip-link,.site-header,.site-footer,.dp-planner__intro,.dp-fallback,.dp-aside,.dp-progress,.dp-progress__text,
  .dp-form,#dp-planner-form,.dp-noprint,.dp-notice,.dp-sr,.dp-link-button,.svg-defs{display:none!important}
  body{background:#fff;color:#000;font-size:11pt;line-height:1.5}
  .dp-planner{width:100%;padding:0}
  .dp-layout{display:block}
  .dp-print-head{display:flex;align-items:center;gap:20px;border-bottom:1px solid #000;padding-bottom:12px;margin-bottom:18px}
  .dp-print-head img{width:90px;height:auto}
  .dp-print-head p{font-size:10pt;margin:0}
  .dp-result h2{font-size:22pt;margin-bottom:12px}
  .dp-card{border:1px solid #000;break-inside:avoid;margin-bottom:18px}
  .dp-card__top{background:#fff;color:#000;border-bottom:1px solid #000}
  .dp-card__top svg{display:none}
  .dp-price__value,.dp-error,.dp-status{color:#000}
  .dp-help,.dp-price__type,.dp-rows dt,.dp-monthly p,.dp-choice__hint{color:#222}
  .dp-group,.dp-monthly li,.dp-candidates li{break-inside:avoid;border-color:#000}
  .dp-section{margin-bottom:18px}
  .dp-budget-note{background:#fff;border:1px solid #000}
}

/* The result view gives the concept window the full width, and puts the small tools under it. */
.dp-layout.is-result{grid-template-columns:minmax(0,1fr)}
.dp-layout.is-result .dp-aside{position:static;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:start}
.dp-layout.is-result .dp-result>*:not(.dp-preview){max-width:860px}
