/* ===== admin 招募帖子 — hub layout system r1 (html.rph-v2, admin/recruitment_posts_hub.html only) =====
   Grey canvas, one white surface per pane, no nested boxes, no divider/accent lines. */
html.rph-v2{--rp-bg:#f2f3f7;--rp-ink:#101828;--rp-sub:#667085;--rp-mute:#98a2b3;--rp-fill:#f4f5f8;--rp-fill2:#eceef3;--rp-pri:#6d5df5;--rp-sel:#f3f1ff;}
html.rph-v2 body,html.rph-v2 #content,html.rph-v2 .content-admin-main{background:var(--rp-bg) !important;}

/* ---------- module pills: one bar, dark active pill ---------- */
html.rph-v2 .rph-v2-root .hub-main-pills{background:transparent !important;box-shadow:none !important;border:0 !important;padding:0 !important;margin:0 0 4px !important;}
html.rph-v2 .rph-v2-root .hub-main-pills::before,html.rph-v2 .rph-v2-root .hub-main-pills::after{display:none !important;}
html.rph-v2 .rph-v2-root .hub-pill-row{display:flex !important;flex-wrap:nowrap !important;gap:4px !important;overflow-x:auto !important;overflow-y:hidden;scrollbar-width:none;padding:0 !important;margin:0 !important;background:transparent !important;border:0 !important;box-shadow:none !important;-webkit-overflow-scrolling:touch;}
html.rph-v2 .rph-v2-root .hub-pill-row::-webkit-scrollbar{display:none;}
html.rph-v2 .rph-v2-root .hub-pill-row .hub-pill-btn{flex:0 0 auto;white-space:nowrap;background:transparent !important;border:0 !important;box-shadow:none !important;color:var(--rp-sub) !important;font-weight:700 !important;font-size:.86rem !important;padding:9px 16px !important;border-radius:999px !important;height:auto !important;min-height:0 !important;transition:background .18s,color .18s;}
html.rph-v2 .rph-v2-root .hub-pill-row .hub-pill-btn:hover{background:rgba(16,24,40,.05) !important;color:var(--rp-ink) !important;}
html.rph-v2 .rph-v2-root .hub-pill-row .hub-pill-btn.active{background:var(--rp-ink) !important;color:#fff !important;}
html.rph-v2 .rph-v2-root .hub-pill-btn::before,html.rph-v2 .rph-v2-root .hub-pill-btn::after{display:none !important;}

/* ---------- the single surface per pane ---------- */
html.rph-v2 .rph-v2-root .rph2-row{--bs-gutter-x:18px;--bs-gutter-y:18px;margin-top:4px !important;}
html.rph-v2 .rph-v2-root .rph2-row > [id^="rph_col_"] > .modern-panel-card{background:#fff !important;border:0 !important;outline:0 !important;border-radius:24px !important;box-shadow:0 1px 2px rgba(16,24,40,.04),0 12px 32px -20px rgba(16,24,40,.18) !important;}
html.rph-v2 .rph-v2-root .rph2-row > [id^="rph_col_"] > .modern-panel-card::before,html.rph-v2 .rph-v2-root .rph2-row > [id^="rph_col_"] > .modern-panel-card::after{display:none !important;}
html.rph-v2 .rph-v2-root .rph2-row .panel-card-header{padding:22px 24px 8px !important;border:0 !important;box-shadow:none !important;background:transparent !important;align-items:center !important;flex-wrap:nowrap !important;}
html.rph-v2 .rph-v2-root .rph2-row .panel-card-header::before,html.rph-v2 .rph-v2-root .rph2-row .panel-card-header::after{display:none !important;}
html.rph-v2 .rph-v2-root .rph2-row .panel-icon{display:none !important;}
html.rph-v2 .rph-v2-root .rph2-row .panel-title{font-size:1.14rem !important;font-weight:800 !important;color:var(--rp-ink) !important;flex:0 1 auto !important;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:8px !important;}
html.rph-v2 .rph-v2-root .rph2-row .panel-title::before,html.rph-v2 .rph-v2-root .rph2-row .panel-title::after{display:none !important;}
html.rph-v2 .rph-v2-root .rph2-count{margin-right:auto;min-width:24px;height:24px;padding:0 8px;border-radius:999px;background:var(--rp-fill);color:var(--rp-sub);font-size:.74rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;}
html.rph-v2 .rph-v2-root .rph2-count:empty{display:none;}
html.rph-v2 .rph-v2-root .rph2-count:empty + *{margin-left:auto;}
html.rph-v2 .rph-v2-root .rph2-row .hub-filter-icon-btn,html.rph-v2 .rph-v2-root .rph2-row .hub-detail-close-btn{width:36px;height:36px;border-radius:12px !important;background:var(--rp-fill) !important;border:0 !important;color:#475467 !important;box-shadow:none !important;display:inline-flex !important;align-items:center;justify-content:center;padding:0 !important;flex:0 0 auto;}
html.rph-v2 .rph-v2-root .rph2-row .hub-filter-icon-btn.is-active{background:var(--rp-ink) !important;color:#fff !important;}
html.rph-v2 .rph-v2-root .rph2-row .hub-mobile-nav .hub-mv-go{border-radius:999px !important;font-weight:700 !important;border:0 !important;box-shadow:none !important;background:var(--rp-fill) !important;color:#344054 !important;min-height:38px;}
html.rph-v2 .rph-v2-root .rph2-row .hub-mobile-nav .hub-mv-go.rph2-fab{background:var(--rp-ink) !important;color:#fff !important;padding:0 16px !important;display:inline-flex;align-items:center;gap:4px;}
/* no nested boxes / title dividers inside panes */
html.rph-v2 .rph-v2-root .rph2-row .modern-panel-card .card,html.rph-v2 .rph-v2-root .rph2-row .modern-panel-card .modern-panel-card{box-shadow:none !important;border:0 !important;background:transparent !important;}
html.rph-v2 .rph-v2-root .rph2-row [id$="_detail"] hr{border:0 !important;height:0 !important;margin:20px 0 0 !important;opacity:0 !important;}
html.rph-v2 .rph-v2-root .rph2-row [id$="_detail"] h6{font-size:.95rem;font-weight:800;color:var(--rp-ink);}
html.rph-v2 .rph-v2-root .rph2-row [id$="_detail"] h6 > i:first-child{display:none;}
html.rph-v2 .rph-v2-root .rph2-row .hub-panel-body-scroll[id^="rph_detail_"],html.rph-v2 .rph-v2-root #rph_history_detail_body{padding-left:24px !important;padding-right:24px !important;}
html.rph-v2 .rph-v2-root .rph-detail-kv td{border:0 !important;padding:8px 0 !important;background:transparent !important;}
html.rph-v2 .rph-v2-root .rph-detail-kv td.rph-k{color:var(--rp-sub) !important;width:38%;font-weight:600;}
html.rph-v2 .rph-v2-root .rph-detail-kv td.rph-v{color:var(--rp-ink) !important;font-weight:600;}
html.rph-v2 .rph-v2-root #rph_btn_add_merchant_branch{background:var(--rp-ink) !important;border:0 !important;border-radius:14px !important;font-weight:700 !important;min-height:42px;}
html.rph-v2 .rph-v2-root .rph-mer-branch-card{background:var(--rp-fill) !important;border:0 !important;box-shadow:none !important;border-radius:14px !important;}
html.rph-v2 .rph-v2-root .rph-mer-branch-card::before,html.rph-v2 .rph-v2-root .rph-mer-branch-card::after{display:none !important;}

/* ---------- forms ---------- */
html.rph-v2 .rph-v2-root .rph2-row > [id$="_form"] .hub-panel-body-scroll{padding-left:24px !important;padding-right:24px !important;counter-reset:rph2sec;}
html.rph-v2 .rph-v2-root .rph2-noico{display:none !important;}
html.rph-v2 .rph-v2-root .rph2-form .form-label,html.rph-v2 .rph-v2-root .rph2-form label:not(.form-check-label):not(.modern-toggle-switch):not([class*="toggle"]){font-weight:600 !important;color:#475467 !important;}
html.rph-v2 .rph-v2-root .rph2-form .form-control,html.rph-v2 .rph-v2-root .rph2-form select.form-control,html.rph-v2 .rph-v2-root .rph2-form .form-select{background-color:var(--rp-fill) !important;border:1px solid transparent !important;border-radius:14px !important;box-shadow:none !important;color:var(--rp-ink);min-height:46px;}
html.rph-v2 .rph-v2-root .rph2-form .form-control:focus,html.rph-v2 .rph-v2-root .rph2-form .form-select:focus{background-color:#fff !important;border-color:#c9c3fb !important;box-shadow:0 0 0 4px rgba(109,93,245,.12) !important;}
html.rph-v2 .rph-v2-root .rph2-form textarea.form-control{min-height:110px;}
html.rph-v2 .rph-v2-root .rph2-form hr{display:none !important;}
html.rph-v2 .rph-v2-root .rph2-form .border-top{border-top:0 !important;}
/* boxed groups inside the form become plain groups (one surface only) */
html.rph-v2 .rph-v2-root .rph2-form .p-3.rounded-3,
html.rph-v2 .rph-v2-root .rph2-form .rud-panel,
html.rph-v2 .rph-v2-root .rph2-form .rso-root,
html.rph-v2 .rph-v2-root .rph2-form .rp-apply-types-root,
html.rph-v2 .rph-v2-root .rph2-form .raq-root,
html.rph-v2 .rph-v2-root .rph2-form .dvd-root,
html.rph-v2 .rph-v2-root .rph2-form .jz-visiting-blackout-wrap{background:transparent !important;border:0 !important;box-shadow:none !important;padding-left:0 !important;padding-right:0 !important;border-radius:0 !important;}
html.rph-v2 .rph-v2-root .rph2-form .p-3.rounded-3::before,html.rph-v2 .rph-v2-root .rph2-form .rud-panel::before,html.rph-v2 .rph-v2-root .rph2-form .rp-apply-types-root::before,html.rph-v2 .rph-v2-root .rph2-form .raq-root::before{display:none !important;}
html.rph-v2 .rph-v2-root .rph2-form .p-3.rounded-3{padding-top:4px !important;padding-bottom:4px !important;}
/* numbered step headings (same chip as the hub page) */
html.rph-v2 .rph-v2-root .rph2-sec{counter-increment:rph2sec;display:flex !important;align-items:center;gap:12px;font-size:1.04rem;line-height:1.3;font-weight:800;color:var(--rp-ink);margin:26px 0 14px !important;padding:0 calc(var(--bs-gutter-x,1.5rem) * .5) !important;border:0 !important;background:transparent !important;letter-spacing:-.005em;}
html.rph-v2 .rph-v2-root .rph2-sec::before{content:counter(rph2sec,decimal-leading-zero);flex:0 0 auto;width:30px;height:30px;border-radius:10px;background:var(--rp-ink);color:#fff;font-size:.8rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;letter-spacing:0;box-shadow:0 6px 14px -8px rgba(16,24,40,.6);}
html.rph-v2 .rph-v2-root .rph2-form > .row > .rph2-sec:first-child{margin-top:6px !important;}
/* footer: single dark primary */
html.rph-v2 .rph-v2-root .rph2-row [class*="-docked-footer"]{border-top:0 !important;box-shadow:none !important;background:#fff !important;padding:14px 24px 18px !important;gap:10px;}
html.rph-v2 .rph-v2-root .rph2-row [class*="-docked-footer"] .btn{border-radius:14px !important;font-weight:700 !important;min-height:44px;padding:0 22px !important;box-shadow:none !important;margin:0 !important;}
html.rph-v2 .rph-v2-root .rph2-row [class*="-docked-footer"] .btn-primary{background:var(--rp-ink) !important;background-image:none !important;border:0 !important;color:#fff !important;}
html.rph-v2 .rph-v2-root .rph2-row [class*="-docked-footer"] .btn-secondary{background:var(--rp-fill) !important;border:0 !important;color:#344054 !important;}

/* ---------- desktop: list left (wider), workspace right ---------- */
@media (min-width:1200px){
  html.rph-v2 .rph-v2-root .rph2-row{flex-wrap:nowrap !important;}
  html.rph-v2 .rph-v2-root .rph2-row.rph2-has-form > [id$="_table"]{order:1;flex:1 1 100% !important;max-width:100% !important;width:100% !important;}
  html.rph-v2 .rph-v2-root .rph2-row.rph2-has-form[data-hub-mv="form"] > [id$="_table"],
  html.rph-v2 .rph-v2-root .rph2-row.rph2-has-form[data-hub-mv="detail"] > [id$="_table"],
  html.rph-v2 .rph-v2-root .rph2-row.hub-layout-detail-open > [id$="_table"]{order:1;flex:0 0 52% !important;max-width:52% !important;width:52% !important;}
  html.rph-v2 .rph-v2-root .rph2-row > [id$="_form"]{display:none !important;}
  html.rph-v2 .rph-v2-root .rph2-row[data-hub-mv="form"] > [id$="_form"]{display:flex !important;order:2;flex:1 1 0 !important;max-width:none !important;width:auto !important;}
  html.rph-v2 .rph-v2-root .rph2-row.rph2-has-form > [id$="_detail"]{order:2;flex:1 1 0 !important;max-width:none !important;width:auto !important;}
  html.rph-v2 .rph-v2-root .rph2-row:not(.rph2-has-form) > [id$="_table"]{order:1;flex:1 1 0 !important;max-width:none !important;width:auto !important;}
  html.rph-v2 .rph-v2-root .rph2-row:not(.rph2-has-form) > [id$="_detail"]:not(.d-none){order:2;flex:0 0 42% !important;max-width:42% !important;width:42% !important;}
  html.rph-v2 .rph-v2-root .rph2-row.rph2-has-form:has(> [id$="_detail"]:not(.d-none)) > [id$="_form"]{display:none !important;}
}
/* ---------- desktop + tablet: data table ---------- */
@media (min-width:768px){
  html.rph-v2 .rph-v2-root .rph2-row[data-rph2-scope] [id$="_table"] .hub-filter-icon-btn,
  html.rph-v2 .rph-v2-root .rph2-row[data-rph2-scope] [id$="_table"] .hub-list-pager{display:none !important;}
  html.rph-v2 .rph-v2-root .rph-desktop-table-wrap{display:block !important;}
  html.rph-v2 .rph-v2-root .rph-mobile-card-list{display:none !important;}
  html.rph-v2 .rph-v2-root .hub-list-scroll{padding-bottom:0 !important;}
  html.rph-v2 .rph-v2-root .rph2-dt-bar{display:flex;align-items:center;gap:12px;padding:6px 24px 14px;flex:0 0 auto;}
  html.rph-v2 .rph-v2-root .rph2-dt-search{position:relative;flex:1 1 auto;min-width:0;max-width:420px;margin:0 !important;display:flex;align-items:center;}
  html.rph-v2 .rph-v2-root .rph2-dt-search > i{position:absolute;left:14px;color:var(--rp-mute);font-size:.9rem;pointer-events:none;}
  html.rph-v2 .rph-v2-root .rph2-dt-search input{width:100%;height:42px;border:1px solid transparent;border-radius:14px;background:var(--rp-fill);padding:0 38px 0 40px;font-size:.92rem;font-weight:500;color:var(--rp-ink);outline:0;}
  html.rph-v2 .rph-v2-root .rph2-dt-search input::-webkit-search-cancel-button{display:none;}
  html.rph-v2 .rph-v2-root .rph2-dt-search input:focus{background:#fff;border-color:#c9c3fb;box-shadow:0 0 0 4px rgba(109,93,245,.12);}
  html.rph-v2 .rph-v2-root .rph2-dt-clear{position:absolute;right:8px;width:26px;height:26px;border:0;border-radius:8px;background:transparent;color:var(--rp-mute);display:none;align-items:center;justify-content:center;font-size:.72rem;padding:0;}
  html.rph-v2 .rph-v2-root .rph2-dt-bar.has-q .rph2-dt-clear{display:inline-flex;}
  html.rph-v2 .rph-v2-root .rph2-dt-len{margin:0 0 0 auto !important;display:inline-flex;align-items:center;gap:8px;font-size:.84rem;font-weight:600;color:var(--rp-sub);white-space:nowrap;}
  html.rph-v2 .rph-v2-root .rph2-dt-len select{height:38px;border:0;border-radius:12px;background:var(--rp-fill);padding:0 12px;font-weight:700;color:var(--rp-ink);outline:0;cursor:pointer;}
  html.rph-v2 .rph-v2-root .rph2-row [id$="_table"] .table-responsive{padding:0 8px !important;overflow:visible !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table{display:table !important;table-layout:auto !important;border-collapse:separate !important;border-spacing:0 !important;width:100% !important;margin:0 !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead{display:table-header-group !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table tbody{display:table-row-group !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table tr{display:table-row !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table th,html.rph-v2 .rph-v2-root .rph2-row .hub-section-table td{display:table-cell !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table > thead{position:sticky !important;top:0;z-index:20 !important;background:#fff !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead th{position:sticky !important;top:0;z-index:20 !important;background:#fff !important;border:0 !important;box-shadow:inset 0 -1px 0 #e8ecf4 !important;padding:10px 12px !important;font-size:.76rem !important;font-weight:700 !important;letter-spacing:.03em;color:var(--rp-mute) !important;white-space:nowrap;text-transform:none;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead th:first-child{padding-left:18px !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead th.col-actions,
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead th.text-end{font-size:.76rem !important;text-align:right !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead th.hub-sortable{cursor:pointer;user-select:none;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead th.hub-sortable:hover,
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead th.is-sorted-asc,
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead th.is-sorted-desc{color:var(--rp-ink) !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead .hub-sort-ind{display:inline-flex !important;flex-direction:column;vertical-align:middle;margin-left:6px;gap:2px;font-size:0 !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead .hub-sort-ind::before,html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead .hub-sort-ind::after{content:"" !important;display:block;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;opacity:.35;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead .hub-sort-ind::before{border-bottom:4px solid currentColor;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead .hub-sort-ind::after{border-top:4px solid currentColor;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead th.is-sorted-asc .hub-sort-ind::before,html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead th.is-sorted-desc .hub-sort-ind::after{opacity:1;color:var(--rp-pri);}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table tbody td{border:0 !important;padding:13px 12px !important;vertical-align:middle;font-size:.92rem;color:#344054;background:transparent !important;box-shadow:none !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table tbody td:first-child{padding-left:18px !important;border-radius:14px 0 0 14px !important;font-weight:700;color:var(--rp-ink);}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table tbody td:last-child{padding-right:12px !important;border-radius:0 14px 14px 0 !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table th.col-actions,html.rph-v2 .rph-v2-root .rph2-row .hub-section-table td:last-child:not([colspan]){width:1% !important;white-space:nowrap;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table th.col-merchant,html.rph-v2 .rph-v2-root .rph2-row .hub-section-table td.col-merchant{width:1% !important;white-space:nowrap;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table tbody tr:nth-child(even) td{background:#fafbfc !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table tbody tr:hover td{background:#f4f5f8 !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table tbody tr.hub-row-selected td{background:var(--rp-sel) !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table tbody td[colspan]{padding:48px 16px !important;text-align:center !important;color:var(--rp-mute) !important;font-weight:600;background:transparent !important;border-radius:14px !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-row-actions,html.rph-v2 .rph-v2-root .rph2-row .hub-section-table td:last-child > div{display:flex !important;justify-content:flex-end;gap:6px !important;flex-wrap:nowrap !important;}
  html.rph-v2 .rph-v2-root .rph2-dt-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 24px 20px;flex-wrap:nowrap;flex:0 0 auto;}
  html.rph-v2 .rph-v2-root .rph2-dt-pager.is-empty{display:none;}
  html.rph-v2 .rph-v2-root .rph2-dt-info{font-size:.84rem;color:var(--rp-sub);font-weight:500;}
  html.rph-v2 .rph-v2-root .rph2-dt-pages{display:flex;align-items:center;gap:4px;}
  html.rph-v2 .rph-v2-root .rph2-dt-pages button{min-width:34px;height:34px;padding:0 8px;border:0;border-radius:10px;background:transparent;color:#344054;font-weight:700;font-size:.86rem;display:inline-flex;align-items:center;justify-content:center;}
  html.rph-v2 .rph-v2-root .rph2-dt-pages button:hover:not(:disabled):not(.is-on){background:var(--rp-fill);}
  html.rph-v2 .rph-v2-root .rph2-dt-pages button.is-on{background:var(--rp-ink);color:#fff;}
  html.rph-v2 .rph-v2-root .rph2-dt-pages button:disabled{opacity:.35;cursor:default;}
  html.rph-v2 .rph-v2-root .rph2-dt-gap{color:var(--rp-mute);padding:0 2px;}
}
/* row action buttons: quiet round chips everywhere */
html.rph-v2 .rph-v2-root .rph2-row .hub-act-btn{width:34px !important;height:34px !important;min-width:34px;border-radius:11px !important;border:0 !important;box-shadow:none !important;background:var(--rp-fill) !important;color:#475467 !important;display:inline-flex !important;align-items:center;justify-content:center;padding:0 !important;margin:0 !important;}
html.rph-v2 .rph-v2-root .rph2-row .hub-act-btn:hover{background:var(--rp-fill2) !important;color:var(--rp-ink) !important;}
html.rph-v2 .rph-v2-root .rph2-row .hub-act-btn i{font-size:.95rem !important;}

/* list reveal on module switch */
@keyframes rph2RowIn{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:none;}}
html.rph-v2 .rph-v2-root [data-rph2-in]{animation:rph2RowIn .42s cubic-bezier(.22,.8,.24,1) both !important;animation-delay:calc(var(--rph2-i,0) * 38ms) !important;}
@media (prefers-reduced-motion:reduce){html.rph-v2 .rph-v2-root [data-rph2-in]{animation:none !important;}}
/* module switch: snap, never slide/fade */
html.rph-v2.rph2-silent .rph-v2-root .rph-scope-row > [id^="rph_col_"],html.rph-v2.rph2-silent .rph-v2-root .rph-scope-row > [id^="rph_col_"] > .modern-panel-card{transition:none !important;animation:none !important;}

/* ---------- phone: list first, + FAB, form/detail as a one-piece full-screen sheet ---------- */
@keyframes rph2SheetIn{from{transform:translateY(100%);}to{transform:none;}}
@keyframes rph2SheetOut{from{transform:none;}to{transform:translateY(100%);}}
.rph2-sheet-bd{display:none;}
@media (max-width:767.98px){
    html.rph-v2 .rph-v2-root .hub-pill-row{padding:0 12px !important;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 28px),transparent);}
  html.rph-v2 .rph-v2-root .hub-pill-row{padding:0 4px !important;}
  html.rph-v2 .rph-v2-root .rph2-row{margin-top:10px !important;}
  html.rph-v2 .rph-v2-root .rph2-dt-bar,html.rph-v2 .rph-v2-root .rph2-dt-pager{display:none !important;}
  html.rph-v2 .rph-v2-root .rph2-row .panel-card-header{padding:18px 18px 6px !important;}
  html.rph-v2 .rph-v2-root .rph2-row .panel-title{font-size:1.04rem !important;}
  /* list rows: one surface, rows separated by space, no inner cards */
  html.rph-v2 .rph-v2-root .rph-mobile-card-list{display:block !important;padding:2px 10px 0 !important;}
  html.rph-v2 .rph-v2-root .hub-list-scroll{padding-bottom:0 !important;}
  html.rph-v2 .rph-v2-root .rph-list-card{background:transparent !important;border:0 !important;box-shadow:none !important;border-radius:16px !important;padding:12px 8px !important;margin:0 !important;gap:12px !important;align-items:center !important;position:relative;}
  html.rph-v2 .rph-v2-root .rph-list-card + .rph-list-card{margin-top:2px !important;}
  html.rph-v2 .rph-v2-root .rph-list-card:nth-child(even){background:#fafbfc !important;}
  html.rph-v2 .rph-v2-root .rph-list-card.is-selected,html.rph-v2 .rph-v2-root .rph-list-card:active{background:var(--rp-sel) !important;}
  html.rph-v2 .rph-v2-root .rph-list-card::before,html.rph-v2 .rph-v2-root .rph-list-card::after{display:none !important;}
  html.rph-v2 .rph-v2-root .rph-list-card-title{font-size:.98rem !important;font-weight:800 !important;color:var(--rp-ink) !important;margin:0 0 4px !important;}
  html.rph-v2 .rph-v2-root .rph-list-card-actions{gap:6px !important;flex-wrap:wrap;justify-content:flex-end;max-width:80px;}
  html.rph-v2 .rph-v2-root .rph-mobile-card-list > .text-center{padding:44px 12px !important;color:var(--rp-mute) !important;font-weight:600;}
  /* pager: centred, stacked: "共 X 条" then the buttons */
  html.rph-v2 .rph-v2-root .rph2-row [id$="_table"] .hub-list-pager{display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:8px !important;padding:12px 16px 16px !important;margin:0 !important;border:0 !important;background:transparent !important;}
  html.rph-v2 .rph-v2-root .rph2-row [id$="_table"] .hub-list-pager:empty{display:none !important;}
  html.rph-v2 .rph-v2-root .rph2-row [id$="_table"] .hub-pager-meta{margin:0 !important;text-align:center;font-size:.84rem;font-weight:700;color:var(--rp-sub);}
  html.rph-v2 .rph-v2-root .rph2-row [id$="_table"] .hub-pager-btns{display:flex;justify-content:center;gap:8px;margin:0 !important;}
  html.rph-v2 .rph-v2-root .rph2-row [id$="_table"] .hub-pager-btn{width:36px;height:36px;border-radius:12px !important;border:0 !important;background:var(--rp-fill) !important;color:#344054 !important;font-weight:800;box-shadow:none !important;}
  html.rph-v2 .rph-v2-root .rph2-row [id$="_table"] .hub-pager-btn.is-page{background:var(--rp-ink) !important;color:#fff !important;opacity:1 !important;}
  html.rph-v2 .rph-v2-root .rph2-row [id$="_table"] .hub-pager-btn:disabled:not(.is-page){opacity:.4;}
  html.rph-v2 .rph-v2-root .rph2-form .form-control,html.rph-v2 .rph-v2-root .rph2-form select{font-size:16px !important;}
  html.rph-v2 .rph-v2-root .rph2-sec{font-size:1rem;margin:22px 0 12px !important;}
  html.rph-v2 .rph-v2-root .rph2-sec::before{width:28px;height:28px;border-radius:9px;}
}
/* ---------- phone + tablet (<1200): list first, + FAB, form/detail open as a sheet ---------- */
@media (max-width:1199.98px){
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_table"]{opacity:1 !important;visibility:visible !important;transform:none !important;transition:none !important;animation:none !important;pointer-events:auto !important;padding:0 !important;}
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow[data-hub-mv="form"] > [id$="_table"],html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow[data-hub-mv="detail"] > [id$="_table"]{z-index:1 !important;}
  /* + : floating, dark, icon only (same as 任务 on the hub page) */
  html.rph-v2 body .rph-v2-root .rph2-row [id$="_table"] .hub-mobile-nav{margin:0 !important;}
  html.rph-v2 body .rph-v2-root .rph2-row [id$="_table"] .hub-mobile-nav .hub-mv-go.rph2-fab{position:fixed !important;right:18px;bottom:calc(96px + env(safe-area-inset-bottom,0px));z-index:1040;width:56px !important;height:56px !important;min-height:56px !important;padding:0 !important;border-radius:18px !important;display:inline-flex !important;align-items:center;justify-content:center;background:var(--rp-ink) !important;color:#fff !important;box-shadow:0 14px 30px -10px rgba(16,24,40,.55) !important;transition:none !important;}
  html.rph-v2 body .rph-v2-root .rph2-row [id$="_table"] .hub-mv-go.rph2-fab span{display:none !important;}
  html.rph-v2 body .rph-v2-root .rph2-row [id$="_table"] .hub-mv-go.rph2-fab i{font-size:1.5rem !important;margin:0 !important;}
  html.rph-v2.rph2-sheet-open body .rph-v2-root .rph2-row [id$="_table"] .hub-mv-go.rph2-fab{display:none !important;}
  /* sheet */
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_form"],html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_detail"]{transition:none !important;}
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow[data-hub-mv="form"] > [id$="_form"],
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow[data-hub-mv="detail"] > [id$="_detail"]:not(.d-none),
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow[data-rph2-closing="form"] > [id$="_form"],
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow[data-rph2-closing="detail"] > [id$="_detail"]{
    position:fixed !important;inset:0 !important;top:0 !important;left:0 !important;width:100% !important;max-width:none !important;height:100dvh !important;z-index:100050 !important;background:#fff !important;padding:0 !important;
    display:flex !important;opacity:1 !important;visibility:visible !important;pointer-events:auto !important;transform:none;animation:rph2SheetIn .36s cubic-bezier(.22,.8,.24,1) both !important;}
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow[data-rph2-closing="form"] > [id$="_form"],
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow[data-rph2-closing="detail"] > [id$="_detail"]{pointer-events:none !important;animation:rph2SheetOut .28s cubic-bezier(.4,0,1,1) both !important;}
  html.rph-v2.rph2-silent .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_form"],html.rph-v2.rph2-silent .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_detail"]{animation:none !important;}
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_form"] > .modern-panel-card,html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_detail"] > .modern-panel-card{border-radius:0 !important;box-shadow:none !important;height:100% !important;max-height:none !important;transform:none !important;opacity:1 !important;}
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_form"] .panel-card-header,html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_detail"] .panel-card-header{padding:calc(14px + env(safe-area-inset-top,0px)) 16px 10px !important;}
  html.rph-v2 .rph-v2-root .rph2-row > [id$="_form"] .hub-mobile-nav,html.rph-v2 .rph-v2-root .rph2-row > [id$="_detail"] .hub-mobile-nav{order:-1;margin:0 4px 0 0 !important;}
  /* close: grey round ✕, icon only */
  html.rph-v2 .rph-v2-root .rph2-row > [id$="_form"] .hub-mobile-nav .hub-mv-go,html.rph-v2 .rph-v2-root .rph2-row > [id$="_detail"] .hub-mobile-nav .hub-mv-go{width:38px !important;height:38px !important;min-height:38px !important;padding:0 !important;display:inline-flex !important;align-items:center;justify-content:center;background:var(--rp-fill) !important;color:#344054 !important;border:0 !important;border-radius:999px !important;font-size:0 !important;}
  html.rph-v2 .rph-v2-root .rph2-row > [id$="_form"] .hub-mobile-nav .hub-mv-go > *,html.rph-v2 .rph-v2-root .rph2-row > [id$="_detail"] .hub-mobile-nav .hub-mv-go > *{display:none !important;}
  html.rph-v2 .rph-v2-root .rph2-row > [id$="_form"] .hub-mobile-nav .hub-mv-go::before,html.rph-v2 .rph-v2-root .rph2-row > [id$="_detail"] .hub-mobile-nav .hub-mv-go::before{content:"\2715";font-size:15px;font-weight:700;line-height:1;}
  html.rph-v2 .rph-v2-root .rph2-row > [id$="_detail"] .rph-detail-close-btn{display:none !important;}
  html.rph-v2 .rph-v2-root .rph2-row > [id$="_form"] .hub-panel-body-scroll{padding-left:18px !important;padding-right:18px !important;}
  html.rph-v2 .rph-v2-root .rph2-row .hub-panel-body-scroll[id^="rph_detail_"],html.rph-v2 .rph-v2-root #rph_history_detail_body{padding-left:18px !important;padding-right:18px !important;}
  html.rph-v2 .rph-v2-root .rph2-row [class*="-docked-footer"]{padding:12px 16px calc(14px + env(safe-area-inset-bottom,0px)) !important;display:flex !important;flex-wrap:nowrap !important;}
  html.rph-v2 .rph-v2-root .rph2-row [class*="-docked-footer"] .btn{flex:1 1 0;}
  html.rph-v2.rph2-sheet-open #header-admin-wrap,html.rph-v2.rph2-sheet-open .mn-bnav{opacity:0;pointer-events:none;transition:none;}
  html.rph-v2 .rph2-sheet-bd{display:block;position:fixed;inset:0;z-index:100040;background:rgba(16,24,40,.42);opacity:0;pointer-events:none;transition:opacity .3s ease;}
  html.rph-v2.rph2-sheet-open .rph-v2-root .rph-scope-row.is-hub-active-tab-row .rph2-sheet-bd{opacity:1;}
  html.rph-v2.rph2-silent .rph2-sheet-bd{transition:none !important;opacity:0 !important;}
  html.rph-v2 body{overscroll-behavior-x:none;}
}
/* root: no white slab behind the pills (grey canvas) */
html.rph-v2 .rph-v2-root{background:transparent !important;box-shadow:none !important;border:0 !important;}
/* phone pager: numbered, same as desktop */
.rph2-mp{display:none;}
@media (max-width:767.98px){
  html.rph-v2 .rph-v2-root .rph2-row [id$="_table"] .hub-list-pager .hub-pager-btns{display:none !important;}
  html.rph-v2 .rph-v2-root .rph2-row [id$="_table"] .hub-list-pager{padding-bottom:8px !important;}
  html.rph-v2 .rph-v2-root .rph2-mp{display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:nowrap;padding:0 8px 16px;flex:0 0 auto;max-width:100%;}
  html.rph-v2 .rph-v2-root .rph2-mp:empty{display:none;}
  html.rph-v2 .rph-v2-root .rph2-mp button{min-width:32px;height:32px;padding:0 6px;border:0;border-radius:10px;background:transparent;color:#344054;font-weight:700;font-size:.86rem;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;}
  html.rph-v2 .rph-v2-root .rph2-mp button.is-on{background:var(--rp-ink);color:#fff;}
  html.rph-v2 .rph-v2-root .rph2-mp button:disabled{opacity:.35;}
  html.rph-v2 .rph-v2-root .rph2-mp-gap{color:var(--rp-mute);padding:0 1px;font-weight:700;}
}
html.rph-v2 .rph-v2-root .rph2-row .hub-section-table thead th{overflow:visible !important;text-overflow:clip !important;}
/* tablet split: keep action chips in one row; parent pane pans sideways when zoomed */
@media (min-width:768px) and (max-width:1199.98px){
  html.rph-v2 .rph-v2-root .rph2-row .hub-section-table td:last-child:not([colspan]) > div,html.rph-v2 .rph-v2-root .rph2-row .hub-row-actions{flex-wrap:nowrap !important;max-width:none;margin-left:auto;}
}
/* forms: tighter rhythm, hub-sized inputs */
html.rph-v2 .rph-v2-root .rph2-form .form-group{margin-bottom:0 !important;}
html.rph-v2 .rph-v2-root .rph2-form input.form-control,html.rph-v2 .rph-v2-root .rph2-form select.form-control{height:46px !important;min-height:46px;padding:8px 14px !important;}
html.rph-v2 .rph-v2-root .rph2-form input[type="file"].form-control{padding:0 !important;line-height:46px;overflow:hidden;}
html.rph-v2 .rph-v2-root .rph2-form label{margin-bottom:6px !important;}
/* detail panes: one surface, no gradient banner, no divider, no inner boxes */
html.rph-v2 .rph-v2-root .rph2-row .rph-applicants-section{border:0 !important;box-shadow:none !important;padding-bottom:4px !important;margin-bottom:12px !important;background:transparent !important;}
html.rph-v2 .rph-v2-root .rph2-row .rph-applicants-section::before,html.rph-v2 .rph-v2-root .rph2-row .rph-applicants-section::after{display:none !important;}
html.rph-v2 .rph-v2-root .rph2-row .hub-applicants-cta{background:var(--rp-ink) !important;background-image:none !important;border:0 !important;box-shadow:none !important;border-radius:16px !important;color:#fff !important;}
html.rph-v2 .rph-v2-root .rph2-row .hub-applicants-cta-left > i{background:rgba(255,255,255,.12) !important;box-shadow:none !important;}
html.rph-v2 .rph-v2-root .rph2-row .proxy-rp-detail-label > i{display:none !important;}
html.rph-v2 .rph-v2-root .rph2-row .proxy-rp-detail-label{color:var(--rp-sub) !important;font-weight:600 !important;}
html.rph-v2 .rph-v2-root .rph2-row .proxy-rp-detail-value{color:var(--rp-ink) !important;font-weight:600;}
html.rph-v2 .rph-v2-root .rph2-row .proxy-rp-detail-desc{background:var(--rp-fill) !important;border:0 !important;box-shadow:none !important;border-radius:14px !important;}
html.rph-v2 .rph-v2-root .rph2-row .proxy-rp-detail-desc:empty{display:none !important;}
html.rph-v2 .rph-v2-root .rph2-row .proxy-rp-detail-modern,html.rph-v2 .rph-v2-root .rph2-row .proxy-rp-detail-item{background:transparent !important;border:0 !important;box-shadow:none !important;}
html.rph-v2 .rph2-dmy-wrap{position:relative;display:block;width:100%;}
html.rph-v2 input.rph2-dmy:not(:focus){color:transparent !important;-webkit-text-fill-color:transparent !important;}
html.rph-v2 input.rph2-dmy:not(:focus)::-webkit-datetime-edit{opacity:0;}
html.rph-v2 .rph2-dmy-ov{position:absolute;left:0;top:0;bottom:0;right:2.4rem;display:flex;align-items:center;padding:0 14px;pointer-events:none;font-variant-numeric:tabular-nums;color:var(--rp-ink,#101828);white-space:nowrap;overflow:hidden;font-size:.95rem;}
html.rph-v2 .rph2-dmy-ov.is-empty{color:#94a3b8;}
html.rph-v2 input.rph2-dmy:focus + .rph2-dmy-ov{display:none !important;}
/* inner boxes inside forms: flat (one surface) */
html.rph-v2 .rph-v2-root .rph2-form .jz-bo-header,html.rph-v2 .rph-v2-root .rph2-form .rso-group,html.rph-v2 .rph-v2-root .rph2-form .jz-bo-row,html.rph-v2 .rph-v2-root .rph2-form .rso-group-body{background:transparent !important;border:0 !important;box-shadow:none !important;padding-left:0 !important;padding-right:0 !important;}
html.rph-v2 .rph-v2-root .rph2-form [id$="_total_fee_display"]{display:block !important;color:var(--rp-ink) !important;}
html.rph-v2 .rph-v2-root .rph2-form .col-12.p-3.rounded-3{padding-left:calc(var(--bs-gutter-x,1.5rem)*.5) !important;padding-right:calc(var(--bs-gutter-x,1.5rem)*.5) !important;}
html.rph-v2 .rph-v2-root .rph2-form .rud-panel{margin:0 0 12px !important;padding-top:4px !important;}
html.rph-v2 .rph-v2-root .rph2-form .rud-panel-head{display:flex !important;align-items:center;justify-content:space-between;gap:12px;}
html.rph-v2 .rph-v2-root .rph2-form .rud-panel-head > div{flex:1 1 auto;min-width:0;}
html.rph-v2 .rph-v2-root .rph2-form .rud-panel-head strong{font-weight:700;font-size:.95rem;color:var(--rp-ink);}
html.rph-v2 .rph-v2-root .rph2-form .modern-toggle-switch{flex-shrink:0 !important;}
/* tablet (768–1199): list full width; create/edit/detail rise as a large bottom sheet over the list */
@media (min-width:768px) and (max-width:1199.98px){
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_table"]{position:relative !important;left:auto !important;right:auto !important;width:100% !important;max-width:100% !important;flex:1 1 100% !important;height:auto !important;max-height:none !important;}
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_table"] .hub-mobile-nav,html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_form"] .hub-mobile-nav,html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_detail"] .hub-mobile-nav{display:block !important;}
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_table"] .hub-mobile-nav .hub-mv-go:not(.rph2-fab){display:none !important;}
  html.rph-v2 body .rph-v2-root .rph2-row [id$="_table"] .hub-mobile-nav .hub-mv-go.rph2-fab{right:28px;bottom:calc(var(--rph2-fab-b,28px) + env(safe-area-inset-bottom,0px));}
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow[data-hub-mv="form"] > [id$="_form"],
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow[data-hub-mv="detail"] > [id$="_detail"]:not(.d-none),
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow[data-rph2-closing="form"] > [id$="_form"],
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow[data-rph2-closing="detail"] > [id$="_detail"]{top:28px !important;left:var(--rph2-left,0px) !important;right:0 !important;width:auto !important;height:calc(100dvh - 28px) !important;border-radius:24px 24px 0 0 !important;overflow:hidden !important;}
  html.rph-v2 .rph2-sheet-bd{left:var(--rph2-left,0px) !important;}
  html.rph-v2 .rph-v2-root .rph2-row.rph2-has-form .rph2-dt-pager{padding-right:92px !important;}
  html.rph-v2 .rph-v2-root .rph2-row.rph2-has-form > [id$="_table"] .hub-list-scroll{padding-bottom:64px !important;}
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_form"] > .modern-panel-card,html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_detail"] > .modern-panel-card{border-radius:24px 24px 0 0 !important;}
  html.rph-v2 .rph-v2-root .rph2-row.hub-mobile-flow > [id$="_form"] .hub-panel-body-scroll,html.rph-v2 .rph-v2-root .rph2-row .hub-panel-body-scroll[id^="rph_detail_"]{padding-left:32px !important;padding-right:32px !important;}
}

/* ===== r30: tablet (768-1199) pager = phone pager — '共 X 条' centred on line 1, '< 1 2 … 23 24 >' centred on line 2 ===== */
html.rph-v2 .rph2-dt-info-total{display:none;}
@media (min-width:768px) and (max-width:1199.98px){
  html.rph-v2 .rph-v2-root .rph2-dt-pager:not(.is-empty),
  html.rph-v2 .rph-v2-root .rph2-row.rph2-has-form .rph2-dt-pager:not(.is-empty){
    flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:8px !important;padding:12px 16px 16px !important;text-align:center !important;
  }
  html.rph-v2 .rph-v2-root .rph2-dt-pager .rph2-dt-info{width:100%;text-align:center !important;font-size:.82rem;font-weight:600;color:var(--rp-sub,#667085);margin:0 !important;}
  html.rph-v2 .rph-v2-root .rph2-dt-pager .rph2-dt-info-full{display:none !important;}
  html.rph-v2 .rph-v2-root .rph2-dt-pager .rph2-dt-info-total{display:inline !important;}
  html.rph-v2 .rph-v2-root .rph2-dt-pager .rph2-dt-pages{justify-content:center !important;margin:0 auto !important;flex-wrap:nowrap !important;}
}
/* 代发商家: social links only, no on/off switch and no visit schedule */
#add_proxy_merchant_form .col-12:has(#proxy_merchant_social_enabled),
#add_proxy_merchant_form .col-12:has(#proxy_merchant_visit_enabled),
#add_proxy_merchant_form #proxy_merchant_visiting_block,
#add_proxy_merchant_form #proxy_merchant_blackout_section,
#add_proxy_merchant_form .hv2-sec[data-sec="sec_visit"],
#add_proxy_merchant_form .hv2-sec24[data-k="sec_visit"]{display:none !important;}
#add_proxy_merchant_form #proxy_merchant_social_block{display:block !important;}
/* list 招募中 pill matches the dashboard open pill */
html.rph-v2 .rph-status-badge--recruiting{
  background:#ecfdf5 !important;
  color:#047857 !important;
  border-color:#a7f3d0 !important;
  box-shadow:none !important;
  padding:2px 8px !important;
  font-size:.68rem !important;
  font-weight:800 !important;
  line-height:1.35 !important;
}
html.rph-v2 .rph-status-badge--recruiting > i{display:none !important;}
