/* ============================================================
   UI-3 · 页面层：首页、服务市场、服务详情、下单、需求大厅、登录
   ============================================================ */

/* ---------- 首页：平台指标带 ---------- */
.metric-bar { background: #fff; border-bottom: 1px solid var(--line); }
.metric-bar__in { display: flex; align-items: center; gap: var(--sp-8); padding: 22px 0; flex-wrap: wrap; }
.metric { display: flex; align-items: baseline; gap: 12px; }
.metric b { font-family: var(--font-num); font-size: var(--fs-22); line-height: 1; color: var(--brand-900); letter-spacing: -.3px; }
.metric span { font-size: var(--fs-12); color: var(--text-3); }
.metric-bar__link { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-13); white-space: nowrap; }

/* ---------- 首页：四条业务线入口 ---------- */
.home-lines { background: #fff; border-bottom: 1px solid var(--line); }
.home-lines__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-line { display: flex; align-items: center; gap: 13px; padding: 20px 20px 20px 24px; color: var(--text); }
.home-line:first-child { padding-left: 0; }
.home-line:last-child { padding-right: 0; }
.home-line + .home-line { border-left: 1px dashed var(--line); }
.home-line:hover { color: var(--brand-800); }
.home-line__ico { flex: none; width: 38px; height: 38px; border-radius: var(--r-3); background: var(--brand-050); color: var(--brand-700); display: grid; place-items: center; }
.home-line__ico svg { width: 19px; height: 19px; }
.home-line:hover .home-line__ico { background: var(--brand-100); }
.home-line__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.home-line__txt b { font-size: var(--fs-15); font-weight: 600; }
.home-line__txt span { font-size: var(--fs-12); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-line .arrow { margin-left: auto; flex: none; color: var(--text-3); }

/* ---------- 首页：费率一行说明 ---------- */
.fee-line { margin-top: var(--sp-5); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 16px 20px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-3); font-size: var(--fs-12); color: var(--text-2); line-height: 1.9; }
.fee-line b { font-family: var(--font-num); font-size: var(--fs-13); color: var(--text); }
.fee-line i { font-style: normal; color: var(--text-3); }

/* 首页主体：与入口带之间留白 */
.home-main { padding-top: var(--sp-7); }

/* 首页精选服务：卡片与封面放大，拉松网格 */
.home-main .svc-grid { gap: var(--sp-5); }
.home-main .svc__cover { height: 128px; padding: 0 20px; }
.home-main .svc__cover .glyph { width: 52px; height: 52px; }
.home-main .svc__body { padding: 16px 18px 0; }
.home-main .svc__title { font-size: var(--fs-16); min-height: 46px; }
.home-main .svc__foot { padding: 14px 18px 16px; }
.home-main .svc__cover b { font-size: var(--fs-11); }

/* 首页产教与流程：留白加大 */
.home-main .edu { gap: var(--sp-5); }
.home-main .edu__lead { padding: 28px; }
.home-main .edu__lead h3 { font-size: var(--fs-22); }
.home-main .edu__card { padding: 24px; }
.home-main .flow { gap: var(--sp-4); }
.home-main .flow__step { padding: 22px; }
.home-main .flow__step b { font-size: var(--fs-15); }

.home-split { display: grid; grid-template-columns: 1fr 360px; gap: var(--sp-4); align-items: start; }
.home-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow-1); }
.home-panel__head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.home-panel__head h3 { font-size: var(--fs-16); font-weight: 700; }
.home-panel__head .live { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: var(--fs-11); color: var(--ok-700); }
.home-panel__head .live .dot { background: var(--ok-500); animation: blink 1.8s infinite; }
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
.home-panel__body { padding: 6px 20px 12px; }
.brief { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.brief:last-child { border-bottom: 0; }
.brief h4 { font-size: var(--fs-14); font-weight: 600; line-height: 1.5; }
.brief h4 a { color: var(--text); }
.brief h4 a:hover { color: var(--brand-700); }
.brief p { font-size: var(--fs-12); color: var(--text-3); margin-top: 5px; }
.brief__amt { text-align: right; }
.brief__amt b { display: block; font-family: var(--font-num); font-size: var(--fs-16); color: var(--deal-600); }
.brief__amt span { font-size: var(--fs-11); color: var(--text-3); }
.rank { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.rank:last-child { border-bottom: 0; }
.rank__no { width: 20px; height: 20px; border-radius: var(--r-1); display: grid; place-items: center; font: 700 11px/1 var(--font-num); background: var(--surface-3); color: var(--text-2); }
.rank:nth-child(1) .rank__no { background: var(--deal-500); color: #fff; }
.rank:nth-child(2) .rank__no { background: var(--brand-700); color: #fff; }
.rank:nth-child(3) .rank__no { background: var(--brand-500); color: #fff; }
.rank__name { font-size: var(--fs-13); font-weight: 600; }
.rank__meta { font-size: var(--fs-11); color: var(--text-3); }
.rank__score { margin-left: auto; font-family: var(--font-num); font-weight: 700; color: var(--trust-700); }

/* 产教融合专区 */
.edu { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: var(--sp-4); }
.edu__lead {
  padding: 20px; border-radius: var(--r-3); color: var(--text);
  background:
    radial-gradient(420px 240px at 88% -20%, rgba(0, 164, 255, .14), transparent 62%),
    linear-gradient(145deg, #FFFFFF 0%, #F2F7FF 100%);
  border: 1px solid var(--brand-100);
  box-shadow: var(--card-shadow);
}
.edu__lead h3 { font-size: var(--fs-18); margin-bottom: 8px; color: var(--brand-900); }
.edu__lead p { font-size: var(--fs-13); color: var(--text-2); line-height: 1.75; }
.edu__lead .row { margin-top: 14px; }
.edu__card { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-3); display: flex; flex-direction: column; gap: 8px; }
.edu__card h4 { font-size: var(--fs-14); font-weight: 600; }
.edu__card p { font-size: var(--fs-12); color: var(--text-3); line-height: 1.7; }
.edu__card .row { margin-top: auto; }

/* ---------- 服务市场 ---------- */
.market { display: grid; grid-template-columns: 236px 1fr; gap: var(--sp-4); align-items: start; }
.market__side { position: sticky; top: calc(var(--header-h) + 12px); }
.market__bar { display: flex; align-items: center; gap: var(--sp-2); padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-3); margin-bottom: var(--sp-3); }
.market__bar .sortbtn { height: 28px; padding: 0 10px; border: 0; border-radius: var(--r-1); background: none; color: var(--text-2); font-size: var(--fs-13); cursor: pointer; }
.market__bar .sortbtn:hover { background: var(--surface-3); }
.market__bar .sortbtn.is-on { background: var(--brand-050); color: var(--brand-800); font-weight: 600; }
.market__bar .res { margin-left: auto; font-size: var(--fs-12); color: var(--text-3); }
.market__bar .res b { color: var(--deal-600); font-family: var(--font-num); }
.viewbtn { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r-1); overflow: hidden; }
.viewbtn button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: #fff; color: var(--text-3); cursor: pointer; }
.viewbtn button.is-on { background: var(--brand-050); color: var(--brand-800); }

/* ---------- 服务详情 ---------- */
.pdp { display: grid; grid-template-columns: 1fr 352px; gap: var(--sp-5); align-items: start; }
.pdp__head { background: #fff; border: 1px solid var(--line); border-radius: var(--r-3); padding: var(--sp-5); }
.pdp__title { font-size: var(--fs-22); line-height: 1.45; font-weight: 700; margin-bottom: 10px; }
.pdp__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pdp__facts { display: flex; flex-wrap: wrap; gap: 6px var(--sp-5); padding-top: 12px; border-top: 1px dashed var(--line); font-size: var(--fs-12); color: var(--text-3); }
.pdp__facts b { color: var(--text); font-family: var(--font-num); font-size: var(--fs-14); }
.pdp__showcase { height: 180px; margin-top: var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-3); background: linear-gradient(135deg, var(--brand-050), #fff 60%); display: grid; place-items: center; color: var(--brand-700); }
.pdp__showcase svg { width: 64px; height: 64px; }
.pdp__body { background: #fff; border: 1px solid var(--line); border-radius: var(--r-3); margin-top: var(--sp-4); overflow: hidden; }
.pdp__sec { padding: var(--sp-5); border-bottom: 1px solid var(--line); }
.pdp__sec:last-child { border-bottom: 0; }
.pdp__sec h3 { font-size: var(--fs-16); font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.pdp__sec h3 .icon { color: var(--brand-700); }
.deliver { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px var(--sp-4); }
.deliver li { display: flex; gap: 7px; font-size: var(--fs-13); color: var(--text-2); }
.deliver .icon { color: var(--ok-500); margin-top: 3px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
.case { border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
.case__img { height: 92px; background: linear-gradient(135deg, var(--deal-050), var(--brand-050)); display: grid; place-items: center; color: var(--brand-700); }
.case__img svg { width: 30px; height: 30px; }
.case p { padding: 8px 10px; font-size: var(--fs-12); color: var(--text-2); }

.sku-list { display: grid; gap: 8px; }
.sku { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-2); background: #fff; cursor: pointer; text-align: left; }
.sku:hover { border-color: var(--brand-500); }
.sku.is-on { border-color: var(--brand-700); background: var(--brand-050); box-shadow: inset 0 0 0 1px var(--brand-700); }
.sku b { font-size: var(--fs-14); font-weight: 600; }
.sku small { font-size: var(--fs-12); color: var(--text-3); }
.sku .p { font-family: var(--font-num); font-weight: 700; color: var(--deal-600); }
.sku__desc { grid-column: 1 / -1; font-size: var(--fs-12); color: var(--text-3); }

.buybox { background: #fff; border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow-2); overflow: hidden; }
.buybox__head { padding: 14px var(--sp-4); background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: var(--fs-13); color: var(--text-2); }
.buybox__price { padding: var(--sp-4); border-bottom: 1px solid var(--line); }
.buybox__price .big { font-family: var(--font-num); font-size: var(--fs-28); font-weight: 700; color: var(--deal-600); letter-spacing: -.5px; }
.buybox__price .big small { font-size: var(--fs-13); color: var(--text-3); font-family: var(--font); margin-left: 4px; }
.buybox__body { padding: var(--sp-4); display: grid; gap: 10px; }
.buybox__lines { display: grid; gap: 8px; font-size: var(--fs-13); }
.buybox__lines div { display: flex; justify-content: space-between; color: var(--text-2); }
.buybox__lines div b { font-family: var(--font-num); color: var(--text); }
.buybox__foot { padding: var(--sp-4); border-top: 1px solid var(--line); background: var(--surface-2); display: grid; gap: 8px; }

.shopcard { display: grid; gap: 10px; padding: var(--sp-4); }
.shopcard__row { display: flex; align-items: center; gap: 10px; }
.shopcard__logo { width: 44px; height: 44px; border-radius: var(--r-2); background: var(--brand-700); color: #fff; display: grid; place-items: center; font-weight: 700; }
.shopcard__data { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; text-align: center; padding: 10px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.shopcard__data b { display: block; font-family: var(--font-num); font-size: var(--fs-15); }
.shopcard__data span { font-size: var(--fs-11); color: var(--text-3); }

.review { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.review:last-child { border-bottom: 0; }
.review__head { display: flex; align-items: center; gap: 8px; font-size: var(--fs-13); }
.review__head b { font-weight: 600; }
.review__head .score { margin-left: auto; color: var(--trust-700); font-family: var(--font-num); font-weight: 700; }
.review p { font-size: var(--fs-13); color: var(--text-2); margin-top: 6px; }
.review small { font-size: var(--fs-11); color: var(--text-3); }

/* ---------- 下单 ---------- */
.co { display: grid; grid-template-columns: 1fr 360px; gap: var(--sp-5); align-items: start; }
.co__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-3); padding: var(--sp-5); }
.co__card + .co__card { margin-top: var(--sp-4); }
.co__card h3 { font-size: var(--fs-16); margin-bottom: var(--sp-4); }
.dep-wrap { display: grid; gap: 10px; }
.dep-track { position: relative; height: 8px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.dep-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; background: linear-gradient(90deg, var(--brand-600), var(--deal-500)); border-radius: var(--r-pill); transition: width var(--dur-base) var(--ease); }
.dep-scale { display: flex; justify-content: space-between; font-size: var(--fs-11); color: var(--text-3); font-family: var(--font-num); }
.co__sum { background: #fff; border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow-2); position: sticky; top: calc(var(--header-h) + 12px); }
.co__sum-head { padding: 14px var(--sp-4); background: var(--brand-050); border-bottom: 1px solid var(--line); border-radius: var(--r-3) var(--r-3) 0 0; font-weight: 700; font-size: var(--fs-14); color: var(--brand-800); }
.co__sum-body { padding: var(--sp-4); display: grid; gap: 9px; font-size: var(--fs-13); }
.co__sum-body .li { display: flex; justify-content: space-between; color: var(--text-2); }
.co__sum-body .li b { font-family: var(--font-num); color: var(--text); }
.co__sum-body .li--total { padding-top: 10px; border-top: 1px dashed var(--line); color: var(--text); }
.co__sum-body .li--total b { font-size: var(--fs-22); color: var(--deal-600); }
.co__sum-foot { padding: var(--sp-4); border-top: 1px solid var(--line); display: grid; gap: 8px; }

.mtl-line { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: var(--fs-13); border-bottom: 1px dashed var(--line); }
.mtl-line:last-child { border-bottom: 0; }
.mtl-line .n { width: 18px; height: 18px; border-radius: 50%; background: var(--brand-050); color: var(--brand-800); display: grid; place-items: center; font: 700 11px/1 var(--font-num); }
.mtl-line b { margin-left: auto; font-family: var(--font-num); }

/* ---------- 需求大厅 ---------- */
.hall { display: grid; grid-template-columns: 236px 1fr; gap: var(--sp-4); align-items: start; }
.hall__banner {
  display: grid; grid-template-columns: 1fr auto; gap: var(--sp-4); align-items: center;
  padding: 18px 20px; border-radius: var(--r-3); color: var(--text); margin-bottom: var(--sp-4);
  background:
    radial-gradient(520px 260px at 92% -30%, rgba(0, 164, 255, .16), transparent 60%),
    linear-gradient(120deg, #F2F7FF 0%, #E6F0FF 100%);
  border: 1px solid var(--brand-100);
  box-shadow: var(--card-shadow);
}
.hall__banner h1, .hall__banner h2 { font-size: var(--fs-18); margin-bottom: 4px; color: var(--brand-900); font-weight: 700; }
.hall__banner p { font-size: var(--fs-12); color: var(--text-2); }
.hall__banner .nums { display: flex; gap: var(--sp-5); }
.hall__banner .nums b { display: block; font-family: var(--font-num); font-size: var(--fs-22); color: var(--brand-700); }
.hall__banner .nums span { font-size: var(--fs-11); color: var(--text-3); }
.hall__tools { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); flex-wrap: wrap; }

/* ---------- 消息中心 ---------- */
.msg { display: grid; grid-template-columns: 318px 1fr; gap: 16px; align-items: start; }
.msg__side { display: flex; flex-direction: column; min-height: 664px; }
.msg__search { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.msg__search .input { height: 34px; font-size: var(--fs-12); }
.msg__tabs { display: flex; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.msg__tabs .chip { height: 26px; padding: 0 10px; font-size: var(--fs-11); }
.msg__item { display: block; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.msg__item:last-child { border-bottom: 0; }
.msg__item:hover { background: var(--surface-3); }
.msg__item.is-on { background: var(--brand-050); box-shadow: inset 3px 0 0 var(--brand-700); }
.msg__item b { display: flex; align-items: center; gap: 6px; font-size: var(--fs-13); color: var(--text); }
.msg__item b .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--deal-500); flex: none; }
.msg__item p { margin: 4px 0 0; font-size: var(--fs-12); color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg__item time { display: block; margin-top: 5px; font-size: var(--fs-11); color: var(--text-3); }
.msg__thread { min-height: 664px; display: flex; flex-direction: column; }
.msg__stream { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.bubble { max-width: 76%; }
.bubble__meta { font-size: var(--fs-11); color: var(--text-3); margin-bottom: 5px; }
.bubble__body { padding: 10px 12px; border-radius: var(--r-2); background: var(--surface-3); font-size: var(--fs-13); color: var(--text); line-height: 1.72; }
.bubble.is-me { align-self: flex-end; }
.bubble.is-me .bubble__meta { text-align: right; }
.bubble.is-me .bubble__body { background: var(--brand-600); color: #fff; }
.bubble.is-sys { align-self: center; max-width: 100%; }
.bubble.is-sys .bubble__body { background: #fff; border: 1px dashed var(--line-strong); color: var(--text-2); font-size: var(--fs-12); }
.msg__compose { display: grid; gap: 9px; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.msg__compose .input { height: 38px; }
.msg__compose .hint { margin-left: auto; }

@media (max-width: 1180px) {
  .msg { grid-template-columns: 1fr; }
  .msg__thread, .msg__side { min-height: 0; }
}

/* ---------- 全站搜索 ---------- */
.srch__group { margin-top: 22px; }
.srch__group h3 { display: flex; align-items: center; gap: 8px; font-size: var(--fs-13); color: var(--text-2); margin: 0 0 10px; }
.srch__group h3 .cnt { font-family: var(--font-num); font-size: var(--fs-11); color: var(--brand-700); background: var(--brand-050); border: 1px solid rgba(0, 82, 217, .14); border-radius: 999px; padding: 1px 7px; }
.srch__group h3 .hint { margin-left: auto; font-weight: 400; }
.sres { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-2); transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.sres:hover { border-color: var(--brand-300); box-shadow: var(--card-shadow); }
.sres__ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: var(--r-2); background: var(--brand-050); color: var(--brand-700); }
.sres__ico .icon { width: 16px; height: 16px; }
.sres__txt { min-width: 0; }
.sres__txt b { display: block; font-size: var(--fs-14); font-weight: 600; color: var(--text); }
.sres:hover .sres__txt b { color: var(--brand-700); }
.sres__txt p { margin: 3px 0 0; font-size: var(--fs-12); color: var(--text-3); }
.sres__right { margin-left: auto; flex: none; display: flex; align-items: center; gap: 10px; color: var(--text-3); }
.sres__right .icon { width: 14px; height: 14px; }

/* ---------- 登录 / 注册（单屏布局，不出现滚动条） ---------- */
body.is-auth { overflow: hidden; }
.auth { display: grid; grid-template-columns: 1.05fr 1fr; height: 100vh; overflow: hidden; }
.auth__aside {
  background:
    radial-gradient(620px 360px at 88% -6%, rgba(0, 164, 255, .16), transparent 60%),
    linear-gradient(155deg, #EFF5FF 0%, #F7FAFF 52%, #FFFFFF 100%);
  color: var(--text); padding: 30px 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; position: relative; overflow: hidden;
  border-right: 1px solid var(--line);
}
.auth__aside::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 82, 217, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 82, 217, .06) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.auth__aside::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 82, 217, .10), transparent 62%); }
.auth__aside > * { position: relative; z-index: 1; }
.auth__lead h2 { font-size: 25px; line-height: 1.38; max-width: 430px; color: var(--brand-900); }
.auth__lead p { font-size: var(--fs-12); color: var(--text-2); max-width: 420px; line-height: 1.75; margin-top: 10px; }
.auth__quote { padding: 12px 14px; border-left: 3px solid var(--brand-700); background: #fff; border-radius: 0 var(--r-2) var(--r-2) 0; max-width: 420px; box-shadow: var(--card-shadow); }
.auth__quote p { font-size: var(--fs-12); color: var(--text-2); line-height: 1.72; }
.auth__quote cite { display: block; font-style: normal; font-size: var(--fs-11); color: var(--text-3); margin-top: 6px; }
.auth__points { display: grid; gap: 8px; }
.auth__points li { display: flex; gap: 8px; font-size: var(--fs-12); color: var(--text-2); line-height: 1.6; }
.auth__points .icon { color: var(--brand-700); margin-top: 3px; flex: none; }
.auth__stats { display: flex; gap: 30px; padding-top: 14px; border-top: 1px solid var(--line); }
.auth__stats b { display: block; font-family: var(--font-num); font-size: 21px; font-weight: 800; color: var(--brand-900); line-height: 1.25; }
.auth__stats span { font-size: var(--fs-11); color: var(--text-3); }
.auth__stats .is-hl b { color: var(--brand-700); }
.auth__note { font-size: var(--fs-11); color: var(--text-3); margin: 0; }

.auth__panel { display: grid; place-items: center; align-items: start; padding: 20px; background: #fff; overflow-y: auto; }
.auth__box { width: 100%; max-width: 404px; margin: auto 0; }
.auth__box h1 { font-size: 21px; margin-bottom: 4px; }
.auth__box > p { font-size: var(--fs-12); color: var(--text-3); margin-bottom: 14px; }
.auth__box .field { margin-bottom: 10px; }
.auth__box .input { height: 42px; }
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-bottom: 10px; }
.role { padding: 8px 4px; border: 1px solid var(--line-strong); border-radius: var(--r-2); background: #fff; cursor: pointer; text-align: center; }
.role:hover { border-color: var(--brand-500); }
.role.is-on { border-color: var(--brand-700); background: var(--brand-050); box-shadow: inset 0 0 0 1px var(--brand-700); }
.role .icon { margin: 0 auto 4px; color: var(--brand-700); display: block; }
.role b { display: block; font-size: var(--fs-11); white-space: nowrap; }
.role span { font-size: 10px; color: var(--text-3); }

@media (max-height: 780px) {
  .auth__aside { padding: 22px 30px; gap: 12px; }
  .auth__lead h2 { font-size: 23px; }
  .auth__quote { display: none; }
  .auth__box > p { margin-bottom: 10px; }
}
@media (max-height: 660px) {
  .auth__stats, .auth__note { display: none; }
  .auth__points { gap: 6px; }
}

/* ---------- 登录：角色分流 ---------- */
.role-enter__arrow { display: inline-block; margin-left: 4px; transition: transform .18s ease; }
#roleEnter:hover .role-enter__arrow { transform: translateX(3px); }
.role-enter { margin-top: 8px; font-size: var(--fs-11); line-height: 1.65; color: var(--text-3); }
.role-enter b { color: var(--brand-700); }

.rolediff { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface-2); }
.rolediff > summary { display: flex; align-items: center; gap: 8px; padding: 9px 12px; cursor: pointer; font-size: var(--fs-12); color: var(--text-2); list-style: none; }
.rolediff > summary::-webkit-details-marker { display: none; }
.rolediff > summary span { font-weight: 600; }
.rolediff > summary em { margin-left: auto; font-style: normal; font-size: var(--fs-11); color: var(--text-3); }
.rolediff[open] > summary { border-bottom: 1px solid var(--line); }
.rolediff__body { padding: 8px; display: grid; gap: 4px; }
.rolediff__row { display: grid; grid-template-columns: 92px 100px 1fr; align-items: center; gap: 8px; padding: 7px 8px; border-radius: var(--r-1); font-size: var(--fs-11); color: var(--text-3); }
.rolediff__row.is-on { background: #fff; box-shadow: inset 0 0 0 1px var(--brand-200, var(--brand-050)); }
.rolediff__who { display: flex; align-items: center; gap: 6px; color: var(--text); }
.rolediff__who i { width: 20px; height: 20px; border-radius: 50%; color: #fff; font: 700 11px/20px var(--font); text-align: center; font-style: normal; flex: none; }
.rolediff__home { color: var(--brand-700); font-weight: 600; }
.rolediff__duty { line-height: 1.6; }
.rolediff__ops { display: block; margin-top: 4px; padding: 7px 8px; border-top: 1px dashed var(--line); font-size: var(--fs-11); color: var(--text-3); }
.rolediff__ops:hover { color: var(--brand-700); }

/* ---------- 需求详情 / 补充块 ---------- */
.dmd__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
.dmd__facts > div { background: var(--surface-2); padding: 11px 13px; display: grid; gap: 3px; }
.dmd__facts span { font-size: var(--fs-11); color: var(--text-3); }
.dmd__facts b { font-size: var(--fs-14); }
.countdown { display: flex; align-items: center; gap: 7px; margin-top: var(--sp-3); padding: 9px 12px; border-radius: var(--r-2); background: var(--deal-050); color: var(--deal-700); font-size: var(--fs-12); }
.countdown b { margin-left: auto; font-family: var(--font-num); font-size: var(--fs-15); }
.panel--deal { border-color: #F6C6AC; box-shadow: 0 0 0 3px var(--deal-050); }
.masked { color: var(--text-2); }
.upload { display: grid; place-items: center; gap: 4px; padding: 22px; border: 1px dashed var(--line-strong); border-radius: var(--r-2); background: var(--surface-2); color: var(--text-3); text-align: center; cursor: pointer; }
.upload:hover { border-color: var(--brand-500); background: var(--brand-050); color: var(--brand-700); }
.upload b { font-size: var(--fs-13); color: var(--text-2); }
.funnel__fill--deal { background: linear-gradient(90deg, var(--deal-600), var(--deal-500)); }
.mtl--tight .mtl__desc { padding-bottom: 12px; }
.auth-req { display: grid; gap: 10px; }
.req-row { display: flex; gap: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface-2); }
.req-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); margin-top: 6px; flex: none; }
.req-row.is-must { background: #fff; border-color: var(--line-strong); }
.req-row.is-must .dot { background: var(--deal-500); box-shadow: 0 0 0 3px var(--deal-050); }
.req-row b { font-size: var(--fs-13); }
.req-row p { font-size: var(--fs-12); color: var(--text-2); margin-top: 3px; line-height: 1.7; }

.auth__divider { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: var(--text-3); font-size: var(--fs-11); }
.auth__divider::before, .auth__divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.auth__divider span { white-space: nowrap; }

/* ---------- 服务商主页 ---------- */
.shophead { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; padding: var(--sp-5); }
.shophead__logo { width: 84px; height: 84px; border-radius: var(--r-3); background: linear-gradient(140deg, var(--brand-800), var(--brand-600)); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 800; letter-spacing: 1px; }
.shophead h1 { font-size: var(--fs-22); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.shophead__meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: var(--fs-12); color: var(--text-3); margin-top: 9px; }
.shophead__meta b { color: var(--text); font-family: var(--font-num); }
.shophead__intro { font-size: var(--fs-13); color: var(--text-2); margin-top: 8px; line-height: 1.7; max-width: 620px; }
.shophead__side { display: grid; gap: 8px; justify-items: stretch; min-width: 168px; }
.shophead__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

/* ---------- 订单列表表格 ---------- */
.tbl--orders th:nth-child(1), .tbl--orders td:nth-child(1) { width: 132px; }
.tbl--orders th:nth-child(3), .tbl--orders td:nth-child(3) { width: 170px; }
.tbl--orders th:nth-child(4), .tbl--orders td:nth-child(4) { width: 108px; }
.tbl--orders th:nth-child(5), .tbl--orders td:nth-child(5) { width: 88px; }
.tbl--orders th:nth-child(6), .tbl--orders td:nth-child(6) { width: 92px; }
.tbl--orders th:nth-child(7), .tbl--orders td:nth-child(7) { width: 96px; white-space: nowrap; }
.tbl--orders tbody tr { height: 52px; }
