
/* =========================================================
   ABG Theme 6.16 — Mobile-first submission UX
   One step at a time on phones, calm chapters on desktop.
   ========================================================= */
:root{
  --f16-bg:#f2f4f6;
  --f16-paper:#fff;
  --f16-ink:#17191d;
  --f16-muted:#6d7580;
  --f16-line:#dde2e7;
  --f16-yellow:#f2b600;
  --f16-yellow-dark:#8a6400;
  --f16-soft:#f7f8fa;
}

/* New page frame */
body.abg-v6 .abg-f16-head{
  background:#fff;
  border-bottom:1px solid var(--f16-line);
  padding:26px 0 22px;
}
body.abg-v6 .abg-f16-head-inner{max-width:1080px}
body.abg-v6 .abg-f16-back{display:inline-flex;margin-bottom:18px;color:#737b85;font-size:.76rem;font-weight:800}
body.abg-v6 .abg-f16-kicker{display:block;color:var(--f16-yellow-dark);font-size:.65rem;font-weight:950;letter-spacing:.11em;text-transform:uppercase}
body.abg-v6 .abg-f16-head h1{max-width:820px;margin:6px 0 8px;color:var(--f16-ink);font-size:clamp(2.2rem,3.4vw,3.4rem);line-height:1;letter-spacing:-.05em}
body.abg-v6 .abg-f16-head p{max-width:760px;margin:0;color:var(--f16-muted);font-size:.92rem;line-height:1.55}
body.abg-v6 .abg-f16-page{background:var(--f16-bg);padding:28px 0 72px}
body.abg-v6 .abg-f16-wrap{max-width:1080px}
body.abg-v6 .abg-f16-shell{
  background:#fff;
  border:1px solid var(--f16-line);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(20,25,31,.045);
}
body.abg-v6 .abg-f16-shell .abg-personal-standalone,
body.abg-v6 .abg-f16-shell .abg-event-submit-wrap,
body.abg-v6 .abg-f16-shell .abg-business-submit-wrap,
body.abg-v6 .abg-f16-shell .abg-deal-submit-wrap,
body.abg-v6 .abg-f16-shell .abg-job-submit-wrap{
  margin:0!important;padding:0!important;max-width:none!important;width:100%!important;background:transparent!important;border:0!important;box-shadow:none!important;
}

/* Pricing: one compact strip, not cards */
body.abg-v6 .abg-f16-shell .abg-deal-pricing-note,
body.abg-v6 .abg-f16-shell .abg-job-pricing-note{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid var(--f16-line)!important;
  background:#f8f9fb!important;
  overflow:hidden!important;
}
body.abg-v6 .abg-f16-shell .abg-deal-pricing-note>div,
body.abg-v6 .abg-f16-shell .abg-job-pricing-note>div{
  min-width:0!important;
  margin:0!important;
  padding:15px 18px!important;
  border:0!important;
  border-right:1px solid var(--f16-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.abg-v6 .abg-f16-shell .abg-deal-pricing-note>div:last-child,
body.abg-v6 .abg-f16-shell .abg-job-pricing-note>div:last-child{border-right:0!important}
body.abg-v6 .abg-f16-shell .abg-deal-pricing-note span,
body.abg-v6 .abg-f16-shell .abg-job-pricing-note span{display:block;color:#808891!important;font-size:.6rem!important;font-weight:900!important;letter-spacing:.06em!important;text-transform:uppercase!important}
body.abg-v6 .abg-f16-shell .abg-deal-pricing-note strong,
body.abg-v6 .abg-f16-shell .abg-job-pricing-note strong{display:block;margin-top:3px;color:#20242a!important;font-size:1rem!important;line-height:1.2!important}
body.abg-v6 .abg-f16-shell .abg-deal-pricing-note small,
body.abg-v6 .abg-f16-shell .abg-job-pricing-note small{display:block;margin-top:3px;color:#949ba3!important;font-size:.61rem!important;line-height:1.35!important}

/* Form chapters */
body.abg-v6 .abg-f16-shell form{margin:0!important;padding:0!important;background:#fff!important;border:0!important;box-shadow:none!important}
body.abg-v6 .abg-f16-shell .abg-event-form-section,
body.abg-v6 .abg-f16-shell .abg-business-form-section{
  margin:0!important;
  padding:30px 34px 32px!important;
  border:0!important;
  border-bottom:1px solid var(--f16-line)!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  min-width:0!important;
}
body.abg-v6 .abg-f16-shell fieldset:last-of-type{border-bottom:0!important}
body.abg-v6 .abg-f16-shell .abg-event-form-section legend,
body.abg-v6 .abg-f16-shell .abg-business-form-section legend{
  float:left!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  gap:0 12px!important;
  margin:0 0 22px!important;
  padding:0 0 16px!important;
  border:0!important;
  border-bottom:1px solid #edf0f2!important;
  background:transparent!important;
}
body.abg-v6 .abg-f16-shell .abg-event-form-section legend + *,
body.abg-v6 .abg-f16-shell .abg-business-form-section legend + *{clear:both!important}
body.abg-v6 .abg-f16-shell .abg-event-form-section legend>span,
body.abg-v6 .abg-f16-shell .abg-business-form-section legend>span{
  grid-row:1 / span 2!important;
  width:auto!important;height:auto!important;
  margin:1px 0 0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:none!important;
  color:var(--f16-yellow-dark)!important;font-size:.72rem!important;font-weight:950!important;line-height:1.2!important;
}
body.abg-v6 .abg-f16-shell .abg-event-form-section legend strong,
body.abg-v6 .abg-f16-shell .abg-business-form-section legend strong{
  color:var(--f16-ink)!important;font-size:1.16rem!important;font-weight:900!important;line-height:1.15!important;
}
body.abg-v6 .abg-f16-shell .abg-event-form-section legend small,
body.abg-v6 .abg-f16-shell .abg-business-form-section legend small{
  margin-top:4px!important;color:#8b929a!important;font-size:.68rem!important;line-height:1.35!important;
}

/* Controls */
body.abg-v6 .abg-f16-shell .abg-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 20px!important}
body.abg-v6 .abg-f16-shell .abg-field-wide{grid-column:1/-1!important}
body.abg-v6 .abg-f16-shell label>span{display:block!important;margin:0 0 6px!important;color:#353b42!important;font-size:.74rem!important;font-weight:800!important}
body.abg-v6 .abg-f16-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),
body.abg-v6 .abg-f16-shell select,
body.abg-v6 .abg-f16-shell textarea{
  width:100%!important;box-sizing:border-box!important;
  min-height:50px!important;padding:11px 13px!important;
  border:1px solid #cfd5db!important;border-radius:9px!important;
  background:#fff!important;color:#20252b!important;
  box-shadow:none!important;outline:0!important;
  font:inherit!important;font-size:.93rem!important;line-height:1.35!important;
}
body.abg-v6 .abg-f16-shell textarea{min-height:126px!important;resize:vertical!important;line-height:1.5!important}
body.abg-v6 .abg-f16-shell input:focus,
body.abg-v6 .abg-f16-shell select:focus,
body.abg-v6 .abg-f16-shell textarea:focus{
  border-color:#bd9010!important;
  box-shadow:0 0 0 3px rgba(242,182,0,.12)!important;
}
body.abg-v6 .abg-f16-shell .abg-field-block{display:block!important;margin:0 0 18px!important}
body.abg-v6 .abg-f16-shell .abg-field-hint{margin:10px 0 0!important;color:#8a929a!important;font-size:.66rem!important;line-height:1.45!important}

/* Uploads / rights / notes */
body.abg-v6 .abg-f16-shell .abg-event-upload-box,
body.abg-v6 .abg-f16-shell .abg-business-upload-box{
  display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:16px!important;
  margin-top:18px!important;padding:15px 16px!important;border:1px dashed #cdd3d9!important;border-radius:10px!important;background:#fafbfc!important;
}
body.abg-v6 .abg-f16-shell .abg-event-rights,
body.abg-v6 .abg-f16-shell .abg-business-rights{
  display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;
  margin-top:18px!important;padding:14px 0!important;border-top:1px solid var(--f16-line)!important;background:none!important;
}
body.abg-v6 .abg-f16-shell .abg-form-note{
  margin:10px 0 0!important;padding:12px 14px!important;border:0!important;border-left:3px solid var(--f16-yellow)!important;border-radius:0!important;background:#fffaf0!important;
  color:#5e646b!important;font-size:.67rem!important;line-height:1.48!important;
}

/* Finish area */
body.abg-v6 .abg-f16-shell .abg-event-submit-final,
body.abg-v6 .abg-f16-shell .abg-business-submit-final{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(240px,300px)!important;align-items:center!important;gap:24px!important;
  margin:0!important;padding:22px 34px!important;border:0!important;border-top:1px solid var(--f16-line)!important;border-radius:0!important;background:#fff!important;color:#222!important;box-shadow:none!important;
}
body.abg-v6 .abg-f16-shell .abg-event-submit-final strong,
body.abg-v6 .abg-f16-shell .abg-business-submit-final strong{color:#222!important;font-size:.86rem!important}
body.abg-v6 .abg-f16-shell .abg-event-submit-final span,
body.abg-v6 .abg-f16-shell .abg-business-submit-final span{display:block!important;margin-top:3px!important;color:#858d96!important;font-size:.66rem!important}
body.abg-v6 .abg-f16-shell .abg-event-submit-final button[type=submit],
body.abg-v6 .abg-f16-shell .abg-business-submit-final button[type=submit],
body.abg-v6 .abg-f16-shell .abg-public-submit-form button[type=submit]{
  min-height:48px!important;width:100%!important;padding:0 18px!important;
  border:1px solid var(--f16-yellow)!important;border-radius:9px!important;
  background:var(--f16-yellow)!important;color:#111!important;
  font-size:.75rem!important;font-weight:950!important;opacity:1!important;
}
body.abg-v6 .abg-f16-shell button[type=submit]:disabled{
  background:#626a73!important;border-color:#626a73!important;color:#fff!important;opacity:1!important;
}

/* Opening hours desktop */
body.abg-v6 .abg-f16-shell .abg-business-hours-editor{border:1px solid var(--f16-line)!important;background:#fff!important}
body.abg-v6 .abg-f16-shell .abg-hours-head{background:#f7f8fa!important}
body.abg-v6 .abg-f16-shell .abg-hours-row{border-top:1px solid #edf0f2!important;background:#fff!important}

/* Mobile wizard */
@media(max-width:720px){
  body.abg-v6 .abg-f16-head{padding:16px 0 15px}
  body.abg-v6 .abg-f16-head-inner{width:calc(100% - 28px)!important}
  body.abg-v6 .abg-f16-back{margin-bottom:13px;font-size:.68rem}
  body.abg-v6 .abg-f16-kicker{font-size:.6rem}
  body.abg-v6 .abg-f16-head h1{font-size:1.82rem;line-height:1.02;margin:5px 0 7px}
  body.abg-v6 .abg-f16-head p{font-size:.8rem;line-height:1.45}

  body.abg-v6 .abg-f16-page{padding:10px 0 36px;background:#fff}
  body.abg-v6 .abg-f16-wrap{width:100%!important;max-width:none!important;padding:0 14px!important}
  body.abg-v6 .abg-f16-shell{border:0;border-radius:0;box-shadow:none;overflow:visible}

  /* compact pricing table */
  body.abg-v6 .abg-f16-shell .abg-deal-pricing-note,
  body.abg-v6 .abg-f16-shell .abg-job-pricing-note{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    margin:0 0 12px!important;
    border:1px solid var(--f16-line)!important;
    border-radius:10px!important;
  }
  body.abg-v6 .abg-f16-shell .abg-deal-pricing-note>div,
  body.abg-v6 .abg-f16-shell .abg-job-pricing-note>div{padding:10px 8px!important;text-align:center!important}
  body.abg-v6 .abg-f16-shell .abg-deal-pricing-note span,
  body.abg-v6 .abg-f16-shell .abg-job-pricing-note span{font-size:.52rem!important;letter-spacing:.03em!important}
  body.abg-v6 .abg-f16-shell .abg-deal-pricing-note strong,
  body.abg-v6 .abg-f16-shell .abg-job-pricing-note strong{font-size:.83rem!important}
  body.abg-v6 .abg-f16-shell .abg-deal-pricing-note small,
  body.abg-v6 .abg-f16-shell .abg-job-pricing-note small{display:none!important}

  /* wizard bar injected via JS */
  body.abg-v6 .abg-f16-wizard-bar{
    margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid var(--f16-line);
  }
  body.abg-v6 .abg-f16-wizard-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}
  body.abg-v6 .abg-f16-wizard-meta span{color:#8a929b;font-size:.62rem;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
  body.abg-v6 .abg-f16-wizard-meta strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#222;font-size:.77rem}
  body.abg-v6 .abg-f16-progress{height:4px;margin-top:9px;border-radius:99px;background:#e8ebee;overflow:hidden}
  body.abg-v6 .abg-f16-progress>i{display:block;height:100%;width:0;background:var(--f16-yellow);transition:width .18s ease}

  body.abg-v6 .abg-f16-shell form.abg-f16-wizard{padding:0!important}
  body.abg-v6 .abg-f16-shell form.abg-f16-wizard fieldset[hidden]{display:none!important}
  body.abg-v6 .abg-f16-shell .abg-event-form-section,
  body.abg-v6 .abg-f16-shell .abg-business-form-section{
    padding:0 0 18px!important;border:0!important;background:#fff!important;
  }
  body.abg-v6 .abg-f16-shell .abg-event-form-section legend,
  body.abg-v6 .abg-f16-shell .abg-business-form-section legend{
    grid-template-columns:28px minmax(0,1fr)!important;gap:0 7px!important;
    margin-bottom:15px!important;padding:2px 0 12px!important;
  }
  body.abg-v6 .abg-f16-shell .abg-event-form-section legend>span,
  body.abg-v6 .abg-f16-shell .abg-business-form-section legend>span{font-size:.63rem!important}
  body.abg-v6 .abg-f16-shell .abg-event-form-section legend strong,
  body.abg-v6 .abg-f16-shell .abg-business-form-section legend strong{font-size:1.02rem!important}
  body.abg-v6 .abg-f16-shell .abg-event-form-section legend small,
  body.abg-v6 .abg-f16-shell .abg-business-form-section legend small{font-size:.62rem!important}

  body.abg-v6 .abg-f16-shell .abg-form-grid{grid-template-columns:1fr!important;gap:12px!important}
  body.abg-v6 .abg-f16-shell .abg-field-wide{grid-column:1!important}
  body.abg-v6 .abg-f16-shell label>span{font-size:.7rem!important;margin-bottom:5px!important}
  body.abg-v6 .abg-f16-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),
  body.abg-v6 .abg-f16-shell select,
  body.abg-v6 .abg-f16-shell textarea{
    min-height:48px!important;padding:10px 11px!important;border-radius:8px!important;font-size:16px!important;
  }
  body.abg-v6 .abg-f16-shell textarea{min-height:108px!important}
  body.abg-v6 .abg-f16-shell .abg-field-block{margin-bottom:13px!important}

  /* wizard nav */
  body.abg-v6 .abg-f16-stepnav{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid var(--f16-line)}
  body.abg-v6 .abg-f16-stepnav.is-first{grid-template-columns:1fr}
  body.abg-v6 .abg-f16-stepnav button{
    min-height:48px!important;padding:0 16px!important;border-radius:9px!important;font-size:.74rem!important;font-weight:900!important;
  }
  body.abg-v6 .abg-f16-prev{border:1px solid #d4d9df!important;background:#fff!important;color:#505862!important}
  body.abg-v6 .abg-f16-next{border:1px solid var(--f16-yellow)!important;background:var(--f16-yellow)!important;color:#111!important}

  /* only show submit block on the final wizard step */
  body.abg-v6 .abg-f16-shell form.abg-f16-wizard:not(.is-last-step) + .abg-event-submit-final,
  body.abg-v6 .abg-f16-shell form.abg-f16-wizard:not(.is-last-step) + .abg-business-submit-final{display:none!important}
  body.abg-v6 .abg-f16-shell form.abg-f16-wizard .abg-event-submit-final,
  body.abg-v6 .abg-f16-shell form.abg-f16-wizard .abg-business-submit-final{display:none!important}
  body.abg-v6 .abg-f16-shell form.abg-f16-wizard.is-last-step .abg-event-submit-final,
  body.abg-v6 .abg-f16-shell form.abg-f16-wizard.is-last-step .abg-business-submit-final{
    display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin:8px 0 0!important;padding:16px 0 0!important;border-top:1px solid var(--f16-line)!important;background:#fff!important;
  }
  body.abg-v6 .abg-f16-shell .abg-event-submit-final strong,
  body.abg-v6 .abg-f16-shell .abg-business-submit-final strong{font-size:.8rem!important}
  body.abg-v6 .abg-f16-shell .abg-event-submit-final span,
  body.abg-v6 .abg-f16-shell .abg-business-submit-final span{font-size:.62rem!important}

  /* uploads / rights / notes */
  body.abg-v6 .abg-f16-shell .abg-event-upload-box,
  body.abg-v6 .abg-f16-shell .abg-business-upload-box{grid-template-columns:1fr!important;gap:10px!important;padding:12px!important}
  body.abg-v6 .abg-f16-shell input[type=file]{width:100%!important;max-width:100%!important;font-size:.7rem!important}
  body.abg-v6 .abg-f16-shell .abg-event-rights,
  body.abg-v6 .abg-f16-shell .abg-business-rights{padding:12px 0!important;margin-top:14px!important}
  body.abg-v6 .abg-f16-shell .abg-event-rights span,
  body.abg-v6 .abg-f16-shell .abg-business-rights span{font-size:.68rem!important;line-height:1.42!important}
  body.abg-v6 .abg-f16-shell .abg-form-note{padding:10px 11px!important;font-size:.63rem!important}

  /* opening hours becomes a compact mobile editor */
  body.abg-v6 .abg-f16-shell .abg-hours-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin-bottom:10px!important}
  body.abg-v6 .abg-f16-shell .abg-hours-toolbar button{
    width:100%!important;min-height:40px!important;padding:0 10px!important;border:1px solid #d4d9df!important;border-radius:8px!important;background:#fff!important;color:#464e57!important;font-size:.67rem!important;font-weight:800!important;
  }
  body.abg-v6 .abg-f16-shell .abg-hours-head{display:none!important}
  body.abg-v6 .abg-f16-shell .abg-business-hours-editor{border:0!important}
  body.abg-v6 .abg-f16-shell .abg-hours-row{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px 10px!important;
    padding:12px 0!important;border:0!important;border-bottom:1px solid var(--f16-line)!important;
  }
  body.abg-v6 .abg-f16-shell .abg-hours-row>strong{grid-column:1!important;align-self:center;font-size:.77rem!important}
  body.abg-v6 .abg-f16-shell .abg-hours-closed{grid-column:2!important;display:flex!important;align-items:center!important;gap:6px!important}
  body.abg-v6 .abg-f16-shell .abg-hours-row label:not(.abg-hours-closed){
    grid-column:auto!important;display:block!important;
  }
  body.abg-v6 .abg-f16-shell .abg-hours-row label:nth-of-type(2){grid-column:1!important}
  body.abg-v6 .abg-f16-shell .abg-hours-row label:nth-of-type(3){grid-column:2!important}
  body.abg-v6 .abg-f16-shell .abg-hours-row label:not(.abg-hours-closed)::before{
    display:block;margin-bottom:3px;color:#9299a1;font-size:.53rem;font-weight:850;text-transform:uppercase;
  }
  body.abg-v6 .abg-f16-shell .abg-hours-row label:nth-of-type(2)::before{content:'Von'}
  body.abg-v6 .abg-f16-shell .abg-hours-row label:nth-of-type(3)::before{content:'Bis'}
  body.abg-v6 .abg-f16-shell .abg-hours-row label.abg-f16-second-slot{display:none!important}
  body.abg-v6 .abg-f16-shell .abg-hours-row.is-second-open label.abg-f16-second-slot{display:block!important}
  body.abg-v6 .abg-f16-shell .abg-hours-row label:nth-of-type(4){grid-column:1!important}
  body.abg-v6 .abg-f16-shell .abg-hours-row label:nth-of-type(5){grid-column:2!important}
  body.abg-v6 .abg-f16-shell .abg-hours-row label:nth-of-type(4)::before{content:'2. Von'}
  body.abg-v6 .abg-f16-shell .abg-hours-row label:nth-of-type(5)::before{content:'2. Bis'}
  body.abg-v6 .abg-f16-more-hours{
    grid-column:1/-1!important;justify-self:start!important;
    min-height:0!important;padding:0!important;border:0!important;background:none!important;color:#8a6400!important;font-size:.61rem!important;font-weight:850!important;
  }
}
