/* rf1 (20261022): unified numbered recruitment create/edit layout */
.rf1-form .rph2-sec, .rf1-form .crp2-sec, .rf1-form .hv2-sec, .rf1-form .hv2-sec24 { display: none !important; }
.rf1-replaced, .rf1-hide { display: none !important; }
.rf1-sec { margin: 0 0 14px; padding: 14px 16px 6px; border: 1px solid #eceef3; border-radius: 14px; background: #fff; box-sizing: border-box; min-width: 0; }
.rf1-sec.rf1-empty { display: none; }
.rf1-sec-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 800; font-size: 1rem; color: #101828; }
.rf1-num { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 26px; padding: 0 6px; border-radius: 8px; background: #101828; color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .02em; box-shadow: 0 6px 14px -8px rgba(16, 24, 40, .6); }
.rf1-sec-b { min-width: 0; }
.rf1-sec-b.row { margin-left: 0; margin-right: 0; }
.rf1-sec-b > section.vrd-sec { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.rf1-seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 10px; }
.rf1-btn { appearance: none; border: 1.5px solid #e4e7ec; background: #fff; color: #344054; border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 600; line-height: 1.2; cursor: pointer; min-height: 36px; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.rf1-btn:hover { border-color: #98a2b3; }
.rf1-btn.is-on { background: #101828; border-color: transparent; color: #fff; box-shadow: none; }
.rf1-days { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.rf1-days .rf1-btn { flex: 1 1 calc(14.28% - 8px); min-width: 44px; max-width: 100%; padding: 6px 8px; background: #f5f3ff; border: 1.5px solid #ddd6fe; color: #5b4b8a; box-sizing: border-box; }
.rf1-days .rf1-btn.is-on { background: #ede9fe; color: #5b21b6; border-color: #c4b5fd; box-shadow: none; text-decoration: none; }
.rf1-cap { font-weight: 700; font-size: .9rem; color: #334155; margin: 4px 0 6px; }
.rf1-hint { font-size: .78rem; color: #64748b; margin: -2px 0 8px; }
.rf1-offdays { margin: 6px 0 8px; max-width: 100%; min-width: 0; box-sizing: border-box; }
/* 报酬: type left, payout method right */
.rf1-dcr #dcr_payoff_row, .rf1-proxy #proxy_merchant_rp_normal_payoff_row > .row { display: flex; flex-wrap: wrap; gap: 0 24px; }
.rf1-dcr #dcr_payoff_row > .dcr-half { flex: 1 1 260px; min-width: 0; }
/* 互惠: no payout method, no cash amount */
.rf1-form[data-rf1-pay="item"] #dcr_remun_mode_wrap, .rf1-form[data-rf1-pay="item"] #dcr_money_amount_row, .rf1-form[data-rf1-pay="item"] #dcr_money_row,
.rf1-form[data-rf1-pay="item"] #proxy_merchant_rp_remun_mode_wrap, .rf1-form[data-rf1-pay="item"] #proxy_merchant_rp_money_amount_row, .rf1-form[data-rf1-pay="item"] #proxy_merchant_rp_money_range_row,
.rf1-form[data-rf1-pay="item"] #remun_mode_wrap, .rf1-form[data-rf1-pay="item"] #money_amount_row, .rf1-form[data-rf1-pay="item"] #money_payoff_section,
.rf1-form[data-rf1-pay="item"] #edit_remun_mode_wrap, .rf1-form[data-rf1-pay="item"] #edit_money_amount_row, .rf1-form[data-rf1-pay="item"] #edit_money_payoff_section,
.rf1-vrd[data-rf1-pay="item"] .vrd-pay-money { display: none !important; }
/* 不需探店: hide visit-date widgets and the product/experience choice */
.rf1-form[data-rf1-visit="0"] .rf1-vmode, .rf1-form[data-rf1-visit="0"] .rf1-vmode + .dvd-root, .rf1-form[data-rf1-visit="0"] [data-l="vmode"] { display: none !important; }
.rf1-form[data-rf1-visit="0"] .rf1-coop, .rf1-form[data-rf1-visit="0"] [data-l="coop"],
.rf1-form[data-rf1-visit="0"] #admin_proxy_rp_cooperation_wrap, .rf1-form[data-rf1-visit="0"] #dcr_coop_wrap,
.rf1-form[data-rf1-visit="0"] #cooperation_type_wrap, .rf1-form[data-rf1-visit="0"] #edit_cooperation_type_wrap,
.rf1-form[data-rf1-visit="0"] #admin_proxy_rp_experience_dates_wrap, .rf1-form[data-rf1-visit="0"] #dcr_exp_dates,
.rf1-form[data-rf1-visit="0"] #experience_dates_wrap, .rf1-form[data-rf1-visit="0"] #edit_experience_dates_wrap,
.rf1-form[data-rf1-visit="0"] .dxd-root, .rf1-form[data-rf1-visit="0"] .vrd-coop-host, .rf1-form[data-rf1-visit="0"] .vrd-exp-host { display: none !important; }
.rf1-form .dvd-root { border: 0; padding: 0; margin: 0 0 8px; background: none; }
/* exp2d: 探店日 = weekday chips; hide the specific-date calendar. 探店日期范围 keeps the range calendar. */
.rf1-form[data-rf1-vmode="dates"] .dvd-panel[data-dvd-panel="dates"] { display: none !important; }
.rf1-form[data-rf1-vmode="dates"] .rf1-offdays { display: block; }
.rf1-form[data-rf1-vmode="range"] .rf1-offdays,
.rf1-form[data-rf1-visit="0"] .rf1-offdays { display: none !important; }
@media (max-width: 575.98px) {
  .rf1-days .rf1-btn { flex: 1 1 calc(25% - 8px); min-width: 0; padding: 6px 4px; font-size: .82rem; }
}
/* upload-date picker removed from recruitment create/edit */
#dcr_rud_block, .rud-panel, .vrd-rud-box, .rf1-rud { display: none !important; }
/* rf2: the edit popup keeps 指定上传稿子日期 (switch + draft date; link date = draft + 3 days) */
.vrd-form .vrd-rud-field.rf1-rud { display: block !important; }
.vrd-form .vrd-rud-field .vrd-rud-box { display: block !important; }
.vrd-form .vrd-rud-field .vrd-rud-box[hidden] { display: none !important; }
.vrd-form .vrd-rud-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.vrd-form .vrd-rud-row .vrd-input { width: 100%; min-width: 0; box-sizing: border-box; }
.vrd-form .vrd-rud-link { background: #f1f5f9; color: #475569; pointer-events: none; }
.rf1-legacy-exp { display: inline-block; margin: 4px 0 8px; padding: 3px 10px; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: .8rem; font-weight: 600; }
.rf1-legacy-exp[hidden] { display: none !important; }
@media (max-width: 480px) { .vrd-form .vrd-rud-row { grid-template-columns: 1fr; } }
.rf1-ro { background: #f1f5f9 !important; color: #475569 !important; pointer-events: none; }
.rf1-linkauto { display: none; margin-top: 6px; }
.rf1-form[data-rf1-rud="1"] .rf1-linkauto { display: block; }
/* 语言 pills — checkbox stays inside the pill (no 1px anchor that jumps while the dialog scrolls) */
.rf1-pills { display: flex !important; flex-wrap: wrap; gap: 8px; position: relative; z-index: auto; isolation: auto; overflow: visible; overflow-anchor: none; }
.rf1-pill { position: relative; display: inline-flex !important; align-items: center; margin: 0 !important; padding: 7px 16px !important; border: 1.5px solid #e4e7ec; border-radius: 999px; background: #fff; color: #344054; font-weight: 600; font-size: .88rem; cursor: pointer; min-height: 36px; box-sizing: border-box; z-index: auto; overflow: visible; isolation: auto; overflow-anchor: none; transform: none; }
.rf1-pill input,
.rf1-pill .dcr-visually-hidden { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; opacity: 0 !important; pointer-events: none !important; appearance: none !important; border: 0 !important; clip: auto !important; overflow: hidden !important; }
.rf1-pill.is-on,
.rf1-pill.is-on span,
.vt-alert.dash-create-recruit-swal .dcr-check.rf1-pill.is-on,
.vt-alert.dash-create-recruit-swal .rf1-pill.is-on,
.vt-alert.dash-create-recruit-swal .rf1-pill.is-on span,
.swal2-popup.dash-create-recruit-swal .rf1-pill.is-on,
.swal2-popup.dash-create-recruit-swal .rf1-pill.is-on span { background: #101828 !important; color: #fff !important; border-color: transparent !important; }
.rf1-pill.form-check { padding-left: 16px !important; }
.rf1-pill .form-check-input { margin: 0 !important; }
@media (max-width: 767.98px) {
  .rf1-sec { padding: 12px 12px 4px; border-radius: 12px; }
  .rf1-dcr #dcr_payoff_row > .dcr-half { flex-basis: 100%; }
  .rf1-btn { padding: 7px 12px; font-size: .85rem; }
  .rf1-form .dcr-two, .rf1-form .vrd-grid2 { min-width: 0; }
}
.rf1-form #dcr_visit_fields .dcr-checks:not(#dcr_visit_days) { flex-wrap: nowrap; }
.rf1-form #dcr_visit_fields .dcr-checks > select, .rf1-form .vrd-visit-fields .vrd-checks > select { flex: 1 1 0; min-width: 64px; }
.rf1-payrow { display: flex; flex-wrap: wrap; gap: 0 24px; }
.rf1-payrow > .vrd-field { flex: 1 1 260px; min-width: 0; }
.rf1-payrow-s > * { flex: 1 1 260px; min-width: 0; max-width: 100%; width: auto !important; padding-left: 0; padding-right: 0; }
.rf1-payrow-s .row { margin: 0; }
.rf1-form .dvd-range { display: flex; align-items: center; gap: 6px; min-width: 0; }
.rf1-form .dvd-range > input { flex: 1 1 0; min-width: 0; width: auto; }
.rf1-proxy #proxy_merchant_rp_normal_payoff_row > .row { display: flex; flex-wrap: wrap; }
.rf1-proxy #proxy_merchant_rp_normal_payoff_row > .row > [class*="col-"] { flex: 1 1 260px; max-width: 100%; width: auto; }
@media (max-width: 575.98px) {
  .rf1-form #dcr_visit_fields .dcr-two { display: block; }
  .rf1-form #dcr_visit_fields .dcr-two > div + div { margin-top: 8px; }
}
.rf1-form .ql-toolbar, .rf1-form .ql-container { max-width: 100%; position: relative; z-index: 1; }
.rf1-form .ql-toolbar.ql-snow button, .rf1-form .ql-toolbar.ql-snow .ql-picker { position: relative; z-index: 1; }
.rf1-sec { overflow: visible; }
/* step cards sit on the lavender wash, same in 创建招募帖子 and 创建新商家 */
.vt-alert.dash-create-recruit-swal .rf1-sec,
.swal2-popup.dash-create-recruit-swal .rf1-sec,
#add_proxy_merchant_modal.rf1-merchant-modal .rf1-sec {
  background: rgba(255, 255, 255, 0.58) !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.vt-alert.dash-create-recruit-swal .rf1-sec .dcr-input,
.vt-alert.dash-create-recruit-swal .rf1-sec .mmc-input,
.vt-alert.dash-create-recruit-swal .rf1-sec .form-control,
#add_proxy_merchant_modal.rf1-merchant-modal .rf1-sec .form-control {
  background: #fff !important;
}
/* old field stack must not paint before the numbered sections exist */
.vt-alert.dash-create-recruit-swal .dcr-form:not(.rf1-form) { visibility: hidden; }
.vrd-form.vrd-form--pending { visibility: hidden; }
.vrd-popup--edit .vrd-desc-field:not(:has(.rde-wrap)) .vrd-f-desc {
  position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none !important;
}
.vrd-rud-box[hidden] { display: none !important; }
.vrd-rud-n { font-size: .8rem; font-weight: 700; color: #101828; margin: 0 0 6px; }
/* merchant create: same numbered cards as recruitment, social links only */
#add_proxy_merchant_form #proxy_merchant_blackout_section { display: none !important; }
#add_proxy_merchant_form #proxy_merchant_social_block { display: block !important; }
#add_proxy_merchant_form.rf1-form .form-control,
#add_proxy_merchant_form.rf1-form select.form-control,
#add_proxy_merchant_form.rf1-form textarea.form-control {
  border: 1px solid #e2e8f0 !important; border-radius: 12px !important;
  padding: 0.7rem 0.85rem !important; box-shadow: none !important;
}
#add_proxy_merchant_form.rf1-form .form-control:focus,
#add_proxy_merchant_form.rf1-form select.form-control:focus,
#add_proxy_merchant_form.rf1-form textarea.form-control:focus {
  border-color: #818cf8 !important; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}
#add_proxy_merchant_modal.rf1-merchant-modal .modal-dialog { max-width: min(1180px, 94vw) !important; width: min(1180px, 94vw) !important; }
#add_proxy_merchant_modal.rf1-merchant-modal .modal-content {
  border-radius: 26px !important; border: 1px solid rgba(226, 232, 240, 0.95) !important;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(102, 126, 234, 0.28) 0%, rgba(167, 139, 250, 0.12) 38%, rgba(255, 255, 255, 0) 70%),
    rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.22), 0 8px 24px rgba(102, 126, 234, 0.16) !important;
}
#add_proxy_merchant_modal.rf1-merchant-modal .modal-header,
#add_proxy_merchant_modal.rf1-merchant-modal .modal-footer {
  border: 0 !important; background: transparent !important; justify-content: center !important;
}
#add_proxy_merchant_modal.rf1-merchant-modal .modal-title {
  width: 100%; text-align: center !important; font-size: 1.15rem !important; font-weight: 800 !important; color: #0f172a !important;
}
#add_proxy_merchant_submit_btn {
  min-width: 8.5rem !important; border: 0 !important; border-radius: 999px !important;
  padding: 0.72rem 1.85rem !important; font-weight: 800 !important; color: #fff !important;
  background: #101828 !important; box-shadow: none !important;
}
