/* 发单页样式 */

/* 步骤条 */
.steps{display:flex;align-items:center;padding:14px 18px;margin-bottom:14px}
.steps .st{display:flex;align-items:center;gap:7px;font-size:13.5px;color:var(--gy2);white-space:nowrap;flex-shrink:0}
.steps .st b{width:22px;height:22px;line-height:22px;text-align:center;border-radius:50%;
  background:#E9EDF2;color:#fff;font-size:12px;font-weight:600}
.steps .st.on{color:var(--ink);font-weight:600}
.steps .st.on b{background:var(--org)}
.steps .st.done b{background:var(--grn)}
.steps .line{flex:1;height:2px;background:#E9EDF2;margin:0 10px;min-width:14px}
.steps .line.done{background:var(--grn)}

.pub-layout{display:grid;grid-template-columns:1fr 300px;gap:14px;align-items:start}
.pub-main{min-width:0}
.pub-side{position:sticky;top:130px;display:flex;flex-direction:column;gap:12px}

/*  pane 切换 */
.step-pane{display:none;margin-bottom:12px}
.step-pane.on{display:block;animation:fade .25s ease}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* 选服务 */
.pick-cats{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.pc{border:1px solid var(--line);border-radius:8px;padding:9px 4px;text-align:center;cursor:pointer;
  font-size:12.5px;transition:.15s;background:#fff}
.pc i{display:block;font-size:20px;line-height:1.3}
.pc:hover{border-color:var(--org);background:var(--org-l)}
.pc.on{border-color:var(--org);background:var(--org-l);color:var(--org);font-weight:600}

/* 单选行 */
.radio-row{display:flex;gap:8px;flex-wrap:wrap}
.rd{display:flex;align-items:center;padding:8px 13px;border:1px solid var(--line);border-radius:8px;
  cursor:pointer;font-size:13px;transition:.15s;background:#fff}
.rd input{display:none}
.rd:hover{border-color:var(--org)}
.rd.on{border-color:var(--org);background:var(--org-l);color:var(--org);font-weight:600}

/* 快捷描述标签 */
.quick-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.qt{font-size:11.5px;padding:3px 9px;background:#F3F5F7;border-radius:20px;color:#5A6673;cursor:pointer;transition:.15s}
.qt:hover{background:var(--org-l);color:var(--org)}

/* 上传 */
.uploader{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.up-add{width:72px;height:72px;border:1px dashed #CBD3DC;border-radius:8px;display:flex;
  align-items:center;justify-content:center;font-size:28px;color:#B4BDC7;cursor:pointer;transition:.15s}
.up-add:hover{border-color:var(--org);color:var(--org)}
.up-tip{font-size:11.5px;color:var(--gy2)}
.up-img{width:72px;height:72px;border-radius:8px;object-fit:cover;position:relative}
.up-wrap{position:relative}
.up-del{position:absolute;top:-6px;right:-6px;width:18px;height:18px;background:var(--red);color:#fff;
  border-radius:50%;font-size:11px;line-height:18px;text-align:center;cursor:pointer}

/* 同意 */
.agree{display:flex;gap:7px;align-items:flex-start;font-size:12px;color:var(--gy);
  background:#F8FAFC;padding:10px;border-radius:8px;line-height:1.7}
.agree input{margin-top:3px;flex-shrink:0;width:14px;height:14px;accent-color:var(--org)}
.agree a{color:var(--blue)}

/* 按钮区 */
.pub-btns{display:flex;gap:10px;padding:4px 0 20px}
.pub-btns .btn{height:44px}

/* 成功 */
.success-box{text-align:center;padding:34px 16px}
.ok-icon{width:62px;height:62px;border-radius:50%;background:var(--grn);color:#fff;font-size:32px;
  line-height:62px;margin:0 auto 12px;box-shadow:0 6px 16px rgba(20,160,106,.3)}
.success-box h3{font-size:20px;margin-bottom:6px}
.succ-card{background:#F8FAFC;border:1px solid var(--line);border-radius:10px;padding:12px;
  text-align:left;margin:16px 0;font-size:13px;line-height:2}
.succ-card b{color:var(--org)}
.succ-btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}

/* 侧栏tips */
.tips .tip{padding:9px 0;border-bottom:1px dashed var(--line);font-size:12.5px}
.tips .tip:last-child{border:0}
.tips .tip b{display:block;color:var(--org);margin-bottom:2px;font-size:13px}
.tips .tip span{color:var(--gy);line-height:1.7}
.hot-list .hl{display:flex;gap:8px;padding:8px 0;border-bottom:1px dashed var(--line);font-size:12.5px;cursor:pointer}
.hot-list .hl:last-child{border:0}
.hot-list .hl:hover{color:var(--org)}
.hot-list .hl em{font-style:normal;color:var(--org);font-weight:600;flex-shrink:0}
.join-box p{margin-bottom:10px;line-height:1.7}

@media(max-width:991px){
  .pub-layout{grid-template-columns:1fr}
  .pub-side{position:static;flex-direction:row;flex-wrap:wrap}
  .pub-side .card{flex:1;min-width:240px}
  .pick-cats{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:767px){
  .steps{padding:12px;overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start}
  .steps .st{font-size:12px}
  .steps .st b{flex-shrink:0}
  .steps .st b{width:20px;height:20px;line-height:20px;font-size:11px}
  .pick-cats{grid-template-columns:repeat(3,1fr);gap:6px}
  .pc{font-size:11.5px;padding:7px 2px}
  .pc i{font-size:18px}
  .pub-side{flex-direction:column}
  .pub-side .card{min-width:0}
  .rd{font-size:12px;padding:7px 10px}
  .pub-btns .btn{height:42px}
  .success-box{padding:26px 10px}
  .succ-btns .btn{flex:1;min-width:110px}
}
/* 快捷标签：选中态 + 空态 */
.qt.on{background:var(--org);color:#fff;border-color:var(--org)}
.qt-none{font-size:11.5px;color:#8A97A6}
