.partner-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(6, 29, 70, 0.9), rgba(0, 144, 158, 0.38)),
    url("https://images.unsplash.com/photo-1517411032315-54ef2cb783bb?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.partner-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  transition: grid-template-columns 0.2s ease;
}

.partner-shell.sidebar-collapsed {
  grid-template-columns: 68px minmax(0, 1fr);
}

.partner-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 12px;
  color: var(--text);
  background: #fff;
  border-right: 1px solid var(--line);
  overflow: auto;
}

.partner-shell.sidebar-collapsed .partner-sidebar {
  padding-inline: 10px;
}

/* 左上角品牌：与后台一致 Aurora + 北欧共创平台 + 渠道·名字 */
.partner-sidebar .brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; }
/* 极光渐变：绿→青→蓝→紫，与后台一致 */
.brand-mark { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(140deg, #06c98d 0%, #17b8d4 38%, #4f86e8 70%, #8b5cf6 100%); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; box-shadow: 0 3px 10px rgba(79, 134, 232, .32); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.16; min-width: 0; }
.brand-txt strong { font-size: 18px; font-weight: 800; color: #0f2a44; letter-spacing: .02em; }
.brand-txt small { font-size: 11px; color: #5b8a86; font-weight: 600; }
.brand-ch { font-size: 11.5px; color: #0f6e96; font-weight: 700; margin-top: 3px; display: flex; align-items: center; gap: 5px; }
.brand-dot { width: 5px; height: 5px; border-radius: 50%; background: #0f9d8f; flex: 0 0 auto; }

.partner-shell.sidebar-collapsed .brand {
  justify-content: center;
  padding-inline: 0;
}

.partner-shell.sidebar-collapsed .brand-txt,
.partner-shell.sidebar-collapsed nav a,
.partner-shell.sidebar-collapsed #partnerLogoutBtn {
  font-size: 0;
}
.partner-shell.sidebar-collapsed .brand-txt { display: none; }

.partner-shell.sidebar-collapsed nav a {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 10px 0;
}

.partner-shell.sidebar-collapsed nav a::before {
  content: attr(data-short);
  font-size: 13px;
  font-weight: 900;
}

.partner-shell.sidebar-collapsed #partnerLogoutBtn::before {
  content: "退";
  font-size: 13px;
  font-weight: 900;
}

.partner-sidebar nav {
  display: grid;
  gap: 3px;
}

/* 颜色/选中态继承自 styles.css 的浅色侧栏规则；这里只保留角标定位 */
.partner-sidebar nav a {
  position: relative;
}


/* 拼房广场动态提醒角标 */
.nav-badge {
  position: absolute;
  top: 6px;
  right: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: navBadgePulse 1.6s ease-out infinite;
}
.nav-badge[hidden] {
  display: none;
}
@keyframes navBadgePulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.partner-shell.sidebar-collapsed .nav-badge {
  top: 2px;
  right: 6px;
}

.partner-main {
  padding: 24px;
  min-width: 0;
  overflow-x: clip; /* 原 hidden 会把它变成滚动容器,页签行吸顶失效;clip 一样不出横向滚动条 */
}

.partner-page {
  display: none !important;
}

.partner-page.active {
  display: block !important;
}

#orderFormPage.active {
  display: block !important;
}

.partner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.partner-header h1 {
  margin-bottom: 8px;
}

.partner-header span {
  color: var(--muted);
}
.partner-global-back {
  display: inline-flex;
  align-items: center;
  background: #ecfbfa;
  border: 1px solid #9ad4d2;
  color: #0a6b78;
  font-size: 13px;
  font-weight: 700;
  border-radius: 9px;
  padding: 7px 15px;
  margin-bottom: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s, border-color .12s;
}
.partner-global-back:hover { background: #d6f5f3; border-color: #00808f; color: #00808f; }

.partner-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.partner-actions a {
  padding: 10px 15px;
  border-radius: 8px;
  color: var(--blue);
  background: #e2f5f8;
  font-weight: 800;
  text-decoration: none;
}

.partner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
  margin-bottom: 14px;
  align-items: start;
}
/* 右栏：返佣政策速览 + 退改政策 + 系统自动计算卡 + 提交订单 竖排 */
.partner-col-right { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.calc-submit-panel { display: flex; flex-direction: column; gap: 12px; }
.calc-submit-panel .primary { width: 100%; }
/* 返佣政策速览·人数阶梯抽屉 */
.reward-drawer-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 9px 12px; border: 1px solid #e3ecf7; border-radius: 10px; background: #f2f7ff; cursor: pointer; font-size: 13px; font-weight: 800; color: #2f6fd0; }
.reward-drawer-toggle:hover { background: #e9f2ff; }
.reward-drawer-toggle .rd-right { display: flex; align-items: center; gap: 8px; }
.reward-drawer-toggle .rd-teaser { font-size: 11px; font-weight: 600; color: #6a7686; }
.reward-drawer-toggle .rd-caret { font-size: 12px; color: #2f6fd0; }
.reward-drawer { display: grid; gap: 10px; margin-top: 2px; }
.reward-drawer[hidden] { display: none; }

.wide {
  grid-column: 1 / -1;
}

.partner-main input[readonly] {
  border-color: #dce5f2;
  background: #f8fbff;
  color: var(--text);
  cursor: default;
}

.order-toast {
  display: none;
  padding: 11px 14px;
  border: 1px solid #bde9d6;
  border-radius: 8px;
  color: #08724f;
  background: #effaf5;
  font-weight: 900;
  text-align: center;
}

.order-toast.show {
  display: block;
}

.partner-floating-toast {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 1000;
  display: none;
  min-width: 180px;
  padding: 12px 18px;
  border: 1px solid #bde9d6;
  border-radius: 8px;
  color: #08724f;
  background: #effaf5;
  box-shadow: 0 12px 34px rgba(4, 22, 61, 0.18);
  font-weight: 900;
  text-align: center;
  transform: translateX(-50%);
}

.partner-floating-toast.show {
  display: block;
}

.ellipsis-cell {
  display: inline-block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.bill-table th,
.bill-table td {
  vertical-align: middle;
}

.bill-table th:nth-child(9),
.bill-table td:nth-child(9) {
  min-width: 230px;
}

.bill-customer {
  display: grid;
  gap: 5px;
}

.bill-customer small,
.bill-payment-status small {
  color: var(--muted);
}

.bill-name {
  max-width: 190px;
  font-weight: 800;
}

.bill-due {
  color: var(--blue);
}

.bill-payment-status {
  display: grid;
  gap: 5px;
  justify-items: stretch;
}

.payment-progress {
  position: relative;
  min-width: 210px;
  height: 26px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2f5f8;
}

.payment-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00909e, #38bdf8);
  transition: width 0.25s ease;
}

.payment-progress.partial span {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.payment-progress.paid span {
  background: linear-gradient(90deg, #16a34a, #22c55e);
}

.payment-progress strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #00808f;
  font-size: 12px;
  font-weight: 900;
}

.payment-progress.partial strong {
  color: #9a5600;
}

.payment-progress.paid strong {
  color: #0f6b33;
}

.bill-payment-status small {
  text-align: center;
}

.bill-dashboard {
  margin: 8px 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.bill-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.bill-dashboard h4,
.bill-dashboard p {
  margin: 0;
}

.bill-dashboard h4 {
  font-size: 16px;
}

.bill-dashboard p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.bill-dashboard-actions {
  display: flex;
  align-items: end;
  gap: 10px;
}

.bill-dashboard-actions label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.bill-dashboard-actions select {
  min-width: 160px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background: #fff;
  font: inherit;
  font-weight: 800;
}

.bill-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.bill-dashboard-grid article {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.bill-dashboard-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.bill-dashboard-grid strong {
  color: var(--text);
  font-size: 22px;
}

.bill-dashboard-grid small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.bill-pay-button {
  min-width: 62px;
  padding-inline: 14px;
  white-space: nowrap;
}

.amount-uppercase {
  min-height: 20px;
  padding-inline: 2px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.bill-pay-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.proof-link {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #a8dec8;
  border-radius: 999px;
  color: #08724f;
  background: #effaf5;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.proof-link:hover {
  border-color: var(--green);
  background: #dff7ec;
}

.inventory-panel {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.inventory-toolbar {
  display: grid;
  gap: 14px;
  max-width: 684px; /* 对齐日历左列宽(1040−330面板−26gap),下拉框拉满、›到最右 */
}

.inventory-toolbar select {
  width: 100%;
  max-width: 100%;
}

.inventory-month-nav {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 16px;
  align-items: center;
}

.inventory-month-nav button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}

.inventory-toolbar strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.inventory-calendar {
  display: grid;
  grid-template-columns: repeat(7, 52px);
  gap: 8px 12px;
  max-width: 520px;
}

.inventory-week {
  padding: 4px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.inventory-day {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  text-align: center;
}

.inventory-day strong {
  font-size: 15px;
  font-weight: 500;
}

.inventory-day span {
  display: none;
  font-size: 11px;
  font-weight: 900;
}

/* 余位占比用右上角三角表示(绿≥50%/黄25-50%/红≤25%),不再显文字"N位" */
.inventory-day.good::after,
.inventory-day.low::after,
.inventory-day.urgent::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 0;
  height: 0;
  border-top: 9px solid var(--green);
  border-left: 9px solid transparent;
}
.inventory-day.low::after { border-top-color: #e5b95f; }
.inventory-day.urgent::after { border-top-color: #e5484d; }

.inventory-day:not(.empty):not(:disabled):hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #e2f5f8;
}

.inventory-day.soldout {
  color: #a8b3c5;
  cursor: not-allowed;
}

.inventory-day.empty {
  border: 0;
  background: transparent;
}

/* 已过日期：置灰、划掉、不可点 */
.inventory-day.past {
  color: #c2c9d4;
  background: #f4f6f9;
  border-color: #eceff3;
  cursor: not-allowed;
}
.inventory-day.past strong { text-decoration: line-through; color: #c2c9d4; }
.inventory-day.past span { color: #c9cfd9; }
/* 库存日历格子显价格(渠道=结算价·B2C=直客价) */
.inventory-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 64px; }
.inventory-daynum { position: absolute; top: 4px; left: 6px; font-size: 10px; font-style: normal; font-weight: 700; color: #9aa7b6; }
.inventory-day.past .inventory-daynum { color: #c9cfd9; text-decoration: line-through; }
.inventory-price { font-size: 14px; font-weight: 800; color: #1f3a4d; font-variant-numeric: tabular-nums; line-height: 1.1; margin-top: 9px; }
.inventory-day:not(.empty):not(:disabled):hover .inventory-price { color: var(--blue); }
.inventory-day .inventory-seats { display: block; font-size: 9.5px; font-weight: 700; color: #9aa7b6; margin-top: 2px; }
.inventory-day.soldout .inventory-price { display: none; }
/* 未开放：有团期壳但0容量没设座位 → 灰色「未开放」,不是满位 */
.inventory-day.notopen { color: #b8c0cc; background: #f7f9fb; border-color: #eef1f5; cursor: not-allowed; }
.inventory-day.notopen .inventory-seats { color: #b8c0cc; }
.inventory-day.notopen .inventory-price { display: none; }
/* 无团期：当天没有团 → 淡出的空白格,只显日号,不可点 */
.inventory-day.noteam { color: #cbd2db; background: #fbfcfd; border-color: #f1f4f7; cursor: default; }
.inventory-day.noteam .inventory-daynum { color: #cbd2db; }
@media (max-width: 640px) { .inventory-price { font-size: 12px; } .inventory-day { min-height: 56px; } }

/* ===== 库存日历:日历 + 右侧日期明细面板 ===== */
.inventory-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; max-width: 1040px; }
/* 日历格子在左列撑满,消除中间留白 */
.inventory-layout .inventory-calendar { margin: 0; width: 100%; max-width: none; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
/* 选中日:蓝色高亮 */
.inventory-day.selected { border-color: var(--blue); background: #e2f5f8; box-shadow: 0 0 0 1px var(--blue) inset; }
.inventory-day.selected .inventory-price { color: var(--blue); }

.inventory-detail { position: sticky; top: 12px; background: #fff; border: 1px solid #e6edef; border-radius: 14px; padding: 16px 16px 18px; box-shadow: 0 6px 20px rgba(15, 42, 54, .06); }
.invd-empty { color: #9aa7b6; font-weight: 600; text-align: center; padding: 40px 0; }
.invd-head { border-bottom: 1px solid #eef3f4; padding-bottom: 11px; margin-bottom: 12px; }
.invd-title { font-size: 15px; font-weight: 800; color: #12313d; }
.invd-promo { margin-top: 5px; font-size: 12px; font-weight: 700; color: #6b7c88; }
.invd-promo.hot { color: #c2410c; }
.invd-break { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.invd-row { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; color: #34505d; }
.invd-row span { font-weight: 600; }
.invd-row b { font-weight: 700; font-variant-numeric: tabular-nums; }
.invd-row.minus b { color: #c0433f; }
.invd-row.eq { border-top: 1px dashed #dbe4e7; padding-top: 9px; margin-top: 2px; }
.invd-row.eq span { font-weight: 800; color: #12313d; }
.invd-row.eq b { font-size: 17px; font-weight: 900; color: var(--blue); }
.invd-rooms { background: #f7fafb; border-radius: 10px; padding: 10px 12px; margin-bottom: 15px; }
.invd-rooms-h { font-size: 11.5px; font-weight: 800; color: #7d8f9a; margin-bottom: 7px; }
.invd-room { display: flex; justify-content: space-between; font-size: 12.5px; padding: 3px 0; color: #34505d; }
.invd-room b { font-weight: 800; font-variant-numeric: tabular-nums; }
.invd-book { width: 100%; border: 0; border-radius: 11px; padding: 12px; font-size: 14px; font-weight: 800; color: #fff; background: var(--blue); cursor: pointer; transition: filter .15s; }
.invd-book:hover { filter: brightness(1.07); }
@media (max-width: 860px) { .inventory-layout { grid-template-columns: 1fr; } .inventory-detail { position: static; } }

.payment-dialog-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.payment-dialog-summary article {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.payment-dialog-summary span {
  color: var(--muted);
  font-size: 12px;
}

.payment-dialog-summary strong {
  color: var(--text);
}
/* 行前交付包页签 */
.dv-panel { font-size: 13px; }
.dv-intro { font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.dv-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.dv-status.wait { background: #fdf3e7; }
.dv-status.done { background: #e6f4ec; }
.dv-badge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.dv-status.wait .dv-badge { background: #c67c1e; color: #fff; }
.dv-status.done .dv-badge { background: #0a8f5b; color: #fff; }
.dv-comp { font-size: 12px; color: var(--muted); }
.dv-comp b { color: var(--text); }
.dv-prog { flex: 1; min-width: 90px; height: 6px; background: #fff; border-radius: 20px; overflow: hidden; }
.dv-prog > i { display: block; height: 100%; background: #c67c1e; border-radius: 20px; }
.dv-status.done .dv-prog > i { background: #0a8f5b; }
.dv-check { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.dv-ck { font-size: 11.5px; padding: 4px 9px; border-radius: 20px; border: 0.5px solid var(--line); }
.dv-ck.ok { background: #e6f4ec; color: #0a8f5b; border-color: #a9ded0; }
.dv-ck.warn { background: #fdf3e7; color: #c67c1e; border-color: #f0d3a8; }
.dv-ck.miss { background: #fdecec; color: #c0392b; border-color: #f3c0bb; }
.dv-sect { font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 6px 0 8px; }
.dv-day { border: 0.5px solid var(--line); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.dv-day-h { padding: 8px 12px; background: #f7f9fc; }
.dv-day-tag { font-size: 11.5px; font-weight: 600; color: #0a6b78; background: #e6f4f1; padding: 1px 8px; border-radius: 20px; }
.dv-day-b { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.dv-txt { width: 100%; border: 0.5px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13px; font-family: inherit; resize: vertical; box-sizing: border-box; }
.dv-txt.small { font-size: 12px; }
.dv-txt:focus { outline: none; border-color: #0a6b78; }
.dv-day-files { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dv-filewrap { display: inline-flex; align-items: center; }
.dv-file { font-size: 12px; padding: 5px 9px; border: 0.5px solid var(--line); border-radius: 8px 0 0 8px; background: #fff; text-decoration: none; }
.dv-file.hotel { color: #0a6b78; } .dv-file.ticket { color: #0a8f5b; } .dv-file.other { color: var(--muted); }
.dv-fx { border: 0.5px solid var(--line); border-left: none; background: #fff; color: #c0392b; cursor: pointer; padding: 5px 8px; border-radius: 0 8px 8px 0; font-size: 13px; }
.dv-pt .dv-fx, .dv-status .dv-fx { border: 0.5px solid var(--line); border-radius: 6px; margin-left: 6px; padding: 1px 7px; }
.dv-empty { font-size: 12px; color: var(--muted); }
.dv-add { font-size: 12px; padding: 5px 10px; border-radius: 8px; border: 0.5px dashed #b6c2d0; background: #fff; color: #4a5568; cursor: pointer; }
.dv-add:hover { border-color: #0a6b78; color: #0a6b78; }
.dv-aibar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #eef4ff; border: 0.5px solid #cfe0ff; border-radius: 10px; padding: 9px 12px; margin-bottom: 10px; }
.dv-aibar-l { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.dv-aibar-l b { font-size: 13px; color: #1c4ea8; }
.dv-aibar-l span { font-size: 11.5px; color: #5a7bb5; }
.dv-aibtn { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 8px; border: none; background: #2b6cec; color: #fff; cursor: pointer; white-space: nowrap; }
.dv-aibtn:hover { background: #1f5bd0; }
.ai-shot-thumb { position: relative; display: inline-block; }
.ai-shot-thumb img { width: 62px; height: 62px; object-fit: cover; border-radius: 8px; border: 0.5px solid var(--line); display: block; }
.ai-shot-thumb button { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; border: none; background: #c0392b; color: #fff; font-size: 12px; line-height: 1; cursor: pointer; padding: 0; }
.dv-ai-note { font-size: 11.5px; color: var(--muted); line-height: 1.6; margin-top: 6px; }
.dv-kv { border: 0.5px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.dv-kv-h { font-size: 12.5px; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.dv-miss { margin-left: auto; font-size: 11px; background: #fdecec; color: #c0392b; padding: 1px 8px; border-radius: 20px; }
.dv-pt { font-size: 12.5px; display: flex; align-items: center; gap: 6px; padding: 5px 0; }
.dv-pt b { font-weight: 600; }
.dv-pin { color: #0a6b78; }
.dv-pt-add { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.dv-pt-add input { flex: 1; min-width: 120px; height: 34px; border: 0.5px solid var(--line); border-radius: 8px; padding: 0 10px; font-size: 12.5px; }
.dv-flt { font-size: 12.5px; margin-bottom: 8px; }
.dv-flt b { color: #1a2233; }
.dv-link { font-size: 12px; padding: 4px 10px; border: 0.5px solid var(--line); border-radius: 8px; background: #fff; color: #0a6b78; cursor: pointer; }
.dv-qr-wrap { display: flex; align-items: center; gap: 12px; }
.dv-qr { width: 60px; height: 60px; border-radius: 8px; border: 0.5px solid var(--line); object-fit: cover; }
.dv-qr.empty { display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); background: #f7f9fc; }
.dv-foot { border-top: 0.5px solid var(--line); margin-top: 14px; padding-top: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dv-foot-st { font-size: 12px; color: var(--muted); flex: 1; }
.dv-submit { font-size: 13px; padding: 9px 15px; border-radius: 8px; background: #0a6b78; color: #fff; font-weight: 600; border: none; cursor: pointer; }
.dv-submit:hover { background: #095863; }
/* 订单详情·本行程关联抽屉（渠道端） */
.od-rel { border: 1px solid #bfe3ec; border-radius: 10px; background: #f4fbfd; margin-bottom: 14px; overflow: hidden; }
.od-rel > summary { cursor: pointer; list-style: none; padding: 11px 14px; font-size: 13px; font-weight: 700; color: #0a6b78; display: flex; align-items: center; gap: 6px; }
.od-rel > summary::-webkit-details-marker { display: none; }
.od-rel > summary::after { content: "▾"; margin-left: auto; font-size: 12px; }
.od-rel[open] > summary::after { content: "▴"; }
.od-rel-body { padding: 4px 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.od-rel-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border: 0.5px solid #e6e8ee; border-radius: 8px; font-size: 12.5px; }
.od-rel-row[data-od-rel] { cursor: pointer; }
.od-rel-row[data-od-rel]:hover { border-color: #0a6b78; background: #f0f9fb; }
.od-rel-row.cur { border-color: #0a6b78; box-shadow: inset 3px 0 0 #0a6b78; }
.od-rel-tag { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 20px; white-space: nowrap; }
.od-rel-tag.mo { background: #eef7fb; color: #0a6b78; border: 0.5px solid #bfe3ec; }
.od-rel-tag.ch { background: #eaf7f3; color: #12836a; border: 0.5px solid #a9ded0; }
.od-rel-no { color: #667085; font-variant-numeric: tabular-nums; }
.od-rel-nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1a2233; }
.od-rel-amt { color: #00808f; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bb-inc-row { display: flex; gap: 8px; align-items: flex-start; background: #eef8f4; border: 1px solid #c7e6d8; border-radius: 10px; padding: 9px 11px; margin: 8px 0; font-size: 13px; cursor: pointer; }
.bb-inc-row input { margin-top: 3px; flex: none; }
.bb-inc-row small { display: block; color: #5c7277; font-size: 11.5px; margin-top: 2px; line-height: 1.5; }
.bb-inc-row[hidden] { display: none; }
/* 加订子单「含在母单 / 另外收费」+ 行程应收合计 */
.od-rel-total { margin-left: 12px; font-size: 12px; font-weight: 700; color: #0b5d57; background: #e3f3f0; border-radius: 6px; padding: 2px 8px; }
.od-rel-inc { flex: none; border: 1px solid #d6dfe3; background: #fff; color: #6b7688; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 2px 9px; cursor: pointer; white-space: nowrap; font-family: inherit; }
.od-rel-inc:hover { border-color: #0e7c74; color: #0e7c74; }
.od-rel-inc.on { background: #e3f3ec; border-color: #9fd6bd; color: #1d8f68; }
.od-rel-row.inc .od-rel-amt { color: #8593a4; }
.od-rel-orig { color: #a3adbb; font-weight: 400; margin-right: 4px; }
.od-rel-act { color: #0a6b78; font-size: 11.5px; white-space: nowrap; }
.od-rel-row.cur .od-rel-act { color: #98a2b3; }
.travel-entry-card.shared { border: 1px dashed #9fd8cb; background: #f2fafb; }
.travel-entry-card.shared b { color: #0a6b78; }
/* 盈利业绩页 */
/* 🎯 本月目标达成看板 */
.pt-card { background:#fff; border:0.5px solid #e6e8ee; border-radius:12px; padding:16px 18px; margin-bottom:16px; }
.pt-head { display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.pt-title { font-size:16px; font-weight:600; }
.pt-badge { font-size:12px; padding:3px 12px; border-radius:20px; white-space:nowrap; }
.pt-badge.pt-good { background:#def0e8; color:#0b6b4f; }
.pt-badge.pt-warn { background:#faeeda; color:#854f0b; }
.pt-main { display:flex; gap:22px; align-items:center; flex-wrap:wrap; }
.pt-ring { position:relative; width:118px; height:118px; flex:none; }
.pt-ring-c { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.pt-ring-c b { font-size:24px; }
.pt-ring-c small { font-size:11px; color:#9ca3af; }
.pt-right { flex:1; min-width:220px; }
.pt-nums { display:flex; align-items:baseline; gap:8px; margin-bottom:12px; }
.pt-ach { font-size:26px; font-weight:600; }
.pt-tgt { font-size:14px; color:#64748b; }
.pt-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(104px,1fr)); gap:10px; }
.pt-stats > div { background:#f8fafc; border-radius:8px; padding:8px 11px; }
.pt-stats span { font-size:12px; color:#64748b; display:block; }
.pt-stats b { font-size:16px; }
.pt-stats .pt-w { color:#854f0b; }
.pt-stats .pt-g { color:#0b6b4f; }
.pt-tiers { margin-top:16px; border-top:0.5px solid #eef1f6; padding-top:13px; }
.pt-tiers-h { display:flex; justify-content:space-between; font-size:12px; color:#64748b; margin-bottom:7px; }
.pt-track { position:relative; height:9px; background:#f1f5f9; border-radius:20px; }
.pt-fill { position:absolute; left:0; top:0; height:9px; background:#1D9E75; border-radius:20px; }
.pt-mark { position:absolute; top:-4px; width:2px; height:17px; background:#c7ccd6; }
.pt-legend { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px; font-size:11px; color:#9ca3af; margin-top:7px; }
.pt-legend .pt-hit { color:#0b6b4f; font-weight:600; }
.perf-bar { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.perf-bar select { width:auto; min-width:150px; height:34px; border:0.5px solid var(--line); border-radius:8px; padding:0 10px; background:#fff; font-size:13px; }
.perf-rate { display:inline-flex; align-items:center; gap:6px; font-size:13px; color:var(--muted); }
.perf-rate input { width:56px; height:34px; border:0.5px solid var(--line); border-radius:8px; padding:0 8px; font-size:13px; text-align:center; }
.perf-sp { flex:1; }
.perf-exp { height:34px; padding:0 14px; border:none; border-radius:8px; background:#0a8f5b; color:#fff; font-size:13px; font-weight:600; cursor:pointer; }
.perf-exp:hover { background:#097a4e; }
.perf-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:18px; }
.perf-kpi { background:#f7f9fc; border-radius:10px; padding:12px 14px; }
.perf-kpi span { font-size:12px; color:var(--muted); }
.perf-kpi strong { display:block; font-size:22px; margin-top:4px; font-variant-numeric:tabular-nums; }
.perf-kpi strong.up { color:#0a8f5b; }
.perf-kpi small { font-size:11px; color:var(--muted); }
/* 客资战报(我的业绩·激励) */
.lr-wrap { margin-bottom:18px; }
.lr-h { font-size:15px; font-weight:700; color:#1a2233; margin-bottom:10px; }
.lr-h .mut { font-size:11.5px; font-weight:400; color:var(--muted); margin-left:6px; }
.lr-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:12px; }
.lr-kpi { background:#f7f9fc; border-radius:10px; padding:11px 13px; }
.lr-kpi span { font-size:12px; color:var(--muted); }
.lr-kpi b { display:block; font-size:21px; font-weight:800; margin-top:3px; font-variant-numeric:tabular-nums; color:#1a2233; }
.lr-kpi small { font-size:10.5px; color:var(--muted); }
.lr-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px; }
.lr-card { border:0.5px solid #e6e8ee; border-radius:12px; padding:12px 14px; background:#fff; }
.lr-ct { font-size:13px; font-weight:700; color:#1a2233; margin-bottom:9px; }
.lr-frow { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.lr-fn { font-size:12px; color:var(--muted); width:48px; }
.lr-fbar { flex:1; height:15px; background:#f0eee8; border-radius:6px; overflow:hidden; }
.lr-fbar > span { display:block; height:100%; border-radius:6px; }
.lr-fv { font-size:12px; font-weight:700; width:82px; text-align:right; color:#1a2233; }
.lr-hrow { display:flex; align-items:center; justify-content:space-between; font-size:12.5px; color:#42505a; padding:4px 0; }
.lr-hrow b { font-weight:800; }
.lr-hnote { border-top:0.5px solid #eef1f6; margin-top:6px; padding-top:7px; font-size:11px; color:var(--muted); line-height:1.6; }
.lr-recap { border-color:#f0d9b0; background:#fbf6ec; }
.lr-recap-sub { font-size:11.5px; color:#42505a; margin-bottom:9px; }
.lr-recap-row { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.lr-recap-row .lr-rz { flex:1; font-size:11.5px; color:#42505a; }
.lr-recap-row b { font-weight:800; color:#42505a; }
.lr-tag { font-size:11px; border-radius:20px; padding:2px 9px; white-space:nowrap; font-weight:700; }
.lr-tag.obj { background:#eae6dc; color:#5f5e5a; }
.lr-tag.wake { background:#cfe0f5; color:#185fa5; }
.lr-recap-tip { margin-top:8px; font-size:11px; color:#185fa5; }
.lr-cost { border-color:#9fe1cb; background:#e6f6ef; }
.lr-crow { display:flex; align-items:center; justify-content:space-between; font-size:12.5px; color:#0f6e56; padding:3px 0; }
.lr-crow b { font-weight:800; }
.lr-ctot { border-top:0.5px solid #bfe6d4; margin-top:2px; padding-top:6px; }
/* 成本分析(营销端只读) */
.pcm-tabs { display:flex; gap:7px; flex-wrap:wrap; }
.pcm-tab { border:0.5px solid #e6e8ee; background:#fff; color:#374151; border-radius:16px; padding:4px 12px; font-size:12.5px; cursor:pointer; }
.pcm-tab.on { border-color:#0f9d8f; background:#e1f5ee; color:#0a6b78; font-weight:600; }
.pcm-tab b { font-weight:700; opacity:.7; }
.pcm-t th { text-align:left; padding:8px 10px; background:#f6f8fb; color:#8a97a8; font-weight:600; white-space:nowrap; }
.pcm-t td { padding:8px 10px; border-top:0.5px solid #eef2f6; white-space:nowrap; font-variant-numeric:tabular-nums; }
.pcm-tag { font-size:10px; color:#185fa5; background:#e6f1fb; border-radius:5px; padding:0 5px; }
/* 报价·成本明细行 */
.pq-crow { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.pq-crow .pq-cl { flex:1; font-size:12.5px; color:#374151; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pq-crow .pq-ci { font-size:12px; color:#6b7280; }
.pq-crow .pq-ci input { width:74px; height:30px; border:0.5px solid #e6e8ee; border-radius:7px; padding:0 6px; font-size:12.5px; margin-left:2px; }
.pq-crow .pq-cy { font-size:11px; color:#9aa7ad; width:72px; text-align:right; font-variant-numeric:tabular-nums; }
.lr-clk { cursor:pointer; transition:.12s; }
.lr-kpi.lr-clk:hover { background:#eef4ff; }
.lr-frow.lr-clk:hover .lr-fn, .lr-hrow.lr-clk:hover span, .lr-recap-row.lr-clk:hover .lr-rz { color:#185fa5; }
.lr-grades { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.lr-gh { font-size:11.5px; color:var(--muted); }
.lr-gchip { display:inline-flex; align-items:center; gap:6px; border:0.5px solid #e6e8ee; background:#fff; border-radius:16px; padding:4px 12px; font-size:12px; color:#374151; cursor:pointer; }
.lr-gchip:hover { border-color:#0f9d8f; background:#f2fbf9; }
.lr-gchip .lr-gt { display:inline-flex; align-items:center; justify-content:center; width:17px; height:17px; border-radius:6px; color:#fff; font-weight:800; font-size:10px; }
.lr-gchip b { font-weight:800; color:#1a2233; }
@media (max-width:640px){ .lr-kpis{grid-template-columns:repeat(2,1fr)} .lr-grid{grid-template-columns:1fr} }
.perf-sect { font-size:14px; font-weight:600; margin:6px 0 10px; display:flex; align-items:center; gap:8px; }
.perf-sect .mut { color:var(--muted); font-weight:400; font-size:12px; }
.perf-seg { display:inline-flex; gap:6px; margin-left:auto; }
.perf-seg button { font-size:12.5px; padding:5px 12px; border:0.5px solid var(--line); border-radius:20px; background:#fff; color:var(--muted); cursor:pointer; }
.perf-seg button.on { border:1.5px solid #0a6b78; background:#e6f4f1; color:#0a6b78; font-weight:600; }
.perf-lead { display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.perf-lb { display:grid; grid-template-columns:120px 1fr 130px; align-items:center; gap:10px; }
.perf-lb-n { font-size:12.5px; display:flex; align-items:center; gap:6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.perf-rk { width:18px; height:18px; border-radius:50%; background:#eef1f6; color:var(--muted); font-size:11px; display:inline-flex; align-items:center; justify-content:center; flex:none; }
.perf-lb.top .perf-rk { background:#d9f0e6; color:#0a8f5b; }
.perf-track { height:16px; background:#eef1f6; border-radius:20px; overflow:hidden; }
.perf-fill { height:100%; border-radius:20px; background:#3a86c8; }
.perf-lb.top .perf-fill { background:#0a8f5b; }
.perf-lb-v { font-size:12px; text-align:right; color:var(--muted); font-variant-numeric:tabular-nums; }
.perf-lb-v b { color:#0a8f5b; font-weight:600; }
.perf-twrap { border:0.5px solid var(--line); border-radius:12px; overflow-x:auto; }
table.perf-t { width:100%; border-collapse:collapse; font-size:12px; min-width:620px; }
table.perf-t th { text-align:right; font-weight:500; color:var(--muted); background:#f7f9fc; padding:8px 10px; white-space:nowrap; border-bottom:0.5px solid var(--line); }
table.perf-t th:first-child, table.perf-t td:first-child { text-align:left; }
table.perf-t td { padding:8px 10px; text-align:right; border-bottom:0.5px solid var(--line); white-space:nowrap; font-variant-numeric:tabular-nums; }
table.perf-t td.perf-rte { text-align:left; color:var(--muted); max-width:180px; overflow:hidden; text-overflow:ellipsis; }
table.perf-t td.perf-prof { color:#0a8f5b; font-weight:600; }
.perf-grp td { background:#e6f4f1; font-weight:600; color:#0a6b78; }
.perf-grp td[data-perf-grp] { cursor:pointer; text-align:left; }
.perf-grp .perf-sub { color:#0a8f5b; text-align:right; }
.perf-caret { display:inline-block; width:14px; }
/* 行程组·合并付款：切换 + 分摊明细 */
.payment-dialog-summary.pg-mode { display: block; }
.pg-seg { display: flex; gap: 8px; margin-bottom: 12px; }
.pg-seg button { flex: 1; font-size: 12.5px; padding: 8px 6px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.pg-seg button.on { border: 1.5px solid #0a6b78; background: #e6f4f1; color: #0a6b78; font-weight: 700; }
.pg-brk { border: 1px solid #9fd8cb; border-radius: 10px; overflow: hidden; }
.pg-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; font-size: 13px; border-bottom: 1px solid var(--line); }
.pg-row.off { opacity: 0.4; }
.pg-l { display: flex; align-items: center; gap: 7px; min-width: 0; }
.pg-tt { font-size: 12px; color: var(--text); }
.pg-role { font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 20px; }
.pg-role.mo { background: #eef7fb; color: #0a6b78; border: 0.5px solid #bfe3ec; }
.pg-role.ch { background: #eaf7f3; color: #12836a; border: 0.5px solid #a9ded0; }
.pg-no { color: var(--muted); font-variant-numeric: tabular-nums; }
.pg-due { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text); white-space: nowrap; }
.pg-sum { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: #e6f4f1; font-size: 13px; }
.pg-sum strong { font-size: 17px; color: #0a6b78; font-variant-numeric: tabular-nums; }
.pg-note { font-size: 11.5px; color: var(--muted); line-height: 1.6; margin: 10px 2px 0; }
/* 下单必读弹窗 */
.mr-dialog { box-sizing: border-box; width: min(820px, calc(100vw - 32px)); max-height: min(760px, calc(100vh - 80px)); border: 0; border-radius: 14px; padding: 18px 20px; box-shadow: 0 20px 60px rgba(15, 40, 50, .25); display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.mr-dialog:not([open]) { display: none; }
.mr-dialog::backdrop { background: rgba(15, 30, 40, .45); }
.mr-head { display: flex; flex-direction: column; gap: 4px; }
.mr-head b { font-size: 17px; color: #9a3412; }
.mr-head span { font-size: 13px; color: #6b5a4a; line-height: 1.6; }
.mr-docs { overflow-y: auto; display: flex; flex-direction: column; gap: 10px; min-height: 0; flex: 1 1 auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
/* flex:none 防被压扁:原来卡片会被挤矮、超出部分被 overflow:hidden 截掉且不出滚动条 */
.mr-doc { flex: none; border: 1px solid #f3d9a4; border-radius: 10px; overflow: hidden; background: #fffdf7; }
.mr-head, .mr-ack, .mr-err, .mr-acts { flex: none; }
.mr-doc-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; font-size: 13px; font-weight: 700; color: #7a4b06; background: #fff7e6; flex-wrap: wrap; }
.mr-doc-h a { font-weight: 600; color: #0a6b78; white-space: nowrap; }
.mr-text { padding: 6px 16px 14px; font-size: 13.5px; line-height: 1.8; color: #2a3532; max-width: 72ch; }
.mr-text h5 { margin: 14px 0 4px; font-size: 14.5px; color: #0a6b78; }
.mr-text p { margin: 6px 0; }
.mr-text b { color: #9a3412; }
.mr-ack { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; font-weight: 600; color: #1f2d2a; cursor: pointer; line-height: 1.5; }
.mr-ack input { width: 17px; height: 17px; margin-top: 1px; flex: none; }
.mr-err { font-size: 12.5px; color: #c0392b; min-height: 1em; }
.mr-acts { display: flex; justify-content: flex-end; gap: 10px; }
/* 同客人其他待付单提示(单单摘要是网格,这块占满整行) */
.pg-cust { grid-column: 1 / -1; border: 1px solid #f5d38a; background: #fffbeb; border-radius: 10px; padding: 10px 12px 2px; margin-bottom: 12px; }
.pg-cust-msg { font-size: 12.5px; color: #7c4a03; line-height: 1.6; margin-bottom: 8px; }
.pg-cust-msg b { color: #b45309; }

.row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-detail-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.payment-detail-head article {
  display: grid;
  gap: 8px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.payment-detail-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.payment-detail-head strong {
  color: var(--text);
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-detail-head .amount-upper {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.price-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.price-option {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  text-align: left;
}

.price-option.active {
  border-color: var(--blue);
  background: #e2f5f8;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.price-option span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 900;
}

.price-option small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.price-option strong {
  color: var(--blue);
  font-size: 18px;
}

.price-option em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .partner-grid,
  .partner-header,
  .partner-shell {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  /* 多列网格在手机上统一收成单列 */
  .price-options,
  .payment-dialog-summary,
  .payment-detail-head,
  .field-grid,
  .travel-grid,
  .sub-account-form,
  .info-grid,
  .account-grid,
  .detail-2col,
  .cost-breakdown {
    grid-template-columns: 1fr !important;
  }
  .detail-grid,
  .detail-col-right .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .bill-dashboard-head,
  .bill-dashboard-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bill-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-progress {
    min-width: 0;
  }
}

/* ===== 促销展示 ===== */
.promo-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px solid #f3b0b2;
  border-radius: 12px;
  background: linear-gradient(90deg, #fff5f5 0%, #ffffff 70%);
  overflow: hidden;
}
/* hidden 属性要真正隐藏（display:flex 会盖过 [hidden]，补一条更高优先级的） */
.promo-banner[hidden] { display: none; }
.promo-banner-label {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5484d;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.promo-banner-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: thin;
}
.promo-banner-item {
  flex: none;
  padding: 6px 12px;
  border: 1px solid #f0d2d3;
  border-radius: 999px;
  background: #fff;
  color: #33415c;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}
.promo-banner-item strong { color: #e5484d; }
.promo-banner-item:hover { border-color: #e5484d; }
.promo-banner-more {
  flex: none;
  border: none;
  background: none;
  color: #00808f;
  font-weight: 700;
  cursor: pointer;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.promo-empty { color: #6b7c99; }

/* 特惠专区：按产品归组 + 可点日期 chip */
.promo-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.promo-filter button {
  padding: 6px 14px;
  border: 1px solid #cbe6ec;
  border-radius: 999px;
  background: #fff;
  color: #5c6f8e;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.promo-filter button.active {
  background: var(--blue, #00909e);
  color: #fff;
  border-color: var(--blue, #00909e);
}
.promo-zone-list { display: flex; flex-direction: column; gap: 12px; }
/* 列表 / 橱窗 切换 */
.promo-view-toggle { display: inline-flex; background: #fff; border: 1px solid #e3ecec; border-radius: 999px; padding: 3px; gap: 2px; }
.promo-view-toggle button { border: 0; background: transparent; color: #6b8189; font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.promo-view-toggle button.active { background: #e8541e; color: #fff; }
/* 橱窗视图：3:4 海报网格 */
.promo-zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.promo-showcard { border: 1px solid #e7edf5; border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.psc-poster { position: relative; width: 100%; aspect-ratio: 3/4; padding: 0; border: 0; background: none; cursor: pointer; display: block; overflow: hidden; }
.psc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.psc-auto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.psc-auto-ic { font-size: 46px; opacity: .55; }
.psc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.10) 24%, rgba(0,0,0,0) 46%, rgba(0,0,0,.28) 66%, rgba(0,0,0,.86) 100%); }
.psc-tagcombo { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; }
.psc-flag { color: #fff; font-size: 13px; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.psc-tp { display: inline-block; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; color: #fff; white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.psc-tp-g { background: #1d9e75; } .psc-tp-c { background: #e8901a; } .psc-tp-t { background: #8b5cf6; }
.psc-corner { position: absolute; top: 0; right: 0; z-index: 2; background: #e8541e; color: #fff; font-size: 11.5px; font-weight: 800; padding: 6px 11px; border-radius: 0 0 0 12px; text-align: center; line-height: 1.1; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.psc-corner b { display: block; font-size: 16px; }
.psc-corner.big { background: #d81e5b; }
.psc-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px; display: flex; flex-direction: column; text-align: left; }
.psc-title { font-size: 15px; font-weight: 800; line-height: 1.3; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.75); }
.psc-earn { font-size: 12.5px; font-weight: 700; margin-top: 8px; color: #ffd9a8; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.psc-earn b { font-size: 21px; color: #ffb877; } .psc-earn small { color: #ffd9a8; }
.psc-more { background: #ff7a33; color: #fff; font-size: 10.5px; font-weight: 800; border-radius: 5px; padding: 1px 7px; margin-left: 2px; }
.psc-mkt { font-size: 11px; margin-top: 3px; color: #fff; opacity: .9; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.psc-foot { padding: 10px 11px 12px; }
.psc-dhint { font-size: 11px; color: #8a94a6; font-weight: 700; margin-bottom: 7px; }
.psc-chips { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.psc-chips > * { flex: 0 0 auto; }
@media (max-width: 900px) { .promo-zone-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .promo-zone-grid { grid-template-columns: repeat(2, 1fr); } }
/* 产品资料·快速导航条（锚点一键跳转，粘顶） */
.pm-quicknav {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 2px;
  margin-bottom: 6px;
  background: #f5f9fb;
  border-bottom: 1px solid #e2ebf1;
}
.pm-jump {
  padding: 6px 15px;
  border-radius: 999px;
  border: 1px solid #d6e4ec;
  background: #fff;
  color: #0a707d;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.pm-jump:hover { background: #e2f5f8; border-color: #9fd6de; }
.pm-jump:active { transform: translateY(1px); }
.pm-sec { scroll-margin-top: 58px; }

/* 费用包含 / 不含 */
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; }
.pf-col { border: 1px solid #e7edf5; border-radius: 12px; padding: 12px 14px; background: #fff; }
.pf-col.inc { background: #f3fbf6; border-color: #cdebd8; }
.pf-col.exc { background: #fdf5f4; border-color: #f2d6d2; }
.pf-h { font-size: 14px; font-weight: 800; margin-bottom: 8px; color: #16333a; }
.pf-list { margin: 0; padding-left: 2px; list-style: none; }
.pf-list li { font-size: 13px; line-height: 1.9; color: #384656; }
.pf-list .pf-no { color: #0a6b78; font-weight: 600; margin-right: 3px; }

/* 行程·文案版（逐日卡 + 图 + 简介 + 一键收缩） */
.partner-itin .material-cat-head { display: flex; align-items: center; justify-content: space-between; }
.itin-toggle { font-size: 12.5px; padding: 5px 12px; border-radius: 20px; border: 0.5px solid #cfe0ff; background: #eef4ff; color: #1c4ea8; cursor: pointer; }
.itin-toggle:hover { background: #e2edff; }
.itin-list { display: flex; flex-direction: column; gap: 10px; }
.itin-day { border: 0.5px solid var(--line, #e6e8ee); border-radius: 12px; overflow: hidden; background: #fff; }
.itin-day-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; flex-wrap: wrap; }
.itin-daytitle { flex: 1; min-width: 0; }
.itin-km { flex: none; margin-left: auto; font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 20px; white-space: nowrap; }
.itin-km.tone-short { background: #E1F5EE; color: #0F6E56; }
.itin-km.tone-mid { background: #FAEEDA; color: #854F0B; }
.itin-km.tone-long { background: #FAECE7; color: #993C1D; }
.itin-daytag { flex: none; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 7px; background: #e6f1fb; color: #185fa5; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 600; }
.itin-daytitle { font-size: 14px; color: #1a2233; line-height: 1.4; }
.itin-detail { padding: 0 14px 12px; }
.itin-route { font-size: 13px; color: #4a5568; line-height: 1.8; margin: 0 0 8px; }
.itin-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0 0 8px; }
.itin-photo { margin: 0; border: 0.5px solid var(--line, #e6e8ee); border-radius: 8px; overflow: hidden; }
.itin-photo img { width: 100%; height: 108px; object-fit: cover; display: block; }
.itin-photo figcaption { font-size: 11.5px; color: #667085; text-align: center; padding: 4px 6px; background: #fafbfc; }
.itin-blurb { font-size: 12.5px; color: #566173; line-height: 1.85; margin: 0 0 8px; }
.itin-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.itin-chip { font-size: 12px; color: #4a5568; background: #f2f4f7; border-radius: 8px; padding: 5px 11px; }
/* 收缩态：只留每天路线（头部），隐藏详情 */
.partner-itin.itin-collapsed .itin-detail { display: none; }
.partner-itin.itin-collapsed .itin-list { gap: 0; }
.partner-itin.itin-collapsed .itin-day { border-radius: 0; border-bottom: none; }
.partner-itin.itin-collapsed .itin-day:first-child { border-radius: 10px 10px 0 0; }
.partner-itin.itin-collapsed .itin-day:last-child { border-radius: 0 0 10px 10px; border-bottom: 0.5px solid var(--line, #e6e8ee); }
@media (max-width: 720px) { .pf-grid { grid-template-columns: 1fr; } }

/* 产品详情·产品亮点画廊 */
.phl-sec { border: 1px solid #e7edf5; border-radius: 14px; padding: 15px; background: #fff; margin-bottom: 14px; }
.phl-h { font-size: 15px; font-weight: 800; margin-bottom: 11px; color: #16333a; }
.phl-h small { font-size: 11.5px; color: #8a94a6; font-weight: 400; margin-left: 6px; }
.phl-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.phl-tag { background: #f4f9f9; color: #0a707d; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 5px 13px; }
.phl-gallery { display: flex; gap: 11px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.phl-poster { flex: 0 0 160px; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; background: #eef1f6; display: block; }
.phl-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phl-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 13px; }
.phl-btn { border: 1px solid #e3ecec; background: #fff; color: #16333a; font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 9px; cursor: pointer; }
.phl-btn.primary { background: #0a8f8f; color: #fff; border-color: #0a8f8f; }
.phl-hint { font-size: 11.5px; color: #8a94a6; }
.promo-prod-card {
  border: 1px solid #e7edf5;
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
}
/* 促销卡：左块(信息+下单立赚) | 右块(团期) —— 左右两大块并排 */
.promo-prod-card2 { display: flex; align-items: stretch; border: 1px solid #e7edf5; border-radius: 12px; background: #fff; overflow: hidden; }
.ppc-top { display: flex; align-items: stretch; flex: 1 1 46%; min-width: 0; border-right: 2px solid #e3e9f2; }
.ppc-left { flex: 1 1 auto; min-width: 0; text-align: left; border: 0; background: #f2fbfa; padding: 14px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.ppc-badges-top { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.ppc-price { font-size: 18px; font-weight: 700; color: #00808f; margin-top: auto; padding-top: 8px; }
.ppc-per { font-size: 12px; color: #98a2b3; font-weight: 400; }
/* 促销卡·下单立赚（把返佣%翻成到手的钱）——左块内右侧绿板 */
.ppc-earn { flex: 0 0 150px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 5px; background: #e9f9f1; padding: 14px 16px; cursor: pointer; }
.ppc-earn-lb { font-size: 12.5px; color: #0a8f5b; display: block; font-weight: 600; }
.ppc-earn-big { font-size: 25px; font-weight: 800; color: #0a8f5b; display: block; line-height: 1.05; }
.ppc-earn-big small { font-size: 13px; font-weight: 400; }
.ppc-earn-up { display: inline-block; align-self: flex-start; margin-top: 4px; font-size: 12px; font-weight: 700; color: #c67c1e; background: #fdf3e0; border-radius: 6px; padding: 3px 9px; }
.promo-chip .chip-tags em.chip-earn { color: #0a8f5b; font-size: 10.5px; }
.promo-benefit.lastmin { color: #fff; background: #c0392b; }
.promo-more { align-self: center; font-size: 11.5px; color: #00808f; background: none; border: none; cursor: pointer; padding: 4px 6px; white-space: nowrap; }
.ppc-cover { height: 128px; background-size: cover; background-position: center; background-color: #eef1f6; }
.ppc-cover-empty { display: flex; align-items: center; justify-content: center; font-size: 34px; color: #b6c1d4; }
/* 自动生成封图：渐变 + 国家图标（标题不在图上，避免与下方重复） */
.ppc-cover-auto { display: flex; align-items: center; justify-content: center; }
.ppc-cover-ic { font-size: 40px; opacity: .6; filter: drop-shadow(0 1px 2px rgba(0,0,0,.2)); }
/* 促销筛选并成一行：国家 ｜ 类型 */
.promo-filter-oneline { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.promo-filter-div { width: 1px; height: 18px; background: #cfe6ec; margin: 0 4px; }
.promo-filter-oneline .promo-type-btn { font-size: 12px; padding: 5px 12px; }
.ppc-info { padding: 11px 13px; }
.ppc-title { font-size: 14px; font-weight: 600; color: #071b42; line-height: 1.45; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ppc-meta { font-size: 11.5px; color: #98a2b3; margin-top: 3px; }
.ppc-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.ppc-badges:empty { display: none; }
.ppc-left:hover .ppc-title { color: #00808f; }
.ppc-dates { flex: 1 1 54%; min-width: 0; padding: 13px 16px; align-self: flex-start; }
.ppc-chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
/* 窄屏：左右两块整体上下堆叠；更窄时左块内信息/绿板再堆叠 */
@media (max-width: 820px) { .promo-prod-card2 { flex-direction: column; } .ppc-top { flex-basis: auto; border-right: 0; border-bottom: 1px solid #eef1f6; } .ppc-dates { flex-basis: auto; align-self: auto; } }
@media (max-width: 520px) { .ppc-top { flex-direction: column; } .ppc-earn { flex-basis: auto; border-top: 1px solid #cceedd; } }
.promo-prod-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.promo-prod-head strong { font-size: 16px; color: #071b42; }
.promo-prod-meta { font-size: 12px; color: #8a99b3; }
.promo-type-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}
.promo-type-badge.type-group { color: #00707d; background: #e2f5f8; }
.promo-type-badge.type-charter { color: #3b6d11; background: #eaf3de; }
.promo-type-badge.type-ticket { color: #993556; background: #fbeaf0; }
.promo-benefit {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}
.promo-benefit.charter { color: #854f0b; background: #faeeda; }
.promo-benefit.rebate { color: #3c3489; background: #eeedfe; }
.promo-prod-sub { font-size: 12px; color: #8a99b3; margin: 8px 0; }
.promo-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.promo-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 7px 12px;
  border: 1px solid #cbe6ec;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
  text-align: left;
}
.promo-chip:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16, 42, 90, 0.1); border-color: #b9cdec; }
.promo-chip:disabled { opacity: 0.45; cursor: not-allowed; }
.promo-chip .chip-date { font-size: 14px; font-weight: 800; color: #102345; }
.promo-chip .chip-meta { font-size: 11px; color: #5c6f8e; }
.promo-chip .chip-tags { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; }
.promo-chip .chip-tags em { font-style: normal; font-size: 11px; font-weight: 800; color: #3c3489; }
.promo-chip.lastmin { border-color: #f4c0c0; background: #fdf3f3; }
.promo-chip.lastmin .chip-tags i { color: #d34242; }
.promo-chip.promo { border-color: #cecbf6; background: #f6f5ff; }
.promo-chip.urgent .chip-meta { color: #b91c1c; font-weight: 700; }
.promo-card {
  position: relative;
  padding: 16px;
  border: 1px solid #e0e9f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(14, 49, 92, 0.06);
}
.promo-card.soldout { opacity: 0.6; }
.promo-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.promo-card-tags span {
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff0f0;
  color: #e5484d;
  font-size: 12px;
  font-weight: 800;
}
.promo-card h4 { margin: 0 0 6px; font-size: 20px; font-weight: 900; line-height: 1.3; color: #071b42; }
.promo-card-meta, .promo-card-date { color: #5c6f8e; font-size: 13px; margin-bottom: 4px; }
.promo-card-rate {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 10px 0;
}
.promo-card-rate span { color: #5c6f8e; font-size: 13px; }
.promo-card-rate em { color: #97a6bd; font-style: normal; text-decoration: line-through; }
.promo-card-rate b { color: #97a6bd; }
.promo-card-rate strong { color: #e5484d; font-size: 26px; font-weight: 900; }
.promo-card-urgency {
  margin-bottom: 12px;
  color: #d9822b;
  font-size: 13px;
  font-weight: 700;
}
.promo-card .primary {
  width: 100%;
  padding: 8px 12px;
  background: #fff;
  color: var(--blue);
  border: 1px solid #cfe0fb;
  font-weight: 700;
  font-size: 13px;
}
.promo-card .primary:hover:not(:disabled) {
  background: #e2f5f8;
  border-color: var(--blue);
}
.promo-card .primary:disabled {
  color: #9aa7bd;
  background: #f3f5f9;
  border-color: var(--line);
  cursor: not-allowed;
}
.promo-mini {
  padding: 1px 6px;
  border-radius: 6px;
  background: #e5484d;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

/* ===== 下单页·本单促销收益卡 ===== */
.order-promo { margin-top: 14px; }
.order-promo-card {
  padding: 14px;
  border: 1px solid #f3b0b2;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 70%);
}
.order-promo-head {
  font-weight: 900;
  color: #e5484d;
  font-size: 15px;
  margin-bottom: 8px;
}
.order-promo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.order-promo-tags span {
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff0f0;
  color: #e5484d;
  font-size: 12px;
  font-weight: 800;
}
.order-promo-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
  font-size: 14px;
}
.order-promo-row span { color: #5c6f8e; }
.order-promo-row strong { color: #071b42; font-weight: 800; }
.order-promo-row.big { padding-top: 8px; border-top: 1px dashed #f0d2d3; margin-top: 4px; }
.order-promo-row.big span { color: #33415c; font-weight: 700; }
.order-promo-row.big strong { color: #e5484d; font-size: 22px; font-weight: 900; }
.order-promo-extra {
  margin-top: 6px;
  color: #d9822b;
  font-weight: 700;
  font-size: 13px;
}

/* ===== 订单生命周期状态 ===== */
.life-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.life-pill[title] { cursor: help; }
.life-held { background: #fbe6c4; color: #854f0b; }
.life-effective { background: #e1f3e9; color: #1a7a43; }
.life-pending { background: #e6f0fb; color: #1b5fa8; } /* 待地接/OP确认:灰蓝,不用绿色避免误以为已确认 */
.life-pill-wrap { position: relative; display: inline-block; }
.hold-badge { position: absolute; top: -7px; right: -7px; width: 16px; height: 16px; border-radius: 50%; background: #e08600; color: #fff; font-size: 11px; font-weight: 700; line-height: 16px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.25); cursor: help; }
.life-paid { background: #e2f5f8; color: #00808f; }
.life-topay { background: #fdf0dc; color: #9a5a08; }
.life-toissue { background: #e6f0fb; color: #1b5fa8; }
.life-ticketed { background: #e1f3e9; color: #1a7a43; }
/* 门票:颜色 = 该谁动手 · 实心青=渠道去自助出票(能点) · 灰虚线=待地接出票 */
button.life-pill.life-selfgo, .life-selfgo { background: #0d8b96; color: #fff; border: 0; cursor: pointer; box-shadow: 0 2px 6px rgba(13,139,150,.25); font-family: inherit; line-height: inherit; height: auto; width: auto; }
button.life-pill.life-selfgo:hover { background: #0b6f78; }
.life-ours { background: #eef1f4; color: #4a5a66; border: 1px dashed #b9c4cc; }
.life-how { display: inline-block; font-size: 10.5px; font-weight: 700; border-radius: 5px; padding: 0 6px; margin-right: 5px; }
.life-how.self { color: #0a6b74; background: #e3f3f5; }
.life-how.ours { color: #5d6b75; background: #f1f3f5; }

.order-search {
  flex: 1;
  min-width: 180px;
  margin: 0 12px;
  padding: 8px 12px;
  border: 1px solid #cdddf0;
  border-radius: 8px;
  font: inherit;
}

.order-empty {
  padding: 20px;
  text-align: center;
  color: #9aa3b2;
}
.life-urgent { background: #e5484d; color: #fff; }
.life-traveling { background: #e9f7ef; color: #1f9d57; }
.life-done { background: #f0ece6; color: #8a6d3b; }
.life-cancelled { background: #f3f4f6; color: #9aa3b2; text-decoration: line-through; }

.order-row-urgent { background: #fff5f5; }

.order-alerts { margin-bottom: 14px; }
.order-alert {
  padding: 12px 16px;
  border: 1px solid #f3b0b2;
  border-left: 4px solid #e5484d;
  border-radius: 10px;
  background: #fff5f5;
}
.order-alert strong { color: #e5484d; font-size: 15px; }
.order-alert p { margin: 6px 0; color: #8a3b3d; font-size: 13px; }
.order-alert ul { margin: 6px 0 0; padding-left: 18px; color: #5c6f8e; font-size: 13px; }
.order-alert li { margin: 2px 0; }

/* ===== 促销类型配色：早鸟蓝 / 余位红 / 节假日紫 ===== */
.promo-card-tags .promo-tag-earlybird { background: #e2f5f8; color: #00808f; }
.promo-card-tags .promo-tag-lastminute { background: #fff0f0; color: #e5484d; }
.promo-card-tags .promo-tag-holiday { background: #f1ecfb; color: #6254d9; }

.promo-card-urgency.promo-urgency-earlybird { color: #00808f; }
.promo-card-urgency.promo-urgency-lastminute { color: #e5484d; }
.promo-card-urgency.promo-urgency-normal { color: #d9822b; }
.promo-card-urgency.promo-urgency-high { color: #e5484d; font-weight: 800; }
.promo-card-urgency.promo-urgency-mid { color: #d9822b; }

/* ===== 临期团期（来自团期系统，只读展示） ===== */
.lastmin-head { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 12px; flex-wrap: wrap; }
.lastmin-head h4 { margin: 0; font-size: 15px; font-weight: 800; color: #0f3e54; }
.lastmin-head span { font-size: 12px; color: #6b7c99; }
.promo-card-tags .promo-tag-flash { background: #fff0f0; color: #e5484d; }
.lastmin-card { border-color: #ffd9d9; }
#partnerLastMinuteGrid { margin-bottom: 26px; }

.activity-amount{margin:4px 0;color:#00808f;font-weight:800;font-size:14px;}

/* ===== 下单时同步加订自费活动（自选项目） ===== */
.order-activities {
  padding: 12px 14px;
  border: 1px dashed #cdddf0;
  border-radius: 10px;
  background: #f8fbff;
}
.order-activities-head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 10px; }
.order-activities-title { font-weight: 800; color: #33415c; font-size: 14px; }
.order-activities-head small { color: #8593a4; font-size: 12px; }
.order-activities-list { display: flex; flex-direction: column; gap: 8px; }
.order-activity-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border: 1px solid #e3ecf7; border-radius: 10px; background: #fff;
  transition: border-color .12s, background .12s;
}
.order-activity-row.on { border-color: #7ba7e8; background: #eef5ff; }
.oa-check { position: relative; flex: none; width: 20px; height: 20px; cursor: pointer; }
.oa-check input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.oa-box { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1px solid #c3d2e6; border-radius: 6px; background: #fff; color: #fff; font-size: 13px; font-weight: 900; }
.oa-check input:checked + .oa-box { background: #2f6fd0; border-color: #2f6fd0; }
.oa-check input:checked + .oa-box::after { content: "✓"; }
.oa-main { flex: 1; min-width: 0; }
.oa-name { font-weight: 700; color: #33415c; font-size: 13px; }
.oa-sub { color: #6a7686; font-size: 12px; margin-top: 1px; }
.oa-net { color: #0a6b62; font-weight: 700; }
.oa-orig { color: #98a2b3; font-size: 11px; }
.oa-note { color: #8593a4; }
.oa-qty { flex: none; display: flex; align-items: center; gap: 4px; color: #8593a4; font-size: 12px; }
.order-activity-qty { width: 54px; text-align: center; padding: 5px 4px; }
.order-activity-qty:disabled { opacity: .45; }
.oa-line { flex: none; width: 82px; text-align: right; font-weight: 800; font-size: 13px; color: #33415c; font-variant-numeric: tabular-nums; }
.order-activity-row:not(.on) .oa-line { color: #b3bdca; }
.order-activities-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid #e3ecf7; }
.order-activities-foot span { font-size: 13px; color: #4a5568; }
.order-activities-foot small { color: #8593a4; }
.order-activities-foot b { font-size: 16px; color: #1f6feb; font-variant-numeric: tabular-nums; }
.order-activities-grand { margin-top: 8px; padding: 8px 11px; background: #e6fcf5; border: 1px solid #b6ecdf; border-radius: 8px; font-size: 12.5px; color: #43635e; text-align: right; }
.order-activities-grand b { color: #0a6b62; font-size: 14px; font-weight: 800; }
.order-activities-note { margin-top: 8px; font-size: 11px; color: #6a9a6a; line-height: 1.5; }
.activity-amount { margin: 4px 0; color: #00808f; font-weight: 800; font-size: 14px; }

/* 加订自费活动 · 多选弹窗 */
.act-shared { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.act-pick-list { display: flex; flex-direction: column; gap: 8px; max-height: 280px; overflow: auto; margin: 6px 0; }
.act-row { display: flex; align-items: center; gap: 10px; border: 0.5px solid #e6e8ee; border-radius: 10px; padding: 10px 12px; }
.act-row.on { border: 1.5px solid #1d9e75; background: #f0fbf7; }
.act-check { flex: none; display: flex; align-items: center; cursor: pointer; margin: 0; }
.act-check input { width: 18px; height: 18px; accent-color: #0a8c7d; cursor: pointer; }
.act-check span { display: none; }
.act-info { flex: 1; min-width: 0; }
.act-name { font-size: 13.5px; font-weight: 600; color: #1a2233; }
.act-sub { font-size: 11.5px; color: #667085; margin-top: 2px; }
.act-qty { flex: none; display: flex; align-items: center; gap: 6px; }
.act-step { width: 26px; height: 26px; padding: 0; border: 0.5px solid #d7dde7; border-radius: 6px; background: #fff; font-size: 15px; line-height: 1; cursor: pointer; color: #475467; }
.act-step:hover { background: #f4f7fb; }
.act-qty input { width: 46px; height: 28px; text-align: center; padding: 2px; border: 0.5px solid #d7dde7; border-radius: 6px; font-size: 13px; }
.act-unit { font-size: 12px; color: #98a2b3; }

/* ===== 订单详情 ===== */
.order-no-link { padding: 0; border: 0; background: none; color: var(--blue); font-weight: 800; cursor: pointer; }
.order-no-link:hover { text-decoration: underline; }
.order-act-hint { display: block; margin-top: 2px; color: #d9822b; font-size: 12px; font-weight: 700; }
/* 订单操作·纯图标按钮（加订门票/退改）——省宽度，避免整行溢出 */
.order-ico { padding: 6px 9px; font-size: 15px; line-height: 1; min-width: 0; }
.cur-ref { display: inline-block; margin-left: 4px; color: #8a94a6; font-size: 12px; font-weight: 600; }
.ticket-info { margin-bottom: 16px; }
.ti-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 16px; margin: 8px 0; }
.ti-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 0.5px solid #eef1f5; font-size: 13px; }
.ti-k { color: #8a94a6; }
.ti-v { color: #1f2b3d; font-weight: 600; text-align: right; }
.ti-child { margin-top: 8px; padding: 10px 12px; background: #f5f9ff; border-radius: 8px; }
.ti-child .ti-k { display: block; margin-bottom: 4px; }
.ti-child p { margin: 0; font-size: 13px; color: #2c3a4f; line-height: 1.6; white-space: pre-wrap; }
/* 门票卡片抽屉 */
.tc-drawer { margin-top: 4px; }
.tc-drawer > summary { list-style: none; cursor: pointer; text-align: center; padding: 8px 10px; border-radius: 8px; background: #00a5b8; color: #fff; font-size: 13px; font-weight: 600; user-select: none; }
.tc-drawer > summary::-webkit-details-marker { display: none; }
.tc-drawer > summary::after { content: " ▾"; }
.tc-drawer[open] > summary { background: #0b8c9c; }
.tc-drawer[open] > summary::after { content: " ▴"; }
.tc-detail { padding: 10px 2px 2px; }
.tc-detail .ti-grid { grid-template-columns: 1fr; gap: 0; }

/* 门票翻转卡：点整卡任意处翻面；高度按当前面内容自适应，无滚动条 */
#partnerProductCards { align-items: start; } /* 各卡按自身高度，不被同行最高卡拉伸 */
.ticket-card.tc-flip { border: none; background: transparent; overflow: visible; display: block; perspective: 1200px; cursor: pointer; }
.tc-flip-inner { position: relative; width: 100%; transition: transform .55s cubic-bezier(.4,.2,.2,1); transform-style: preserve-3d; }
.tc-flip.flipped .tc-flip-inner { transform: rotateY(180deg); }
.tc-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 0.5px solid #e3e8ef; border-radius: 12px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
/* 当前朝前的面用 relative 撑出高度（自适应），背面 absolute 叠在上面 */
.tc-front { position: relative; }
.tc-back { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotateY(180deg); padding: 12px 14px; }
.tc-flip.flipped .tc-front { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.tc-flip.flipped .tc-back { position: relative; height: auto; }
.tc-back-title { font-size: 13.5px; font-weight: 700; color: #102345; line-height: 1.4; margin-bottom: 6px; }
.tc-flip-btn { margin-top: auto; width: 100%; border: none; cursor: pointer; padding: 8px 10px; border-radius: 8px; background: #00a5b8; color: #fff; font-size: 13px; font-weight: 600; }
.tc-flip-btn:hover { background: #0b8c9c; }
.tc-flip-btn.ghost { margin-top: 8px; background: #eef2f6; color: #44546c; }
.tc-flip-btn.ghost:hover { background: #e2e8ef; }
/* 包车四步下单面板 */
#partnerCharterPanel { display: flex; flex-direction: column; gap: 6px; }
#partnerCharterPanel[hidden] { display: none; }
.partner-sidebar nav a[hidden] { display: none; }
/* 组内所有项都隐藏时整组隐藏(.nav-group 有 display:grid,会盖过 [hidden],补一条更高优先级的·如纯运营看订单组) */
.partner-sidebar .nav-group[hidden] { display: none; }
/* 下单页·已选行程摘要条 */
.cl-chosen { display: flex; align-items: center; gap: 12px; background: #e6f7f4; border: 0.5px solid #9fe1cb; border-radius: 10px; padding: 11px 14px; }
.cl-chosen.free { background: #f3f6fb; border-color: #dce4ef; }
.cl-chosen-ic { flex: none; font-size: 22px; }
.cl-chosen-main { flex: 1; min-width: 0; }
.cl-chosen-name { font-size: 15px; font-weight: 600; color: #04342c; }
.cl-chosen.free .cl-chosen-name { color: #1a2233; }
.cl-chosen-sub { font-size: 12px; color: #0f6e56; margin-top: 2px; }
.cl-chosen.free .cl-chosen-sub { color: #667085; }
.cl-chosen-change { flex: none; font-size: 12px; padding: 6px 11px; border: 0.5px solid #c4d8d2; border-radius: 8px; background: #fff; color: #0a8c7d; cursor: pointer; white-space: nowrap; }
.cl-chosen.free .cl-chosen-change { border-color: #cfd9e8; color: #00808f; }
.cl-chosen-change:hover { filter: brightness(0.97); }
/* 下单页：所选路线的逐日行程 */
.cl-chosen-itin { background: #f4faf8; border: 0.5px solid #d6ede6; border-radius: 10px; padding: 8px 12px; }
.cl-chosen-itin > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: #0a8c7d; list-style: none; }
.cl-chosen-itin > summary::-webkit-details-marker { display: none; }
.cl-chosen-itin[open] > summary { margin-bottom: 8px; }
.cl-chosen-itin-body { display: flex; flex-direction: column; gap: 5px; }
.cl-chosen-itin-body .cl-itin-day { display: flex; gap: 8px; font-size: 12.5px; color: #334; line-height: 1.5; }
.cl-chosen-itin-body .cl-itin-d { flex: 0 0 auto; min-width: 30px; font-weight: 600; color: #0a8c7d; }
.cl-chosen-itin-body .cl-itin-line { font-size: 12.5px; color: #334; line-height: 1.6; }

.cv-label { font-size: 12.5px; color: #00808f; font-weight: 800; margin: 16px 0 9px; }
.cv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 9px; }
.cv-card { border: 1.5px solid #e6ebf3; border-radius: 11px; background: #fff; padding: 11px 8px; text-align: center; cursor: pointer; transition: border-color .1s, box-shadow .1s; }
.cv-card:hover { border-color: #bcd3da; }
.cv-card.on { border-color: #00808f; background: #f0faf9; box-shadow: 0 0 0 2px rgba(0,128,143,.08); }
.cv-card.on { border: 2px solid #00a5b8; background: #eaf6f8; }
.cv-name { font-size: 13px; font-weight: 600; color: #1f2b3d; }
.cv-seat { font-size: 11px; color: #8a94a6; }
.cv-price { font-size: 13px; font-weight: 600; color: #0f6e56; margin-top: 2px; }
.cv-agr { font-size: 9.5px; color: #00808f; margin-top: 1px; }
.cv-price.cv-tbd { color: #8a94a6; font-weight: 500; }
.calc-peak-tag { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: #fde7d6; color: #a5641f; font-size: 10.5px; font-weight: 500; }
.dmc-confirm-card { border: 0.5px solid #e6ebf1; border-radius: 10px; padding: 12px 14px; font-size: 13px; color: #1a2a37; }
.dmc-confirm-card.done { background: #f2fbf8; border-color: #bfe0d3; }
.dmc-confirm-card.wait { background: #fff8ec; border-color: #f0d8a8; color: #8a5a1c; }
.dmc-confirm-card b { color: #00808f; }
/* 订单详情：4 步流程条 + Tab */
.od-steps { display: flex; margin: 6px 0 18px; }
.od-step { flex: 1; text-align: center; position: relative; }
.od-step .od-dot { width: 30px; height: 30px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; background: #fff; border: 2px solid #dbe4e2; color: #98a2b3; position: relative; z-index: 1; }
.od-step.done .od-dot { background: #00808f; border-color: #00808f; color: #fff; }
.od-step.current .od-dot { border-color: #00808f; color: #00808f; box-shadow: 0 0 0 4px #e6f4f4; }
.od-step:not(:first-child)::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: #dbe4e2; z-index: 0; }
.od-step.done::before, .od-step.current::before { background: #00808f; }
.od-slabel { font-size: 12.5px; font-weight: 600; color: #1a2a37; margin-top: 6px; }
.od-step.todo .od-slabel { color: #98a2b3; }
.od-swho { font-size: 10.5px; color: #8a94a6; }
.od-tabs { display: flex; gap: 2px; border-bottom: 1px solid #eef1f5; margin-bottom: 14px; flex-wrap: wrap; }
.od-tabs button { font-size: 13px; color: #5a6b78; padding: 8px 13px; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.od-tabs button.active { color: #00808f; font-weight: 600; border-bottom-color: #00808f; }
.od-tabbadge { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; font-size: 11px; font-weight: 800; line-height: 1; color: #fff; background: #e0a020; border-radius: 50%; vertical-align: middle; }
.od-tabbadge.ok { background: #1d8f68; }
.od-tabbadge.warn { background: transparent; color: inherit; width: auto; height: auto; font-size: 14px; }
.ptv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding: 6px 2px 14px; }
.ptv-cell.wide { grid-column: 1 / -1; }
.ptv-lab { display: block; font-size: 11px; color: #8b9a95; }
.ptv-val { display: block; font-size: 13.5px; color: #16241f; font-weight: 600; margin-top: 3px; word-break: break-word; }
.ptv-paxh { font-size: 12px; font-weight: 700; color: #16241f; margin: 6px 0 8px; }
.ptv-tw { overflow-x: auto; }
.ptv-tbl { border-collapse: collapse; width: 100%; font-size: 12.5px; }
.ptv-tbl th { background: #f6faf9; font-size: 10px; text-transform: uppercase; color: #8b9a95; font-weight: 600; text-align: left; padding: 8px 10px; border-bottom: 1px solid #dce6e3; white-space: nowrap; }
.ptv-tbl td { padding: 8px 10px; border-bottom: 1px solid #eef2f0; white-space: nowrap; }
/* 包车自由组合头部：自定义标题 + 含酒店开关 */
.charter-title-in { margin-top: 6px; width: 100%; max-width: 420px; font: inherit; font-size: 13px; color: #16241f; background: #fff; border: 1px solid #cfe0dc; border-radius: 8px; padding: 7px 10px; }
.charter-title-in:focus { outline: none; border-color: #0e7c74; box-shadow: 0 0 0 3px #d7ede9; }
.charter-hotel-seg { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.charter-hotel-seg .chs-lab { font-size: 12px; font-weight: 600; color: #566963; }
.chs-seg { display: inline-flex; border: 1px solid #cfe0dc; border-radius: 8px; overflow: hidden; background: #fff; }
.chs-seg .chs-btn { font: inherit; font-size: 12.5px; font-weight: 600; border: 0; background: #fff; color: #566963; padding: 6px 14px; cursor: pointer; }
.chs-seg .chs-btn.on { background: #0e7c74; color: #fff; }
/* 自动带出的只读字段(出行天数/结束日期)：灰掉,暗示无需手填 */
.group-date-field input { background: #eef2f2; color: #7a8783; border: 1px solid #dce6e3; cursor: default; font-weight: 600; box-shadow: none; }
.of-lab.auto { color: #7a8783; font-weight: 700; }
.auto-tag { font-size: 10px; font-weight: 700; color: #7a8783; background: #e5ebe8; border-radius: 5px; padding: 1px 6px; margin-left: 6px; }
.group-date-field input:focus { outline: none; box-shadow: none; }
.group-date-field .of-lab { color: #9aa9a3; }
.od-panel { display: none; }
.od-panel.active { display: block; }
.cr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-chip { padding: 6px 12px; font-size: 12.5px; border: 0.5px solid #d7dde7; border-radius: 999px; background: #fff; color: #44546c; cursor: pointer; }
.cr-chip.on { border: 2px solid #00a5b8; background: #eaf6f8; color: #00808f; }
.cr-days { display: flex; align-items: center; gap: 11px; font-size: 13px; color: #46536b; }
.cr-days-lb, .cr-days-unit { color: #46536b; }
.cr-stepper { display: inline-flex; align-items: center; border: 1px solid #cfd8e6; border-radius: 9px; overflow: hidden; }
.cr-step { width: 34px; height: 34px; border: none; background: #f6f8fb; color: #0a6b78; cursor: pointer; font-size: 18px; font-weight: 700; line-height: 1; }
.cr-step:hover { background: #e2f5f8; }
.cr-daysn { min-width: 42px; text-align: center; font-weight: 800; color: #243244; font-size: 15px; }
.calc-earn-fx { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: #e2f5f8; color: #00909e; font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.calc-earn-fx strong { color: #00808f; }
#partnerOrderDetailDialog { width: min(720px, calc(100vw - 24px)); }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.detail-grid > div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; }
.detail-grid > div > span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; }
.detail-grid strong { color: var(--text); font-size: 15px; }
.detail-section-title { margin: 16px 0 8px; font-size: 15px; }
.detail-total { margin-top: 10px; text-align: right; color: var(--muted); font-weight: 800; }
.detail-total strong { color: #d9822b; font-size: 16px; }

/* ===== 退改政策 / 退改申请 ===== */
.refund-policy { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #f8fbff; }
.refund-policy h4 { margin: 0 0 8px; font-size: 14px; }
.refund-policy ul { margin: 0; padding-left: 18px; }
.refund-policy li { margin: 4px 0; color: #33415c; font-size: 13px; }
.refund-policy em { font-style: normal; font-weight: 800; }
.refund-policy em.ok, .refund-result em.ok { color: #1f9d57; }
.refund-policy em.warn, .refund-result em.warn { color: #d9822b; }
.refund-policy em.danger { color: #e5484d; }
.refund-result { padding: 12px 14px; border: 1px solid #f0d2d3; border-radius: 10px; background: #fff8f8; display: grid; gap: 6px; }
.refund-result .refund-amount { color: #e5484d; font-size: 16px; }
.refund-result button { margin-top: 6px; width: fit-content; }

.bill-breakdown{display:block;margin-top:2px;color:#d9822b;font-size:11px;font-weight:700;}

.proof-link-inline{color:#00808f;font-weight:800;text-decoration:underline;}
#partnerRefundEstimate{display:block;}

/* ===== 合并付款 ===== */
.batch-bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 12px; padding: 10px 16px;
  border: 1px solid #bcd4f5; border-radius: 10px; background: #e2f5f8;
  font-weight: 700; color: #33415c;
}
.batch-bar .batch-total { color: #e5484d; font-size: 16px; }
.batch-bar .batch-actions { display: flex; gap: 10px; }
#partnerBatchSummary { display: grid; gap: 6px; max-height: 200px; overflow: auto; }
#partnerBatchSummary article { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; font-size: 13px; }
#partnerBatchSummary strong { color: #00808f; }

/* 销售人员标签（账单明细） */
.bill-sales-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e2f5f8;
  color: #4338ca;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.bill-sales-none {
  color: #9ca3af;
  font-size: 12px;
}

/* 下单结算价计算卡 */
#partnerOrderCalc strong {
  font-size: 22px;
  color: var(--blue);
}

/* 收益强调卡 */
#partnerOrderCalc.calc-earn {
  display: block;
  padding: 16px 18px;
  border: 1px solid #f7c873;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff7e6 0%, #fffdf7 55%, #fff 100%);
  box-shadow: 0 10px 26px rgba(214, 158, 46, 0.18);
}

/* —— 渠道端下单·右侧汇总「每人价」重排（散拼团 B2B）：促销 → 人数阶梯 → ①团费每人价 → ②自费每人价 → 应付合计 —— */
#partnerOrderCalc.calc-earn:has(.oc-fee) { padding: 0; border: 1px solid #f0d9ae; background: #fff; box-shadow: 0 10px 26px rgba(214, 158, 46, 0.12); overflow: hidden; }
.oc-promo { padding: 11px 15px; background: #fdf6e9; border-bottom: 1px solid #f2e2c2; }
.oc-promo-top { display: flex; align-items: center; gap: 8px; }
.oc-promo-t { font-size: 12.5px; font-weight: 800; color: #8a5510; }
.oc-promo-amt { margin-left: auto; font-size: 16px; font-weight: 800; color: #00808f; font-variant-numeric: tabular-nums; }
.oc-promo-sub { font-size: 11px; color: #a5772a; margin-top: 3px; line-height: 1.5; }
.oc-promo:not(.hot) { background: #f6f8fb; border-bottom-color: #e6ebf0; }
.oc-promo:not(.hot) .oc-promo-t { color: #5c6f77; }
.oc-promo:not(.hot) .oc-promo-sub { color: #8595a1; }
.oc-tier { padding: 11px 15px; border-bottom: 1px solid #eef1f4; }
.oc-tier-h { display: flex; align-items: center; font-size: 12.5px; }
.oc-tier-h > span { font-weight: 800; color: #1a2b33; }
.oc-tier-h .off { margin-left: auto; font-size: 11px; font-weight: 600; color: #9aa7ad; }
.oc-tier-h .on { margin-left: auto; font-size: 13px; font-weight: 800; color: #0b7355; font-variant-numeric: tabular-nums; }
.oc-accum { margin-top: 7px; }
.oc-accum:empty { display: none; }
.oc-accum .accum-hint { display: flex; align-items: center; gap: 6px; background: #f6f8fb; border: 0.5px solid #e6ebf0; border-radius: 9px; padding: 8px 11px; font-size: 11.5px; color: #5c6f77; line-height: 1.5; }
.oc-accum .accum-hint b { color: #1a2b33; }
.oc-accum .accum-hint.muted { color: #7a8794; }
.oc-fee { padding: 14px 15px; }
.oc-fee-h { font-size: 11.5px; font-weight: 800; color: #0b6e6e; margin-bottom: 11px; }
.oc-fee-cmp { display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.oc-pp { flex: 1; text-align: center; padding: 9px 6px; border-radius: 11px; }
.oc-pp.orig { background: #f4f6f9; }
.oc-pp.settle { flex: 1.15; background: #eafaf6; border: 1.5px solid #9fe1cb; }
.oc-pp-l { font-size: 11px; color: #8595a1; }
.oc-pp.settle .oc-pp-l { color: #0b6e6e; }
.oc-pp-v { font-size: 22px; font-weight: 500; color: #5c6f77; margin-top: 1px; line-height: 1; }
.oc-pp-v s { color: #8595a1; text-decoration-color: #c3ccd3; }
.oc-pp.settle .oc-pp-v { font-size: 26px; font-weight: 800; color: #00808f; }
.oc-pp-mid { flex: 0 0 auto; text-align: center; color: #0b7355; }
.oc-rate { display: inline-block; font-size: 11px; font-weight: 700; background: #e1f5ee; border-radius: 20px; padding: 2px 8px; white-space: nowrap; }
.oc-arrow { display: block; font-size: 16px; line-height: 1; margin-top: 3px; }
.oc-fee-sum { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px dashed #dce4e2; font-size: 12px; color: #5c6f77; font-variant-numeric: tabular-nums; }
.oc-fee-calc { margin-left: auto; text-align: right; }
.oc-fee-calc s { color: #9aa7ad; text-decoration-color: #cfd6dc; }
.oc-fee-calc b { color: #0b7355; }
.oc-fee-calc b.hi { color: #00808f; font-size: 14px; }
.oc-act { padding: 12px 15px; border-top: 6px solid #f4f7f9; }
.oc-act-h { font-size: 11.5px; font-weight: 800; color: #0b6e6e; margin-bottom: 8px; }
.oc-act-row { display: flex; align-items: center; padding: 4px 0; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.oc-act-nm { color: #1a2b33; min-width: 0; overflow-wrap: anywhere; }
.oc-act-eur { font-size: 11px; color: #9aa7ad; font-weight: 400; white-space: nowrap; }
.oc-act-pp { margin-left: auto; font-weight: 700; color: #1a2b33; white-space: nowrap; }
.oc-act-pp em { font-size: 10px; color: #9aa7ad; font-weight: 400; font-style: normal; }
.oc-act-tot { width: 78px; text-align: right; color: #9aa7ad; font-size: 11px; white-space: nowrap; }
.oc-act-row.sub { margin-top: 4px; padding-top: 8px; border-top: 1px dashed #dce4e2; }
.oc-act-row.sub .oc-act-nm { font-weight: 700; color: #0b6e6e; }
.oc-act-row.sub .oc-act-pp { color: #00808f; font-size: 15px; }
.oc-grand { display: flex; align-items: baseline; padding: 14px 15px; background: #f0faf8; border-top: 1px solid #dcefeb; }
.oc-grand-t { font-size: 12.5px; font-weight: 800; color: #0b6e6e; }
.oc-grand-sub { font-size: 11px; color: #5a8079; font-variant-numeric: tabular-nums; margin-top: 2px; }
.oc-grand-r { margin-left: auto; text-align: right; }
.oc-grand-amt { font-size: 28px; font-weight: 800; color: #00808f; font-variant-numeric: tabular-nums; line-height: 1; }
.oc-grand-pp { font-size: 11.5px; color: #6a8f88; font-variant-numeric: tabular-nums; margin-top: 3px; }

.calc-earn .calc-earn-eyebrow {
  color: #9a6a00;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.calc-earn .calc-earn-amount {
  margin: 4px 0 12px;
  color: #d97706;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.calc-earn .calc-earn-lines {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* 团期奖励日历(我的佣金) */
.cc-wrap { display: grid; grid-template-columns: 1fr 290px; gap: 14px; margin: 4px 0 18px; }
.cc-cal { background: #fff; border: 1px solid #e6ecf3; border-radius: 12px; padding: 12px; }
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.cc-mth { display: flex; align-items: center; gap: 10px; }
.cc-mth b { font-size: 16px; min-width: 104px; text-align: center; font-variant-numeric: tabular-nums; }
.cc-mth button { width: 30px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid #e6ecf3; background: #fff; cursor: pointer; font-size: 17px; line-height: 1; color: #64748b; transition: border-color .12s, color .12s, background .12s; }
.cc-mth button:hover { border-color: #0d8b96; color: #0d8b96; background: #f0faf8; }
.cc-legend { display: flex; gap: 10px; font-size: 11px; color: #64748b; flex-wrap: wrap; }
.cc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 3px; vertical-align: -1px; }
.cc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cc-dow { text-align: center; font-size: 11px; color: #94a3b8; font-weight: 600; padding: 3px 0; }
.cc-cell { min-height: 82px; border: 1px solid #e6ecf3; border-radius: 8px; padding: 5px 6px; background: #fcfdfe; display: flex; flex-direction: column; gap: 2px; }
.cc-cell.cc-empty { background: transparent; border: 0; min-height: 0; }
.cc-dnum { font-size: 11.5px; color: #94a3b8; font-weight: 600; }
.cc-cell.cc-hot { background: #fdeee7; border-color: #f2c3ad; }
.cc-cell.cc-warm { background: #fdf4e6; border-color: #efd8a8; }
.cc-cell.cc-ok { background: #e3f5ef; border-color: #b6e2d3; }
.cc-cell.cc-max { background: #eef6f2; border-color: #bfe0d0; }
.cc-cell.cc-low2 { background: #f7f9fb; border-color: #eef2f7; }
.cc-flame { font-size: 10px; font-weight: 700; color: #fff; background: #e0562a; border-radius: 5px; padding: 1px 5px; align-self: flex-start; }
.cc-flame.w { background: #d98a1e; }
.cc-maxtag { font-size: 10px; font-weight: 700; color: #0b7355; align-self: flex-start; }
.cc-ppl { font-size: 12px; font-weight: 700; color: #0f172a; }
.cc-more { font-size: 10px; color: #64748b; font-weight: 600; margin-left: 3px; }
.cc-bonus { font-size: 12.5px; font-weight: 750; color: #0b7355; }
.cc-bonus.none { color: #94a3b8; font-weight: 600; font-size: 11px; }
.cc-nxt { font-size: 10px; line-height: 1.3; color: #64748b; }
.cc-nxt b { color: #e0562a; }
.cc-side { display: flex; flex-direction: column; gap: 12px; }
.cc-panel { background: #fff; border: 1px solid #e6ecf3; border-radius: 12px; padding: 13px 15px; }
.cc-panel h4 { margin: 0 0 3px; font-size: 14px; }
.cc-panel .cc-sub { font-size: 11px; color: #94a3b8; margin-bottom: 9px; }
.cc-panel.cc-ov { background: #f0f9f8; border-color: #bfe3d8; font-size: 12.5px; color: #334155; line-height: 1.9; }
.cc-panel.cc-ov h4 { color: #0a6b78; }
.cc-push { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px dashed #eef2f7; }
.cc-push:last-child { border-bottom: 0; }
.cc-pd { width: 42px; height: 38px; border-radius: 8px; background: #fdeee7; color: #e0562a; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; font-weight: 750; font-size: 12px; line-height: 1.05; }
.cc-pd small { font-size: 9px; font-weight: 600; opacity: .8; }
.cc-push.w .cc-pd { background: #fdf4e6; color: #d98a1e; }
.cc-pt { flex: 1; font-size: 11.5px; line-height: 1.4; color: #64748b; }
.cc-pt b { color: #0f172a; }
.cc-pv { text-align: right; font-size: 13px; font-weight: 750; color: #e0562a; white-space: nowrap; }
.cc-push.w .cc-pv { color: #d98a1e; }
@media (max-width: 820px) { .cc-wrap { grid-template-columns: 1fr; } }
.cc-cell.cc-click { cursor: pointer; transition: transform .1s, box-shadow .1s; }
.cc-cell.cc-click:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(15,23,42,.1); }
.cc-drawer-ov { position: fixed; inset: 0; background: rgba(15,23,42,.42); z-index: 9000; display: flex; justify-content: flex-end; }
.cc-drawer { width: min(560px, 94vw); height: 100%; background: #fff; box-shadow: -6px 0 24px rgba(0,0,0,.14); display: flex; flex-direction: column; animation: ccSlide .18s ease; }
@keyframes ccSlide { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.cc-drawer-h { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid #eef2f7; font-size: 15px; }
.cc-drawer-x { width: 30px; height: 30px; border: 0; background: #f1f4f8; border-radius: 8px; font-size: 18px; cursor: pointer; color: #64748b; }
.cc-drawer-b { padding: 16px 18px; overflow-y: auto; }
.cc-dblock { margin-bottom: 18px; }
.cc-dtitle { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.cc-dsum { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #46536b; margin-bottom: 4px; }
.cc-dnext { font-size: 12.5px; background: #fdf4e6; border: 1px solid #efd8a8; border-radius: 8px; padding: 8px 11px; color: #46536b; }
.cc-dtbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cc-dtbl th { text-align: left; color: #8593a4; font-weight: 600; font-size: 11px; padding: 6px 8px; border-bottom: 1px solid #eef2f7; white-space: nowrap; }
.cc-dtbl th.num, .cc-dtbl td.num { text-align: right; }
.cc-dtbl td { padding: 8px; border-bottom: 1px solid #f4f6f9; }
.accum-hint {
  margin: 8px 12px 0;
  padding: 9px 12px;
  background: #eef7f4;
  border: 1px solid #bfe3d8;
  border-radius: 9px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #0f6e56;
}
.accum-hint.muted { background: #f5f7fa; border-color: #e6ecf3; color: #64748b; }
.calc-earn .calc-earn-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 2px 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #fbe3b3;
}

.calc-earn .calc-earn-row > span {
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
}

.calc-earn .calc-earn-row > strong {
  color: #d97706;
  font-size: 18px;
  font-weight: 900;
}

.calc-earn .calc-earn-row > small {
  grid-column: 1 / -1;
  color: #94a3b8;
  font-size: 12px;
}

.calc-earn .calc-earn-row.bonus {
  border-color: #ddd6fe;
  background: rgba(245, 243, 255, 0.85);
}

.calc-earn .calc-earn-row.bonus > strong {
  color: #7c3aed;
}

.calc-earn .calc-earn-row.muted > strong {
  color: #cbd5e1;
}

/* 本单促销并入返佣行：标题红橙强调（卡整体仍是黄色布局；小字不做红色重点） */
.calc-earn .calc-earn-row.has-promo > span { color: #c2410c; }
.calc-earn .calc-earn-row.has-promo > strong { color: #c2410c; } /* 金额与促销文字同色 */

.calc-earn .calc-earn-foot {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed #f0cf8f;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.calc-earn .calc-earn-foot > strong {
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.calc-earn .calc-earn-foot > small {
  color: #94a3b8;
  font-weight: 600;
}

/* 输入框内货币符号 */
.amount-field {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.amount-field:focus-within {
  border-color: var(--blue);
}
.amount-field .amount-currency {
  color: var(--text);
  font-weight: 800;
}
.amount-field input {
  flex: 1;
  min-width: 0;
  margin: 0;
  border: none;
  background: transparent;
  outline: none;
  padding-left: 2px;
}

/* 订单费用构成（财务核对）—— 分组结构化 */
.cost-breakdown {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}
.cost-group {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.cost-grand,
.cost-foot {
  grid-column: 1 / -1;
}
@media (max-width: 760px) {
  .cost-breakdown {
    grid-template-columns: 1fr;
  }
}
.cost-group-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 16px;
  background: #e2f5f8;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
  color: var(--text);
}
.cost-group-head small {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}
.cost-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(96px, auto);
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid #f1f5fb;
}
.cost-line:first-of-type {
  border-top: none;
}
.cost-line .cost-label {
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
}
.cost-line .cost-calc {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}
.cost-line strong {
  text-align: right;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
}
.cost-line.sub .cost-label {
  padding-left: 12px;
  font-weight: 600;
  color: #475569;
}
.cost-line.sub.empty .cost-label {
  color: var(--muted);
}
.cost-line.minus strong {
  color: #16a34a;
}
.cost-line.eq {
  background: #f6f9fe;
  border-top: 1px dashed #d6e2f4;
}
.cost-line.eq .cost-label {
  font-weight: 900;
}
.cost-line.eq strong {
  color: var(--blue);
  font-size: 16px;
}
/* 包车含酒店·成本明细录入(销售录·OP查看) */
.cc-panel { margin: 10px 14px 6px; border: 1px solid #e3ebf6; border-radius: 12px; background: #fbfdff; overflow: hidden; }
.cc-h { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 800; color: #334155; background: #f2f7fd; border-bottom: 1px solid #e6eef8; }
.cc-tag { margin-left: auto; font-size: 11px; font-weight: 700; color: #0e7c86; background: #e3f6f8; border: 1px solid #bde8ec; border-radius: 999px; padding: 2px 9px; }
.cc-sumtags { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-left: 10px; }
.cc-st-tag { font-size: 13px; font-weight: 800; border-radius: 8px; padding: 3px 10px; white-space: nowrap; border: 1px solid transparent; }
.cc-st-tag.car { background: #e8f1fd; color: #1b5fa8; border-color: #c7dcf5; }
.cc-st-tag.htl { background: #f1edfd; color: #5a3fb5; border-color: #dcd2f7; }
.cc-st-tag.oth { background: #fdf1e3; color: #9a5b08; border-color: #f2d9b4; }
.cc-st-tag.off { background: #f3f5f7; color: #a7b1bb; border-color: #e3e8ec; font-weight: 600; }
.cc-hint { padding: 8px 14px; font-size: 12px; line-height: 1.5; color: #64748b; background: #fbfdff; }
.cc-sub { padding: 4px 12px 12px; }
.cc-sub-car { background: #fbfcff; }
.cc-sub-hotel { background: #fdfbff; border-top: 1px dashed #e6eef8; }
.cc-sub-other { background: #fbfffb; border-top: 1px dashed #e6eef8; }
.cc-r.cc-other { grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1fr) 26px; }
.cost-line.cc-sumhead { background: #f2f7fd; border-top: 1px dashed #d6e2f4; }
.cost-line.cc-sumhead .cost-label { color: #0e6a72; font-weight: 800; }
.cost-calc.cc-jump { border: 0; background: none; font: inherit; color: #0e7c86; cursor: pointer; padding: 0; white-space: nowrap; }
.cost-calc.cc-jump:hover { text-decoration: underline; }
.cost-line.od-payacct { grid-template-columns: minmax(0, auto) 1fr; }
.cost-line.od-payacct strong { white-space: normal; text-align: right; font-weight: 600; word-break: break-all; }
.cost-line.od-payact { grid-template-columns: 1fr auto; align-items: center; gap: 10px; background: #f6fbfa; }
.od-paystat { font-size: 12.5px; font-weight: 700; color: #8b9a95; }
.od-paystat.wait { color: #0e7c86; }
.od-paystat.done { color: #157f56; }
.od-paybtns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.od-paybtn { font-size: 12px; padding: 7px 13px; white-space: nowrap; }
.cc-sub-h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; color: #3f4c5f; padding: 8px 2px 6px; }
.cc-st { margin-left: auto; font-size: 12px; font-weight: 800; color: #0e7c86; font-variant-numeric: tabular-nums; }
.cc-curtog { display: inline-flex; border: 1px solid #cfe0dc; border-radius: 7px; overflow: hidden; }
.cc-curbtn { border: 0; background: #fff; color: #7c8aa3; font-size: 12px; font-weight: 700; padding: 3px 10px; cursor: pointer; }
.cc-curbtn.on { background: #0d8b96; color: #fff; }
.cc-eurnote { font-size: 11px; color: #8a5a12; background: #fff8ec; border: 1px solid #f2dcae; border-radius: 7px; padding: 5px 9px; margin: 0 2px 8px; font-weight: 500; line-height: 1.6; }
.cc-r { display: grid; gap: 6px; align-items: center; margin-bottom: 6px; }
.cc-r.cc-car { grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1fr) 26px; }
.cc-r.cc-hotel { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 0.6fr) minmax(0, 1fr) 26px; }
.cc-ro { display: flex; align-items: center; padding: 7px 9px; font-size: 12px; color: #566963; background: #eef4f2; border: 1px solid #dfe9e6; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-ro-area { color: #0e6a72; font-weight: 600; }
.cc-ro-room { color: #0e6a72; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-r.cc-hotel.cc-head span:first-child, .cc-r.cc-hotel.cc-head span:nth-child(2) { color: #0e7c86; }
.cc-r.cc-head { margin-bottom: 4px; font-size: 11px; font-weight: 700; color: #94a3b8; }
.cc-r.cc-head span { padding: 0 4px; }
.cc-in { width: 100%; box-sizing: border-box; padding: 7px 9px; border: 1px solid #dbe4f0; border-radius: 8px; font-size: 13px; background: #fff; color: var(--text); }
.cc-in:focus { outline: none; border-color: #6fb3bb; box-shadow: 0 0 0 3px rgba(14, 124, 134, 0.12); }
.cc-in.num { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; background: #f6fbfc; }
.cc-del { width: 26px; height: 30px; border: 1px solid #f0d6d6; background: #fff5f5; color: #c0392b; border-radius: 8px; cursor: pointer; font-size: 12px; line-height: 1; }
.cc-del:hover { background: #ffe9e9; }
.cc-empty { padding: 8px 4px; font-size: 12px; color: #94a3b8; }
.cc-add { margin-top: 2px; padding: 7px 12px; border: 1px dashed #b9cbe4; background: #fff; color: #2563a6; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; }
.cc-add:hover { background: #f2f7fd; border-color: #7fa8d8; }
.cc-save-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f2f7fd; border-top: 1px solid #e6eef8; }
.cc-save { padding: 8px 16px; border: none; border-radius: 8px; background: linear-gradient(135deg, #00808f, #00a0b0); color: #fff; font-weight: 800; font-size: 13px; cursor: pointer; }
.cc-save:disabled { opacity: 0.6; cursor: default; }
.cc-savemsg { font-size: 12px; font-weight: 700; }
.cost-line strong.cc-guid { color: #0e7c86; }

.cost-grand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00808f, #00909e);
  color: #fff;
}
.cost-grand span {
  font-weight: 900;
  font-size: 15px;
}
.cost-grand span small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 12px;
}
.cost-grand strong {
  font-size: 26px;
  font-weight: 900;
}
.cost-foot {
  padding: 2px 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.cost-foot .cost-bonus {
  color: #7c3aed;
  font-weight: 700;
}
.detail-pay-btn {
  width: 100%;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  padding: 11px;
}
.order-form-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* 下单表单占位提示文字更浅(辅助文字·不抢眼) */
#partnerOrderForm input::placeholder,
#partnerOrderForm textarea::placeholder {
  color: #c3cbd6;
  opacity: 1; /* Firefox 默认给 placeholder 降透明度,显式设回避免叠加变更浅 */
}
.order-form-title h3 {
  margin: 0;
}
.order-form-title span {
  margin-left: auto;
}
.order-form-back {
  font-size: 13px;
  padding: 5px 11px;
  flex: none;
}

/* 产品管理 主从布局 */
.material-product-item .mp-price {
  font-weight: 800;
  font-size: 13px;
  color: var(--blue);
  white-space: nowrap;
}
.prod-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.prod-detail-info h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.prod-detail-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}
.prod-detail-meta strong {
  color: var(--blue);
}
.prod-detail-actions {
  display: flex;
  gap: 8px;
  flex: none;
}
.material-detail .inventory-panel {
  margin-top: 8px;
  border: none;
  padding: 0;
}
.material-detail .inventory-calendar {
  max-width: 100%;
}

/* 产品卡片网格 */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.prod-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.prod-card:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(4, 22, 61, 0.12);
  transform: translateY(-2px);
}
.prod-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #00909e, #38bdf8);
  color: #fff;
}
.prod-card-top.promo {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}
.prod-card-code {
  font-weight: 900;
  font-size: 14px;
}
.prod-card-promo {
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
}
.prod-card-body {
  display: grid;
  gap: 6px;
  padding: 12px 14px 14px;
}
.prod-card-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.prod-card-tags {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.prod-card-price {
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}
.prod-card-price small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.prod-card-months {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

/* 拼房广场卡片 */
.roommate-card.matched {
  opacity: 0.85;
  background: #f3fbf6;
}
.roommate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
/* 发布拼房：国家标签行 + 产品提示 */
.rm-country-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.rm-country-chip { font-size: 13px; padding: 7px 15px; border-radius: 999px; background: #fff; color: #667085; border: 1px solid #d0d5dd; cursor: pointer; transition: all .15s; }
.rm-country-chip:hover { border-color: #00909e; color: #00808f; }
.rm-country-chip.on { background: #00909e; color: #fff; border-color: #00909e; }
.rm-prod-hint { font-weight: 400; color: #98a2b3; font-size: 12px; }
/* 发布拼房·产品搜索直选 */
.rm-publisher { display: inline-block; margin-top: 6px; font-size: 12px; color: #0b7285; background: #e6fcf5; border: 1px solid #b6ecdf; border-radius: 6px; padding: 2px 9px; }
.rm-publisher b { font-weight: 700; }
.rm-prodpick { margin-top: 4px; }
.rm-prodpick-search { position: relative; }
.rm-prodpick-ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-size: 13px; color: #98a2b3; pointer-events: none; }
#rmProdSearch { width: 100%; padding: 9px 12px 9px 32px; border: 1px solid #d0d5dd; border-radius: 8px; font-size: 13px; box-sizing: border-box; }
#rmProdSearch:focus { outline: none; border-color: #0f9d8f; box-shadow: 0 0 0 2px rgba(15,157,143,.15); }
.rm-prodpick-list { margin-top: 8px; }
.rm-prod-lab { font-size: 11.5px; color: #98a2b3; margin: 6px 0 5px; }
.rm-prod-lab.dim { border-top: 1px solid #eef1f6; padding-top: 8px; margin-top: 10px; }
.rm-prod-scroll { max-height: 210px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.rm-prodpick-list > .rm-prod-row { margin-bottom: 6px; }
.rm-prod-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 9px 11px; border: 1px solid #e6e8ee; border-radius: 8px; background: #fff; cursor: pointer; transition: border-color .12s, background .12s; }
.rm-prod-row:hover { border-color: #0f9d8f; background: #f4fdfb; }
.rm-prod-row.on { border-color: #0f9d8f; background: #e6fcf5; }
.rm-prod-main { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.rm-prod-code { font-family: 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 12px; color: #0b7285; flex: none; }
.rm-prod-nm { font-size: 13px; color: #1f2a3d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm-prod-ck { color: #0f9d8f; font-weight: 700; flex: none; }
.rm-prod-recent { font-size: 10.5px; color: #b45309; background: #fef3e2; border-radius: 5px; padding: 1px 6px; flex: none; }
.rm-prod-empty { font-size: 12.5px; color: #98a2b3; padding: 10px 4px; }
.roommate-gender {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}
.roommate-female { background: #ec4899; }
.roommate-male { background: #00909e; }
.roommate-mine {
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  background: #e2f5f8;
  padding: 2px 8px;
  border-radius: 999px;
}
.roommate-note {
  margin: 6px 0;
  color: #5c6f8e;
  font-size: 13px;
  line-height: 1.5;
}
.roommate-action {
  margin-top: 10px;
}
.roommate-action .primary,
.roommate-action .ghost {
  width: 100%;
}
.roommate-done {
  text-align: center;
  font-weight: 800;
  color: var(--green);
  padding: 8px;
  background: #e7f7ee;
  border-radius: 8px;
}
.roommate-ordered {
  text-align: center;
  font-weight: 800;
  color: #5c6f8e;
  padding: 8px;
  background: #eef1f6;
  border-radius: 8px;
}
.roommate-ordered.done { color: #1d6b2f; background: #e7f6ec; }
.roommate-ordered.rm-open { cursor: pointer; transition: background .15s; }
.roommate-ordered.rm-open:hover { background: #d6efdd; }
.roommate-ordered .rm-open-cta { font-weight: 600; margin-left: 4px; opacity: .85; }
.rm-pay-btn { width: 100%; }

/* —— 拼房广场 v2：AI 找拼 + 按月分组 + 性别染色日期块 —— */
.rm-ai-bar { display: flex; align-items: center; gap: 8px; background: #faf7ff; border: 1px solid #e5dbfa; border-radius: 10px; padding: 9px 12px; margin: 4px 0 8px; }
.rm-ai-new { flex: 0 0 auto; height: 36px; padding: 0 14px; white-space: nowrap; margin: 0; }
.rm-ai-label { flex: 0 0 auto; font-size: 12.5px; color: #7048e8; font-weight: 700; white-space: nowrap; }
.rm-ai-input { flex: 1 1 auto; min-width: 0; height: 36px; border: 1px solid #dbe3ee; border-radius: 8px; padding: 0 12px; font-size: 13px; }
.rm-ai-btn { flex: 0 0 auto; height: 36px; border: 0; border-radius: 8px; background: #7048e8; color: #fff; font-size: 13px; font-weight: 600; padding: 0 16px; cursor: pointer; white-space: nowrap; }
.rm-ai-btn:hover { background: #5f3dc4; }
.rm-ai-result { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; margin: 0 0 10px; }
.rm-ai-hint, .rm-ai-n { color: #98a2b3; }
.rm-chip { border-radius: 999px; padding: 3px 10px; background: #f1f3f5; color: #495057; }
.rm-chip-mo { background: #f3f0ff; color: #5f3dc4; }
.rm-chip-f { background: #fce4ec; color: #a61e4d; }
.rm-chip-m { background: #e7f5ff; color: #1864ab; }
.rm-chip-rg { background: #e6fcf5; color: #0b7285; }
.rm-chip-ty { background: #fff9db; color: #a67c00; }
.rm-ai-clear { color: #98a2b3; cursor: pointer; text-decoration: underline; margin-left: 6px; }
.rm-hit-head { font-size: 13px; font-weight: 700; color: #5f3dc4; margin: 2px 0 10px; }
.rm-rest-head { font-size: 12px; color: #98a2b3; margin: 16px 0 8px; border-top: 1px dashed #e3e9f2; padding-top: 12px; }
.rm-board { display: block; }
/* 营销端 · 公寓资源照片 */
.papt-photos { border: 0.5px solid #e6ecf3; border-radius: 12px; padding: 12px 14px; margin: 8px 0 12px; background: #fafcfe; }
.papt-phsec { margin-bottom: 12px; }
.papt-phsec:last-child { margin-bottom: 0; }
.papt-phh { font-size: 13px; font-weight: 600; margin-bottom: 8px; color: #1f2a3d; }
.papt-phgrid { display: flex; flex-wrap: wrap; gap: 8px; }
.papt-phgrid a { width: 108px; height: 80px; border-radius: 8px; overflow: hidden; border: 0.5px solid #e0e6ed; display: block; }
.papt-phgrid img { width: 100%; height: 100%; object-fit: cover; display: block; }
#paptReserveDialog { border: none; border-radius: 14px; padding: 20px 22px; width: 340px; max-width: 92vw; box-shadow: 0 20px 60px rgba(15,23,42,0.25); }
#paptReserveDialog::backdrop { background: rgba(15,23,42,0.35); }
#paptReserveDialog label { font-size: 13px; color: #4a5b70; }
#paptReserveDialog input, #paptReserveDialog select { border: 1px solid #d4ddec; border-radius: 8px; padding: 0 10px; box-sizing: border-box; margin-top: 4px; }
.papt-dd { border: 0.5px solid #dbe3ee; border-radius: 10px; padding: 10px 14px; margin: 8px 0; background: #fff; }
.papt-dd-h { font-size: 13px; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.papt-dd-close { margin-left: auto; border: none; background: #f1f5f9; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 1; }
.papt-dd-close:hover { background: #e2e8f0; }
.papt-dd-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 5px 0; border-top: 0.5px solid #eef2f7; }
.papt-dd-room { color: #64748b; white-space: nowrap; font-weight: 500; }
.rm-month { margin-bottom: 16px; }
.rm-month-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #0a2540; margin: 0 0 9px; }
.rm-month-n { background: #eef2f7; color: #66707f; border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 600; }
.rm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.rm-card { display: flex; align-items: stretch; border: 1px solid #e7edf5; border-radius: 12px; background: #fff; overflow: hidden; }
/* 拼房广场·大盘新增提示（看过一次即清零，不常驻） */
.rm-new-banner { background: #fff8ee; border: 1px solid #f0c98a; border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; font-size: 12px; color: #8a5a12; }
.rm-new-banner b { color: #c2410c; }
.rm-card.rm-new { position: relative; border-color: #e79b3c; box-shadow: 0 0 0 3px rgba(231, 155, 60, 0.14); }
.rm-new-tag { position: absolute; top: 6px; right: 6px; z-index: 2; background: #e24b4a; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; border-radius: 5px; padding: 3px 6px; }
/* 我发布的·刚被拼上：醒目横幅 + 卡片高亮 + 标 */
.rm-matched-banner { display: flex; align-items: flex-start; gap: 10px; background: #e6fcf5; border: 1px solid #7fd8c6; border-radius: 12px; padding: 11px 13px; margin-bottom: 14px; }
.rm-matched-banner .rmb-ic { font-size: 19px; line-height: 1.3; flex: none; }
.rm-matched-banner .rmb-tx { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.rm-matched-banner .rmb-tx b { font-size: 13.5px; color: #0b7285; font-weight: 700; }
.rm-matched-banner .rmb-tx span { font-size: 12px; color: #4a6b66; }
.rm-matched-banner .rmb-x { flex: none; align-self: center; background: #0f9d8f; color: #fff; border: none; border-radius: 7px; padding: 6px 13px; font-size: 12px; font-weight: 600; cursor: pointer; }
.rm-matched-banner .rmb-x:hover { background: #0c8578; }
.rm-card.rm-justmatched { border-color: #0f9d8f; box-shadow: 0 0 0 3px rgba(15, 157, 143, 0.16); }
.rm-justmatched-tag { background: #0f9d8f; color: #fff; font-size: 10.5px; font-weight: 700; border-radius: 5px; padding: 2px 7px; }
/* 订单录入页·拼房订单横幅 */
.rm-order-banner { display: flex; align-items: flex-start; gap: 10px; background: #e6fcf5; border: 1px solid #7fd8c6; border-radius: 12px; padding: 11px 14px; margin-bottom: 14px; }
.rm-order-banner[hidden] { display: none; }
.rm-order-banner .rmo-ic { font-size: 20px; line-height: 1.2; flex: none; }
.rm-order-banner .rmo-tx { display: flex; flex-direction: column; gap: 2px; }
.rm-order-banner .rmo-tx b { font-size: 13.5px; color: #0b7285; font-weight: 700; }
.rm-order-banner .rmo-tx span { font-size: 12px; color: #43635e; line-height: 1.5; }
.rm-order-banner .rmo-tx span b { color: #0b7285; font-weight: 700; }

/* 拼房成功·付款倒计时提示 */
.rm-pay { font-size: 11px; color: #8a5a12; background: #fff8ec; border: 1px solid #f2dcae; border-radius: 7px; padding: 5px 8px; margin: 6px 0 2px; line-height: 1.5; }
.rm-pay b { color: #c2410c; }
.rm-pay.over { color: #993c1d; background: #fdf0eb; border-color: #f0c4b3; }
.rm-pay.locked { color: #0f6e56; background: #e8f6f0; border-color: #bfe0d9; }
.rm-pay.locked b { color: #0f6e56; }
.rm-pay.mine-paid { color: #1d6b2f; background: #e7f6ec; border-color: #b6ddc2; }

/* 订单录入·关键项突出（产品标题 / 出行日期 / 人数） */
.of-lab { display: flex; align-items: center; gap: 6px; color: #0a6b78; font-weight: 800; }
.of-key-tag { font-size: 10px; font-weight: 700; color: #fff; background: #0f9d8f; border-radius: 5px; padding: 1px 7px; }
.form-grid label.of-key > input, .form-grid label.of-key .date-range-input { border: 1.5px solid #0f9d8f; background: #f0f9f6; box-shadow: 0 0 0 3px rgba(15,157,143,.10); }
.form-grid label.of-key > input:focus, .form-grid label.of-key .date-range-input:focus { box-shadow: 0 0 0 3px rgba(15,157,143,.22); outline: none; }

/* B2C 销售·查看双方订单 */
.rm-sales-orders { margin-top: 6px; font-size: 11.5px; color: #0a6b78; background: none; border: 1px dashed #bfe0d9; border-radius: 7px; padding: 4px 10px; cursor: pointer; }
.rm-sales-orders:hover { background: #f0f9f6; }
.rm-so-party { border: 1px solid #e6e8ee; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.rm-so-role { font-size: 12px; font-weight: 700; color: #0a6b78; margin-bottom: 4px; }
.rm-so-line { font-size: 13px; color: #1a2233; }
.rm-so-sub { font-size: 11.5px; color: #667085; margin-top: 3px; }

/* 拼房规则 · 小标识 + 说明弹窗 */
.rm-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rm-rules-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #0a6b78; background: #e6f4f1; border: 1px solid #bfe0d9; border-radius: 999px; padding: 5px 13px; cursor: pointer; }
.rm-rules-btn:hover { background: #d9efe9; }
.rm-rules-dialog { border: none; border-radius: 16px; padding: 0; max-width: 520px; width: 92vw; box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.rm-rules-dialog::backdrop { background: rgba(20,30,40,.45); }
.rm-rules-head { background: #0a6b78; color: #fff; padding: 14px 18px; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.rm-rules-x { background: rgba(255,255,255,.2); border: none; color: #fff; width: 28px; height: 28px; border-radius: 50%; font-size: 18px; cursor: pointer; line-height: 1; flex: none; display: flex; align-items: center; justify-content: center; padding: 0; }
.rm-rules-x:hover { background: rgba(255,255,255,.32); }
.rm-rules-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.rm-rule-step { display: flex; gap: 12px; }
.rm-rule-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #e6f4f1; color: #0a6b78; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.rm-rule-t { font-weight: 700; font-size: 14px; color: #1a2233; }
.rm-rule-s { font-size: 12.5px; color: #566173; line-height: 1.65; margin-top: 2px; }
.rm-rule-hl { color: #993c1d; }
.rm-rules-foot { font-size: 12px; color: #566173; background: #f6f9fc; padding: 10px 18px; line-height: 1.6; }
.rm-rules-actions { padding: 12px 18px 16px; text-align: right; }
.rm-date { flex: 0 0 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.rm-f .rm-date { background: #fce4ec; }
.rm-m .rm-date { background: #e7f5ff; }
.rm-mo { font-size: 11px; }
.rm-day { font-size: 22px; font-weight: 800; line-height: 1; }
.rm-f .rm-mo, .rm-f .rm-day { color: #a61e4d; }
.rm-m .rm-mo, .rm-m .rm-day { color: #1864ab; }
.rm-body { flex: 1 1 auto; min-width: 0; padding: 10px 12px; }
.rm-tagrow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 5px; }
.rm-gender { border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap; }
.rm-f .rm-gender { background: #f06595; }
.rm-m .rm-gender { background: #4dabf7; }
.rm-region { background: #e6fcf5; color: #0b7285; border-radius: 6px; padding: 2px 7px; font-size: 11px; }
.rm-mine { background: #eef2ff; color: #3b5bdb; border-radius: 6px; padding: 2px 7px; font-size: 11px; }
.rm-sales-tag { background: #e6fcf5; color: #0b7285; border: 1px solid #b6ecdf; border-radius: 6px; padding: 2px 7px; font-size: 11px; font-weight: 700; margin-left: 4px; }
.rm-st { margin-left: auto; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.rm-st-open { background: #fff4e6; color: #e8590c; }
.rm-st-lockpay { background: #fdeee6; color: #c2410c; }
.rm-st-done { background: #ebfbee; color: #2b8a3e; }
.rm-title { font-size: 13px; font-weight: 600; color: #071b42; line-height: 1.35; }
.rm-meta { font-size: 11px; color: #98a2b3; margin-top: 4px; }
.rm-action { margin-top: 8px; text-align: right; }
.rm-action .primary, .rm-action .ghost { width: 100%; }
/* 我要拼：低调描边小按钮，右下角对齐，悬停才填色（不再整条实心抢视觉） */
.rm-join { display: inline-block; font-size: 12px; padding: 5px 16px; border: 1px solid #d5e8e3; color: #4a8f84; background: transparent; border-radius: 8px; font-weight: 600; cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
.rm-join:hover { background: #0f9d8f; border-color: #0f9d8f; color: #fff; }
.rm-join:active { transform: scale(0.98); }
/* 拼房成功后「我不想拼了」退出按钮:次要、低调，放在「去下单」下方 */
.rm-leave { display: block; width: 100%; margin-top: 6px; font-size: 12px; padding: 6px 12px; border: 1px solid #e6d3d3; color: #a05252; background: transparent; border-radius: 8px; font-weight: 600; cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
.rm-leave:hover { background: #fdecec; border-color: #e0b4b4; color: #b0392c; }
.rm-leave:active { transform: scale(0.98); }
.rm-hit { border: 2px solid #cc5de8; box-shadow: 0 0 0 3px #f8f0fc; }
.rm-dim { opacity: 0.5; }
@media (max-width: 560px) { .rm-ai-bar { flex-wrap: wrap; } .rm-ai-input { flex-basis: 100%; order: 3; } }

/* 拼房广场 · 视图控制条（卡片 / 日历 + 区域 + 翻月） */
.rm-ctrl { margin-bottom: 14px; }
.rm-ctrl-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.rm-viewtoggle { display: inline-flex; background: #eef2f7; border-radius: 10px; padding: 3px; }
.rm-viewtoggle button { font-size: 13px; padding: 6px 14px; border-radius: 8px; border: none; background: none; color: #66707f; cursor: pointer; }
.rm-viewtoggle button.active { background: #0f9d8f; color: #fff; font-weight: 700; }
.rm-monthnav { display: inline-flex; align-items: center; gap: 10px; }
.rm-monthnav b { font-size: 14px; font-weight: 700; color: #0a2540; }
.rm-monthnav button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid #e7edf5; background: #fff; font-size: 16px; line-height: 1; cursor: pointer; color: #66707f; }
.rm-monthnav button:hover { background: #f1f5f9; }
.rm-legend { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; color: #66707f; margin-left: auto; }
.rm-legend span { display: inline-flex; align-items: center; gap: 4px; }
.rm-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.rm-regionbar { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.rm-chip { border: none; border-radius: 999px; padding: 5px 13px; font-size: 12px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; }
/* 归属 chips（左）+ 区域 chips（右对齐）同一行 */
.rm-filterrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.rm-filterrow .rm-regionbar { margin-left: auto; justify-content: flex-end; }
/* 拼房归属筛选:全部 / 我的拼房 / 我拼成功的 */
.rm-scopebar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rm-scope-chip { border: 1.5px solid #d6dbe4; border-radius: 999px; padding: 5px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer; background: #fff; color: #4a5568; display: inline-flex; align-items: center; gap: 4px; }
.rm-scope-chip b { color: inherit; }
.rm-scope-chip.on { background: #0f9d8f; border-color: #0f9d8f; color: #fff; }
.rm-scope-chip:not(.on):hover { border-color: #0f9d8f; color: #0f7a70; }
/* 订单列表·拼房单标识 */
.ord-rm-tag { display: inline-block; margin-left: 7px; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; background: #e6fcf5; color: #0b7285; border: 1px solid #96e6d6; vertical-align: middle; }
/* 办签行程单状态标(渠道订单列表·客户名下) */
.ord-visa-tag { display: inline-block; margin-top: 5px; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; vertical-align: middle; border: 1px solid transparent; }
.ord-visa-tag.done { background: #e1f5ee; color: #0f6e56; border-color: #a9e3ce; cursor: pointer; }
.ord-visa-tag.done:hover { background: #d1efe3; }
.ord-visa-tag.wait { background: #fdf0dc; color: #8a5510; border-color: #f0d9ae; }

/* 拼房广场 · 日历视图（团天数横条） */
.rm-cal-wdrow { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 4px; }
.rm-cal-wd { text-align: center; font-size: 12px; color: #98a2b3; }
.rm-cal-grid { border-top: 1px solid #e7edf5; border-left: 1px solid #e7edf5; border-radius: 8px; overflow: hidden; }
.rm-cal-week { position: relative; }
.rm-cal-cells { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, 1fr); }
.rm-cal-cell { border-right: 1px solid #e7edf5; border-bottom: 1px solid #e7edf5; padding: 5px 7px; }
.rm-cal-d { font-size: 12px; color: #071b42; }
.rm-cal-d.other { color: #98a2b3; opacity: 0.5; }
.rm-bar { position: absolute; height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 7px; box-sizing: border-box; overflow: hidden; white-space: nowrap; cursor: pointer; font-size: 11px; font-weight: 700; }
.rm-bar:hover { filter: brightness(0.97); }
.rm-bar-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.rm-bar-txt { overflow: hidden; text-overflow: ellipsis; }
.rm-cal-detail { margin-top: 14px; }
.rm-cal-detail .rm-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
/* 视图切换在 AI 栏内不被压缩 */
.rm-ai-bar .rm-viewtoggle { flex: 0 0 auto; }
/* 日历头部：图例(左) + 月份(右上角，醒目) */
.rm-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rm-cal-head .rm-legend { margin-left: 0; }
.rm-cal-month { display: inline-flex; align-items: center; gap: 6px; background: #e1f5ee; border-radius: 10px; padding: 4px 6px; }
.rm-cal-month b { font-size: 18px; font-weight: 800; color: #0f9d8f; letter-spacing: 0.3px; padding: 0 4px; }
.rm-cal-month button { width: 30px; height: 30px; border-radius: 8px; border: none; background: #fff; color: #0f9d8f; font-size: 18px; line-height: 1; cursor: pointer; font-weight: 700; }
.rm-cal-month button:hover { background: #cdeee4; }

/* 订单详情副标题（关键信息突出） */
#partnerDetailSub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
  color: var(--text);
}
#partnerDetailSub .od-product {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}
#partnerDetailSub .od-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: #e2f5f8;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

/* 账号设置页 */
.settings-account {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: #f6f9ff;
  border: 1px solid #e3ecff;
  border-radius: 12px;
}
.settings-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}
.settings-row span { color: #5c6f8e; }
.settings-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}
.settings-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #34465f;
}
.settings-form input {
  padding: 10px 12px;
  border: 1px solid #d4ddec;
  border-radius: 8px;
  font-size: 14px;
}
.settings-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.settings-msg { font-size: 13px; font-weight: 700; }
.settings-msg.ok { color: var(--green); }
.settings-msg.error { color: #ef4444; }

/* ===== 账号管理页 ===== */
.account-header { margin-bottom: 18px; }
.account-header h2 { margin: 0 0 4px; font-size: 22px; }
.account-header p { margin: 0; color: #7c8aa3; font-size: 13px; }

/* 选项卡 */
.account-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e6ecf5;
}
.account-tab {
  position: relative;
  padding: 10px 18px;
  background: none;
  border: none;
  color: #6b7a90;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: color 0.15s ease, background 0.15s ease;
}
.account-tab:hover { color: var(--blue); background: #f4f8ff; }
.account-tab.active { color: var(--blue); }
.account-tab.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--blue);
}
.account-tab[hidden] { display: none; }

/* 面板 */
.account-panel { display: none; }
.account-panel.active { display: block; }

/* 卡片 */
.account-card {
  background: #fff;
  border: 1px solid #e6ecf5;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(31, 55, 99, 0.06);
  padding: 24px 26px;
  max-width: 780px;
}
.account-card-narrow { max-width: 460px; }

/* 账号概要条 */
.account-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 22px;
  background: linear-gradient(120deg, #f3f8ff, #e2f5f8);
  border: 1px solid #e3ecff;
  border-radius: 14px;
}
.account-summary-id { display: flex; align-items: center; gap: 14px; }
.account-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #00909e, #38bdf8);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}
.account-summary-id h3 { margin: 0 0 6px; font-size: 17px; }
.account-badges { display: flex; gap: 6px; }
.acct-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.acct-badge.level { background: #fef3c7; color: #92600a; }
.acct-badge.owner { background: #dcfce7; color: #15803d; }
.acct-badge.staff { background: #e0e7ff; color: #3730a3; }
.account-summary-login { text-align: right; }
.account-summary-login span { display: block; color: #7c8aa3; font-size: 12px; margin-bottom: 3px; }
.account-summary-login strong { font-size: 14px; color: var(--text); }

/* 分区标题 */
.card-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.card-section-head h3 { margin: 0 0 2px; font-size: 15px; }
.card-section-head p { margin: 0; color: #98a4b8; font-size: 12px; }
.card-divider { margin-top: 26px; padding-top: 22px; border-top: 1px solid #eef2f8; }

/* 两列表单 */
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field-grid label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #34465f;
}
.field-grid input,
.field-grid select {
  padding: 10px 12px;
  border: 1px solid #d4ddec;
  border-radius: 9px;
  font-size: 14px;
  background: #fff;
}
.field-grid input:focus,
.field-grid select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 144, 158, 0.12); }
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}

/* 只读信息（子账号） */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.info-cell {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: #f7f9fc;
  border: 1px solid #eef2f8;
  border-radius: 10px;
}
.info-cell span { color: #7c8aa3; font-size: 12px; }
.info-cell strong { font-size: 14px; color: var(--text); }

/* 相关资质 */
.qual-upload {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 15px;
  background: #e2f5f8;
  color: var(--blue);
  border: 1px solid #d4e2ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.qual-upload:hover { background: #e0ebff; }
.qual-list { display: grid; gap: 8px; }
.qual-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  background: #f7f9fc;
  border: 1px solid #eef2f8;
  border-radius: 10px;
}
.qual-ic { font-size: 18px; }
.qual-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.qual-name:hover { text-decoration: underline; }
.qual-del {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.qual-empty { margin: 0; color: #98a4b8; font-size: 13px; }

@media (max-width: 720px) {
  .field-grid,
  .info-grid { grid-template-columns: 1fr; }
  .account-summary { flex-direction: column; align-items: flex-start; }
  .account-summary-login { text-align: left; }
}

/* 子账号管理 */
.account-panel[data-acct-panel="sub"] .account-card { max-width: 980px; }
.sub-account-add {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid #eef2f8;
}
.sub-account-add h4 { margin: 0 0 12px; font-size: 14px; color: #34465f; }
.sub-account-preview { grid-column: 1 / -1; margin: 4px 0 2px; padding: 9px 12px; border: 1.5px solid #0a6b78; background: #f2fafb; border-radius: 8px; font-size: 13px; color: #34465f; }
.sub-account-preview b { font-family: ui-monospace, Consolas, monospace; color: #0a6b78; background: #e6f4f1; padding: 1px 7px; border-radius: 5px; font-size: 14px; }
.sub-account-preview small { color: #98a2b3; }
.sub-account-table-wrap { overflow-x: auto; }
.sub-account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 18px;
}
.sub-account-table th,
.sub-account-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #eef2f8;
  white-space: nowrap;
}
.sub-account-table th {
  background: #f6f9ff;
  color: #5c6f8e;
  font-weight: 700;
}
.sub-account-empty {
  text-align: center;
  color: #98a4b8;
  padding: 18px;
}
.sub-status-on { color: var(--green); font-weight: 700; }
.sub-status-off { color: #98a4b8; font-weight: 700; }
.link-btn {
  background: none;
  border: none;
  color: var(--blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 4px;
}
.link-btn.link-danger { color: #ef4444; }
.sub-account-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  align-items: end;
}
.sub-account-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #34465f;
}
.sub-account-form input {
  padding: 10px 12px;
  border: 1px solid #d4ddec;
  border-radius: 8px;
  font-size: 14px;
}
.sub-account-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
}
@media (max-width: 720px) {
  .sub-account-form { grid-template-columns: 1fr; }
}

/* 登录页·记住我 */
.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5c6f8e;
  cursor: pointer;
  user-select: none;
}
.remember-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

/* 订单详情头部按钮组 + 账单行高亮 */
.detail-head-actions { display: flex; align-items: center; gap: 10px; }
.bill-row-focus > td {
  background: #fff7d6 !important;
  animation: billFocusPulse 2.4s ease;
}
@keyframes billFocusPulse {
  0% { background: #ffe9a8; }
  100% { background: #fff7d6; }
}

/* 订单详情两栏布局 */
.detail-2col {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.detail-col-left, .detail-col-right { min-width: 0; }
.detail-col-right .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 920px) {
  .detail-2col { grid-template-columns: 1fr; }
}

/* 客户出行信息页 */
.travel-entry-card {
  padding: 14px 16px;
  border: 1px dashed #c9d6ec;
  border-radius: 12px;
  background: #f6f9ff;
  margin-bottom: 16px;
}
.travel-entry-card p { margin: 0 0 10px; color: #5c6f8e; font-size: 13px; }
.travel-form { display: grid; gap: 18px; max-width: 860px; }
.travel-section { display: grid; gap: 12px; }
.travel-section h4 { margin: 0; font-size: 15px; }
.travel-section-head { display: flex; align-items: center; justify-content: space-between; }
.travel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.travel-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: #34465f; }
.travel-form input, .travel-form textarea {
  padding: 10px 12px; border: 1px solid #d4ddec; border-radius: 8px; font-size: 14px; font-weight: 500;
}
.travel-wide { grid-column: 1 / -1; }
.travel-pax-head, .travel-pax-row {
  display: grid; grid-template-columns: 1fr 1fr 0.6fr 1.5fr 0.5fr 0.9fr 0.9fr 30px; gap: 8px; align-items: center;
}
.travel-pax-head { font-size: 12px; color: #7c8aa3; font-weight: 700; }
.travel-pax-row { margin-bottom: 8px; }
.travel-pax-row input, .travel-pax-row select { padding: 9px 11px; border: 1px solid #d4ddec; border-radius: 8px; background: #fff; }
.pax-del { background: none; border: none; color: #ef4444; font-size: 16px; font-weight: 900; cursor: pointer; }
.req-star { color: #e5484d; font-weight: 700; }
/* 刚下单的订单在汇总里突出:淡青底 + 左青条 + 呼吸高亮 */
.order-row-justnew > td { background: #e6f7f4 !important; box-shadow: inset 3px 0 0 #0e9384; animation: justnewPulse 1.6s ease-in-out 2; }
@keyframes justnewPulse { 0%,100% { background: #e6f7f4; } 50% { background: #c9efe8; } }
.justnew-tag { display:inline-block; margin-left:8px; font-size:11px; font-weight:700; color:#0b6b5f; background:#c9efe8; border-radius:20px; padding:1px 9px; white-space:nowrap; }
.travel-actions { display: flex; align-items: center; gap: 14px; }

/* 出行信息·分模块配色卡 */
.tv-sec { border: 1px solid #e3e9f2; border-radius: 14px; overflow: hidden; }
.tv-sec-h { display: flex; align-items: flex-start; gap: 10px; padding: 11px 15px; background: #f5f7fb; }
.tv-ic { font-style: normal; font-size: 19px; line-height: 1.2; flex: 0 0 auto; }
.tv-sec-t { font-size: 14px; font-weight: 800; color: #34465f; }
.tv-sec-s { font-size: 12px; font-weight: 500; color: #7c8aa3; margin-top: 2px; line-height: 1.6; }
.tv-sec-b { padding: 14px; background: #fff; }
.tv-key { font-size: 11px; font-weight: 700; border: 1px solid currentColor; border-radius: 20px; padding: 0 8px; margin-left: 4px; }
.tv-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tv-card { border: 1px solid #e3e9f2; border-radius: 12px; padding: 12px; display: grid; gap: 9px; }
.tv-card-t { font-size: 13px; font-weight: 800; color: #34465f; }
.tv-f { display: grid; gap: 5px; font-size: 12px; font-weight: 700; color: #34465f; }
.tv-hint { font-weight: 400; color: #8b9a95; font-size: 11px; }
.tv-f select { padding: 10px 12px; border: 1px solid #d4ddec; border-radius: 8px; font-size: 14px; font-weight: 500; background: #fff; }
.tv-add { font-size: 12px; font-weight: 700; background: #fff; border: 1px dashed #cfe0dc; border-radius: 7px; padding: 6px 12px; cursor: pointer; justify-self: start; margin-top: 2px; }
.tv-flow { margin-top: 12px; font-size: 12px; color: #234f9c; background: #eef4ff; border: 1px solid #cfe0f5; border-radius: 9px; padding: 9px 12px; line-height: 1.7; }
.tv-pt-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 800; color: #34465f; margin-bottom: 6px; }
/* 四色 */
.tv-blue { border-color: #bcd6ef; } .tv-blue .tv-sec-h { background: #eef4ff; } .tv-blue .tv-sec-t, .tv-blue .tv-key { color: #234f9c; } .tv-blue .tv-sec-s { color: #4f6ba5; }
.tv-cardblue { border-color: #cfe0f5; background: #f7faff; } .tv-cardblue .tv-card-t { color: #234f9c; }
.tv-purple { border-color: #d3c9ef; } .tv-purple .tv-sec-h { background: #efeafb; } .tv-purple .tv-sec-t { color: #5b3fb0; } .tv-purple .tv-sec-s { color: #7a63c0; }
.tv-add-purple { color: #5b3fb0; border-color: #d3c9ef; }
.tv-amber { border-color: #f0dcae; } .tv-amber .tv-sec-h { background: #fdf3e3; } .tv-amber .tv-sec-t { color: #9a6b12; } .tv-amber .tv-sec-s { color: #b08430; }
.tv-add-amber { color: #9a6b12; border-color: #f0dcae; }
.tv-green { border-color: #b7ddc8; } .tv-green .tv-sec-h { background: #e6f5ee; } .tv-green .tv-sec-t { color: #0b7a52; } .tv-green .tv-sec-s { color: #3a9670; }
@media (max-width: 640px) { .tv-two { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .travel-grid { grid-template-columns: 1fr; } }

/* 财务收讫章（盖在付款明细上） */
#paymentDetailContent { position: relative; }
.finance-stamp {
  position: absolute;
  top: 64px;
  right: 56px;
  z-index: 5;
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 12px 22px;
  border: 3px double currentColor;
  border-radius: 12px;
  transform: rotate(-12deg);
  opacity: 0.92;
  pointer-events: none;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.finance-stamp.partial { color: #b45309; background: rgba(250, 204, 21, 0.22); border-color: #d97706; }
.finance-stamp.paid { color: #15803d; background: rgba(34, 197, 94, 0.16); border-color: #16a34a; }
.finance-stamp.unpaid { color: #b91c1c; background: rgba(239, 68, 68, 0.14); border-color: #dc2626; }
.fs-arc { font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.fs-main { font-size: 26px; font-weight: 900; letter-spacing: 4px; }
.fs-date { font-size: 11px; font-weight: 700; letter-spacing: 1px; }
@media (max-width: 760px) {
  .finance-stamp { top: 8px; right: 12px; padding: 8px 14px; }
  .fs-main { font-size: 20px; }
}

/* 账单表格压缩，避免底部横向滚动条 */
.bill-table { width: 100%; font-size: 13px; }
.bill-table th,
.bill-table td { padding: 8px 8px; }
.bill-table .payment-progress { min-width: 0; width: 100%; height: 22px; }
.bill-table th:nth-child(9),
.bill-table td:nth-child(9) { min-width: 120px; }
.bill-table .ellipsis-cell,
.bill-table .bill-name { max-width: 120px; }
.bill-table .row-actions { gap: 6px; }
.bill-table .row-actions button { padding: 6px 9px; }
#partnerBillRows { overflow-x: auto; }

/* 返佣政策页 */
/* 我的渠道等级 + 升级进度 */
.level-card {
  padding: 18px 20px;
  margin-bottom: 16px;
  border-radius: 16px;
  border: 1px solid #e7edf5;
  background: #fff;
}
.level-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.lvl-label { display: block; font-size: 12px; color: #8a99b3; margin-bottom: 4px; }
.lvl-bonus { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: #eeedfe; color: #3c3489; font-size: 12px; font-weight: 700; }
.lvl-name {
  font-size: 22px;
  font-weight: 900;
  padding: 2px 14px;
  border-radius: 999px;
  display: inline-block;
}
.lvl-name.tier-普通 { color: #475569; background: #eef2f7; }
.lvl-name.tier-银牌 { color: #475569; background: #e6ebf2; }
.lvl-name.tier-金牌 { color: #854f0b; background: #faeeda; }
.lvl-name.tier-钻石 { color: #3c3489; background: #eeedfe; }
.lvl-sales { text-align: right; }
.lvl-sales span { display: block; font-size: 12px; color: #8a99b3; }
.lvl-sales strong { font-size: 20px; color: #102345; }
.lvl-sales small { display: block; font-size: 12px; color: #3b6d11; font-weight: 700; }

/* 渠道端产品详情：三标签页 */
#ppdTabs { margin: 8px 0 16px; }
.ppd-panel { margin-top: 4px; }
.ppd-panel.hidden { display: none; }

/* 渠道端：行程框架表 */
.partner-route-cat { margin-bottom: 14px; }
/* 产品资料：左侧产品列表可折叠，折叠后详情区变宽 */
.mdh-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mdh-left strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aside-toggle {
  flex: 0 0 auto; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #d6e4ec; border-radius: 7px; background: #fff; color: #0a707d;
  font-size: 15px; line-height: 1; cursor: pointer; padding: 0;
}
.aside-toggle:hover { background: #e2f5f8; border-color: #9fd6de; }
/* 折叠时改单列：aside 被 display:none 后不再是 grid 项，若仍写两列，详情会落进 0 宽的首列 */
.material-split.aside-collapsed { grid-template-columns: minmax(0, 1fr); }
.material-split.aside-collapsed .material-aside { display: none; }

/* 固定表格布局 + 百分比列宽：长行程文字自动换行，不再撑宽版面（无需横向滚动） */
.partner-route-table { width: 100%; border-collapse: collapse; min-width: 0; table-layout: fixed; }
.partner-route-table th:nth-child(1), .partner-route-table td:nth-child(1) { width: 13%; }
.partner-route-table th:nth-child(2), .partner-route-table td:nth-child(2) { width: 45%; }
.partner-route-table th:nth-child(3), .partner-route-table td:nth-child(3) { width: 21%; }
.partner-route-table th:nth-child(4), .partner-route-table td:nth-child(4) { width: 21%; }
/* 覆盖 styles.css 的全局 `th, td { white-space: nowrap }`：行程文字必须自动换行，否则会压到相邻列上 */
.partner-route-table td,
.partner-route-table td p,
.partner-route-table td strong { white-space: normal; word-break: break-word; overflow-wrap: anywhere; }
/* 百分比列宽需含内边距，否则 padding 会额外撑宽约 10% */
.partner-route-table th, .partner-route-table td { box-sizing: border-box; }
.partner-route-table th, .partner-route-table td { border: 1px solid #e7edf5; padding: 10px 12px; text-align: left; vertical-align: top; font-size: 13px; }
.partner-route-table th { background: #f5f8fd; color: #44546c; font-weight: 700; white-space: nowrap; }
.partner-route-table .pr-day { white-space: normal; word-break: break-word; }
.partner-route-table .pr-day strong { white-space: nowrap; }
.partner-route-table .pr-day div { color: #6b7c99; font-size: 12px; margin-top: 2px; }
.partner-route-table td p { margin: 4px 0 0; color: #5c6f8e; line-height: 1.6; }
.partner-route-table td strong { color: #102345; }
/* 行程安排标题色与后台一致（青色） */
.partner-route-table td:nth-child(2) strong { color: #00a5b8; }
.lvl-bar {
  height: 10px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
  margin-bottom: 8px;
}
.lvl-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00909e, #38bdf8);
  transition: width 0.4s ease;
}
.lvl-next { font-size: 13px; color: #5c6f8e; }
.lvl-next b { color: #00909e; font-size: 15px; }
.lvl-next.gold { color: #854f0b; }
.lvl-next.diamond { color: #3c3489; }

.rebate-hero {
  display: grid;
  gap: 4px;
  padding: 22px 24px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(120deg, #00909e, #38bdf8);
  color: #fff;
}
.rebate-hero span { font-size: 13px; opacity: 0.9; }
.rebate-hero strong { font-size: 40px; font-weight: 900; line-height: 1.1; }
.rebate-hero small { font-size: 12px; opacity: 0.92; }
.rebate-section { margin-bottom: 20px; }
.rebate-section h4 { margin: 0 0 8px; font-size: 15px; }
.rebate-section p { margin: 0; color: #45556c; font-size: 14px; line-height: 1.7; }
.rebate-note { color: #5c6f8e !important; font-size: 13px !important; }
.rebate-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.rebate-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e6ecf5;
  border-radius: 10px;
  background: #fff;
}
.rebate-tier.has { border-color: #bbf7d0; background: #f0fdf4; }
.rt-label { font-weight: 700; color: #34465f; font-size: 13px; }
.rebate-tier.has .rt-amt { color: #15803d; font-weight: 900; font-size: 16px; }
.rebate-tier.none .rt-amt { color: #98a4b8; font-weight: 700; font-size: 13px; }
.rebate-foot {
  margin: 6px 0 0;
  padding: 12px 14px;
  background: #f6f9ff;
  border: 1px solid #e3ecff;
  border-radius: 10px;
  color: #45556c !important;
  font-size: 13px !important;
}

/* ===== 移动端适配（抽屉式侧栏）===== */
.mobile-topbar,
.partner-nav-toggle,
.nav-backdrop { display: none; }

@media (max-width: 900px) {
  .partner-shell { grid-template-columns: 1fr; }
  .partner-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 264px;
    max-width: 82vw;
    height: 100vh;
    z-index: 60;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  }
  .partner-shell.nav-open .partner-sidebar { transform: none; }
  .partner-shell.nav-open .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 50;
  }
  #partnerSidebarToggle { display: none; }

  .partner-main { padding: 16px; }
  .mobile-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 30;
    margin: -16px -16px 14px;
    padding: 12px 16px;
    background: linear-gradient(180deg, #08275a, #0b3475);
    color: #fff;
  }
  .mobile-topbar strong { font-size: 16px; }
  .partner-nav-toggle {
    height: 38px;
    padding: 0 14px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: none;
  }
  .partner-header h1 { font-size: 20px; }

  /* 库存日历铺满宽度，避免溢出 */
  .inventory-calendar { grid-template-columns: repeat(7, minmax(0, 1fr)); max-width: 100%; gap: 6px 4px; }
  .inventory-day { min-height: 38px; }
  .inventory-toolbar { max-width: 100%; }
  /* 弹窗手机上更贴边 */
  dialog .dialog-card { padding: 18px 16px; }
  /* 宽表格横向滚动（手机上可左右滑） */
  .table-wrap { -webkit-overflow-scrolling: touch; }

  /* 标题行按钮在窄屏换行，不挤压 */
  .panel-title { flex-wrap: wrap; gap: 8px; }
  .detail-head-actions { flex-wrap: wrap; }

  /* 乘客明细行：手机上竖排，删除键独立一行右对齐 */
  .travel-pax-head { display: none; }
  .travel-pax-row { grid-template-columns: 1fr 1fr; }
  .travel-pax-row .pax-name { grid-column: 1 / -1; }
  .travel-pax-row .pax-del { grid-column: 1 / -1; justify-self: end; }

  /* 账号管理标签、详情标签可横向滚动不溢出 */
  .account-tabs, .detail-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .account-tab, .detail-tab { white-space: nowrap; }
}

/* ===== 渠道端·包车落地页 ===== */
#partnerCharterLanding[hidden] { display: none; }
#partnerCharterLanding { display: flex; flex-direction: column; gap: 18px; }
.cl-block { background: #fff; border: 1px solid #e6e8ee; border-radius: 14px; padding: 18px 20px; box-shadow: 0 1px 3px rgba(16,24,40,.04); }
.cl-region { font-size: 16px; font-weight: 700; color: #1a2233; margin-bottom: 12px; }
/* 落地页两大板块：统一标题条（线条图标 + 标签） */
.cl-region-wrap { display: flex; flex-direction: column; gap: 16px; }
.cl-blk { background: #fff; border: 1px solid #e6e8ee; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(16,24,40,.04); }
.cl-blk-hd { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #eef0f4; }
.cl-blk-hd.teal { background: linear-gradient(90deg, #e9f7f6, #f7fbfb); }
.cl-blk-hd.warm { background: linear-gradient(90deg, #fdf3e7, #fdfaf3); }
.cl-blk-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; }
.cl-blk-hd.teal .cl-blk-ic { background: #0a6b78; }
.cl-blk-hd.warm .cl-blk-ic { background: #c67c1e; }
.cl-blk-ic svg { width: 22px; height: 22px; display: block; }
.cl-blk-tt { flex: 1; min-width: 0; }
.cl-blk-t { font-size: 15px; font-weight: 800; }
.cl-blk-hd.teal .cl-blk-t { color: #0a5560; }
.cl-blk-hd.warm .cl-blk-t { color: #8a5510; }
.cl-blk-s { font-size: 12px; color: #667085; margin-top: 2px; line-height: 1.5; }
.cl-blk-tag { flex: none; align-self: flex-start; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; color: #fff; white-space: nowrap; }
.cl-blk-hd.teal .cl-blk-tag { background: #0a6b78; }
.cl-blk-hd.warm .cl-blk-tag { background: #c67c1e; }
.cl-blk-body { padding: 16px 18px; }
.cl-blk-body .cl-base-cta { margin-bottom: 0; }
@media (max-width: 600px) { .cl-blk-hd { padding: 11px 13px; } .cl-blk-body { padding: 13px; } .cl-blk-tag { display: none; } }
.cl-table-wrap { overflow-x: auto; }
.cl-block-main { display: flex; gap: 16px; align-items: flex-start; }
.cl-block-main .cl-table-wrap { flex: 1; min-width: 0; }
.cl-notice { flex: 0 0 280px; background: #f9fafb; border: 0.5px solid #eef1f6; border-radius: 10px; padding: 12px 14px; }
.cl-notice-h { font-size: 13px; font-weight: 700; color: #1a2233; margin-bottom: 6px; }
.cl-notice ul { margin: 0; padding-left: 16px; }
.cl-notice li { font-size: 12px; color: #475467; line-height: 1.85; }
@media (max-width: 760px) { .cl-block-main { flex-direction: column; } .cl-notice { flex-basis: auto; width: 100%; } }
.cl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cl-table th { text-align: center; font-weight: 600; color: #667085; background: #f6f8fc; padding: 9px 10px; border-bottom: 1px solid #e6e8ee; white-space: nowrap; }
.cl-table th:first-child { text-align: left; }
.cl-table td { text-align: center; padding: 10px; border-bottom: 1px solid #f0f2f6; color: #1a2233; font-weight: 600; }
.cl-table td.cl-vt { text-align: left; font-weight: 700; }
.cl-table td.cl-vt small { display: block; font-weight: 400; color: #98a2b3; font-size: 12px; }
.cl-table td.muted, .cl-table td.cl-vt small { color: #98a2b3; }
/* 超时费 / 接送机 两列：蓝底高亮，跟基础日价区分开 */
.cl-table th.cl-fee { color: #00808f; background: #e2f5f8; }
.cl-table th.cl-fee small { font-weight: 400; color: #7fb9c1; font-size: 11px; }
.cl-table td.cl-fee { color: #00808f; background: #f2fafb; }
.cl-rules { margin-top: 12px; font-size: 13px; color: #667085; line-height: 1.7; background: #f9fafb; border-radius: 10px; padding: 10px 14px; }
.cl-routes-title { margin: 16px 0 8px; font-size: 14px; font-weight: 700; color: #1a2233; }
/* 一行最多 3 个：每列下限取 max(260px, 三等分)，屏幕窄自动减为 2/1 列 */
.cl-routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(max(260px, (100% - 24px) / 3), 1fr)); gap: 12px; align-items: start; }
/* 常见路线·紧凑清单（按天数分组·点行展开） */
.cl-rlist .clr-grp { margin-bottom: 4px; }
.cl-rlist .clr-grph { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; color: #5c6f77; padding: 10px 4px 4px; }
.cl-rlist .clr-gc { font-size: 10px; font-weight: 700; color: #854f0b; background: #faeeda; border-radius: 20px; padding: 1px 8px; }
.cl-rlist .clr-li { border-top: 1px solid #f0f2f6; }
.cl-rlist .clr-grp .clr-li:first-child { border-top: none; }
.cl-rlist .clr-row { display: flex; align-items: center; gap: 10px; padding: 10px 6px; cursor: pointer; border-radius: 8px; transition: background .12s; }
.cl-rlist .clr-row:hover { background: #f2fafb; }
.cl-rlist .clr-li.open .clr-row { background: #f2fafb; }
.cl-rlist .clr-idx { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; background: #eef4f5; color: #5c7c81; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cl-rlist .clr-nm { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; color: #1a2233; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-rlist .clr-excl { font-size: 10px; font-weight: 700; color: #854f0b; background: #faeeda; border-radius: 20px; padding: 0 7px; margin-left: 5px; }
.cl-rlist .clr-fr { flex: 0 0 auto; font-size: 12.5px; font-weight: 800; color: #00909e; font-variant-numeric: tabular-nums; }
.cl-rlist .clr-fr small { color: #9fb6b9; font-weight: 600; }
.cl-rlist .clr-cav { flex: 0 0 auto; color: #c2ccd4; font-size: 14px; transition: transform .18s; }
.cl-rlist .clr-li.open .clr-cav { transform: rotate(90deg); }
.cl-rlist .clr-draw { display: none; padding: 2px 6px 12px 36px; }
.cl-rlist .clr-li.open .clr-draw { display: block; }
.cl-rlist .clr-sub { font-size: 11.5px; color: #98a2b3; margin-bottom: 7px; }
.cl-rlist .clr-prices { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.cl-rlist .clr-chip { font-size: 11.5px; font-weight: 700; color: #0b6b74; background: #eef9fa; border: 1px solid #cdeef2; border-radius: 7px; padding: 3px 9px; }
.cl-rlist .clr-chip b { color: #00909e; }
.cl-rlist .clr-da { font-size: 12px; font-weight: 700; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.cl-rlist .clr-da.itin { display: inline-block; background: #f2fafb; color: #00808f; border: 1px solid #cdeef2; margin-bottom: 8px; }
.cl-rlist .clr-da.itin.on { background: #e2f5f8; }
.cl-rlist .clr-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.cl-rlist .clr-da.order { background: #00909e; color: #fff; border: none; }
.cl-rlist .clr-da.order:hover { background: #00707d; }
.cl-rlist .clr-da.order.alt { background: #fff; color: #00808f; border: 1px solid #9fd5db; }
.cl-rlist .clr-da.order.alt:hover { background: #f2fafb; }
.cl-rlist .clr-hb { font-size: 10px; font-weight: 800; color: #8a5510; background: #faeeda; border: 0.5px solid #f0d9ae; border-radius: 20px; padding: 0 7px; margin-left: 5px; }
.cl-rlist .clr-plabel { font-size: 11px; font-weight: 700; color: #98a2b3; margin-bottom: 5px; }
.cl-rlist .clr-hotel { font-size: 12px; color: #8a5510; background: #fdf6ea; border: 1px solid #f0dcbc; border-radius: 8px; padding: 6px 10px; margin: 9px 0 8px; }
.cl-rlist .clr-hotel b { color: #b06a12; }
.cl-route { border: 1px solid #e6e8ee; border-radius: 10px; padding: 12px 14px; }
.cl-route-name { font-weight: 700; color: #1a2233; }
.cl-route-excl { font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: #faeeda; color: #854f0b; vertical-align: middle; }
.cl-route-sub { font-size: 12px; color: #98a2b3; margin: 3px 0 8px; }
.cl-route-price { font-size: 13px; color: #00909e; font-weight: 600; line-height: 1.6; }
/* 常见路线卡：行程详情就地下拉，卡片默认只留标题(上)+价格(下)+「查看行程」按钮 */
.cl-route { display: flex; flex-direction: column; }
.cl-route-itin-btn { align-self: flex-start; margin: 2px 0 10px; background: #f2fafb; color: #00808f; border: 1px solid #cdeef2; border-radius: 8px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .15s; }
.cl-route-itin-btn:hover { background: #e2f5f8; }
.cl-route-itin-btn.on { background: #e2f5f8; }
.cl-route-itin-btn .cl-caret { font-size: 10px; opacity: .8; }
.cl-route-price { margin-top: auto; }
/* 就地抽屉：在卡片内向下展开（max-height 过渡）*/
.cl-route-drawer { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.cl-route-drawer.open { max-height: 1600px; }
.cl-route-drawer-in { padding: 4px 2px 12px; border-top: 1px dashed #e6e8ee; margin-bottom: 10px; }
.cl-rebate { background: linear-gradient(135deg,#fff7ed,#fff1f2); border: 1px solid #fde0c8; border-radius: 14px; padding: 18px 20px; }
.cl-rebate-head { font-size: 16px; font-weight: 800; color: #b54708; }
.cl-rebate-sub { font-size: 13px; color: #b54708; opacity: .8; margin: 4px 0 14px; }
.cl-reb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.cl-reb-cell { background: #fff; border: 1px solid #fde0c8; border-radius: 10px; padding: 12px; text-align: center; }
.cl-reb-k { font-size: 13px; color: #667085; }
.cl-reb-v { font-size: 15px; font-weight: 700; color: #98a2b3; margin-top: 4px; }
.cl-reb-v.on { color: #d9480f; }
.cl-reb-cell.on { border-color: #f7c08a; background: #fffaf3; }
.cl-reb-note { font-size: 11px; color: #b08248; margin-top: 4px; line-height: 1.35; }
.cl-rebate-sub b { opacity: 1; }
.cl-reb-eg { margin-top: 12px; background: #fff; border: 1px dashed #f0a860; border-radius: 10px; padding: 10px 13px; font-size: 12.5px; color: #7a4a1a; line-height: 1.7; }
.cl-reb-eg b { color: #c2410c; }
.cl-reb-tag { display: inline-block; background: #fbe7cf; color: #a5560a; font-size: 11px; font-weight: 700; border-radius: 5px; padding: 1px 7px; margin-right: 6px; }
.cl-reb-prog { margin-top: 11px; background: #101828; color: #eaf2ff; border-radius: 10px; padding: 11px 14px; font-size: 12.5px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cl-reb-prog b { color: #ffcf70; }
.cl-reb-bar { flex: 1; min-width: 150px; height: 8px; background: #2a3346; border-radius: 99px; overflow: hidden; }
.cl-reb-bar i { display: block; height: 100%; background: linear-gradient(90deg,#ffcf70,#ff8a3c); }
/* 闪购按天可订台数小日历 */
.cl-fcal { margin-top: 8px; }
.cl-fcal-h { font-size: 11px; font-weight: 700; color: #a5560a; margin-bottom: 5px; }
.cl-fcal-row { display: flex; flex-wrap: wrap; gap: 5px; }
#orderCharterDateRange { cursor: pointer; background: #fff; }
/* 付款明细页·直达地接确认件/发票 */
.pd-docs { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0; padding: 12px 16px; background: #f0faf9; border: 1px solid #bfe6e2; border-radius: 12px; }
.pd-docs > span { font-weight: 800; color: #0a6b78; font-size: 13px; }
.pd-docs small { color: #7a95a0; font-size: 11.5px; }
/* 子账号登录标识 + 销售人员自动归集 */
.pn-me { color: #0a8c7d; font-weight: 800; }
.pn-sub-tag { display: inline-block; background: #e2f5f8; color: #00808f; font-size: 11px; font-weight: 700; border-radius: 5px; padding: 1px 8px; margin-left: 4px; vertical-align: 1px; }
input.locked { background: #f4f7fa; color: #46536b; cursor: not-allowed; }
/* 闪购抽屉：默认收起省版面，点「展开按天选日期」拉出日历 */
.cl-flash-toggle { margin-top: 8px; background: #fff; border: 1px solid #f0c98a; color: #b54708; font-size: 12px; font-weight: 700; border-radius: 8px; padding: 5px 12px; cursor: pointer; }
.cl-flash-toggle:hover { background: #fff7ec; border-color: #e5581d; color: #c2410c; }
.cl-flash-drawer { margin-top: 10px; animation: cl-flash-slide .16s ease; }
@keyframes cl-flash-slide { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cl-flash-selnote { display: inline-block; background: #e2f5f8; color: #00808f; font-size: 11px; font-weight: 700; border-radius: 5px; padding: 1px 8px; margin-left: 4px; }
/* 可订天=绿色（默认可点）；已满=灰色 */
.cl-fday { min-width: 52px; min-height: 40px; border: 1px solid #a9dcc0; border-radius: 8px; background: #f3fbf6; padding: 5px 3px; text-align: center; cursor: pointer; transition: transform .05s, box-shadow .1s, border-color .1s; user-select: none; }
.cl-fday[data-flash-day]:hover { box-shadow: 0 2px 8px rgba(22,163,74,.2); transform: translateY(-1px); border-color: #16a34a; }
.cl-fday-d { font-size: 12px; font-weight: 800; color: #14663f; }
.cl-fday-w { font-size: 9px; color: #6f9c84; }
.cl-fday-s { font-size: 10px; font-weight: 700; color: #1a7f43; margin-top: 2px; }
.cl-fday.full { opacity: .7; background: #f4f4f6; border-color: #e2e4ea; cursor: not-allowed; }
.cl-fday.full .cl-fday-d { color: #a2a9b4; text-decoration: line-through; }
.cl-fday.full .cl-fday-w { color: #b3bcc8; }
.cl-fday.full .cl-fday-s { color: #a2a9b4; }
.cl-fday.sel { background: #ffe9d6; border-color: #e5581d; }
.cl-fday.sel .cl-fday-d { color: #c2410c; }
.cl-fday.edge { background: #e5581d; border-color: #e5581d; }
.cl-fday.edge .cl-fday-d, .cl-fday.edge .cl-fday-w, .cl-fday.edge .cl-fday-s { color: #fff; }
.cl-fcal-tip { font-size: 11px; color: #a5560a; margin-top: 7px; }
.cl-fcal-tip b { color: #c2410c; }
.cl-fsel { margin-top: 9px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: #7a4a1a; background: #fff; border: 1px solid #f0c98a; border-radius: 9px; padding: 8px 12px; }
.cl-fsel b { color: #c2410c; }
.cl-fsel-go { background: #e5581d; color: #fff; border: none; border-radius: 7px; padding: 6px 13px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.cl-fsel-go:hover { background: #c2410c; }
.cl-fsel-clear { background: transparent; border: none; color: #98a2b3; font-size: 12px; cursor: pointer; text-decoration: underline; }
.calc-earn-note { margin-top: 8px; font-size: 11.5px; color: #a5560a; background: #fff7ec; border: 1px dashed #f0c98a; border-radius: 8px; padding: 7px 10px; line-height: 1.5; }
.calc-earn-note b { color: #c2410c; }
/* 按需加订（接机/送机/追极光） */
.cadd { margin-top: 12px; border: 1px solid #dbeaf0; border-radius: 12px; background: #f7fcfd; padding: 11px 13px; }
.cadd-h { font-size: 12.5px; font-weight: 800; color: #00808f; margin-bottom: 3px; }
.cadd-sub { font-size: 11px; color: #7a95a0; margin-bottom: 9px; }
.cadd-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #dbeaf0; border-radius: 9px; background: #fff; margin-bottom: 7px; cursor: pointer; }
.cadd-item:last-child { margin-bottom: 0; }
.cadd-item.on { border-color: #00808f; background: #f0faf9; }
.cadd-box { width: 19px; height: 19px; border-radius: 5px; border: 1.5px solid #bcd3da; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 900; }
.cadd-item.on .cadd-box { background: #00808f; border-color: #00808f; }
.cadd-t { flex: 1; font-size: 13px; font-weight: 700; color: #243244; }
.cadd-t small { display: block; font-size: 10.5px; color: #98a2b3; font-weight: 500; margin-top: 1px; }
.cadd-price { font-size: 13px; font-weight: 800; color: #00808f; white-space: nowrap; }
.cadd-qty { width: 46px; border: 1px solid #cfd8e6; border-radius: 6px; padding: 3px 5px; text-align: center; font-size: 12.5px; font-weight: 700; }
/* ⚡ 闪购单核价面板（柔和·湖蓝省额） */
.cef { border: 1px solid #ece1d1; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 4px 18px rgba(120,90,50,.06); }
.cef .fo-hero { background: linear-gradient(180deg,#fdf7ee,#fbf1e4); padding: 16px 18px 15px; text-align: center; border-bottom: 1px solid #f2e7d6; }
.cef .fo-hero-tag { font-size: 12px; font-weight: 700; color: #b07a3a; }
.cef .fo-cmp { margin-top: 9px; font-size: 13px; color: #7a828f; }
.cef .fo-cmp s { color: #b6bcc6; }
.cef .fo-arrow { margin: 0 7px; color: #c8b48f; }
.cef .fo-nowlb { color: #7a828f; }
.cef .fo-now { font-size: 32px; font-weight: 800; line-height: 1.1; margin-top: 3px; color: #243244; letter-spacing: .5px; }
.cef .fo-saved { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; background: #e2f5f8; color: #00808f; font-size: 13.5px; font-weight: 800; border-radius: 999px; padding: 6px 15px; border: 1px solid #bfe6ea; }
.cef .fo-big { font-size: 16px; }
.cef .fo-off { font-weight: 600; opacity: .85; }
.cef .fo-body { padding: 14px 18px; }
.cef .fo-mh { font-size: 11.5px; font-weight: 700; color: #9aa2ae; margin-bottom: 6px; }
.cef .fo-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #eef1f5; font-size: 13px; }
.cef .fo-line:last-of-type { border-bottom: none; }
.cef .fo-l { color: #4a5563; }
.cef .fo-sub { display: block; font-size: 11px; color: #a2a9b4; margin-top: 2px; }
.cef .fo-sub s { color: #c3cad4; }
.cef .fo-hit { color: #c06a2b; font-weight: 800; }
.cef .fo-v { font-weight: 800; white-space: nowrap; color: #243244; }
.cef .fo-line.flash .fo-v { color: #c06a2b; }
.cef .fo-chip { display: inline-block; background: #e2f5f8; color: #00808f; font-size: 10.5px; font-weight: 700; border-radius: 5px; padding: 1px 6px; margin-left: 6px; }
.cef .fo-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1.5px solid #f2e7d6; }
.cef .fo-tl { font-size: 13px; color: #4a5563; font-weight: 700; }
.cef .fo-tamt { font-size: 23px; font-weight: 800; color: #243244; }
.cef .fo-fx { margin-top: 10px; font-size: 11px; color: #9aa2ae; background: #f8f9fb; border-radius: 8px; padding: 7px 11px; }
.cef .fo-fx b { color: #4a5563; }
.cl-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #101828; border-radius: 14px; padding: 18px 22px; color: #fff; flex-wrap: wrap; }
.cl-cta b { font-size: 16px; display: block; }
.cl-cta small { display: block; color: #98a2b3; font-size: 13px; margin-top: 4px; }
.cl-cta button { white-space: nowrap; }

/* ===== 渠道端·包车协议专属价版 ===== */
.ca-block { background: #fff; border: 1px solid #e6e8ee; border-radius: 14px; overflow: hidden; margin-bottom: 18px; box-shadow: 0 1px 3px rgba(16,24,40,.04); }
.ca-banner { background: #faeeda; padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.ca-banner-ic { font-size: 24px; }
.ca-banner-t { font-size: 16px; font-weight: 700; color: #854f0b; }
.ca-banner-s { font-size: 12px; color: #9a6a18; margin-top: 2px; }
.ca-body { padding: 14px 18px 18px; }
.ca-tbl-title { font-size: 14px; font-weight: 700; color: #1a2233; margin: 4px 0 10px; }
.ca-tbl-wrap { overflow-x: auto; }
.ca-tbl { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 460px; }
.ca-tbl th { text-align: center; font-weight: 600; color: #667085; background: #f6f8fc; padding: 9px 8px; }
.ca-tbl th:first-child { text-align: left; }
.ca-tbl td { text-align: center; padding: 10px 8px; border-top: 0.5px solid #f0f2f6; font-weight: 600; color: #1a2233; }
.ca-tbl td.ca-vt { text-align: left; font-weight: 700; }
.ca-tbl td.ca-vt small { font-weight: 400; color: #98a2b3; }
.ca-tbl td.muted { color: #98a2b3; font-weight: 400; }
.ca-order-cta { margin-top: 14px; }
.ca-order-cta button { background: #00909e; color: #fff; border: none; border-radius: 10px; padding: 11px 20px; font-size: 14px; font-weight: 600; cursor: pointer; }
.ca-order-cta button:hover { background: #00707d; }
.ca-note { margin-top: 14px; background: #f9fafb; border-radius: 10px; padding: 10px 14px; }
.ca-note-h { font-size: 13px; font-weight: 700; color: #1a2233; margin-bottom: 4px; }
.ca-note-b { font-size: 13px; color: #475467; line-height: 1.8; }

/* 渠道端·包车价目表车型缩略图 + 参考型号 */
/* 车型单元格：简约灰色线条图标 + 「车型·型号·座位」一行 + 参考图下一行 */
.cl-veh { display: flex; align-items: center; gap: 10px; }
.cl-veh-ic { flex: none; width: 34px; height: 34px; border-radius: 8px; background: #f4f6f9; display: flex; align-items: center; justify-content: center; }
.cl-veh-ic svg { width: 22px; height: 22px; display: block; }
.cl-veh-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cl-veh-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 7px; }
.cl-veh-type { font-weight: 700; color: #1a2233; font-size: 13.5px; }
.cl-veh-sub { font-size: 12px; color: #98a2b3; }
.cl-veh-ref { align-self: flex-start; padding: 0; border: none; background: none; color: #00909e; font-size: 11.5px; cursor: pointer; }
.cl-veh-ref:hover { text-decoration: underline; }
/* ⚡ 包车闪购醒目横条 */
.cl-flash-wrap { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.cl-flash { display: flex; align-items: center; gap: 12px; background: #fff4e0; border: 1.5px solid #f3a93c; border-radius: 12px; padding: 12px 14px; }
.cl-flash-ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: #f3a93c; color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.cl-flash-main { flex: 1; min-width: 0; }
.cl-flash-h { font-size: 14px; font-weight: 700; color: #7a3e00; }
.cl-flash-limit { font-size: 11px; background: #d92d20; color: #fff; padding: 1px 7px; border-radius: 20px; margin-left: 4px; }
.cl-flash-pitch { font-size: 12px; color: #92600a; margin: 2px 0; }
.cl-flash-price { font-size: 18px; font-weight: 700; color: #c2410c; }
.cl-flash-price small { font-size: 12px; color: #92600a; font-weight: 400; }
.cl-flash-price s { font-size: 12px; color: #98a2b3; font-weight: 400; }
.cl-flash-price em { font-size: 12px; font-style: normal; background: #fde2c8; color: #9a3412; padding: 1px 7px; border-radius: 5px; }
.cl-flash-btn { flex: 0 0 auto; background: #c2410c; color: #fff; border: none; border-radius: 8px; padding: 9px 16px; font-size: 13px; font-weight: 600; cursor: pointer; }
.cl-flash-btn:hover { background: #9a3412; }
/* 闪购区总抽屉：默认收起成一条横幅，点「展开选购」拉出所有闪购卡 */
.cl-flashsec { border: 1px solid #f0c98a; border-radius: 14px; overflow: hidden; margin-bottom: 14px; background: linear-gradient(180deg,#fff9f0,#fdf3e6); }
.cl-flashsec-head { display: flex; align-items: center; gap: 10px; padding: 11px 16px; cursor: pointer; flex-wrap: wrap; }
.cl-flashsec.open .cl-flashsec-head { border-bottom: 1px solid #f3e2ca; }
.cl-flashsec-head .cl-flash-ic { width: 30px; height: 30px; font-size: 16px; }
.cl-flashsec-t { font-size: 14px; font-weight: 800; color: #b54708; }
.cl-flashsec-cnt { display: inline-block; background: #ffd9a8; color: #a5560a; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 9px; margin-left: 6px; }
.cl-flashsec-meta { font-size: 12px; color: #a5720a; }
.cl-flashsec-meta b { color: #c2410c; }
.cl-flashsec-sp { flex: 1; }
.cl-flashsec-go { font-size: 12.5px; font-weight: 800; color: #c2410c; white-space: nowrap; }
.cl-flashsec-body { padding: 11px 14px; display: flex; flex-direction: column; gap: 10px; animation: cl-flash-slide .16s ease; }
.cl-flashsec-body .cl-flash { background: #fff; border-color: #f2dcbc; }

/* 车型相册弹窗 */
#vehGalleryOverlay { position: fixed; inset: 0; z-index: 9999; background: rgba(16,24,40,.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
#vehGalleryOverlay .vg-card { background: #fff; border-radius: 14px; overflow: hidden; width: 460px; max-width: 100%; }
.vg-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 0.5px solid #eef1f6; font-weight: 600; }
.vg-x { border: none; background: none; font-size: 16px; color: #98a2b3; cursor: pointer; }
.vg-main { position: relative; height: 260px; background: #dfe3ea; display: flex; align-items: center; justify-content: center; }
.vg-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vg-cap { position: absolute; left: 12px; bottom: 12px; background: rgba(16,24,40,.7); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 6px; }
.vg-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: none; border-radius: 50%; background: rgba(255,255,255,.92); color: #475467; font-size: 22px; line-height: 1; cursor: pointer; }
.vg-prev { left: 10px; } .vg-next { right: 10px; }
.vg-strip { display: flex; gap: 8px; padding: 10px 14px; overflow-x: auto; }
.vg-thumb { flex: 0 0 auto; width: 72px; border: 2px solid transparent; border-radius: 6px; background: none; padding: 0; cursor: pointer; overflow: hidden; }
.vg-thumb.on { border-color: #00909e; }
.vg-thumb img { width: 100%; height: 48px; object-fit: cover; display: block; border-radius: 4px; }
.vg-thumb span { display: block; font-size: 10px; color: #667085; padding: 2px 0; }
.vg-count { position: absolute; right: 12px; bottom: 12px; background: rgba(16,24,40,.7); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 20px; }
.vg-actions { display: flex; gap: 10px; padding: 10px 14px 14px; }
.vg-act { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 13px; padding: 8px; border-radius: 8px; border: 0.5px solid #d7dde7; background: #fff; color: #344054; cursor: pointer; text-decoration: none; }
.vg-act:hover { background: #f7f9fc; }

/* 门票页顶部提示语（同业专享 · 浅黄） */
#partnerTicketHint[hidden] { display: none; }
.ticket-hint { background: #fff8e6; border: 0.5px solid #f3e2b0; border-left: 3px solid #e6a700; border-radius: 10px; padding: 8px 14px; margin-bottom: 12px; }
.ticket-hint .th-head { width: 100%; text-align: left; background: none; border: 0; padding: 4px 0; font-size: 13px; font-weight: 700; color: #92600a; cursor: pointer; }
.ticket-hint .th-caret { display: inline-block; transition: transform .15s; }
.ticket-hint.open .th-caret { transform: rotate(180deg); }
.ticket-hint .th-body { font-size: 12.5px; color: #6b5618; line-height: 1.95; margin-top: 6px; }
.ticket-hint:not(.open) .th-body { display: none; }
.ticket-hint .th-body b { color: #92600a; }
/* 筛选标签行 + 右侧抽屉 chip */
.ticket-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.ticket-toolbar .tabs { margin-bottom: 0; }
.tk-chips { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.pt-toolbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.pt-toolbar-right .tk-chips { margin-left: 0; }
.pt-toolbar-right #partnerProductSort { height: 34px; width: auto; min-width: 164px; flex: 0 0 auto; box-sizing: border-box; padding: 0 10px; font-size: 13px; }
.pt-toolbar-right .pt-viewtoggle { flex: 0 0 auto; }
@media (max-width: 720px) { .pt-toolbar-right { flex-wrap: wrap; margin-left: 0; } }
/* 搜索框上移到区域标签行、填充中间空白 */
.pt-search { flex: 1 1 220px; min-width: 150px; max-width: 420px; height: 34px; box-sizing: border-box; padding: 0 12px; border: 1px solid #d4ddec; border-radius: 8px; font-size: 13px; background: #fff; }
/* 出行月份 + 按天数筛选 同一行 */
.pt-filterrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.pt-filterrow .pt-chiprow { margin-top: 0; flex: 0 1 auto; }
.pt-filterrow #partnerDayFilters { flex: 0 1 auto; min-width: 0; margin: 0 0 0 auto; padding: 0; }
/* 拼团快速筛选:关键词 / 月份 chips */
.pt-chiprow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0 0; }
/* hidden 属性要真的隐藏(display:flex 会盖过 [hidden] 默认值)——否则包车/门票页会残留散拼团关键词标签 */
.pt-chiprow[hidden], .pt-viewtoggle[hidden] { display: none !important; }
.pt-mlabel { font-size: 12px; color: #8593a4; margin-right: 2px; }
.pt-chip { padding: 5px 13px; border-radius: 20px; font-size: 13px; border: 0.5px solid #dbe3ee; color: #4a5b70; cursor: pointer; background: #fff; white-space: nowrap; user-select: none; }
.pt-chip:hover { border-color: #0f9d8f; color: #0b7355; }
.pt-chip.on { background: #0f9d8f; color: #fff; border-color: #0f9d8f; font-weight: 500; }
.pt-chip.sm { padding: 4px 11px; border-radius: 8px; }
.pt-chip.sm.on { background: #185fa5; border-color: #185fa5; }
/* 列表 / 橱窗 视图切换 */
.pt-viewtoggle { display: inline-flex; border: 0.5px solid #cbd5e1; border-radius: 8px; overflow: hidden; margin-left: auto; }
.pt-vbtn { border: none; background: #fff; padding: 6px 13px; font-size: 13px; color: #64748b; cursor: pointer; }
.pt-vbtn.on { background: #0f9d8f; color: #fff; font-weight: 500; }
/* 橱窗卡片 */
.pt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 4px; }
.pt-cards[hidden] { display: none; } /* display:grid 会盖过 [hidden]，需显式隐藏，否则列表/橱窗同时出现 */
.ptc { border: 0.5px solid #e6ecf3; border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.ptc:hover { box-shadow: 0 6px 18px rgba(15,23,42,0.1); transform: translateY(-2px); }
.ptc-cover { position: relative; height: 118px; }
.ptc-promo { position: absolute; top: 8px; left: 8px; background: #e24b4a; color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
.ptc-tag { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,0.42); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 6px; }
.ptc-noimg { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 600; letter-spacing: 1px; }
.ptc-body { padding: 10px 11px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ptc-title { font-size: 12.5px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; color: #1f2a3d; }
.ptc-deps { display: flex; gap: 4px; flex-wrap: wrap; }
.ptc-dep { font-size: 10.5px; padding: 2px 7px; border-radius: 20px; border: 0.5px solid #cfe8df; color: #0f6e56; background: #f0fbf7; white-space: nowrap; }
.ptc-dep.low { border-color: #f3d19a; color: #92610a; background: #fdf5e6; }
.ptc-dep.full { border-color: #eecaca; color: #a13a3a; background: #fceeee; }
.ptc-dep.none { border-color: #e2e8f0; color: #94a3b8; background: #f8fafc; }
.ptc-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; }
.ptc-price { font-size: 16px; font-weight: 600; color: #c0392b; }
.ptc-comm { font-size: 10.5px; color: #64748b; margin-left: 6px; }
.ptc-go { font-size: 12px; color: #0f9d8f; white-space: nowrap; }
.tk-chip { font-size: 12.5px; padding: 6px 13px; border-radius: 999px; border: 1px solid #a9ded0; background: #e9f7f2; color: #0f6e56; font-weight: 500; cursor: pointer; white-space: nowrap; }
.tk-chip:hover { background: #d9efe8; }
.tk-chip.on { background: #0f6e56; color: #fff; border-color: #0f6e56; }
#partnerBundleDrawer { margin-bottom: 12px; }
#partnerHotTickets { margin-bottom: 12px; }

/* 下单页·包车须知 & 包车退改分段 */
.charter-notice[hidden] { display: none; }
.charter-notice h4 { margin: 0 0 8px; font-size: 14px; color: #102345; }
.charter-notice ul { margin: 0; padding-left: 18px; }
.charter-notice li { font-size: 12.5px; color: #475467; line-height: 1.9; }
.refund-policy .refund-seg { margin-top: 8px; }
.refund-policy .refund-seg b { display: block; font-size: 12.5px; color: #102345; margin-bottom: 2px; }

/* 路线卡：行程框架(D1/D2 时间轴) + 里程徽章 + 一键下单 */
.cl-route-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cl-route-meta { min-width: 0; }
.cl-route-order { flex: 0 0 auto; background: #00909e; color: #fff; border: none; border-radius: 8px; padding: 7px 12px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cl-route-order:hover { background: #00707d; }
.cl-dist { color: #f07a24; font-weight: 600; }
.cl-route-itin { background: #f7faff; border-radius: 8px; padding: 8px 10px; margin: 8px 0; }
/* 长行程默认收起：精确露前 5 天，第 6 天起隐藏；点「展开全部」加 .open 放开 */
.cl-route-itin.collapsible:not(.open) > .cl-itin-day:nth-child(n + 6),
.cl-route-itin.collapsible:not(.open) > .cl-itin-line:nth-child(n + 6) { display: none; }
.cl-itin-toggle { font-size: 12px; padding: 4px 0 2px; border: none; background: none; color: #00909e; cursor: pointer; font-weight: 600; }
.cl-itin-line { font-size: 12px; color: #475467; line-height: 1.7; }
.cl-itin-day { display: flex; gap: 8px; font-size: 12px; color: #344054; line-height: 1.7; padding: 1px 0; }
.cl-itin-d { flex: 0 0 auto; min-width: 26px; height: 18px; display: inline-flex; align-items: center; justify-content: center; background: #e2f5f8; color: #00909e; font-weight: 700; font-size: 11px; border-radius: 5px; padding: 0 5px; }

/* 包车产品页底部：退改政策卡片（须知为每块右侧 .cl-notice） */
.cl-note-card { background: #fff; border: 1px solid #e6e8ee; border-radius: 14px; padding: 16px 20px; margin-top: 14px; box-shadow: 0 1px 3px rgba(16,24,40,.04); }
.cl-note-card h4 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: #1a2233; }
.cl-note-card.refund-policy { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; align-items: start; }
.cl-note-card.refund-policy h4 { grid-column: 1 / -1; margin-bottom: 0; }
.cl-note-card .refund-seg ul { margin: 4px 0 0; padding-left: 18px; }
.cl-note-card .refund-seg li { font-size: 12.5px; color: #475467; line-height: 1.9; }
@media (max-width: 640px) { .cl-note-card.refund-policy { grid-template-columns: 1fr; } }

/* 下单页·多日包车日期区间（出发日 + 天数 → 自动结束日） */
.charter-daterange[hidden] { display: none; }
.charter-daterange { border: 1px solid #00909e; background: #f7faff; border-radius: 10px; padding: 10px 12px; }
.charter-daterange .cdr-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.charter-daterange .cdr-seg { display: flex; flex-direction: column; line-height: 1.2; }
.charter-daterange .cdr-k { font-size: 10px; color: #65748b; }
.charter-daterange .cdr-seg b { font-size: 14px; color: #102345; }
.charter-daterange .cdr-arrow { color: #00909e; font-weight: 700; }
.charter-daterange .cdr-badge { margin-left: auto; background: #00909e; color: #fff; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 14px; }
.charter-daterange .cdr-hint { font-size: 11px; color: #65748b; margin-top: 7px; }

.cl-cta-btns { display: flex; gap: 8px; flex: none; }
.ci-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
#charterInquiryForm textarea { width: 100%; font-family: inherit; resize: vertical; padding: 8px 10px; border: 0.5px solid #d7dde7; border-radius: 8px; font-size: 13px; }

/* 渠道端·我的询价单 */
.ciq-wrap { margin-top: 16px; }
.ciq-title { font-size: 14px; font-weight: 700; color: #1a2233; margin-bottom: 10px; }
.ciq-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
/* 我的询价管理页：工具条 + 行列表 */
.myinq-toolbar { display: flex; gap: 10px; margin: 10px 0 12px; flex-wrap: wrap; }
.myinq-toolbar input { flex: 1; min-width: 180px; }
.myinq-toolbar select { min-width: 150px; }
#myInqList { display: flex; flex-direction: column; gap: 8px; }
.ciq-row { background: #fff; border: 0.5px solid #e6e8ee; border-radius: 10px; overflow: hidden; }
.ciq-row > summary { display: flex; align-items: center; gap: 10px; padding: 11px 14px; cursor: pointer; list-style: none; }
.ciq-row > summary::-webkit-details-marker { display: none; }
.ciq-row-main { flex: 1; min-width: 0; }
.ciq-row-title { font-size: 13.5px; font-weight: 600; color: #1a2233; }
.ciq-row-sub { font-size: 11.5px; color: #98a2b3; margin-top: 2px; }
.ciq-row-total { font-size: 14px; color: #1a2233; white-space: nowrap; }
.ciq-row-hint { font-size: 12px; color: #00909e; white-space: nowrap; }
.ciq-row[open] .ciq-row-hint { color: #98a2b3; }
.ciq-row-body { padding: 0 14px 14px; }
.ciq-row-body > *:first-child { margin-top: 12px; }
/* 我的询价：列表/表格视图 */
.ciq-table-wrap { border: 0.5px solid #e6e8ee; border-radius: 12px; overflow-x: auto; }
/* 固定布局 + 百分比列宽（和≈100%）：列宽均匀、不撑横向滚动条，展开的逐日行程也不会溢出 */
.ciq-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.ciq-table thead th { text-align: left; font-weight: 600; color: #98a2b3; background: #f6f8fc; padding: 10px 12px; white-space: nowrap; }
.ciq-table th.ciq-c-pax, .ciq-table td.ciq-c-pax { text-align: center; width: 5%; }
.ciq-table th.ciq-c-status, .ciq-table td.ciq-c-status { text-align: center; width: 9%; }
.ciq-table th.ciq-c-total, .ciq-table td.ciq-c-total { text-align: right; width: 8%; }
.ciq-table th.ciq-c-act, .ciq-table td.ciq-c-act { text-align: right; width: 14%; white-space: nowrap; }
.ciq-del { border: none; background: transparent; cursor: pointer; font-size: 14px; padding: 2px 6px; margin-left: 8px; border-radius: 6px; opacity: 0.7; }
.ciq-del:hover { background: #fceceb; opacity: 1; }
.ciq-tr { cursor: pointer; }
.ciq-tr td { border-top: 0.5px solid #eef0f4; padding: 11px 12px; color: #1a2233; vertical-align: middle; }
.ciq-tr:hover td { background: #f8fbfc; }
.ciq-tr.open td { background: #f2fafb; }
.ciq-c-no { width: 9%; color: #98a2b3; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ciq-c-title { width: 24%; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ciq-c-date { width: 12%; color: #5a6678; white-space: nowrap; }
.ciq-c-sales { width: 11%; color: #5a6678; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ciq-c-total { font-weight: 600; }
.ciq-c-upd { width: 8%; color: #98a2b3; white-space: nowrap; }
.ciq-row-hint { font-size: 12px; color: #00909e; white-space: nowrap; }
.ciq-detail > td { padding: 2px 16px 14px; background: #fbfcfe; }
.ciq-detail .ciq-row-body { padding: 0; }
.ciq-detail .ciq-row-body > *:first-child { margin-top: 10px; }
.ciq-table .muted { color: #c2cad6; }
.ciq-card { background: #fff; border: 0.5px solid #e6e8ee; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; }
.ciq-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ciq-title { font-size: 14px; font-weight: 600; color: #1a2233; line-height: 1.4; min-width: 0; }
.ciq-status { flex: none; font-size: 11px; padding: 2px 9px; border-radius: 10px; white-space: nowrap; background: #f1f3f7; color: #5a6678; }
.ciq-status.wait { background: #fff7e6; color: #92600a; }
.ciq-status.quoted { background: #e2f5f8; color: #00707d; }
.ciq-status.done { background: #eef7f1; color: #137a4b; }
.ciq-status.draft { background: #efeaf6; color: #5b4a86; }
/* 暂存草稿行：紫色左边条 + 淡紫底，一眼看出 */
.ciq-tr.is-draft td { background: #f8f5fd; }
.ciq-tr.is-draft td:first-child { box-shadow: inset 3px 0 0 #7c6f9c; }
.ciq-tr.is-draft:hover td { background: #f3eefb; }
.ciq-draft-note { font-size: 12.5px; color: #5b4a86; background: #f6f2fc; border: 1px solid #e4dcf3; border-radius: 8px; padding: 9px 12px; margin-bottom: 10px; }
.ciq-meta { font-size: 11.5px; color: #98a2b3; margin: 5px 0 10px; }
.ciq-quote-label { font-size: 12.5px; font-weight: 600; color: #102345; margin: 2px 0 6px; }
.ciq-segs { display: flex; flex-direction: column; gap: 8px; background: #f9fafb; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.ciq-seg { display: flex; flex-direction: column; gap: 4px; }
.ciq-seg + .ciq-seg { border-top: 0.5px solid #e9edf3; padding-top: 8px; }
.ciq-seg-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: #1a2233; font-weight: 600; }
.ciq-seg-top b { color: #00707d; white-space: nowrap; }
.ciq-seg-note { font-size: 12px; color: #667085; line-height: 1.9; padding-left: 2px; }
.ciq-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: #667085; margin-bottom: 10px; }
.ciq-total b { color: #00707d; font-size: 17px; }
.ciq-confirm { width: 100%; }
.ciq-wait { font-size: 12.5px; color: #92600a; background: #fffbf0; border-radius: 8px; padding: 9px 11px; }
.ciq-done { font-size: 12.5px; color: #137a4b; margin-bottom: 6px; }
.ciq-cancel { font-size: 12.5px; color: #98a2b3; background: #f9fafb; border-radius: 8px; padding: 9px 11px; }

/* 订单详情·应收计划 */
.pp-plan { background: #f9fafb; border: 0.5px solid #eef1f6; border-radius: 10px; padding: 10px 12px; }
.pp-line { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: baseline; padding: 5px 0; border-bottom: 0.5px solid #eef1f6; font-size: 13px; }
.pp-line:last-of-type { border-bottom: none; }
.pp-label { color: #1a2233; font-weight: 500; }
.pp-due { font-size: 12px; color: #98a2b3; }
.pp-line strong { color: #00707d; }
.pp-foot { font-size: 12px; color: #98a2b3; margin-top: 6px; }

/* 包车页顶部「发行程询价」显眼入口 */
.cl-inquiry-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: #e2f5f8; border: 0.5px solid #cfe0fb; border-left: 3px solid #00909e; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.cl-inquiry-bar b { font-size: 14px; color: #00707d; }
.cl-inquiry-bar small { display: block; font-size: 12px; color: #5878a8; margin-top: 2px; }
.cl-inquiry-bar button { white-space: nowrap; flex: none; }
/* 紧凑一条：入口提示 + 我的询价药丸 + 发行程询价 */
.cl-inquiry-bar.compact { gap: 12px; padding: 9px 14px; background: #f5f8fd; border: 0.5px solid #e2e8f2; border-left: 0.5px solid #e2e8f2; flex-wrap: nowrap; }
.cl-inq-ic { flex: none; font-size: 18px; }
.cl-inquiry-bar.compact .cl-inq-text { flex: 1; min-width: 0; overflow: hidden; }
.cl-inquiry-bar.compact .cl-inq-text b { font-size: 13px; color: #1a2233; }
.cl-inquiry-bar.compact .cl-inq-text small { display: inline; font-size: 12px; color: #667085; margin: 0 0 0 4px; }
.cl-inq-pill { flex: none; white-space: nowrap; font-size: 12px; color: #137a4b; background: #eef7f1; border: 0.5px solid #cfe9da; padding: 5px 11px; border-radius: 8px; cursor: pointer; text-decoration: none; }
.cl-inq-pill:hover { background: #e2f2e9; }
.cl-inq-pill.muted { color: #5a6678; background: #f1f3f7; border-color: #e3e7ee; }
@media (max-width: 720px) { .cl-inquiry-bar.compact { flex-wrap: wrap; } .cl-inquiry-bar.compact .cl-inq-text small { display: block; margin: 2px 0 0; } }

.ci-pax input { max-width: 120px; }
/* flatpickr 日历适配渠道端风格（青色主色 + 圆角 + 正常流布局，不压住下方行程框） */
#charterInquiryForm .flatpickr-wrapper { display: block; width: 100%; }
.flatpickr-calendar.static { position: static !important; width: 308px; max-width: 100%; margin: 8px 0 4px; box-shadow: none; border: 0.5px solid #e3e8ef; border-radius: 12px; padding: 6px; }
.flatpickr-calendar.static::before, .flatpickr-calendar.static::after { display: none; }
.flatpickr-months { padding-top: 4px; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month { color: #102345; font-weight: 600; }
.flatpickr-current-month .flatpickr-monthDropdown-months, .flatpickr-current-month input.cur-year { font-weight: 600; color: #102345; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { fill: #98a2b3; }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: #00a5b8; }
span.flatpickr-weekday { color: #98a2b3; font-weight: 600; font-size: 12px; }
.flatpickr-day { border-radius: 8px; color: #344054; height: 36px; line-height: 36px; }
.flatpickr-day:hover { background: #e6f6f8; border-color: #e6f6f8; }
.flatpickr-day.today { border-color: #00a5b8; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: #cbd2db; }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange,
.flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover {
  background: #00a5b8; border-color: #00a5b8; color: #fff; }
.flatpickr-day.inRange { background: #e6f6f8; border-color: #e6f6f8; box-shadow: -5px 0 0 #e6f6f8, 5px 0 0 #e6f6f8; }

/* 包车页里的「去我的询价」指引条 + 询价工作台卡片增强 */
.ciq-pointer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #f0f7f3; border: 0.5px solid #cfe8db; border-radius: 10px; padding: 10px 14px; margin: 14px 0; font-size: 13px; color: #2f5d4a; }
.ciq-tag { display: inline-block; font-size: 11px; padding: 2px 10px; border-radius: 10px; background: #f1f3f7; color: #5a6678; margin-bottom: 8px; }
.ciq-tag.quoted { background: #e2f5f8; color: #00707d; }
.ciq-tag.done { background: #eef7f1; color: #137a4b; }
.ciq-tag.wait { background: #fff7e6; color: #92600a; }
.ciq-pay { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f0f7f3; border-radius: 8px; padding: 10px 12px; margin-top: 8px; font-size: 12.5px; color: #2f5d4a; }
.ciq-pay b { color: #137a4b; font-size: 15px; }
.ciq-pay.paid { justify-content: flex-start; background: #eef7f1; color: #137a4b; font-weight: 600; }

/* Bókun 电子票（订单详情右栏） */
.bk-ticket { background: #f7faff; border: 0.5px solid #e6e8ee; border-radius: 10px; padding: 11px 13px; }
.bk-ticket-done { font-size: 13px; color: #137a4b; font-weight: 600; }
.bk-ticket-done b { color: #0a6e5d; }
.bk-ticket-wait { font-size: 12.5px; color: #92600a; }
.bk-ticket-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.bk-ticket-dl { display: inline-block; font-size: 12.5px; padding: 6px 11px; background: #00707d; color: #fff; border-radius: 8px; text-decoration: none; }
.bk-ticket-dl:hover { background: #00707d; }
.bk-bundle { display: flex; flex-direction: column; gap: 10px; }
.bk-leg { border: 0.5px solid #e6e8ee; border-radius: 9px; padding: 9px 11px; background: #fff; }
.bk-leg-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; font-size: 13px; color: #1f2a3d; }
.bk-leg-d { font-size: 12px; color: #8a94a6; font-weight: 600; }

/* Bókun 门票详情·中文富信息 */
.tc-detail.bki { font-size: 12.5px; color: #344054; }
.bki-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.bki-chip { font-size: 11.5px; background: #eef2f7; color: #475467; padding: 3px 9px; border-radius: 7px; }
.bki-intro { font-size: 12.5px; color: #475467; line-height: 1.6; margin: 0 0 10px; }
.bki-sec { margin-bottom: 10px; }
.bki-h { font-size: 12.5px; font-weight: 700; color: #1a2233; margin-bottom: 4px; }
.bki-list { margin: 0; padding-left: 18px; }
.bki-list li { line-height: 1.6; }
.bki-p { margin: 0; line-height: 1.6; color: #475467; }
.bki-src { font-size: 11px; color: #98a2b3; margin-top: 6px; }

/* 订单产品类型标签（与地接端一致）：拼团/包车/门票 */
.ptype-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 8px; white-space: nowrap; vertical-align: middle; }
.ptype-tag.pintuan { background: #e2f5f8; color: #00808f; }
.ptype-tag.charter { background: #e6f7f4; color: #0a8c7d; }
.ptype-tag.ticket { background: #fdeede; color: #c1700c; }
.ptype-tag.other { background: #f1f3f7; color: #5a6678; }
.ptype-tag.resale { background: #eae7fb; color: #5a49c9; }
.ptype-name { font-size: 13px; color: #1f2a3d; margin-left: 7px; vertical-align: middle; }
.ptype-name.muted { color: #98a2b3; }
.ord-ptype { white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.ord-cust { display: block; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-pill { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 20px; vertical-align: middle; }

/* 下单成功确认页 */
.order-success-panel { padding: 26px 18px; }
.osx-wrap { max-width: 440px; margin: 0 auto; text-align: center; }
.osx-ico { width: 64px; height: 64px; border-radius: 50%; background: #e6f7f4; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 4px auto 14px; }
.osx-title { font-size: 20px; font-weight: 700; color: #1a2233; }
.osx-sub { font-size: 13px; color: #667085; margin-top: 6px; }
.osx-no { display: inline-block; background: #f6f8fb; border: 0.5px solid #e6e8ee; border-radius: 8px; padding: 7px 14px; margin: 16px 0; font-size: 13px; color: #667085; }
.osx-no b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #1a2233; margin-left: 4px; }
.osx-card { background: #fff; border: 0.5px solid #e6e8ee; border-radius: 10px; padding: 14px; text-align: left; margin-bottom: 18px; }
.osx-prod { font-size: 14px; font-weight: 600; color: #1a2233; margin-bottom: 9px; }
.osx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.osx-chip { font-size: 12px; background: #f1f3f7; color: #5a6678; padding: 3px 9px; border-radius: 7px; }
.osx-price { display: flex; justify-content: space-between; align-items: baseline; border-top: 0.5px solid #eef2f8; margin-top: 11px; padding-top: 11px; font-size: 13px; color: #667085; }
.osx-price b { font-size: 18px; color: #d85a30; }
.osx-price small { font-size: 12px; color: #98a2b3; font-weight: 400; }
.osx-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.osx-btns button { flex: 1; min-width: 120px; padding: 11px; font-weight: 600; }

/* 包车页分区标题（车型基础报价 / 常见路线·一价全包） */
.cl-sec { border-left: 3px solid #00707d; padding-left: 10px; margin: 14px 0 12px; }
.cl-sec.green { border-left-color: #1d9e75; }
.cl-sec-t { font-size: 15px; font-weight: 600; color: #102345; }
.cl-sec-sub { font-size: 12px; color: #98a2b3; margin-top: 2px; line-height: 1.6; }
.cl-base-cta { margin-top: 10px; font-size: 12.5px; color: #667085; }
.cl-link { color: #00909e; font-weight: 600; cursor: pointer; }
.cl-link:hover { text-decoration: underline; }

/* ===== 发行程询价：整页子页（截图粘贴 + AI 识别逐日行程 + 距离图）===== */
#charterInquiryForm { display: flex; flex-direction: column; gap: 12px; }
.ci-page-head { margin-bottom: 2px; }
.ci-page-head > div { display: flex; align-items: center; gap: 10px; }
.ci-page-sub { font-size: 12px; color: #667085; margin: 0 0 4px; }
.ci-page-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
#charterInquiryForm .ci-tbl-wrap { max-height: 65vh; }
#charterInquiryForm .ci-top { display: grid; grid-template-columns: 140px 300px; gap: 16px; align-items: start; justify-content: start; }
#charterInquiryForm .ci-top > label { display: flex; flex-direction: column; }
/* 目的地国家芯片 + 自动标题预览 */
.ci-country-row { margin-bottom: 12px; }
.ci-country-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.ci-country-chip { font-size: 13px; padding: 8px 18px; border-radius: 20px; border: 0.5px solid #d7dde7; background: #fff; color: #5a6678; cursor: pointer; }
.ci-country-chip.on { border: 2px solid #00a5b8; background: #e2f5f8; color: #036676; font-weight: 600; }
.ci-title-preview { margin: 4px 0 14px; font-size: 13px; color: #98a2b3; background: #f6f9fc; border-radius: 8px; padding: 8px 12px; }
.ci-title-preview b { color: #00808f; font-weight: 600; }
.ci-date-hint { display: block; margin-top: 6px; font-size: 11.5px; color: #3f9d6b; }
.ci-date-hint[hidden] { display: none; }
.ci-date-tip { display: block; margin-top: 6px; font-size: 11.5px; color: #98a2b3; }
.ci-date-tip[hidden] { display: none; }
/* 需要车型 芯片 + 行李额 + 备注 */
.ci-veh-need-row { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.ci-veh-need-col { min-width: 0; }
.ci-luggage-col { flex: 0 0 auto; }
.ci-luggage-input { display: inline-flex; align-items: center; gap: 8px; }
.ci-luggage-input input { width: 90px; padding: 8px 12px; border-radius: 8px; border: 0.5px solid #d7dde7; font-size: 14px; }
.ci-luggage-unit { font-size: 13px; color: #98a2b3; }
.ci-veh-need-label { font-size: 12px; color: #5a6678; margin-bottom: 7px; }
.ci-veh-need-label span { color: #98a2b3; }
.ci-veh-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ci-veh-chip { font-size: 13px; padding: 8px 16px; border-radius: 20px; border: 0.5px solid #d7dde7; background: #fff; color: #5a6678; cursor: pointer; }
.ci-veh-chip small { font-size: 11px; opacity: .7; }
.ci-veh-chip.on { border: 2px solid #00a5b8; background: #e2f5f8; color: #036676; font-weight: 600; }
/* 近期团期·余位 列 */
.col-departures { min-width: 220px; }
th.col-departures { color: #00808f; background: #e2f5f8; }
.dep-cell { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.dep-chip { font-size: 11px; border-radius: 20px; padding: 3px 9px; border: 0.5px solid #9fd8e2; color: #00808f; white-space: nowrap; background: #fff; font-family: inherit; cursor: pointer; }
.dep-chip:hover:not(:disabled) { filter: brightness(0.97); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.dep-chip:disabled { cursor: default; opacity: 0.55; }
.dep-chip.low { border-color: #f0c9a0; color: #9a3412; }
.dep-chip.full { border-color: #eecfd0; color: #a32d2d; }
.dep-chip.roommate { border: 1.5px solid #d4537e; background: #fbeaf0; color: #993556; font-weight: 500; }
.dep-chip.promo { border: 1.5px solid #ef9f27; background: #faeeda; color: #854f0b; font-weight: 500; }
.dep-more { font-size: 11px; color: #98a2b3; border: 0; background: none; cursor: pointer; padding: 2px 4px; }
.dep-more:hover { color: #00808f; }
.dep-none { font-size: 11.5px; color: #98a2b3; background: #f4f6f9; border-radius: 20px; padding: 3px 10px; }
/* 产品名过长截断（约 44 字宽，再长省略号；悬停 title 看全名） */
.pp-name { display: inline-block; max-width: 44em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
/* 门票套餐卡（渠道端） */
.pb-card { display: flex; flex-direction: column; border: 1px solid #cdeee6; border-radius: 12px; background: #fff; overflow: hidden; }
.pb-head { background: #0f6e56; color: #fff; padding: 11px 14px; }
.pb-tag { font-size: 11px; background: rgba(255,255,255,.2); border-radius: 6px; padding: 2px 8px; }
.pb-name { font-size: 15px; font-weight: 500; margin-top: 4px; }
.pb-region { font-size: 11.5px; opacity: .85; margin-top: 2px; }
.pb-days { padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.pb-day { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #334; }
.pb-day .pb-d { flex: 0 0 26px; font-size: 11px; font-weight: 500; color: #0b7285; background: #e6fcf5; border-radius: 6px; padding: 2px 0; text-align: center; }
.pb-day .pb-t { flex: 1; min-width: 0; }
.pb-day .pb-acc { font-size: 11px; color: #98a2b3; }
.pb-foot { padding: 0 14px 14px; }
.pb-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pb-price .pb-list { font-size: 12px; color: #98a2b3; text-decoration: line-through; }
.pb-price b { font-size: 20px; color: #b5510f; }
.pb-price small { font-size: 11.5px; color: #66707f; }
.pb-save { font-size: 11px; background: #ffe3e3; color: #c92a2a; border-radius: 6px; padding: 2px 7px; }
.pb-book { width: 100%; margin-top: 10px; }
/* 门票套餐抽屉：自成一块，收起=一条 / 展开=横排；套餐卡比普通门票宽 */
.tbd-drawer { border: 1px solid #a9ded0; border-radius: 12px; overflow: hidden; }
.tbd-head { width: 100%; display: flex; align-items: center; gap: 10px; background: #e9f7f2; border: 0; padding: 10px 14px; cursor: pointer; text-align: left; }
.tbd-ic { font-size: 16px; }
.tbd-main { flex: 1; min-width: 0; }
.tbd-t { display: block; font-size: 13px; font-weight: 500; color: #0f6e56; }
.tbd-d { display: block; font-size: 11.5px; color: #3a8a95; }
.tbd-toggle { font-size: 12.5px; color: #0f6e56; font-weight: 500; white-space: nowrap; }
.tbd-body { display: flex; gap: 12px; padding: 12px; overflow-x: auto; background: #fbfefd; }
.tbd-drawer:not(.open) .tbd-body { display: none; }
.tbd-body .pb-card { flex: 0 0 262px; }
.bbn-days { display: flex; flex-direction: column; gap: 5px; background: #f2fbfa; border-radius: 8px; padding: 9px 11px; margin-bottom: 6px; }
.bbn-day { font-size: 12.5px; color: #334; }
.bbn-day span { font-weight: 500; color: #0b7285; }
.legacy-tag { font-size: 10px; color: #8a97ab; background: #eef1f6; border-radius: 5px; padding: 1px 6px; font-weight: 500; margin-left: 4px; }
.bbn-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bbn-hint { font-size: 11.5px; color: #0a6b78; background: #eef7fb; border: 1px solid #bfe3ec; border-radius: 8px; padding: 8px 11px; margin: 4px 0 8px; }
.bbn-sched { display: flex; flex-direction: column; gap: 8px; }
.bbn-leg { border: 1px solid #e7edf5; border-radius: 9px; padding: 9px 11px; }
.bbn-leg-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bbn-leg-d { flex: 0 0 26px; font-size: 11px; font-weight: 500; color: #0b7285; background: #e6fcf5; border-radius: 6px; padding: 2px 0; text-align: center; }
.bbn-leg-t { flex: 1; min-width: 100px; font-size: 12.5px; color: #071b42; }
.bbn-leg-acc { font-size: 11px; color: #98a2b3; }
.bbn-leg-f { display: flex; gap: 8px; margin-top: 8px; padding-left: 34px; flex-wrap: wrap; }
.bbn-leg-f input, .bbn-leg-f select { height: 34px; border: 1px solid #d4ddec; border-radius: 8px; padding: 0 9px; font-size: 12.5px; }
.ci-remark { display: flex; flex-direction: column; font-size: 12px; color: #5a6678; }
/* 温馨提醒条 */
.ci-tip { display: flex; align-items: center; gap: 12px; background: #e2f5f8; border: 1px solid #b3e0e8; border-radius: 12px; padding: 12px 16px; margin: 6px 0 14px; }
.ci-tip-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #00909e; color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.ci-tip div { font-size: 13px; color: #00707d; line-height: 1.7; }
.ci-tip b { color: #00707d; }
/* 步骤条 ①填→②识别→③提交 */
.ci-steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.ci-step { font-size: 12.5px; padding: 5px 13px; border-radius: 999px; background: #f1f3f7; color: #98a2b3; }
.ci-step b { color: #b8c0cc; font-weight: 700; margin-right: 2px; }
.ci-steps[data-active="2"] .ci-step[data-step="2"], .ci-steps[data-active="3"] .ci-step[data-step="3"] { background: #00909e; color: #fff; }
.ci-steps[data-active="2"] .ci-step[data-step="2"] b, .ci-steps[data-active="3"] .ci-step[data-step="3"] b { color: #cceff3; }
.ci-steps[data-active="3"] .ci-step[data-step="1"], .ci-steps[data-active="3"] .ci-step[data-step="2"], .ci-steps[data-active="2"] .ci-step[data-step="1"] { background: #e2f5f8; color: #00808f; }
.ci-steps[data-active="3"] .ci-step[data-step="1"] b, .ci-steps[data-active="3"] .ci-step[data-step="2"] b, .ci-steps[data-active="2"] .ci-step[data-step="1"] b { color: #6bbcc6; }
.ci-step-arrow { color: #cbd2dc; font-style: normal; }
/* 底部引导：AI 识别为醒目主按钮，直接提交降级为小链接 */
.ci-action-zone { border: 1.5px dashed #9dd8e0; border-radius: 14px; background: linear-gradient(180deg, #f2fbfc, #fff); padding: 18px; text-align: center; margin-top: 4px; }
.ci-ai-cta { width: 100%; max-width: 540px; font-size: 16px; font-weight: 600; padding: 15px; background: #00909e; color: #fff; border: none; border-radius: 12px; cursor: pointer; }
.ci-ai-cta:hover { background: #00808f; }
.ci-ai-cta:disabled { opacity: .7; cursor: default; }
.ci-ai-cta-sub { font-size: 12.5px; color: #5a6678; margin-top: 10px; }
.ci-ai-cta-sub b { color: #00808f; }
.ci-ai-cta-skip { font-size: 12px; color: #98a2b3; margin-top: 12px; border-top: 0.5px solid #e6e8ee; padding-top: 10px; }
.ci-skip-link { background: none; border: none; color: #5a6678; text-decoration: underline; cursor: pointer; font-size: 12px; padding: 0; }
.ci-skip-link:hover { color: #00808f; }
/* 识别完成后：CTA 收成次要「重新识别」小按钮，隐藏提示与跳过 */
.ci-action-zone.parsed { border-style: solid; border-color: #e6e8ee; background: #fbfcfe; padding: 12px; text-align: left; }
.ci-action-zone.parsed .ci-ai-cta { width: auto; max-width: none; font-size: 12.5px; font-weight: 500; padding: 7px 14px; background: #f2fafb; color: #00808f; border: 1px solid #cdeef2; }
.ci-action-zone.parsed .ci-ai-cta-sub, .ci-action-zone.parsed .ci-ai-cta-skip { display: none; }
/* AI 识别失败态：按钮变红，明显提示可重试 */
#ciAiParse.ci-parse-failed { background: #fef0f0; color: #b42318; border: 1.5px solid #f4b9b3; }
/* 加订门票模式提示条 */
.link-banner { display: flex; flex-direction: column; gap: 9px; background: #eef8f1; border: 1px solid #bfe6cc; border-radius: 11px; padding: 11px 14px; margin-bottom: 12px; font-size: 12.5px; color: #177a3e; }
.link-banner b { color: #0e5a2c; }
.link-banner-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.link-banner-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.link-banner-x { background: #fff; border: 1px solid #bfe6cc; color: #177a3e; font-size: 12px; font-weight: 700; border-radius: 8px; padding: 5px 12px; cursor: pointer; white-space: nowrap; }
.link-banner-done { background: #0f9d75; border: 1px solid #0f9d75; color: #fff; font-size: 12.5px; font-weight: 700; border-radius: 8px; padding: 6px 14px; cursor: pointer; white-space: nowrap; }
.link-banner-done:hover { background: #0c8a66; }
.link-banner-added { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; border-top: 1px dashed #bfe6cc; padding-top: 8px; }
.lb-added-lb { font-weight: 700; color: #0e5a2c; }
.lb-chip { background: #fff; border: 1px solid #bfe6cc; color: #0e5a2c; border-radius: 20px; padding: 2px 10px; font-size: 12px; white-space: nowrap; }
.lb-added-hint { color: #6a9a7c; font-size: 11.5px; }
/* 下单成功页·加订门票入口 */
.osx-addtk { display: block; width: 100%; margin: 6px 0 10px; background: #eef8f1; border: 1px solid #bfe6cc; color: #177a3e; font-size: 13px; font-weight: 700; border-radius: 10px; padding: 11px; cursor: pointer; }
.osx-addtk:hover { background: #e2f3e8; }
/* 订单详情·加订门票按钮 */
.detail-addtk-btn { width: 100%; margin-top: 8px; border-color: #bfe6cc !important; color: #177a3e !important; background: #f4fbf6 !important; font-weight: 700; }
/* 左右两栏结构：左=基本信息，右=客人行程 */
.ci-form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.ci-col { border: 0.5px solid #e6e8ee; border-radius: 12px; padding: 16px; }
.ci-col-title { font-size: 13.5px; font-weight: 600; color: #1a2233; margin-bottom: 14px; }
.ci-col-title span { font-size: 11.5px; font-weight: 400; color: #98a2b3; }
/* 右栏「客人行程」：文字 + 截图 上下堆叠（不再左右） */
#charterInquiryForm .ci-io { display: flex; flex-direction: column; gap: 6px; }
#charterInquiryForm .ci-io > label { display: flex; flex-direction: column; }
#charterInquiryForm .ci-io textarea { flex: 1; }
.ci-io-paste-label { font-size: 12px; color: #5a6678; margin-top: 8px; }
/* 左栏里人数+日期：人数窄、日期占满 */
#charterInquiryForm .ci-col .ci-top { grid-template-columns: 80px 1fr; }
/* 日历右对齐展开，避免被弹窗右边缘截断 */
#charterInquiryForm .flatpickr-calendar.static { left: auto; right: 0; }
@media (max-width: 860px) {
  .ci-form-cols { grid-template-columns: 1fr; }
  #charterInquiryForm .ci-top { grid-template-columns: 1fr; }
  #charterInquiryForm .flatpickr-calendar.static { right: auto; left: 0; }
}
.ci-ai { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.ci-paste { border: 1.5px dashed #c7d2e8; border-radius: 12px; background: #f7faff; padding: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.ci-paste:hover, .ci-paste:focus, .ci-paste.drag { border-color: #00909e; background: #e2f5f8; outline: none; }
.ci-paste-hint { display: block; font-size: 12.5px; color: #667085; text-align: center; line-height: 1.6; }
.ci-paste-hint b { color: #00909e; }
.ci-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ci-thumbs:empty { display: none; }
.ci-thumb { position: relative; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid #e4e9f2; }
.ci-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ci-thumb-pdf { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #b42318; background: #fdeceb; text-align: center; }
.ci-thumb.done { border-color: #34c759; }
.ciq-extra { font-size: 12px; color: #475467; margin-top: 8px; display: flex; flex-direction: column; gap: 3px; }
.ciq-extra b { color: #036676; }
.ciq-attach { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 12px; color: #667085; }
.ciq-attach a { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 7px; border: 0.5px solid #e4e9f2; overflow: hidden; }
.ciq-attach img { width: 100%; height: 100%; object-fit: cover; }
.ciq-att-pdf { font-size: 11px; color: #b42318; background: #fdeceb; }
.ci-thumb button { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; line-height: 16px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; cursor: pointer; padding: 0; }
.ci-ai-btn { align-self: flex-start; }

.ci-preview { border: 0; padding: 0; background: transparent; }
.ci-preview[hidden] { display: none; }

/* AI 识别结果：整宽干净表格（日期/行程安排/酒店/服务），格子点了才可改 */
.ci-tbl-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.ci-tbl-title { font-size: 13px; font-weight: 600; color: #102345; }
.ci-tbl-actions { display: flex; align-items: center; gap: 12px; }
.ci-tbl-hint { font-size: 11px; color: #98a2b3; }
.ci-tbl-note { font-size: 12px; color: #856404; background: #fff8e6; border-radius: 8px; padding: 6px 9px; margin-bottom: 8px; line-height: 1.5; }
.ci-tbl-wrap { border: 0.5px solid #e4e9f2; border-radius: 10px; overflow: hidden; max-height: 360px; overflow-y: auto; }
/* 导出图片：白底 + 标题；截图时放开滚动限高、隐藏可编辑边框，图更干净完整 */
#ciExportArea { background: #fff; }
.ci-export-head { font-size: 15px; font-weight: 700; color: #0a2540; margin: 4px 0 12px; }
.ci-exporting { padding: 16px 18px; border-radius: 12px; }
.ci-exporting .ci-tbl-wrap { max-height: none; overflow: visible; }
.ci-exporting .ci-tbl input, .ci-exporting .ci-tbl textarea { border-color: transparent !important; background: transparent !important; box-shadow: none !important; }
.ci-tbl { width: 100%; border-collapse: collapse; }
.ci-tbl th { font-size: 11.5px; font-weight: 600; color: #5a6678; text-align: left; padding: 8px 10px; border-bottom: 1px solid #d7dde7; background: #f7f9fc; position: sticky; top: 0; z-index: 1; }
.ci-tbl th:nth-child(3), .ci-tbl th:nth-child(4) { width: 170px; }
.ci-tbl td { padding: 8px; border-bottom: 0.5px solid #eef1f6; vertical-align: middle; }
.ci-tbl tbody tr:nth-child(even) { background: #f7faff; }
.ci-tbl th.ci-tbl-day, .ci-tbl td.ci-tbl-day { width: 78px; }
.ci-tbl-day .ci-tbl-d { font-size: 13px; font-weight: 600; color: #00909e; padding: 3px 5px; }
.ci-tbl-day .ce-date { margin-top: 3px; width: 100%; font-size: 11px; text-align: center; color: #5a6678; }
.ci-tbl .ce { border: 0; background: transparent; padding: 3px 5px; width: 100%; box-sizing: border-box; font-size: 12.5px; color: #102345; border-radius: 5px; font-family: inherit; }
.ci-tbl .ce:hover { background: #eef2f9; }
.ci-tbl .ce:focus { outline: none; background: #fff; box-shadow: 0 0 0 1px #00909e; }
.ci-tbl .ce-title { font-weight: 600; }
.ci-tbl-route { display: flex; align-items: center; gap: 3px; padding: 1px 0; font-size: 11px; color: #98a2b3; }
.ci-tbl-route .ce { font-size: 11px; width: auto; flex: 1; min-width: 0; }
.ci-tbl-route .ce-km { flex: 0 0 46px; text-align: right; }
.ci-tbl-kmunit { color: #98a2b3; }
.ci-tbl-bar { height: 5px; border-radius: 3px; background: #eef1f6; margin: 4px 5px 0; overflow: hidden; }
.ci-tbl-bar span { display: block; height: 100%; background: #cbd5e1; }
.ci-tbl-bar.short span { background: #34c759; }
.ci-tbl-bar.mid span { background: #ff9f0a; }
.ci-tbl-bar.long span { background: #ff3b30; }
.ci-tbl-legend { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-size: 11px; color: #98a2b3; }
.ci-tbl-legend .lg { display: inline-flex; align-items: center; gap: 4px; }
.ci-tbl-legend .lg::before { content: ""; width: 14px; height: 5px; border-radius: 3px; display: inline-block; }
.ci-tbl-legend .lg.short::before { background: #34c759; }
.ci-tbl-legend .lg.mid::before { background: #ff9f0a; }
.ci-tbl-legend .lg.long::before { background: #ff3b30; }

/* 角色列（基础角色下拉 + 接机/送机开关，可改）*/
.ci-tbl th.ci-tbl-role, .ci-tbl td.ci-tbl-role { width: 138px; text-align: center; }
.ci-role-cell { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.ci-role-sel { width: 100%; font-size: 12px; padding: 5px 6px; border-radius: 8px; border: 1px solid #d7dde7; background: #fff; cursor: pointer; }
.ci-role-sel.role-charter { background: #e1f0ea; color: #0f6e56; border-color: #bfe0d3; }
.ci-role-sel.role-free { background: #eef6df; color: #5c7a12; border-color: #d5e6b0; }
.ci-role-sel.role-fly { background: #f1efe8; color: #5f5e5a; border-color: #ddd9cd; }
.ci-role-sel.role-empty { background: #faeeda; color: #854f0b; border-color: #f0dcb3; }
/* 接送开关：只显示已勾选的，纯文字 + ✕ 可撤；「＋接送」点开加 */
.ci-tf-row { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.ci-tf { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; padding: 2px 4px 2px 8px; border-radius: 999px; background: #e6f1fb; color: #185fa5; white-space: nowrap; }
.ci-tf b { cursor: pointer; font-weight: 700; width: 15px; height: 15px; line-height: 15px; text-align: center; border-radius: 50%; color: #5b7ea8; }
.ci-tf b:hover { background: rgba(24,95,165,.16); color: #12457a; }
.ci-tf-add { font-size: 11px; padding: 2px 9px; border-radius: 999px; border: 1px dashed #c3ccda; background: transparent; color: #98a2b3; cursor: pointer; }
.ci-tf-add:hover { border-color: #185fa5; color: #185fa5; }
.ci-tf-menu { display: inline-flex; gap: 5px; }
.ci-tf-opt { font-size: 11px; padding: 2px 9px; border-radius: 999px; border: 1px solid #c4ddf4; background: #e6f1fb; color: #185fa5; cursor: pointer; }
.ci-tf-opt:hover { background: #d3e6f9; }
/* 只读逐日行程里的接送小标 */
.pit-tf { font-size: 11px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; flex: 0 0 auto; background: #e6f1fb; color: #185fa5; }

/* 自动预估参考价面板 */
.ci-est-panel { margin-top: 16px; border: 1px solid #cbe6ec; border-radius: 12px; background: linear-gradient(180deg,#f7fcfd,#fff); padding: 14px 16px; }
.ci-est-head { font-size: 15px; font-weight: 700; color: #1a2233; display: flex; align-items: center; gap: 10px; }
.ci-est-tag { font-size: 11px; font-weight: 500; padding: 2px 9px; border-radius: 6px; background: #fff4e0; color: #92600a; }
.ci-est-sub { font-size: 12px; color: #98a2b3; margin: 4px 0 10px; }
.ci-sum-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ci-sum-chip { font-size: 12px; padding: 4px 11px; border-radius: 999px; background: #f1f3f7; color: #5a6678; }
.ci-sum-chip b { font-weight: 700; }
.ci-sum-chip.charter { background: #e1f0ea; color: #0f6e56; }
.ci-sum-chip.pick, .ci-sum-chip.drop { background: #e6f1fb; color: #185fa5; }
.ci-sum-chip.free { background: #eef6df; color: #5c7a12; }
.ci-sum-chip.fly { background: #f1efe8; color: #5f5e5a; }
.ci-sum-chip.empty { background: #faeeda; color: #854f0b; }
.ci-est-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.ci-est-card { position: relative; background: #fff; border: 1px solid #e6e8ee; border-radius: 12px; padding: 14px; }
.ci-est-card.rec { border: 2px solid #00a5b8; }
.ci-est-rec { position: absolute; top: -9px; left: 14px; font-size: 11px; padding: 2px 9px; border-radius: 6px; background: #e2f5f8; color: #00707d; }
.ci-est-vt { font-size: 13.5px; font-weight: 600; color: #1a2233; }
.ci-est-vt small { font-weight: 400; color: #98a2b3; margin-left: 5px; }
.ci-est-total { font-size: 23px; font-weight: 700; color: #00808f; margin-top: 6px; }
.ci-est-per { font-size: 12px; color: #667085; margin: 1px 0 8px; }
.ci-est-total .ci-cny { font-size: 13px; font-weight: 400; color: #98a2b3; }
.ci-est-per .ci-cny { color: #98a2b3; }
.ci-est-lines { font-size: 11.5px; color: #98a2b3; line-height: 1.9; border-top: 0.5px solid #eef0f4; padding-top: 8px; }
.ci-est-note { font-size: 11.5px; color: #98a2b3; margin-top: 12px; line-height: 1.6; }
.ci-est-empty { font-size: 12.5px; color: #98a2b3; background: #f6f9fc; border-radius: 8px; padding: 10px 12px; }
.ci-est-remark { display: block; font-size: 12.5px; color: #5a6678; margin-top: 16px; }
.ci-est-remark textarea { display: block; width: 100%; margin-top: 6px; padding: 9px 12px; border: 0.5px solid #d7dde7; border-radius: 8px; font-size: 13px; font-family: inherit; resize: vertical; }
.ci-est-foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ci-est-foot .ci-est-foot-note { margin-right: auto; font-size: 12px; color: var(--muted, #98a2b3); }

/* 逐日行程 · 每天两行卡片（标题行 + 距离条 + 起止/里程），不挤不重叠 */
.pit-day { border: 1px solid #e0e9f5; border-radius: 12px; padding: 11px 14px; margin-bottom: 8px; background: #fff; }
.pit-day.empty { background: #f8fbff; }
.pit-row1 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pit-d { font-weight: 700; color: #00808f; font-size: 15px; flex: 0 0 auto; }
.pit-date { font-size: 12px; color: #98a2b3; flex: 0 0 auto; }
.pit-title { font-weight: 600; color: #1a2233; font-size: 13.5px; flex: 1 1 auto; min-width: 0; }
.pit-hotel { font-size: 12px; color: #5a6678; white-space: nowrap; flex: 0 0 auto; }
.pit-role { font-size: 11px; padding: 2px 9px; border-radius: 999px; white-space: nowrap; flex: 0 0 auto; }
.pit-role.role-charter { background: #e1f0ea; color: #0f6e56; }
.pit-role.role-pick, .pit-role.role-drop { background: #e6f1fb; color: #185fa5; }
.pit-role.role-free { background: #eef6df; color: #5c7a12; }
.pit-role.role-fly { background: #f1efe8; color: #5f5e5a; }
.pit-role.role-empty { background: #faeeda; color: #854f0b; }
.pit-bar { height: 8px; border-radius: 999px; background: #e2f5f8; overflow: hidden; margin: 9px 0 6px; }
.pit-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #00808f, #2bb7f0); }
.pit-day.long .pit-bar span { background: linear-gradient(90deg, #f59e0b, #fb7185); }
.pit-day.short .pit-bar span { background: linear-gradient(90deg, #10b981, #5eead4); }
.pit-day.empty .pit-bar span { background: #cbd7e6; }
.pit-row2 { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.pit-route { color: #5a6678; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pit-km { color: #00808f; font-weight: 700; white-space: nowrap; flex: 0 0 auto; }
/* 逐日行程 · 距离进度图（与后台 routeMapHtml 同款视觉）*/
.route-map-panel { padding: 16px; border: 1px solid #d8e5f5; border-radius: 14px; background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%); }
.route-map-panel header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 12px; }
.route-map-panel h4 { margin: 0 0 4px; color: #1a2233; font-size: 18px; }
.route-map-panel p { margin: 0; color: #98a2b3; font-size: 13px; font-weight: 700; }
.route-map-panel header > strong { padding: 7px 10px; border-radius: 999px; color: #00808f; background: #e2f5f8; white-space: nowrap; }
.route-progress-list { display: grid; gap: 10px; }
.route-progress-day { display: grid; grid-template-columns: 132px minmax(0, 1fr) 180px; gap: 14px; align-items: center; padding: 14px; border: 1px solid #e0e9f5; border-radius: 12px; background: #fff; }
.route-progress-head strong, .route-progress-head span { display: block; }
.route-progress-head strong { color: #00808f; font-size: 17px; }
.route-progress-head span { margin-top: 4px; color: #1a2233; font-weight: 900; line-height: 1.35; }
.route-progress-date { display: block; margin-top: 2px; color: #98a2b3; font-size: 12px; font-style: normal; font-weight: 800; }
.route-progress-main { min-width: 0; }
.route-progress-bar { height: 10px; overflow: hidden; border-radius: 999px; background: #e2f5f8; }
.route-progress-bar span { display: block; width: calc(var(--route-progress) * 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #00808f, #2bb7f0); }
.route-progress-day.long .route-progress-bar span { background: linear-gradient(90deg, #f59e0b, #fb7185); }
.route-progress-day.short .route-progress-bar span { background: linear-gradient(90deg, #10b981, #5eead4); }
.route-progress-day.empty .route-progress-bar span { background: #cbd7e6; }
.route-progress-day.empty { background: #f8fbff; }
.route-progress-points { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 12px; font-weight: 800; }
.route-progress-points em { max-width: 33%; overflow: hidden; color: #98a2b3; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.route-progress-points em:last-child { color: #1a2233; text-align: right; }
.route-progress-note { margin-top: 4px; color: #00808f; font-size: 13px; font-weight: 900; }
.route-progress-stay { padding: 10px; border: 1px solid #cbe6ec; border-radius: 10px; background: #f6f9fd; }
.route-progress-stay small { display: block; margin-bottom: 4px; color: #98a2b3; font-size: 12px; font-weight: 900; }
.route-progress-stay b { display: block; overflow: hidden; color: #1a2233; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) {
  .route-progress-day { grid-template-columns: 1fr; gap: 8px; }
  .route-map-panel header { flex-direction: column; }
}
.ci-rt { border-top: 1px dashed #e4e9f2; padding-top: 10px; }
.ci-rt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.ci-rt-head b { font-size: 13px; color: #102345; }
.ci-rt-head span { font-size: 12px; color: #00909e; font-weight: 600; }
.ci-rt-note { font-size: 12px; color: #856404; background: #fff8e6; border-radius: 8px; padding: 6px 9px; margin-bottom: 8px; line-height: 1.5; }
.ci-rt-list { display: flex; flex-direction: column; gap: 8px; }
.ci-rt-day { display: flex; gap: 9px; align-items: flex-start; }
.ci-rt-d { flex: 0 0 34px; font-weight: 700; font-size: 13px; color: #475467; padding-top: 1px; }
.ci-rt-main { flex: 1; min-width: 0; }
.ci-rt-title { font-size: 13px; font-weight: 600; color: #102345; line-height: 1.4; }
.ci-rt-stops { font-size: 11.5px; color: #667085; margin-top: 1px; }
.ci-rt-bar { height: 6px; border-radius: 4px; background: #eef1f6; margin: 5px 0 3px; overflow: hidden; }
.ci-rt-bar span { display: block; height: 100%; border-radius: 4px; background: #cbd5e1; }
.ci-rt-day.short .ci-rt-bar span { background: #34c759; }
.ci-rt-day.mid .ci-rt-bar span { background: #ff9f0a; }
.ci-rt-day.long .ci-rt-bar span { background: #ff3b30; }
.ci-rt-km { font-size: 11px; color: #98a2b3; }
.ci-rt-sub { font-size: 11.5px; color: #475467; margin-top: 2px; }

.ciq-itin { margin-top: 8px; border-top: 1px solid #f0f2f6; padding-top: 8px; }
.ciq-itin summary { cursor: pointer; font-size: 12.5px; color: #00909e; font-weight: 600; list-style: none; }
.ciq-itin summary::-webkit-details-marker { display: none; }
.ciq-itin[open] summary { margin-bottom: 8px; }
.ciq-raw { white-space: pre-wrap; font-size: 12px; color: #475467; background: #f7f9fc; border-radius: 8px; padding: 9px; margin: 0; font-family: inherit; line-height: 1.6; }

/* 渠道商下单端「包车询价」页顶部亮点横幅 + 淡青底纹（去纯白单调） */
#myInquiriesPage.partner-page.active {
  display: block;
  background: #f0f7f3;
  background-image: radial-gradient(rgba(0, 128, 143, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  border-radius: 16px;
  padding: 16px;
}
.hero-banner { margin-bottom: 14px; }
.hero-banner-inner {
  position: relative;
  overflow: hidden;
  background: #00808f;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-banner-wave { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; pointer-events: none; }
.hero-banner-icon {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.hero-banner-text { position: relative; flex: 1; min-width: 0; }
.hero-banner-title { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.35; }
.hero-banner-sub { font-size: 12.5px; color: #cdeceb; margin-top: 4px; }
.hero-banner-cta {
  position: relative;
  background: #fff; color: #00808f;
  font-size: 14px; font-weight: 600;
  padding: 10px 20px;
  border: none; border-radius: 999px;
  white-space: nowrap; flex-shrink: 0; cursor: pointer;
  transition: background 0.15s ease;
}
.hero-banner-cta:hover { background: #eafaf9; }
@media (max-width: 640px) {
  .hero-banner-inner { flex-wrap: wrap; }
  .hero-banner-cta { width: 100%; text-align: center; }
}

/* 导出客户版 PDF 按钮条 */
.pm-export-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; }
.pm-export-bar .pm-export-pdf { font-size: 13.5px; padding: 9px 16px; }
.pm-export-bar small { color: var(--muted, #98a2b3); font-size: 11.5px; }

/* 工具栏各项顶部对齐(避免搜索/排序被拉伸到和滑块一样高) */
#productsPage .filters { align-items: flex-start; }
#productsPage .filters input, #productsPage .filters select { height: 40px; }
/* 拼团产品·按天数区间滑块（工具栏右上） */
#partnerDaySlider.day-slider { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; width: auto; margin: 0; border: 0; padding: 0; background: transparent; }
#partnerDaySlider .pds-title { font-size: 12px; font-weight: 600; color: #667085; white-space: nowrap; margin-right: 2px; }
.pds-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.pds-title { font-size: 13px; font-weight: 600; color: #1a2233; white-space: nowrap; }
.pds-info { font-size: 12px; color: #667085; white-space: nowrap; }
.pds-info b { color: #0a6b78; font-weight: 600; }
.pds-track { position: relative; height: 22px; margin: 0 3px; }
.pds-track > .pds-fill, .pds-track::before { content: ""; position: absolute; top: 9px; height: 4px; border-radius: 2px; }
.pds-track::before { left: 0; right: 0; background: #edf1f5; }
.pds-fill { background: #0a6b78; }
.pds-track input[type=range] { position: absolute; top: -3px; left: 0; width: 100%; height: 22px; margin: 0; background: transparent; pointer-events: none; -webkit-appearance: none; appearance: none; }
.pds-track.single input[type=range] { pointer-events: auto; }
.pds-track input[type=range]::-webkit-slider-runnable-track { background: transparent; }
.pds-track input[type=range]::-moz-range-track { background: transparent; }
.pds-track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 2px solid #0a6b78; cursor: pointer; pointer-events: auto; box-shadow: 0 1px 3px rgba(0,0,0,.25); margin-top: -1px; }
.pds-track input[type=range]::-moz-range-thumb { width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 2px solid #0a6b78; cursor: pointer; pointer-events: auto; }
.pds-ticks { position: relative; height: 14px; font-size: 10.5px; color: #98a2b3; margin-top: 2px; }
.pds-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }

/* ===== 销售端：我的客资 ===== */
.sl-wrap { max-width: 100%; }
/* 电脑端:跟进表单区限制阅读宽度,输入框不被整页拉太长 */
.sl-wrap .sl-form { max-width: 960px; }
.sl-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.sl-head h3 { margin: 0; font-size: 18px; }
.sl-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.sl-stat { font-size: 12.5px; background: #f1f5f9; color: #334155; border-radius: 20px; padding: 4px 12px; }
.sl-stat b { color: #0f172a; }
.sl-stat-new { background: #e6f1fb; color: #185fa5; }
.sl-stat-over { background: #faeeda; color: #854f0b; }
.sl-stat-won { background: #def0e8; color: #0b6b4f; }
.sl-stat-quote { cursor: pointer; }
.sl-stat-quote:hover { filter: brightness(0.97); }
.sl-stat-quote.on { background: #f2a900; color: #fff; box-shadow: 0 0 0 2px #ffe6ac; }
.sl-stat-quote.on b { color: #fff; }
/* 已成交/已流失 折叠区 */
.sl-closed { margin-top: 20px; border-top: 0.5px solid #e6e8ee; padding-top: 12px; }
.sl-closed-toggle { background: none; border: none; color: #475569; font-size: 13px; cursor: pointer; padding: 4px 0; font-weight: 500; }
.sl-closed-toggle b { color: #0f172a; }
.sl-closed-body { margin-top: 8px; }
.sl-cl-grp { font-size: 12px; color: #64748b; font-weight: 600; margin: 10px 0 6px; }
.sl-cl-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; background: #f8fafc; border-radius: 8px; margin-bottom: 6px; font-size: 13px; }
.sl-cl-meta { font-size: 12px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.sl-cl-won { color: #0b6b4f; font-weight: 600; }
.sl-cl-lost { color: #a32d2d; }
/* 成功浮层提示 */
.sl-toast { position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); background: #0b6b4f; color: #fff; padding: 12px 22px; border-radius: 24px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 30px rgba(0,0,0,.25); opacity: 0; transition: opacity .3s, transform .3s; z-index: 9999; pointer-events: none; }
.sl-toast.show { opacity: 1; transform: translate(-50%, 0); }
.sl-toast-warn { background: #854f0b; }
/* 成交关联订单弹窗 */
.sl-winov { position: fixed; inset: 0; background: rgba(15,27,45,.45); display: flex; align-items: center; justify-content: center; z-index: 9998; padding: 16px; }
.sl-winbox { background: #fff; border-radius: 14px; width: 100%; max-width: 440px; max-height: 82vh; display: flex; flex-direction: column; padding: 16px 18px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.sl-winh { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 650; }
.sl-winx { background: none; border: none; font-size: 22px; color: #94a3b8; cursor: pointer; line-height: 1; padding: 0 4px; }
.sl-winsub { font-size: 12px; color: #64748b; margin: 4px 0 12px; line-height: 1.5; }
.sl-winq { width: 100%; height: 36px; border: 0.5px solid #e0e6ed; border-radius: 8px; padding: 0 12px; font-size: 13px; box-sizing: border-box; margin-bottom: 10px; }
.sl-winlist { overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 6px; min-height: 60px; }
.sl-wino { text-align: left; background: #f8fafc; border: 0.5px solid #e6ecf3; border-radius: 8px; padding: 9px 11px; font-size: 13px; cursor: pointer; }
.sl-wino:hover { border-color: #0f9d8f; background: #f0f9f8; }
.sl-winft { margin-top: 12px; display: flex; justify-content: flex-end; }
.sl-tip { font-size: 12px; color: #64748b; background: #f8fafc; border: 0.5px solid #e6e8ee; border-radius: 10px; padding: 8px 12px; line-height: 1.7; margin: 10px 0 14px; }
.sl-tip b { color: #b45309; }
/* 新手指南 + 搜索:左右并排 */
.sl-toprow { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.sl-toprow > .sl-guide { flex: 1 1 380px; margin-bottom: 0 !important; }
/* 展开新手指南时铺满整行(内容用全宽·不再挤在左半);搜索条自动换到下一行 */
.sl-toprow > .sl-guide[open] { flex-basis: 100%; }
.sl-toprow > .sl-searchbar { flex: 1 1 300px; margin-bottom: 0; }
/* 客户搜索条 */
.sl-searchbar { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d7dbe4; border-radius: 11px; padding: 4px 12px; margin: 0 0 14px; transition: border-color .15s, box-shadow .15s; }
.sl-searchbar:focus-within { border-color: #0f766e; box-shadow: 0 0 0 3px rgba(15,118,110,.1); }
.sl-search-ic { font-size: 14px; color: #94a3b8; flex: none; }
.sl-searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 34px; font-size: 13.5px; color: #0f172a; }
.sl-searchbar input::placeholder { color: #a2acbd; }
.sl-search-clear { flex: none; border: 0; background: #eef1f5; color: #64748b; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; cursor: pointer; line-height: 1; }
.sl-search-clear:hover { background: #e2e6ec; color: #334155; }
.sl-search-cnt { flex: none; font-size: 12px; color: #0f766e; font-weight: 600; white-space: nowrap; }
/* 分配日期速览条 + 分组 */
.sl-daybar { margin: 0 0 16px; }
.sl-daybar-row { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.sl-filterrow, .sl-jumprow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sl-stfilter.on { background: #0f9d8f; border-color: #0f9d8f; color: #fff; font-weight: 600; }
.sl-stfilter.on b { color: #fff; }
/* ✗ 流失标签:未选=淡红,选中=红底 */
.sl-stfilter-lost { background: #fdf1f0; border-color: #f2cfcb; color: #a32d2d; }
.sl-stfilter-lost b { color: #a32d2d; }
.sl-stfilter-lost.on { background: #a32d2d; border-color: #a32d2d; color: #fff; }
.sl-stfilter-lost.on b { color: #fff; }
.sl-daychip { border: 0.5px solid #d7dbe4; background: #fff; color: #475569; border-radius: 20px; padding: 5px 13px; font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.sl-daychip b { color: #0f172a; font-size: 13px; }
/* 📅 时间筛选选中态:段/全部时间/自定义区间选中=深蓝底 */
.sl-daychip.on { background: #185fa5; border-color: #185fa5; color: #fff; }
.sl-daychip.on b { color: #fff; }
input.sl-daychip::placeholder { color: #94a3b8; }
input.sl-daychip.on::placeholder { color: #e5eefb; }
.sl-daychip:hover { border-color: #94a3b8; }
/* 个人客资明细:整行可点(看运营录入凭证)→ hover 高亮提示可点 */
.md-leadrow:hover > td { background: #f3fbf9; }
/* 未选中的今天/昨天:白底+彩色文字(保留热度暗示,不抢选中态);选中态(.on 深蓝填充)清晰压过 */
.sl-daychip-today { background: #fff; border-color: #f2d6d3; color: #a32d2d; }
.sl-daychip-today b { color: #a32d2d; }
.sl-daychip-yest { background: #fff; border-color: #efdfc0; color: #854f0b; }
.sl-daychip-yest b { color: #854f0b; }
.sl-group { margin-bottom: 18px; }
.sl-group-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 2px 10px; padding-bottom: 6px; border-bottom: 1.5px solid #eef1f6; position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(4px); z-index: 1; }
.sl-group-t { font-size: 14px; font-weight: 700; color: #0f172a; }
.sl-group[data-g="today"] .sl-group-t { color: #a32d2d; }
.sl-group-n { font-size: 12px; color: #64748b; background: #f1f5f9; border-radius: 12px; padding: 2px 10px; flex: none; }
.sl-src { font-size: 12px; color: #64748b; margin-top: 6px; padding-top: 6px; border-top: 0.5px dashed #e6e8ee; }
.sl-src b { color: #334155; }
.sl-tosum { color: #185fa5; cursor: pointer; margin-left: 4px; white-space: nowrap; }
.sl-tosum:hover { text-decoration: underline; }
.sl-card { background: #fff; border: 0.5px solid #e6e8ee; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.sl-card.sl-hl { animation: slHl 2.6s ease; }
@keyframes slHl { 0%,70% { box-shadow: 0 0 0 2px #0f9d8f, 0 0 0 6px rgba(15,157,143,.18); } 100% { box-shadow: none; } }
.sl-banner { font-size: 12.5px; border-radius: 8px; padding: 7px 10px; margin-bottom: 8px; font-weight: 500; }
.sl-red { background: #fceceb; color: #a32d2d; }
.sl-amber { background: #faeeda; color: #854f0b; }
.sl-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.sl-top b { font-size: 15px; }
.sl-pill { font-size: 11.5px; border-radius: 20px; padding: 2px 10px; margin-left: 6px; background: #eef2f7; color: #475569; }
.sl-st-new { background: #e6f1fb; color: #185fa5; }
.sl-st-contacted { background: #eef2f7; color: #475569; }
.sl-st-following { background: #e1f5ee; color: #0f6e56; }
.sl-st-quoted { background: #eeedfe; color: #534ab7; }
.sl-next { font-size: 12px; color: #64748b; }
.sl-info { font-size: 12.5px; color: #475569; margin-top: 5px; }
.sl-intent { font-size: 12.5px; color: #0f172a; margin-top: 5px; }
.sl-last { font-size: 12px; color: #64748b; margin-top: 6px; padding-top: 6px; border-top: 0.5px dashed #e6e8ee; }
.sl-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.sl-actions button { padding: 6px 14px; font-size: 12.5px; }
.sl-actions .sl-followbtn { flex: 1; min-width: 160px; }
.sl-actions .sl-morebtn { flex: none; color: #6b7280; }
.sl-moreacts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; padding: 8px 10px; background: #f6f8fb; border: 0.5px dashed #d7dde7; border-radius: 9px; }
.sl-moreacts .sl-moretip { font-size: 11.5px; color: #94a3b8; margin-right: auto; }
.sl-moreacts button { padding: 5px 13px; font-size: 12.5px; }
.sl-moreacts .sl-win { color: #0f6e56; border-color: #9fe1cb; }
.sl-moreacts .sl-lose { color: #a32d2d; border-color: #f0999b; }
.sl-form { margin-top: 10px; padding: 10px 12px; background: #f8fafc; border: 0.5px solid #e6e8ee; border-radius: 10px; display: flex; flex-direction: column; gap: 8px; }
.sl-newhint { font-size: 12px; color: #0a6b4f; background: #e4f5ec; border: 0.5px solid #bfe6d3; border-radius: 8px; padding: 7px 10px; line-height: 1.6; }
.sl-caret { display: inline-block; font-size: 10px; transition: transform 0.18s ease; }
.sl-followbtn.sl-open .sl-caret { transform: rotate(180deg); }
@keyframes slDrawerIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.sl-form.sl-anim { animation: slDrawerIn 0.18s ease; }
.sl-form textarea, .sl-form input, .sl-form select { width: 100%; }
.sl-form label { font-size: 12px; color: #64748b; display: flex; flex-direction: column; gap: 4px; }
.sl-form-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.sl-form-row label { flex: 1; min-width: 130px; }
.sl-form-row button { flex: 0 0 auto; }
.sl-form button.sl-lose { background: #a32d2d; border-color: #a32d2d; }
.sl-empty { text-align: center; padding: 3rem 1rem; color: #334155; font-size: 15px; line-height: 1.9; background: #fff; border: 0.5px solid #e6e8ee; border-radius: 12px; }
/* ===== ⭐ 重点客户星标 ===== */
.sl-star { background: none; border: 0; font-size: 19px; line-height: 1; cursor: pointer; padding: 0 6px 0 0; color: #b0b9c6; vertical-align: -1px; }
.sl-star.on { color: #f2a900; }
.sl-star:hover { transform: scale(1.15); }
.sl-card-star { border-color: #f2c94c !important; box-shadow: 0 0 0 1px #f7dd8e inset; background: linear-gradient(180deg, #fffdf5, #fff); }
.sl-starchip.on { background: #fff6df; border-color: #f2c94c; color: #8a5a12; font-weight: 700; }
/* ===== 渐进式卡片(方案A):左信息 / 右操作 两栏 ===== */
.sl-card-main { display: flex; gap: 18px; align-items: flex-start; }
.sl-card-left { flex: 1; min-width: 0; }
.sl-card-right { flex: none; width: 340px; }
.sl-card-right .sl-todo { margin-top: 0; }
@media (max-width: 720px) { .sl-card-main { flex-direction: column; gap: 10px; } .sl-card-right { width: 100%; } }
.sl-todo { margin-top: 12px; border-radius: 11px; padding: 10px 13px; font-size: 13.5px; line-height: 1.5; }
.sl-todo b { font-weight: 800; }
.sl-todo .sl-todo-s { display: block; font-size: 11.5px; font-weight: 500; opacity: .92; margin-top: 2px; }
.sl-todo-red { background: #fdecec; color: #b3261e; border: 1px solid #f5c6c6; }
.sl-todo-amber { background: #fff6e6; color: #8a5a12; border: 1px solid #f2dcae; }
.sl-todo-blue { background: #eaf2fd; color: #1c4ea8; border: 1px solid #cfe0fb; }
.sl-todo-green { background: #e8f6f0; color: #0b7355; border: 1px solid #bfe7d6; }
.sl-acts2 { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.sl-primary2 { background: var(--accent, #0f9d8f); color: #fff; border: 0; border-radius: 11px; padding: 14px; font-size: 15px; font-weight: 800; cursor: pointer; font-family: inherit; box-shadow: 0 2px 8px rgba(15,157,143,.24); }
.sl-primary2:active { transform: translateY(1px); }
.sl-2nd { background: #f2f6fa; color: #46536b; border: 1px solid #dbe3ec; border-radius: 11px; padding: 11px; font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: inherit; }
.sl-winbig { background: #e8f6f0; color: #0b7355; border-color: #bfe7d6; }
.sl-lostlink2 { align-self: center; background: none; border: 0; color: #b0b9c6; font-size: 12.5px; cursor: pointer; font-family: inherit; padding: 3px 8px; }
.sl-lostlink2:hover { color: #a32d2d; text-decoration: underline; }
.sl-mini { margin-top: 2px; background: #f6fbfa; border: 1px solid #cfeee6; border-radius: 11px; padding: 12px; }
.sl-mini.sl-anim { animation: slDrawerIn 0.18s ease; }
.sl-mini textarea { width: 100%; border: 1px solid #d7dde7; border-radius: 9px; padding: 9px; font-family: inherit; font-size: 13.5px; resize: vertical; min-height: 52px; box-sizing: border-box; }
.sl-mini-lose { background: #fff5f5; border-color: #f2cdcd; }
.sl-mini-lose select, .sl-mini-lose input { border: 1px solid #d7dde7; border-radius: 8px; padding: 0 9px; font-family: inherit; }
.sl-mini-ft { display: flex; align-items: center; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.sl-autotime { font-size: 11px; color: #9aa7b8; }
.sl-mini-ft .primary { margin-left: auto; }
.sl-remind { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.sl-rlb { font-size: 12px; color: #7a8aa0; }
.sl-rchip { border: 1px solid #cfe0dc; background: #fff; color: #0a6b78; border-radius: 20px; padding: 5px 12px; font-size: 12.5px; cursor: pointer; font-family: inherit; font-weight: 600; }
.sl-rchip.on { background: var(--accent, #0f9d8f); color: #fff; border-color: var(--accent, #0f9d8f); }
.sl-rchip-off { color: #9aa7b8; }
/* 首次联系·挖需求引导 */
.sl-dig { background: #fff8ec; border: 1px solid #f2dcae; border-radius: 10px; padding: 10px 12px; margin-bottom: 9px; }
.sl-dig-h { font-size: 12.5px; font-weight: 700; color: #8a5a12; }
.sl-dig-tips { font-size: 12px; color: #7a5a2a; line-height: 1.7; margin: 5px 0 8px; }
.sl-dig-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sl-digchip { border: 1px solid #e6cfa0; background: #fff; color: #8a5a12; border-radius: 20px; padding: 4px 11px; font-size: 12.5px; cursor: pointer; font-family: inherit; font-weight: 600; }
.sl-digchip:hover { background: #fdf2df; }

/* 行程·出发日期 → 每天真实日期 */
.itin-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.itin-head-actions .itin-export-btn { font-size: 12.5px; padding: 6px 14px; border-radius: 20px; }
.itin-head-actions .pm-export-img { background: #07c160; color: #fff; border: none; cursor: pointer; font-weight: 600; }
.itin-head-actions .pm-export-img:hover { background: #06ad56; }
/* 指挥中心新增/编辑小弹窗 */
.dc-dialog { border: none; border-radius: 14px; padding: 20px 22px; width: min(92vw, 380px); box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.dc-dialog::backdrop { background: rgba(15,23,42,.42); }
.dc-fld { display: flex; flex-direction: column; gap: 4px; margin-bottom: 11px; font-size: 12.5px; color: #475467; }
.dc-fld span { font-weight: 500; }
.dc-fld input, .dc-fld select { width: 100%; padding: 7px 9px; border: 0.5px solid #d7dde7; border-radius: 8px; font-size: 13px; font-family: inherit; box-sizing: border-box; }
/* 客资分析总览看板 */
.la-band { margin-bottom: 16px; }
.la-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.la-title { font-size: 14px; font-weight: 600; }
.la-seg { display: inline-flex; border: 0.5px solid #e6e8ee; border-radius: 9px; overflow: hidden; }
.la-seg button { border: none; background: transparent; color: #6b7280; padding: 5px 14px; font-size: 12.5px; cursor: pointer; }
.la-seg button.on { background: #0f9d8f; color: #fff; font-weight: 600; }
.la-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.la-kpi { background: #f6f7f9; border-radius: 10px; padding: 10px 13px; display: flex; flex-direction: column; }
.la-kpi span { font-size: 12px; color: #6b7280; }
.la-kpi b { font-size: 22px; font-weight: 700; margin: 1px 0; }
.la-kpi i { font-size: 11px; color: #9ca3af; font-style: normal; }
.la-kpi.la-clk { cursor: pointer; transition: background .12s, box-shadow .12s; }
.la-kpi.la-clk:hover { background: #eef4f2; box-shadow: inset 0 0 0 1px #c7e3da; }
.la-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.la-card { border: 0.5px solid #e6e8ee; border-radius: 12px; padding: 12px 15px; }
.la-ch { font-size: 13px; font-weight: 600; margin-bottom: 11px; }
.la-ch span { font-size: 11.5px; font-weight: 400; color: #9ca3af; margin-left: 5px; }
.la-bar { display: grid; grid-template-columns: 120px 1fr 32px; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; }
.la-bar label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.la-bar .track { height: 13px; background: #f0f2f5; border-radius: 7px; overflow: hidden; }
.la-bar .fill { height: 100%; border-radius: 7px; background: #0f9d8f; }
.la-bar.alt .fill { background: #0a6b78; }
.la-bar em { font-style: normal; font-weight: 600; text-align: right; }
.la-bar.low .fill { background: #c2c8d0; }
.la-bar.low label, .la-bar.low em { color: #9ca3af; }
.la-donut-row { display: flex; align-items: center; gap: 16px; }
.la-donut { width: 110px; height: 110px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; }
.la-donut .hole { width: 68px; height: 68px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.la-donut .hole b { font-size: 19px; font-weight: 700; }
.la-donut .hole small { font-size: 11px; color: #9ca3af; }
.la-legend { flex: 1; font-size: 12.5px; }
.la-legend div { display: flex; align-items: center; gap: 7px; padding: 3px 0; }
.la-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.la-legend b { margin-left: auto; font-weight: 700; }
.la-legend em { font-style: normal; color: #9ca3af; width: 36px; text-align: right; }
.la-graderule { margin-top: 12px; border-top: 0.5px dashed #e6e8ee; padding-top: 10px; font-size: 12px; color: #475569; line-height: 1.5; }
.la-graderule > div { display: flex; align-items: center; gap: 6px; padding: 2px 0; }
.la-graderule b { color: #0f172a; font-weight: 600; }
.la-graderule em { font-style: normal; }
.la-graderule .gr-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.la-graderule .gr-foot { display: block; color: #94a3b8; font-size: 11px; margin-top: 6px; padding-top: 6px; border-top: 0.5px dashed #eef1f6; }
.la-cols { display: flex; align-items: flex-end; gap: 10px; height: 132px; padding-top: 4px; }
.la-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.la-col .cbar { width: 60%; max-width: 30px; background: #0a6b78; border-radius: 5px 5px 0 0; min-height: 4px; }
.la-col span { font-size: 11px; color: #9ca3af; margin-top: 5px; white-space: nowrap; }
.la-col em { font-style: normal; font-size: 11.5px; font-weight: 600; }
.la-empty { color: #9ca3af; font-size: 12px; padding: 8px 0; }
/* 销售端醒目身份徽章（方案B：头像 + 姓名 + 销售精英） */
.pn-badge { display: inline-flex; align-items: center; gap: 9px; }
.pn-av { width: 32px; height: 32px; border-radius: 50%; background: #0f9d8f; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none; box-shadow: 0 2px 8px rgba(15,157,143,.3); }
.pn-name { font-size: 18px; font-weight: 800; letter-spacing: .3px; color: #1a2a37; }
.pn-elite { font-size: 12px; font-weight: 700; color: #0a6b78; background: #fff; border: 1.5px solid #0f9d8f; border-radius: 20px; padding: 3px 11px; white-space: nowrap; }
.pn-elite.pn-top { color: #7a4f00; background: linear-gradient(135deg, #ffe08a, #f7c948); border: none; box-shadow: 0 2px 8px rgba(247,201,72,.45); }
@media (max-width: 720px) { .la-kpis { grid-template-columns: repeat(2, 1fr); } .la-grid { grid-template-columns: 1fr; } .la-bar { grid-template-columns: 92px 1fr 28px; } }
.itin-depart { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #0a6b78; background: #e6f6f4; border: 0.5px solid #b6e3dc; border-radius: 8px; padding: 3px 10px; white-space: nowrap; }
.itin-depart > span { white-space: nowrap; flex: none; }
.itin-depart input[type="date"] { border: none; background: transparent; font-size: 12.5px; color: #0a6b78; font-family: inherit; padding: 1px 2px; min-width: 132px; width: auto; }
.itin-depart input[type="date"]:focus { outline: none; }
.itin-date { flex: none; background: #e1f5ee; color: #0f6e56; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 6px; white-space: nowrap; }

/* 收款状态徽章（与履约状态分开）+ 行程结束仍欠款高亮 */
.pay-line { margin-top: 4px; }
.pay-pill { display: inline-block; font-size: 11.5px; font-weight: 500; padding: 2px 9px; border-radius: 20px; white-space: nowrap; }
.pay-clear { background: #e1f5ee; color: #0f6e56; }
.pay-partial { background: #faeeda; color: #854f0b; }
.pay-owed { background: #fceceb; color: #a32d2d; }
tr.order-row-owed > td { background: #fef6f5; }
tr.order-row-owed > td:first-child { box-shadow: inset 3px 0 0 #e24b4a; }
.order-alert-danger { background: #fceceb; border: 0.5px solid #e24b4a; }
.order-alert-danger strong { color: #a32d2d; }
.order-alert-danger ul { color: #8a3b3d; }
.pay-due { font-size: 11px; color: #98a2b3; margin-top: 3px; }

/* 收款已收进度条 + 订单筛选 */
.pay-prog { width: 88px; height: 5px; background: #eef2f7; border-radius: 3px; margin-top: 4px; overflow: hidden; }
.pay-prog-bar { height: 100%; border-radius: 3px; }
.order-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex: none; }
.order-filters .of-range { width: 150px; height: 34px; font-size: 12.5px; border: 0.5px solid #e6e8ee; border-radius: 8px; padding: 0 9px; background: #fff; color: #16241f; cursor: pointer; }
.order-filters .of-range::placeholder { color: #94a3b8; }
.order-filters .of-lbl { font-size: 12.5px; color: #64748b; }
.order-filters select { width: auto; min-width: 118px; height: 34px; font-size: 12.5px; border: 0.5px solid #e6e8ee; border-radius: 8px; padding: 0 8px; background: #fff; }
.order-filters .of-clear { font-size: 12px; padding: 4px 10px; white-space: nowrap; }

/* 尾款结清·尾差核销 */
.pay-settle { border: 2px solid #b6d4f0; background: #eef6fd; border-radius: 10px; padding: 10px 12px; margin: 4px 0 10px; }
.pay-settle-toggle { display: flex; align-items: center; justify-content: flex-start; gap: 8px; font-size: 13.5px; cursor: pointer; }
.pay-settle-toggle input[type="checkbox"] { flex: none; width: 17px; height: 17px; margin: 0; }
.pay-settle-toggle b { color: #185fa5; white-space: nowrap; }
.pay-settle-hint { font-size: 12px; color: #185fa5; margin-top: 7px; line-height: 1.7; }
.email-notice { position:absolute; z-index:40; top:calc(100% + 6px); left:0; width:300px; max-width:82vw; display:block; font-size:11.5px; line-height:1.6; color:#9a3412; background:#fff5ec; border:1px solid #f3cfa6; border-radius:8px; padding:7px 10px; font-weight:400; box-shadow:0 8px 22px -10px rgba(0,0,0,.28); }
.email-notice b { color:#c2410c; }
.email-notice-d { display:inline-block; position:relative; margin-left:4px; font-weight:400; }
.email-notice-d > summary { display:inline-block; cursor:pointer; font-size:11px; font-weight:700; color:#c2410c; background:#fff5ec; border:1px solid #f3cfa6; border-radius:999px; padding:1px 9px; list-style:none; }
.email-notice-d > summary::-webkit-details-marker { display:none; }
.email-lab-row { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.od-chip.od-travel { background:#e7f1ff; color:#1d4ed8; font-weight:700; }
.pp-line.due .pp-due { color:#c2410c; font-weight:700; }
.pp-line.ok .pp-due { color:#1d6b2f; }
.pp-line.ok strong { color:#1d6b2f; }
.pp-line.due strong { color:#c2410c; }
.pay-summary .ps-deadline { background:rgba(255,255,255,.16); border-radius:8px; padding:7px 10px; margin:0 0 10px; font-size:12px; line-height:1.5; }
/* 临期单醒目提示：立即付清全款 */
.pay-summary .ps-urgent { background:rgba(255,255,255,.14); border-left:3px solid #ffcf6b; border-radius:8px; padding:8px 11px; margin:0 0 10px; font-size:13px; font-weight:600; color:#ffe6b0; line-height:1.45; }
.pay-summary .ps-urgent small { display:block; margin-top:3px; font-size:11.5px; font-weight:400; color:rgba(255,255,255,.9); }
.pay-summary .ps-landing { background:rgba(255,255,255,.12); border-radius:8px; padding:8px 11px; margin:0 0 10px; font-size:12px; line-height:1.5; color:rgba(255,255,255,.92); }
.pay-summary .ps-landing.on { border-left:3px solid #7fe3c0; color:#c9f5e6; }
.ps-landing-btn { display:inline-block; margin-top:6px; padding:5px 12px; border-radius:7px; border:1px solid rgba(255,255,255,.4); background:rgba(255,255,255,.14); color:#fff; font-size:12px; font-weight:700; cursor:pointer; }
.ps-landing-btn.primary { background:#fff; color:#0a6b74; border-color:#fff; }
.pay-summary .ps-pay.urgent { background:#fff; color:#0e7c74; font-weight:700; }
/* 已付款记录（绿卡下方白卡） */
.pay-history { margin-top:12px; background:#fff; border:1px solid var(--line,#e6e8ee); border-radius:12px; padding:12px 14px; }
.pay-history .ph-head { font-size:13px; font-weight:600; color:#1f2a3d; margin-bottom:8px; }
.pay-history .ph-row { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:12.5px; color:#556; padding:5px 0; border-top:1px dashed #eef1f5; }
.pay-history .ph-row:first-of-type { border-top:0; }
.pay-history .ph-row b { color:#0f6e56; font-variant-numeric:tabular-nums; }
.pay-history .ph-row.ph-owed { background:#fff7ed; margin:6px -14px -12px; padding:8px 14px; border-radius:0 0 12px 12px; border-top:1px solid #fde4c8; }
.pay-history .ph-row.ph-owed span { color:#c2410c; font-weight:600; }
.pay-history .ph-row.ph-owed b { color:#c2410c; }

/* 工作台首页(卡片式导航) */
#workbenchPage .pwb-head { margin-bottom: 18px; }
#workbenchPage .pwb-head h2 { margin: 0 0 4px; font-size: 22px; color: #16241f; }
#workbenchPage .pwb-sub { color: #8b9a95; font-size: 13px; margin: 0; }
.pwb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.pwb-card { border: 1px solid #e3ece9; border-radius: 14px; padding: 16px 18px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.03); }
.pwb-c-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pwb-ic { font-size: 22px; }
.pwb-c-h b { font-size: 16px; color: #16241f; }
.pwb-c-items { display: flex; flex-direction: column; gap: 6px; }
.pwb-item { display: flex; align-items: center; gap: 9px; text-align: left; font: inherit; font-size: 14px; color: #3f4c47; background: #f6faf9; border: 1px solid transparent; border-radius: 9px; padding: 9px 12px; cursor: pointer; transition: background .12s, border-color .12s, color .12s; }
.pwb-item:hover { background: #eafaf6; border-color: #b7d8d2; color: #0b6b5f; }
.pwb-i-dot { width: 6px; height: 6px; border-radius: 50%; background: #0e7c74; flex: none; }
/* 内部提醒卡(淡琥珀·与其它部门卡区分) + 顶栏铃铛 */
.pwb-card-mention { background: #fff8ec; border-color: #f0d9b0; cursor: pointer; transition: box-shadow .12s, transform .06s; }
.pwb-card-mention:hover { box-shadow: 0 4px 14px rgba(180,120,20,.14); }
.pwb-card-mention:active { transform: translateY(1px); }
.pwb-mention-sub { font-size: 12.5px; color: #8a6d3b; line-height: 1.6; }
.pwb-mention-badge { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 20px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.partner-mention-bell { position: relative; flex: 0 0 auto; background: none; border: 0; font-size: 20px; line-height: 1; padding: 6px; cursor: pointer; opacity: .85; }
.partner-mention-bell:hover { opacity: 1; }
.mention-bell-badge { position: absolute; top: -1px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 20px; background: #e5484d; color: #fff; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid #fff; }
/* 新品上架:工作台卡(淡橙·区分) + 门票页横幅 */
.pwb-card-newprod { background: #fff4ef; border-color: #f6d2c5; cursor: pointer; transition: box-shadow .12s, transform .06s; }
.pwb-card-newprod:hover { box-shadow: 0 4px 14px rgba(232, 80, 46, .14); }
.pwb-card-newprod:active { transform: translateY(1px); }
.pwb-np-badge { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 20px; background: #e8502e; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.np-banner { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 11px 14px; background: linear-gradient(95deg, #fff4f0, #ffeae3); border: 1px solid #fad4c8; border-radius: 12px; }
.np-b-ic { width: 38px; height: 38px; border-radius: 9px; background: #e8502e; color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.np-b-t { font-size: 13.5px; font-weight: 700; color: #b63a1c; }
.np-b-s { font-size: 12px; color: #8a5c4a; margin-top: 2px; }
.np-b-x { margin-left: auto; background: none; border: 0; color: #c9a99e; font-size: 18px; cursor: pointer; line-height: 1; padding: 0 4px; }
/* OP 退回补录横幅(营销端订单详情·待销售补) */
.od-bounce-banner { background: #fff4ef; border: 1px solid #f6c9bc; border-left: 4px solid #e8502e; border-radius: 10px; padding: 11px 14px; margin: 0 0 12px; font-size: 13px; color: #b63a1c; line-height: 1.6; }
.od-bounce-banner b { color: #a3301a; }
.od-bounce-sub { font-size: 12px; color: #8a5c4a; margin-top: 3px; font-weight: 400; }
/* ===== 单项自费活动退改(2026-09) ===== */
.cost-line.act-line { grid-template-columns: minmax(0, 1fr) auto minmax(72px, auto) auto; } /* 第4列放行内退改按钮,不再挤成整宽大条 */
.act-rf-btn { justify-self: end; font-size: 11.5px; border: 0.5px solid #d8c3c1; color: #a2564f; background: #fff; border-radius: 6px; padding: 3px 11px; cursor: pointer; white-space: nowrap; }
.act-rf-btn:hover { background: #fbeceb; border-color: #d8b5b2; color: #b04a42; }
.act-rf-badge { justify-self: end; font-size: 11px; color: #b4680f; background: #fbeedd; border-radius: 20px; padding: 2px 9px; white-space: nowrap; }
#actRefundDialog { border: none; border-radius: 14px; padding: 0; box-shadow: 0 20px 60px rgba(0,0,0,.25); max-width: 92vw; }
#actRefundDialog::backdrop { background: rgba(15,25,35,.4); }
#actRefundDialog .modal-body { padding: 20px 22px; }
.arf-ok { background: #e3f5ec; color: #1d7a54; border: 0.5px solid #b6e2cd; border-radius: 9px; padding: 9px 11px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.arf-no { background: #fbeceb; color: #b0392f; border: 0.5px solid #edc4c0; border-radius: 9px; padding: 9px 11px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.arf-lb { display: block; font-size: 12.5px; color: #5c6b7a; margin-bottom: 10px; }
.arf-in { display: block; width: 100%; margin-top: 4px; font-size: 13px; border: 1px solid #d7dee7; border-radius: 8px; padding: 8px 10px; box-sizing: border-box; }
.arf-calc { background: #f5f8fb; border-radius: 9px; padding: 10px 12px; margin-bottom: 14px; }
.arf-calc div { display: flex; justify-content: space-between; font-size: 13px; padding: 2px 0; }
.arf-calc .arf-refund { color: #1d7a54; font-size: 15px; }
.arf-acts { display: flex; justify-content: flex-end; gap: 10px; }
.arf-svc { background: #e8f0fe; color: #2a55a8; border: 0.5px solid #c3d5f2; border-radius: 9px; padding: 9px 11px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
/* 退改记录页表格 */
.arf-sec-h { font-size: 13px; font-weight: 800; color: #3f4c5f; margin: 4px 2px 8px; }
.arf-actbtn { font-size: 11px; font-weight: 700; border: 1px solid #cfe0dc; background: #fff; color: #0d8b96; border-radius: 6px; padding: 3px 8px; cursor: pointer; white-space: nowrap; }
.arf-actbtn.pri { background: #0d8b96; color: #fff; border-color: #0d8b96; }
.arf-actbtn:hover { filter: brightness(1.05); }
/* 毛利健康(脱敏·刻度分段) */
.mh-pill { font-size: 10.5px; font-weight: 700; border-radius: 10px; padding: 1px 8px; margin-left: 6px; white-space: nowrap; }
.mh-pill.wait { color: #8a5a12; background: #fbe7c8; }
.mh-bar-wrap { margin: 8px 0; }
.mh-bar-h { font-size: 12.5px; font-weight: 700; color: #3f4c5f; display: flex; align-items: center; }
.mh-bar { position: relative; height: 12px; margin: 8px 0 2px; }
.mh-seg { display: flex; height: 12px; border-radius: 3px; overflow: hidden; }
.mh-seg span { display: block; }
.mh-ptr { position: absolute; top: -5px; transform: translateX(-50%); font-size: 12px; line-height: 1; }
.mh-ticks { position: relative; height: 13px; font-size: 10px; color: #8b9a95; }
.mh-ticks span { position: absolute; transform: translateX(-1px); border-left: 1px solid #d7dee6; padding-left: 2px; }
.mh-bar-note { font-size: 11px; color: #8b9a95; margin-top: 3px; line-height: 1.5; }
.arf-rec-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.arf-rec-tbl th { text-align: left; font-size: 11px; color: #8a97a8; font-weight: 700; padding: 8px 12px; border-bottom: 1px solid #eef2f7; white-space: nowrap; }
.arf-rec-tbl td { padding: 10px 12px; border-bottom: 1px solid #f2f5f9; vertical-align: top; }
.arf-rec-tbl tr:last-child td { border-bottom: none; }
.arf-rec-svc { font-size: 10.5px; font-weight: 700; color: #2a55a8; background: #e8f0fe; border-radius: 20px; padding: 1px 7px; white-space: nowrap; }

/* 补录窗口提示条 */
.backfill-hint { margin: 0 0 12px; padding: 9px 13px; background: #fff7ed; border: 1px solid #f4d9b0; border-left: 4px solid #d98a2b; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: #9a5b13; line-height: 1.5; }

/* 提成明细:月份导览 + 汇总 + 省略号列 */
.mcd-nav { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; flex-wrap: wrap; }
.mcd-navbtn { width: 30px; height: 30px; border: 1px solid #d9e1ea; background: #fff; border-radius: 8px; font-size: 17px; line-height: 1; color: #4a5b70; cursor: pointer; }
.mcd-navbtn:hover { background: #f2f6fb; border-color: #b9c6d6; }
.mcd-navlab { font-size: 15px; font-weight: 800; color: #223; display: flex; align-items: center; min-width: 96px; }
.mcd-navspace { flex: 1; }
.mcd-quick { font-size: 12.5px; padding: 5px 12px; border: 1px solid #d9e1ea; background: #fff; border-radius: 8px; color: #4a5b70; cursor: pointer; }
.mcd-quick:hover { background: #f2f6fb; }
.mcd-quick.on { background: var(--accent, #0f9d8f); border-color: var(--accent, #0f9d8f); color: #fff; font-weight: 700; }
.mcd-pick { font-size: 12.5px; padding: 4px 8px; border: 1px solid #d9e1ea; border-radius: 8px; color: #4a5b70; }
.mcd-sum { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.mcd-sum-i { flex: 1; min-width: 140px; background: #f7fafc; border: 1px solid #eef2f7; border-radius: 10px; padding: 10px 14px; }
.mcd-sum-l { font-size: 11.5px; color: #8593a4; }
.mcd-sum-v { font-size: 20px; font-weight: 800; color: #12324a; margin: 2px 0; }
.mcd-sum-n { font-size: 11px; color: #8593a4; }
.mcd-ell { padding: 9px 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 付款按钮下方「本期先付定金」提示 */
.ps-paytip { margin-top: 6px; font-size: 11.5px; color: #ffdca6; font-weight: 600; line-height: 1.5; } /* 青底应付卡上:浅琥珀高对比,原深色看不清 */

/* 付款弹窗·扫码支付(收款码)区 */
.pay-qr-panel { margin: 10px 0 14px; border: 1px solid #bfe3d4; background: #f2fbf7; border-radius: 12px; padding: 12px 14px; }
.pqp-head { font-size: 14px; font-weight: 700; color: #0a6b78; display: flex; align-items: center; gap: 8px; }
.pqp-amt { color: #b45309; font-size: 18px; font-weight: 800; }
.pqp-tabs { display: flex; gap: 6px; margin: 8px 0 4px; flex-wrap: wrap; }
.pqp-tab { border: 0.5px solid #cfe0e4; background: #fff; color: #5a6b78; border-radius: 16px; padding: 4px 12px; font-size: 12px; cursor: pointer; }
.pqp-tab.on { background: #0a6b78; color: #fff; border-color: #0a6b78; font-weight: 700; }
.pqp-body { display: flex; gap: 14px; margin-top: 10px; align-items: flex-start; flex-wrap: wrap; }
.pqp-qr { width: 164px; height: 164px; object-fit: contain; background: #fff; border: 1px solid #e3eeea; border-radius: 10px; flex: none; }
.pqp-side { flex: 1; min-width: 180px; }
.pqp-acct { font-size: 13px; font-weight: 700; color: #1f2a3d; margin-bottom: 6px; }
.pqp-note { font-size: 12.5px; color: #4a5b70; line-height: 1.8; }
.pqp-ordno { display: inline-block; font-size: 14px; font-weight: 800; color: #0a6b78; background: #e1f5ee; border-radius: 7px; padding: 2px 10px; margin-top: 2px; user-select: all; }

/* 成本分析·可编辑试算卡 */
.pce-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.pce-card { border: 0.5px solid #e6e8ee; border-radius: 12px; padding: 12px 13px; background: #fbfcfd; }
.pce-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pce-nm { font-size: 14px; font-weight: 700; color: #1f2a3d; }
.pce-price { font-size: 11.5px; color: #6b7280; }
.pce-metrics { display: flex; gap: 10px; flex-wrap: wrap; background: #fff; border: 0.5px solid #eef1f4; border-radius: 9px; padding: 8px 10px; margin-bottom: 10px; }
.pce-m { display: flex; flex-direction: column; gap: 1px; min-width: 56px; }
.pce-m span { font-size: 10.5px; color: #9aa7ad; }
.pce-m b { font-size: 13.5px; }
.pce-cost { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pce-col-h { font-size: 12px; font-weight: 600; color: #4a5b70; margin-bottom: 5px; }
.pce-col-h small { font-weight: 400; color: #9aa7ad; }
.pce-line { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.pce-lbl { flex: 1; min-width: 0; height: 30px; box-sizing: border-box; padding: 0 7px; border: 0.5px solid #d7dde7; border-radius: 6px; font-size: 12px; }
.pce-amt { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; color: #6b7280; flex: none; }
.pce-amt input { width: 62px; height: 30px; box-sizing: border-box; padding: 0 5px; border: 0.5px solid #d7dde7; border-radius: 6px; font-size: 12px; text-align: right; }
.pce-amt small { color: #9aa7ad; }
.pce-del { border: 0; background: transparent; color: #c0392b; cursor: pointer; font-size: 13px; padding: 0 3px; flex: none; }
.pce-add { border: 0.5px dashed #bcd; background: #f4f9ff; color: #2f6fb0; border-radius: 7px; padding: 4px 9px; font-size: 11.5px; cursor: pointer; width: 100%; }
@media (max-width: 560px) { .pce-cost { grid-template-columns: 1fr; } }

/* 报价·成本项「对客类型+备注」 */
.pq-crow2 { margin-bottom: 8px; }
.pq-disp { display: flex; align-items: center; gap: 8px; margin-top: 3px; padding-left: 2px; }
.pq-disp input[type="text"] { flex: 1; min-width: 0; height: 28px; box-sizing: border-box; padding: 0 8px; border: 0.5px solid #d7dde7; border-radius: 6px; font-size: 12px; }
/* 报价库(团队共享)·营销端 */
.qlib-tabs { display: flex; gap: 6px; margin-bottom: 14px; border-bottom: 1px solid #e9edf2; }
.qlib-tab { border: 0; background: transparent; font-size: 13.5px; font-weight: 700; color: #8a97a4; cursor: pointer; padding: 8px 14px; border-bottom: 2.5px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 6px; }
.qlib-tab.on { color: #0f6e56; border-bottom-color: #0f9d8f; }
.qlib-tabn { font-size: 11px; font-weight: 700; background: #e1f5ee; color: #0a6b57; border-radius: 10px; padding: 0 7px; line-height: 17px; }
.qlib-tab:not(.on) .qlib-tabn { background: #eef1f5; color: #8a97a4; }
.qlib-empty { padding: 36px 20px; text-align: center; color: #8a97a4; font-size: 13px; background: #fafbfc; border: 1px dashed #dde3ea; border-radius: 12px; }
.qlib-empty b { color: #9a6a12; }
#pqLibBody { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.qlib-card { border: 1px solid #e6e8ee; border-radius: 12px; padding: 12px 14px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.qlib-card.pinned { border-color: #e4c98a; background: #fffdf6; box-shadow: 0 1px 0 #f0e4c6; }
.qlib-card-h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.qlib-pin { font-size: 10.5px; font-weight: 700; color: #9a6a12; background: #fbf0d6; border-radius: 6px; padding: 1px 7px; }
.qlib-prod { font-size: 14px; font-weight: 700; color: #243447; }
.qlib-meta { font-size: 11.5px; color: #8593a4; }
.qlib-author { font-size: 11.5px; color: #0a6b57; margin-left: auto; white-space: nowrap; }
.qlib-title { font-size: 13px; font-weight: 600; color: #34404d; margin-top: -2px; }
.qlib-nums { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: #5f6b7a; padding: 7px 0; border-top: 1px dashed #eef2f6; border-bottom: 1px dashed #eef2f6; }
.qlib-nums b { color: #0a6b57; font-size: 14px; }
.qlib-nums i { color: #9aa7ad; font-style: normal; font-size: 11px; }
.qlib-fees { display: flex; flex-wrap: wrap; gap: 5px; }
.qlib-fee { font-size: 11.5px; color: #3c4a57; background: #f4f7fa; border: 0.5px solid #e6ebf0; border-radius: 6px; padding: 2px 8px; }
.qlib-fee i { color: #9aa7ad; font-style: normal; }
.qlib-fee b { color: #0a6b57; }
.qlib-note { font-size: 12.5px; color: #6a5a3a; background: #fbf6ea; border-radius: 8px; padding: 7px 10px; line-height: 1.5; }
.qlib-acts { display: flex; align-items: center; gap: 8px; margin-top: 2px; flex-wrap: wrap; }
.qlib-btn { font-size: 12px; border: 1px solid #d9e2e8; background: #fff; color: #44515d; border-radius: 7px; padding: 5px 11px; cursor: pointer; }
.qlib-btn:hover { background: #f4f7fa; }
.qlib-btn.primary { border-color: #0d8b96; background: #e1f5ee; color: #0a6b57; font-weight: 700; }
.qlib-btn.danger:hover { background: #fdecec; border-color: #e3a9a4; color: #c0342c; }
.qlib-adopt { font-size: 11.5px; color: #8593a4; margin-right: auto; }
/* 报价页·客户原始需求粘贴框(成本明细右侧) */
.q-costwrap { display: flex; gap: 16px; align-items: stretch; flex-wrap: wrap; }
.q-costmain { flex: 1 1 520px; min-width: 0; }
.q-need { flex: 1 1 280px; display: flex; flex-direction: column; max-width: 360px; }
.q-need-h { font-size: 13px; font-weight: 600; color: #445; margin-bottom: 8px; }
.q-need-h small { display: block; margin-top: 2px; font-weight: 400; color: #98a2b3; font-size: 11px; }
.q-need textarea { flex: 1; width: 100%; min-height: 220px; box-sizing: border-box; border: 1px solid #e6e8ee; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; line-height: 1.65; resize: vertical; font-family: inherit; color: #34404d; background: #fcfdfe; }
.q-need textarea:focus { border-color: #5DCAA5; outline: none; background: #fff; }
/* 报价图「客户看到什么」选择弹窗 */
.qasn-opt { display: block; width: 100%; text-align: left; border: 1.5px solid #e0e4ea; background: #fff; border-radius: 12px; padding: 13px 15px; margin-bottom: 10px; cursor: pointer; transition: .12s; }
.qasn-opt:hover { border-color: #b9c2cc; background: #fafbfc; }
.qasn-rec { border: 2px solid #0d8b96; background: #e8f7f3; }
.qasn-rec:hover { background: #def3ee; border-color: #0d8b96; }
.qasn-t { font-size: 14px; font-weight: 800; color: #34404d; margin-bottom: 3px; display: flex; align-items: center; }
.qasn-rec .qasn-t { color: #0a6b57; }
.qasn-badge { font-size: 11px; font-weight: 700; background: #0d8b96; color: #fff; border-radius: 6px; padding: 1px 7px; margin-left: 7px; }
.qasn-d { font-size: 12px; color: #5a6b74; line-height: 1.5; }
.qasn-d b { color: #0a6b57; }
/* 订单汇总·我的/全部 分段控件 + 自己的单高亮 */
.orders-scope-seg { display: inline-flex; background: #eef1f5; border-radius: 9px; padding: 3px; gap: 3px; }
.oss-seg { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: #6b7a82; font-size: 13px; font-weight: 500; padding: 6px 13px; border-radius: 7px; cursor: pointer; font-family: inherit; white-space: nowrap; }
.oss-seg .omb-ic { font-size: 13px; }
.oss-seg .oss-n { font-size: 12px; color: #9aa7ad; }
.oss-seg.on { background: #1D9E75; color: #fff; }
.oss-seg.on .oss-n { background: rgba(255,255,255,.22); color: #fff; border-radius: 10px; padding: 0 7px; }
.ord-mine-tag { font-size: 11px; font-weight: 700; color: #0F6E56; background: #9FE1CB; border-radius: 5px; padding: 1px 6px; }
tr.order-row-mine > td { background: #E8F7F3; }
tr.order-row-mine > td:first-child { box-shadow: inset 3px 0 0 #1D9E75; }
.pq-noteck { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #6b7280; white-space: nowrap; cursor: pointer; flex: none; }
.pq-noteck input { width: 14px; height: 14px; }

/* 录单「暂存 / 提交」闸口(B2C 销售端) */
.order-submit-hint { font-size: 12px; color: #7a8a92; line-height: 1.55; }
.life-draft { background: #eef1f4; color: #55626d; }
.status-pill.status-暂存 { background: #eef1f4; color: #55626d; }
.od-tabbadge.req { background: #fdecea; color: #c8443f; font-size: 11px; font-weight: 700; width: auto; height: auto; padding: 1px 7px; border-radius: 9px; }
.od-draft-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: #fff8e8; border: 1px solid #f1dcaa; border-radius: 10px; padding: 11px 14px; margin: 0 0 12px; }
.od-draft-main { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.od-draft-tt { font-weight: 700; font-size: 13.5px; color: #8a5a00; }
.od-draft-miss { font-size: 12.5px; color: #8a6a2c; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.od-miss-chip { font: inherit; font-size: 12px; font-weight: 600; color: #c8443f; background: #fff; border: 1px solid #f0c2bd; border-radius: 12px; padding: 2px 10px; cursor: pointer; }
.od-miss-chip:hover { background: #fdecea; }
.od-miss-ok { color: #1a7a43; font-weight: 600; }
.od-miss-err { width: 100%; color: #c8443f; font-weight: 600; }
.od-draft-submit { font: inherit; font-size: 13px; font-weight: 700; color: #fff; background: #0d8b96; border: 0; border-radius: 9px; padding: 8px 16px; cursor: pointer; white-space: nowrap; }
.od-draft-submit:disabled { opacity: .6; cursor: default; }
.od-draft-bounce { width: 100%; font-size: 12.5px; color: #b63a1c; border-top: 1px dashed #f1dcaa; padding-top: 8px; }
#partnerOrderSubmitBtn.is-loading { opacity: .75; cursor: progress; }
.cost-line strong .cq-cny { font-size: 11.5px; font-weight: 500; color: #8b9a95; margin-left: 4px; }

/* 🧩 定制单(录单页):车型选填 + 总报价 + 均价参考 */
.co-hotel-note { font-size: 12px; color: #6b7a82; margin: -2px 0 10px; line-height: 1.55; }
.cv-label .co-opt { font-size: 11.5px; font-weight: 400; color: #8b9a95; margin-left: 6px; }
.co-veh-state { font-size: 12px; color: #6b7a82; margin-top: 6px; }
.co-unpick { font: inherit; font-size: 12px; border: 0; background: none; color: #0e7c74; text-decoration: underline; cursor: pointer; padding: 0; }
.co-ref { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e3d3ae; display: flex; flex-direction: column; gap: 6px; }
.co-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12.5px; color: #5b6670; }
.co-row small { color: #9aa7ad; font-size: 11px; }
.co-row b { color: #1a2233; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-row.muted { color: #9aa7ad; font-size: 12px; }
.ptype-tag.custom { background: #fbeef6; color: #b0357f; }
.od-repricebtn { font: inherit; font-size: 11.5px; font-weight: 600; border: 1px solid #cfe0dc; background: #fff; color: #0e7c74; border-radius: 7px; padding: 1px 8px; margin-left: 8px; cursor: pointer; }
.title-in-row { display: flex; align-items: center; gap: 6px; }
.title-in-row .charter-title-in { flex: 1; min-width: 0; }
#partnerOrderForm .req-star, .of-lab .req-star { font-style: normal; margin-right: 3px; }
/* 录单表单:同一行的输入框/下拉框水平对齐 —— label 是 grid,行内多余高度会被拉伸分配导致上下错位;下拉框 line-height=normal 比输入框矮 */
#partnerOrderForm > label, #partnerOrderForm .form-row > label { align-content: start; }
#partnerOrderForm select { line-height: inherit; min-height: calc(1.55em + 24px); }

/* 我的订单·行程归组(同后台):母单 + 加订子单 —— 左侧粗色括号 + 整组浅底 + 子单缩进树状连线 */
#partnerOrderRows tr.og-parent > td { background: #eef8fa; }
#partnerOrderRows tr.og-parent > td:first-child, #partnerOrderRows tr.og-child > td:first-child { box-shadow: inset 4px 0 0 #0a6b78; }
#partnerOrderRows tr.og-child > td { background: #e4f3f6; }
#partnerOrderRows tr.og-child .ord-no-cell { padding-left: 30px; position: relative; white-space: nowrap; }
#partnerOrderRows tr.og-child .ord-no-cell::before { content: ""; position: absolute; left: 12px; top: -1px; height: 52%; width: 11px; border-left: 2px solid #6bb8c6; border-bottom: 2px solid #6bb8c6; border-bottom-left-radius: 3px; }
#partnerOrderRows .og-sub-pill { display: inline-block; font-size: 10.5px; font-weight: 700; color: #fff; background: #0a9aab; border-radius: 5px; padding: 1px 6px; margin-right: 5px; vertical-align: 1px; white-space: nowrap; }
#partnerOrderRows .og-trip-tag { display: inline-block; margin-left: 5px; font-size: 10.5px; font-weight: 700; color: #0a6b78; background: #dff1f4; border: 1px solid #b8dfe6; border-radius: 6px; padding: 0 5px; vertical-align: middle; }
/* 报价明细合计 vs 成交价 对比条 */
.cc-quote-cmp { margin: 10px 0 0; padding: 9px 12px; border-radius: 8px; background: #f3f6f8; color: #5b6670; font-size: 12.5px; }
.cc-quote-cmp b { color: #1a2233; font-variant-numeric: tabular-nums; }
.cc-quote-cmp.ok { background: #e8f6ef; color: #157f56; }
.cc-quote-cmp.warn { background: #fdf3e2; color: #8a5a08; }
#ccSyncDeal { margin-left: 8px; height: 28px; padding: 0 12px; border: 0; border-radius: 7px; background: #0d8b96; color: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer; vertical-align: middle; }
#ccSyncDeal:disabled { opacity: .6; cursor: default; }

/* ===== 订单详情(B2C销售端)视觉减负:灰字信息行 / 紧凑进度条 / 备注折叠 / 行程输入框轻量 / 报价明细折叠 ===== */
.od-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: 13px; color: #6b7a82; font-weight: 400; }
.od-meta .ptype-tag { font-size: 11px; }
.od-meta .od-msep { font-style: normal; color: #c3ccd1; margin: 0 6px; }
.od-steps.compact { margin: 2px 0 10px; }
.od-steps.compact .od-step .od-dot { width: 20px; height: 20px; font-size: 11px; border-width: 1.5px; }
.od-steps.compact .od-step.current .od-dot { box-shadow: 0 0 0 3px #e6f4f4; }
.od-steps.compact .od-step:not(:first-child)::before { top: 10px; height: 1.5px; }
.od-steps.compact .od-slabel { font-size: 11.5px; margin-top: 3px; font-weight: 500; }
.od-steps.compact .od-swho { font-size: 10px; }
.od-top-compact { margin-bottom: 6px !important; }
.od-remark-toggle { align-self: flex-start; font: inherit; font-size: 12.5px; font-weight: 600; color: #5b6670; background: #fff; border: 1px dashed #cfd9dd; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.od-remark-toggle:hover { color: #0e7c74; border-color: #9fd0c9; }
/* 行程明细:输入框平时无框只留浅底线,悬停/聚焦才显框 → 已填内容像普通文字,页面清爽 */
#partnerDetailBody #odItinBody table.oi-days textarea.oi-plan,
#partnerDetailBody #odItinBody table.oi-days .oi-in { border-color: transparent; border-bottom-color: #e3eaed; border-radius: 6px; background: transparent; transition: border-color .12s, background .12s; }
#partnerDetailBody #odItinBody table.oi-days textarea.oi-plan:hover,
#partnerDetailBody #odItinBody table.oi-days .oi-in:hover { border-color: #dce6e3; background: #fff; }
#partnerDetailBody #odItinBody table.oi-days textarea.oi-plan:focus,
#partnerDetailBody #odItinBody table.oi-days .oi-in:focus { border-color: #0e7c74; background: #fff; outline: none; box-shadow: 0 0 0 2px rgba(14,124,116,.12); }
#partnerDetailBody #odItinBody table.oi-days textarea.oi-plan:placeholder-shown { border: 1px dashed #e0b7b2; background: #fffafa; }
/* 报价明细折叠块 */
.cc-fold { margin-top: 14px; border: 1px solid #e3e9ee; border-radius: 12px; background: #fff; }
.cc-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 11px 14px; }
.cc-fold > summary::-webkit-details-marker { display: none; }
.cc-fold-t { font-weight: 700; font-size: 13.5px; color: #1a2233; }
.cc-fold-sum { font-size: 12.5px; color: #6b7a82; font-variant-numeric: tabular-nums; }
.cc-fold-sum.ok { color: #157f56; }
.cc-fold-sum.warn { color: #b02a1a; }
.cc-fold-act { margin-left: auto; font-size: 12.5px; font-weight: 600; color: #0e7c74; }
.cc-fold-act::after { content: " ▸"; }
.cc-fold[open] .cc-fold-act { font-size: 0; }
.cc-fold[open] .cc-fold-act::after { content: "收起 ▾"; font-size: 12.5px; }
.cc-fold[open] > summary { border-bottom: 1px solid #eef2f4; }
.cc-fold > .cc-panel { margin: 0; border: 0; border-radius: 0 0 12px 12px; }
.cc-fold .cc-panel > .cc-h { display: none; }
.od-top-grid.od-top-compact:has(> .od-top-left > .od-remark-toggle) { grid-template-columns: auto minmax(0, 1fr); }
.od-discuss .odd-hint { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
#odItinBody .oi-dirty { font-size: 12px; color: #b45309; font-weight: 600; margin-left: 4px; }
/* 订单详情顶栏操作(销售端):合同 / 改单信息 / 更多(撤回删除) */
.od-head-acts { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; }
.od-head-acts > button, .od-more > summary { font: inherit; font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 8px; border: 1px solid #d6e2e6; background: #fff; color: #35505a; cursor: pointer; white-space: nowrap; }
.od-head-acts > button:hover, .od-more > summary:hover { border-color: #0e7c74; color: #0e7c74; }
.od-more { position: relative; }
.od-more > summary { list-style: none; }
.od-more > summary::-webkit-details-marker { display: none; }
.od-more-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; background: #fff; border: 1px solid #e3e9ee; border-radius: 10px; box-shadow: 0 8px 24px rgba(20,40,50,.12); padding: 4px; min-width: 180px; }
.od-more-menu button { display: block; width: 100%; text-align: left; font: inherit; font-size: 13px; border: 0; background: none; padding: 8px 10px; border-radius: 7px; color: #c8443f; cursor: pointer; }
.od-more-menu button:hover { background: #fdecea; }
.od-tabdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e0a020; vertical-align: 2px; margin-left: 4px; }
.od-draft-steps { width: 100%; font-size: 11.5px; color: #8a6a2c; }
.od-draft-steps b { color: #8a5a00; }

/* 费用与付款·团费卡下的「报价明细」比对块 */
.od-qb { margin: 8px 12px 10px; border: 1px dashed #d6e2e8; border-radius: 10px; background: #fbfdfe; padding: 4px 0 6px; }
.od-qb.warn { border-color: #f1c9bd; background: #fffaf8; }
.od-qb-h { display: flex; align-items: center; gap: 8px; padding: 8px 14px 4px; font-size: 13px; font-weight: 700; color: #1a2233; }
.od-qb-h small { font-weight: 400; color: #8a97a8; font-size: 12px; }
.od-qb-jump { margin-left: auto; background: none; border: 0; color: #0a6b78; font-size: 12.5px; cursor: pointer; padding: 0; }
.od-qb-sum .cost-label, .od-qb-sum strong { font-weight: 700; }
.od-qb.warn .od-qb-sum .cost-calc { color: #b02a1a; }
.od-qb.ok .od-qb-sum .cost-calc { color: #157f56; }
.od-qb-act { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 14px 4px; font-size: 12.5px; color: #7a4b0c; }
.od-qb-act button { margin-left: auto; height: 30px; padding: 0 14px; border: 0; border-radius: 8px; background: #0d8b96; color: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.od-qb-act button:disabled { opacity: .6; cursor: default; }
.od-qb-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #9fb3bd; margin: 0 9px 0 2px; vertical-align: middle; font-style: normal; }
.od-qb-in { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #1a2233; font-size: 13px; }
.od-qb-in input { width: 110px; height: 30px; border: 1px solid #d9e1e6; border-radius: 7px; padding: 0 8px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.od-qb-in + button { margin-left: 0 !important; }
.od-qb .cost-line strong { color: #4a5a66; font-weight: 600; }
.od-qb .od-qb-sum strong { color: #2c3a45; font-weight: 700; }
.od-qb .cq-cny { color: #9aa7b0; font-weight: 400; }

/* 合同「从产品模板导入」 */
.ct-imp-bar { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #e9f6f6; border: 1px solid #bfe0dd; }
.ct-imp-ic { font-size: 18px; }
.ct-imp-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-imp-tx b { font-size: 13px; color: #0a5560; }
.ct-imp-tx small { font-size: 11.5px; color: #3d7f86; }
.ct-imp-bar button, .ct-imp-done button { height: 32px; padding: 0 14px; border: 0; border-radius: 8px; background: #0d8b96; color: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ct-imp-done { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: #e4f6ee; color: #0a7a52; font-size: 12.5px; }
.ct-imp-done span { flex: 1; }
.ct-imp-done button { background: #fff; color: #0a6b78; border: 1px solid #bfe0dd; }
.ct-undo { margin-left: 8px; background: none; border: 0; padding: 0; color: #0a6b78; font-size: 11.5px; font-weight: 400; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.ct-imp-ov { position: fixed; inset: 0; z-index: 4400; background: rgba(15,23,32,.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ct-imp-md { background: #fff; border-radius: 14px; width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.ct-imp-hd { display: flex; align-items: center; font-size: 15px; }
.ct-imp-hd button { margin-left: auto; background: none; border: 0; font-size: 16px; color: #8a97a8; cursor: pointer; }
.ct-imp-q { width: 100%; height: 38px; border: 1px solid #d9e1e6; border-radius: 9px; padding: 0 12px; font-size: 13px; box-sizing: border-box; }
.ct-imp-list { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow: auto; }
.ct-imp-tip { margin: 6px 0; color: #9aa7ad; font-size: 12.5px; }
.ct-imp-it { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 11px; border: 1px solid #e3eaee; border-radius: 9px; background: #fff; cursor: pointer; }
.ct-imp-it:hover { border-color: #bfe0dd; }
.ct-imp-it.on { border: 1.5px solid #0d8b96; background: #f2fafa; }
.ct-imp-rd { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #b8c2ca; flex: none; }
.ct-imp-it.on .ct-imp-rd { border: 5px solid #0d8b96; }
.ct-imp-nm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-imp-nm b { font-size: 13px; color: #1c2b33; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-imp-nm small { font-size: 11.5px; color: #8a97a8; }
.ct-imp-it em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 9px; background: #e4f6ee; color: #0a7a52; white-space: nowrap; }
.ct-imp-picks { border-top: 1px solid #eef2f5; padding-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.ct-imp-sub { font-size: 12px; color: #6b7280; font-weight: 600; }
.ct-imp-picks label { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; cursor: pointer; }
.ct-imp-picks label.off { opacity: .55; cursor: default; }
.ct-imp-picks label b { font-weight: 600; color: #1c2b33; }
.ct-imp-picks label small { color: #8a97a8; font-size: 12px; }
.ct-imp-mode { display: flex; gap: 14px; align-items: center; font-size: 12.5px; color: #6b7280; flex-wrap: wrap; }
.ct-imp-mode label { display: inline-flex; gap: 5px; align-items: center; color: #1c2b33; cursor: pointer; }
.ct-imp-err { color: #c0392b; font-size: 12.5px; min-height: 0; }
.ct-imp-ft { display: flex; justify-content: flex-end; gap: 8px; }
.ct-imp-ft .ghost { height: 38px; padding: 0 16px; }
.ct-imp-go { height: 38px; padding: 0 20px; border: 0; border-radius: 9px; background: #0d8b96; color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.ct-imp-picks label, .ct-imp-mode label { display: flex !important; flex-direction: row !important; grid-template-columns: none !important; width: auto !important; margin: 0 !important; }
.ct-imp-picks label > span { flex: 1; min-width: 0; text-align: left; }
.ct-imp-picks input[type="checkbox"], .ct-imp-mode input[type="radio"] { width: 15px !important; height: 15px !important; min-height: 0 !important; flex: none !important; margin: 2px 0 0 !important; padding: 0 !important; accent-color: #0d8b96; }
.ct-imp-mode label { white-space: nowrap; align-items: center; }
.ct-imp-mode input[type="radio"] { margin: 0 !important; }
.ct-imp-bar[hidden], .ct-imp-done[hidden], .ct-imp-picks[hidden] { display: none !important; }

/* 已签合同·客户签署资料(护照/签名) */
.ct-signed { margin-top: 12px; padding: 12px 14px; border: 1px solid #c9ecd9; background: #f3fbf7; border-radius: 10px; display: flex; flex-direction: column; gap: 10px; }
.ct-signed-h { font-size: 13.5px; font-weight: 700; color: #0a7a52; }
.ct-signed-h small { font-weight: 400; color: #6b8f80; font-size: 11.5px; margin-left: 6px; }
.ct-signed-meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12.5px; color: #6b7280; }
.ct-signed-meta b { color: #1c2b33; font-weight: 600; margin-left: 4px; }
.ct-signed-imgs { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.ct-signed-lab { font-size: 12px; color: #6b7280; margin-bottom: 6px; font-weight: 600; }
.ct-pass { display: block; width: 100%; max-height: 260px; object-fit: contain; background: #fff; border: 1px solid #dfe7ea; border-radius: 8px; cursor: zoom-in; }
.ct-sig { display: block; max-width: 100%; max-height: 120px; background: #fff; border: 1px solid #dfe7ea; border-radius: 8px; padding: 6px; }
.ct-dl { display: inline-block; margin-top: 6px; font-size: 12px; color: #0a6b78; }
.ct-noimg { padding: 18px; text-align: center; color: #9aa7ad; font-size: 12.5px; background: #fff; border: 1px dashed #dfe7ea; border-radius: 8px; }
@media (max-width: 640px) { .ct-signed-imgs { grid-template-columns: 1fr; } }
/* 合同资质凭证管理 */
.ct-cred-g{border:1px solid #e6ebef;border-radius:12px;padding:12px 14px;margin-bottom:12px}
.ct-cred-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.ct-cred-it{display:flex;flex-direction:column;gap:6px;border:1px solid #eef2f5;border-radius:10px;padding:8px;background:#fafcfc}
.ct-cred-it img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:6px;display:block;background:#f1f4f6}
.ct-cred-it input{height:28px;border:1px solid #d9e1e6;border-radius:6px;padding:0 8px;font-size:12px;min-width:0}
.ct-cred-it button{height:26px;font-size:12px;padding:0}
/* 包车「客人指定车型」(默认不指定) */
.cv-desig{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:8px 0 2px;padding:8px 12px;border:1px dashed #d5e0e4;border-radius:10px;background:#fafcfc;font-size:12.5px;color:#5a6b72}
.cv-desig.on{border-style:solid;border-color:#f0c987;background:#fffaf0}
.cv-desig-chk{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-weight:700;color:#3a4a50;margin:0}
.cv-desig-chk input{appearance:auto!important;-webkit-appearance:checkbox!important;width:15px!important;height:15px!important;min-width:0!important;margin:0!important;padding:0!important;accent-color:#0d8b96;flex:none}
.cv-desig input[type=text]{flex:1 1 200px;min-width:0;height:30px;border:1px solid #e3c88f;border-radius:7px;padding:0 10px;font-size:13px}
.cv-desig-tip{font-size:11.5px;color:#8a97a8}
/* ===== 营销端订单详情顶部(2026-11-12·与后台同款):4 个关键指标 + 行程与车型卡 + 内部讨论便签 ===== */
.od-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 6px 0 10px; }
@media (max-width: 900px) { .od-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.od-kpi { background: #f7fafb; border: 1px solid #edf2f4; border-radius: 10px; padding: 9px 12px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.od-kpi .l { font-size: 11.5px; color: #7d8c93; }
.od-kpi b { font-size: 16px; font-weight: 700; color: #1b2a30; font-variant-numeric: tabular-nums; }
.od-kpi b.ok { color: #0f7a55; } .od-kpi b.warn { color: #b45309; }
.od-kpi small { font-size: 11.5px; color: #7d8c93; }
.od-kbar { height: 5px; background: #e3ebee; border-radius: 3px; overflow: hidden; margin: 3px 0 1px; }
.od-kbar i { display: block; height: 100%; background: #0d8b96; border-radius: 3px; }
.od-top-grid.od-top2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; align-items: start; margin: 4px 0 10px; }
@media (max-width: 860px) { .od-top-grid.od-top2 { grid-template-columns: 1fr; } }
.od-top2 .od-top-left { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.od-top2 .od-top-left > * { margin: 0 !important; }
.od-top2 .od-remark-toggle { align-self: flex-start; }
.od-ic { background: #fff; border: 1px solid #e6e8ee; border-radius: 12px; padding: 11px 15px; }
.od-ic-h { font-size: 13px; font-weight: 700; color: #0a6b78; margin-bottom: 8px; }
.od-ic-g2 { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 7px 12px; font-size: 13px; }
.od-ic-k { color: #7d8c93; font-size: 12.5px; }
.od-ic-v { color: #1b2a30; min-width: 0; line-height: 1.55; }
/* 内部讨论:浅黄便签 + 虚线边 */
#odDiscuss.od-discuss { background: #fffaf0; border: 1px dashed #e3c27a; }
#odDiscuss .odd-head { color: #8a5a00; border-bottom-color: #f3e3bd; }
#odDiscuss .odd-count, #odDiscuss .odd-hint, #odDiscuss .odd-chev { color: #b39a68; }
#odDiscuss .odd-tag { background: #fdeec9; color: #8a5a00; }
#odDiscuss .odd-msg .odd-body { background: #fff; border: 1px solid #f0dfb8; border-radius: 4px 10px 10px 10px; padding: 6px 10px; }
#odDiscuss .odd-pin { background: #fff3d6; border-color: #ecd08f; }
#odDiscuss .odd-compose { background: #fff6e3; border-top-color: #f3e3bd; }
#odDiscuss .odd-compose textarea { border-color: #ead5a6; background: #fff; }
#odDiscuss #oddSend { background: #c98a1a; border-color: #c98a1a; color: #fff; }
/* 顶栏按钮(合同/改单/售后/账单)统一高度对齐 */
#orderDetailPage .detail-head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#orderDetailPage .detail-head-actions .od-head-acts { display: inline-flex; align-items: center; gap: 8px; }
#orderDetailPage .detail-head-actions > button, #orderDetailPage .od-head-acts > button, #orderDetailPage .od-head-acts > details > summary, #orderDetailPage #partnerAftersaleBtn, #orderDetailPage #partnerRefundEntryWrap > button { height: 36px; padding: 0 14px; font-size: 13px; font-weight: 700; border-radius: 9px; display: inline-flex; align-items: center; white-space: nowrap; margin: 0; box-sizing: border-box; }
#orderDetailPage #partnerRefundEntryWrap { margin-right: 0 !important; }
/* 内部讨论留言气泡:去白底,统一浅黄(与便签同色),只保留细线框 */
#odDiscuss .odd-msg .odd-body { background: transparent; border: 1px solid #f0dfb8; }
#odDiscuss .odd-pin { background: transparent; }
/* 提成明细·月份导览:一行对齐(箭头/标题/快捷/选月份同高居中;选月份框不再被全局 input 撑成整行) */
.mcd-nav { flex-wrap: nowrap; gap: 6px; align-items: center; }
.mcd-nav .mcd-navbtn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0 !important; margin: 0 !important; flex: none; box-sizing: border-box; }
.mcd-nav .mcd-navlab { height: 32px; min-width: 0; padding: 0 4px; white-space: nowrap; }
.mcd-nav .mcd-quick { height: 32px; margin: 0 !important; display: inline-flex; align-items: center; flex: none; }
.mcd-nav .mcd-pick { width: 150px !important; max-width: 150px; flex: none; height: 32px; margin: 0 !important; box-sizing: border-box; }
@media (max-width: 640px) { .mcd-nav { flex-wrap: wrap; } }
.mcd-ord { color: #0a6b78; text-decoration: underline; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mcd-ord:hover { color: #0d8b96; }
/* 行程明细·逐天「客户自理」开关(与后台同款) */
#odItinBody .oi-selfbtn { display: block; margin-top: 5px; font: inherit; font-size: 10.5px; font-weight: 600; border: 1px solid #dce6e3; border-radius: 6px; background: #fff; color: #7a8a85; padding: 3px 8px; cursor: pointer; white-space: nowrap; height: auto; width: auto; }
#odItinBody .oi-selfbtn:hover { border-color: #c98a2b; color: #c98a2b; }
/* 「批量设置类型」一行排开,不被挤成竖排;下拉框给足宽度 */
#odItinBody .oi-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#odItinBody .oi-tybulk { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; flex: none; }
#odItinBody .oi-tybulk input { width: 50px !important; min-width: 0; height: 28px; margin: 0 !important; padding: 0 6px !important; flex: none; }
#odItinBody .oi-tybulk select { width: 112px !important; min-width: 0; height: 28px; margin: 0 !important; padding: 0 6px !important; flex: none; }
#odItinBody .oi-tybulk button { height: 28px; width: auto; margin: 0 !important; padding: 0 12px !important; flex: none; }
/* 催收提醒里的订单号:可点击跳订单详情 */
.order-alert .oa-ord { background: none; border: 0; padding: 0; margin: 0; height: auto; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; }
.order-alert .oa-ord:hover { opacity: .75; }
/* ===== 代售付供应商·定金+尾款 ===== */
.spi-wrap { display: block !important; }
.spi-t { font-weight: 800; color: #0e6a72; font-size: 13px; display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.spi-card { border: 1px solid #e3eaee; border-radius: 10px; padding: 9px 12px; margin-top: 8px; background: #fff; }
.spi-h { display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; }
.spi-due { color: #8a97a0; font-size: 12px; }
.spi-pill { margin-left: auto; font-size: 11.5px; font-weight: 700; border-radius: 10px; padding: 1px 9px; white-space: nowrap; }
.spi-pill.ok { background: #e1f5ee; color: #0f6e56; } .spi-pill.req { background: #e6f1fb; color: #185fa5; }
.spi-pill.can { background: #fff4e0; color: #9a6200; } .spi-pill.lock { background: #eef1f4; color: #7d8c93; }
.spi-b { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; flex-wrap: wrap; }
.spi-b .od-paybtns { margin-left: auto; }
.spi-seg { display: inline-flex; border: 1px solid #cfdcdc; border-radius: 8px; overflow: hidden; }
.spi-seg button { border: 0; border-radius: 0; background: #fff; color: #475467; font-size: 12.5px; font-weight: 600; padding: 5px 14px; cursor: pointer; height: auto; margin: 0; }
.spi-seg button + button { border-left: 1px solid #cfdcdc; }
.spi-seg button.on { background: #0e7c86; color: #fff; }
.spi-l { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #6b7280; font-weight: 600; }
.spi-l input { height: 34px; border: 1px solid #d9e1e6; border-radius: 8px; padding: 0 10px; font-size: 13px; }
#resaleModal .rs-plan { display: flex; align-items: center; gap: 10px; margin: 4px 0 2px; }
#resaleModal .rs-plan-l { font-size: 12.5px; font-weight: 700; color: #3a4a50; }
#resaleModal .rs-planbox { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 11px; background: #fafcfc; border: 1px solid #e3eaee; border-radius: 9px; padding: 10px 11px; }
#resaleModal .rs-planbox[hidden] { display: none; }

/* ===== 团费卡·报价公式 + 成交价直接改(2026-11-16) ===== */
.od-qf { padding: 10px 16px 8px; border-top: 1px solid #edf3f2; }
.od-qf-h { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: #12302c; }
.od-qf-h b { font-size: 15.5px; }
.od-qf-l { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; margin-top: 3px; font-size: 13px; color: #4a5f5a; font-variant-numeric: tabular-nums; }
.od-qf-l .n { color: #7a8d88; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.od-qf-l .e { text-align: right; font-weight: 700; color: #2f4a45; white-space: nowrap; }
.od-qf-l.tot { border-top: 1px dashed #dfe9e7; padding-top: 4px; margin-top: 5px; }
.od-qf-l.tot .e { color: #0f7f78; }
.od-qf-l b { color: #12302c; }
.od-qf-sum { background: #fafcfc; }
.od-qf-adj { background: #fffbeb; }
.od-qf-adj .cost-label { color: #92400e; }
.od-qf-adj strong { color: #b45309 !important; }
.od-qf-adj .cost-calc { color: #8a6a3a; }
.od-qf-tag { display: inline-block; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 0 8px; margin-left: 4px; }
.od-qf-tag.down { background: #fef3c7; color: #92400e; }
.od-qf-tag.up { background: #dcfce7; color: #166534; }
.od-qf-low { display: inline-block; font-size: 11px; font-weight: 800; color: #b91c1c; background: #fee2e2; border-radius: 4px; padding: 0 5px; margin-left: 4px; }
.od-deal { display: inline-flex; align-items: baseline; gap: 2px; border-bottom: 2px dashed #8cc9c3; padding: 0 2px; cursor: text; color: inherit; margin: 0; }
.od-deal:focus-within { border-bottom: 2px solid #0f7f78; background: #eef8f6; border-radius: 6px 6px 0 0; }
.od-deal input { width: 104px !important; min-width: 0 !important; height: auto !important; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; font: inherit !important; color: inherit !important; text-align: right; outline: none; }
.od-deal-pen { font-size: 12px; color: #7fb5af; margin-left: 4px; }
.od-deal-save { margin-left: 8px !important; border: 0 !important; background: #0f7f78 !important; color: #fff !important; border-radius: 7px !important; padding: 3px 10px !important; height: auto !important; width: auto !important; min-width: 0 !important; font-size: 12.5px !important; font-weight: 800; cursor: pointer; vertical-align: 2px; }
.od-deal-save[hidden], .od-deal-hint[hidden] { display: none !important; }
.od-deal-hint { padding: 0 16px 10px; text-align: right; font-size: 12.5px; }
.od-deal-hint .ok { color: #0f7a55; }
.od-deal-hint .warn { color: #b45309; }
.od-deal-lock { font-size: 13px; }
.od-qf-hsum { font-weight: 600; color: #7a8d88; font-size: 12.5px; }
.od-qf-ht { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; margin-top: 4px; font-size: 13px; color: #4a5f5a; font-variant-numeric: tabular-nums; }
.od-qf-ht + .od-qf-ht { border-top: 1px dotted #e6eeec; padding-top: 4px; }
.od-qf-ht .d { color: #7a8d88; font-weight: 600; white-space: nowrap; }
.od-qf-ht .m b { color: #12302c; margin-right: 2px; }
.od-qf-ht .e { text-align: right; font-weight: 700; color: #2f4a45; white-space: nowrap; }
.od-qf-room { display: inline-block; background: #eef6ff; color: #1d4f91; border-radius: 5px; padding: 0 6px; font-weight: 700; font-size: 12.5px; margin-right: 4px; }
.od-qf-room.gray { background: #f3f4f6; color: #6b7280; }
.od-qf-off { font-size: 11px; color: #b45309; background: #fef3c7; border-radius: 4px; padding: 0 5px; margin-left: 4px; }
/* 暂存横幅「还缺:客户手机号」就地补填 */
.od-fill-phone { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; }
.od-fill-phone input { width: 150px !important; height: 30px !important; min-width: 0 !important; padding: 0 9px !important; margin: 0 !important; border: 1px solid #e8b9b0 !important; border-radius: 8px !important; font-size: 13.5px !important; background: #fff !important; }
.od-fill-phone input:focus { border-color: #0f7f78 !important; outline: none; box-shadow: 0 0 0 3px rgba(15,127,120,.12); }
.od-fill-phone button { height: 30px !important; width: auto !important; min-width: 0 !important; padding: 0 12px !important; margin: 0 !important; border: 0 !important; border-radius: 8px !important; background: #0f7f78 !important; color: #fff !important; font-size: 13px !important; font-weight: 800; cursor: pointer; }
.od-fill-phone .od-fp-err { color: #c0392b; font-size: 12px; }

/* 报价明细醒目标题:深色标题条 + 四张大卡(用车/酒店/其他/合计vs成交价) */
.qc-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #0f7f86; color: #fff; font-weight: 800; font-size: 14.5px; border-radius: 12px 12px 0 0; }
.qc-top .qc-tag { margin-left: auto; font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.18); padding: 2px 10px; border-radius: 10px; }
.qc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr); gap: 10px; padding: 12px 16px; background: #f4f8f9; border-bottom: 1px solid #e3ecee; }
.qc-c { border: 1px solid #e3ecee; background: #fff; border-radius: 10px; padding: 9px 12px; min-width: 0; }
.qc-k { font-size: 12px; color: #6b7a82; font-weight: 600; }
.qc-v { font-size: 22px; font-weight: 800; color: #16242a; margin-top: 2px; font-variant-numeric: tabular-nums; }
.qc-s { font-size: 11.5px; color: #6b7a82; margin-top: 2px; }
.qc-c.car { box-shadow: inset 4px 0 0 #378add; } .qc-c.car .qc-v { color: #1b5fa8; }
.qc-c.htl { box-shadow: inset 4px 0 0 #7f6fe0; } .qc-c.htl .qc-v { color: #5a3fb5; }
.qc-c.oth { box-shadow: inset 4px 0 0 #e09a3a; } .qc-c.oth .qc-v { color: #9a5b08; }
.qc-c.off { opacity: .55; } .qc-c.off .qc-v { color: #a7b1bb; }
/* 本单报价卡:报价=最终收款做大数字(深青);报价比明细少=浅黄提醒;明细合计放副行白条 */
.qc-c.tot { background: #0a6b78; border-color: #0a6b78; }
.qc-c.tot .qc-k { color: #cfe9ec; }
.qc-c.tot .qc-v { color: #fff; font-size: 27px; letter-spacing: .3px; }
.qc-c.tot .qc-s { display: inline-block; background: #fff; color: #4d5d63; border-radius: 6px; padding: 2px 8px; margin-top: 4px; font-weight: 600; }
.qc-c.tot.warn { background: #fdf3e2; border-color: #f2d6a6; } .qc-c.tot.warn .qc-k { color: #a8650b; } .qc-c.tot.warn .qc-v { color: #a8650b; } .qc-c.tot.warn .qc-s { color: #a8650b; }
.qc-alert { grid-column: 1 / -1; border-radius: 8px; padding: 7px 12px; font-size: 12.5px; line-height: 1.6; }
.qc-alert.warn { background: #fdf3e2; border: 1px solid #f2d6a6; color: #8a5a08; font-weight: 600; }
.qc-alert.up { background: #eaf5f6; border: 1px solid #cfe6e8; color: #0a6b78; }
@media (max-width: 900px) { .qc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cc-fold > summary.qc-sum { display: block; padding: 0; }
.cc-fold[open] > summary.qc-sum { border-bottom: 0; }
.qc-sum .cc-fold-act { margin-left: 12px; }

/* 额外加项·一行一项(参考后台 OP 加项):第4列行尾小✕删除 / 淡🔒占位 */
.cost-line.xc-line { grid-template-columns: minmax(0, 1fr) auto minmax(96px, auto) 26px; }
.cost-line.xc-line .xc-nm { font-weight: 700; color: var(--text); }
.cost-line.xc-line .xc-meta { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: #8a989d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cost-line.xc-line .xc-who { color: #9aa7ab; }
.cost-line.xc-line .xc-pend { font-size: 11px; color: #b0770f; background: #fff6e6; border: 1px solid #f0d9a8; border-radius: 10px; padding: 1px 7px; font-weight: 600; white-space: nowrap; }
.cost-line.xc-line strong.xc-pendamt { font-weight: 400; font-size: 12px; color: #b0770f; }
.cost-line.xc-line .xc-del { width: 24px; height: 24px; min-width: 0; padding: 0; margin: 0; border: 0; border-radius: 6px; background: none; color: #b5c0c3; font-size: 14px; line-height: 24px; box-shadow: none; cursor: pointer; }
.cost-line.xc-line .xc-del:hover, .cost-line.xc-line .xc-del:focus-visible { background: #fdecea; color: #c8443f; outline: none; }
.cost-line.xc-line .xc-lock { font-size: 12px; text-align: center; opacity: .35; }

/* 报价明细·空块抽屉(酒店/其他没内容时收成一行) */
.cc-drw { display: flex; align-items: center; gap: 12px; padding: 11px 14px; margin-top: 10px; border: 1px solid #e3edf0; border-radius: 10px; background: #fafcfc; font-size: 13.5px; }
.cc-drw-ic { font-weight: 700; color: #3d4f55; min-width: 160px; }
.cc-drw-st { flex: 1; color: #8a989d; }
.cc-drw-st b { color: #6b7b80; font-weight: 600; }
.cc-drw-bt { border: 1px solid #cfe3e7; background: #fff; color: #0f6f74; border-radius: 7px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer; width: auto; min-width: 0; box-shadow: none; }
.cc-drw-bt:hover { background: #eef8f8; color: #0f6f74; }
.cc-drw-bt.sm { margin-left: 10px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.cc-drw-chev { color: #9aa7ab; font-size: 12px; }
#occPanel [data-qc-open], #ccFold [data-qc-open] { cursor: pointer; }
#occPanel [data-qc-open]:hover, #ccFold [data-qc-open]:hover { border-color: #9fd0d5; }

/* 报价合计 vs 成交价:成交价比报价高(上调)= 中性提示,不报警 */
.cc-quote-cmp.up { background: #eaf5f6; color: #0a6b78; }

/* 报价明细:每个报价项一张白卡(主角);对应天默认收成一行灰字,展开后浅色小号 */
.cc-item { border: 1px solid #e6eef0; border-radius: 10px; padding: 8px 8px 6px; margin-bottom: 8px; background: #fff; }
.cc-item .cc-r { margin-bottom: 0; }
.cc-item .cc-in[data-k="label"] { font-weight: 700; }
.cc-item .cc-days { margin: 6px 2px 0; }
.cc-days-min { gap: 6px; font-size: 12px; color: #8a989d; }
.cc-days-min .cc-days-k { color: #9aa7ab; font-size: 12px; }
.cc-days-min b { color: #5d6e73; font-weight: 600; font-size: 12px; }
.cc-days-min b.none { color: #b0770f; }
.cc-days-ed { border: 0; background: none; padding: 0; height: auto; width: auto; min-width: 0; box-shadow: none; color: #0f7f86; font-size: 12px; font-weight: 600; cursor: pointer; border-bottom: 1px dashed #9fd0d5; border-radius: 0; }
.cc-days-ed:hover { background: none; color: #0a6b78; }
.cc-days-ed.done { margin-left: auto; font-weight: 700; border-bottom: 0; }
.cc-days-open { gap: 4px; padding: 7px 10px; background: #f7fafb; border-radius: 8px; }
.cc-days-open .cc-days-l { font-size: 11.5px; color: #8a989d; margin-right: 4px; }
.cc-days-open .cc-dchip { height: 20px; padding: 0 7px; border-radius: 10px; border: 1px solid #e3eaec; background: #fff; color: #9aa7ab; font-size: 11.5px; font-weight: 500; }
.cc-days-open .cc-dchip:hover { border-color: #9fd0d5; color: #0f6f74; }
.cc-days-open .cc-dchip.on { background: #e3f3f3; border-color: #bfe0e1; color: #0f6f74; font-weight: 700; }
.cc-days-open .cc-days-quick { height: auto; padding: 0; margin-left: 6px; border: 0; border-bottom: 1px dashed #9fd0d5; border-radius: 0; background: none; color: #0f6f74; font-size: 11.5px; font-weight: 600; }

/* 已付款记录:每笔可点进付款凭证页 */
.ph-row.ph-clk { cursor: pointer; border-radius: 6px; }
.ph-row.ph-clk:hover { background: #f2fafa; }
.ph-row .ph-go { font-style: normal; color: #9aa7ab; margin-left: 4px; }
.ph-row .ph-slip { text-decoration: none; margin-left: 4px; }
/* 营销端账单明细:总览 + 收款记录(按日期) + 应付构成 */
.bt-sum { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; border: 1px solid #e6eef0; border-radius: 12px; overflow: hidden; margin: 4px 0 6px; }
.bt-sum > div { padding: 13px 16px; border-left: 1px solid #e6eef0; min-width: 0; }
.bt-sum > div:first-child { border-left: 0; background: #f4fafa; }
.bt-sum .k { font-size: 12px; color: #7d8c93; }
.bt-sum .v { font-size: 22px; font-weight: 800; margin-top: 3px; font-variant-numeric: tabular-nums; color: #1d2b30; }
.bt-sum .v.sm { font-size: 15px; margin-top: 7px; }
.bt-sum .v.ok { color: #157f56; } .bt-sum .v.due { color: #c2570c; }
.bt-sum .s { font-size: 12px; color: #7d8c93; margin-top: 4px; }
.bt-sum .bt-clk { cursor: pointer; } .bt-sum .bt-clk:hover { background: #f7fbfb; }
.bt-go { color: #0f7f86; font-weight: 700; font-size: 11.5px; margin-left: 4px; }
.bt-bar { height: 7px; border-radius: 5px; background: #e6eef0; overflow: hidden; margin-top: 9px; }
.bt-bar i { display: block; height: 100%; background: #1aa37a; }
.bt-pill { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 20px; padding: 1px 9px; }
.bt-pill.part { background: #fff3e0; color: #b45309; } .bt-pill.done { background: #e6f6ee; color: #157f56; } .bt-pill.wait { background: #fdecea; color: #b02a1a; } .bt-pill.grey { background: #eef2f4; color: #5d6e73; }
.bt-hint { font-weight: 400; color: #8a989d; font-size: 12px; margin-left: 6px; }
.bt-tl, .bt-comp { border: 1px solid #e6eef0; border-radius: 12px; overflow: hidden; }
.bt-h, .bt-r { display: grid; grid-template-columns: 104px minmax(0,1.5fr) minmax(0,1.2fr) 110px 130px 92px; gap: 12px; align-items: center; padding: 10px 16px; }
.bt-h { background: #f7fafb; font-size: 12px; color: #7d8c93; font-weight: 700; }
.bt-r { border-top: 1px solid #e6eef0; font-size: 13.5px; }
.bt-r[data-view-payment-detail] { cursor: pointer; } .bt-r[data-view-payment-detail]:hover { background: #f5fbfb; }
.bt-d { font-weight: 700; font-variant-numeric: tabular-nums; }
.bt-t b { font-weight: 700; } .bt-t small { display: block; color: #8a989d; font-size: 12px; margin-top: 2px; }
.bt-tag { font-style: normal; display: inline-block; font-size: 11px; font-weight: 700; border-radius: 5px; padding: 1px 6px; margin-right: 6px; vertical-align: 1px; }
.bt-tag.dep { background: #e8f1fb; color: #2a62a8; } .bt-tag.bal { background: #f3ecfb; color: #6b46a8; }
.bt-how { font-size: 12.5px; color: #4c5e63; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-slip { color: #0f7f86; text-decoration: none; font-weight: 600; }
.bt-amt { text-align: right; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.bt-cum { text-align: right; font-size: 12.5px; color: #7d8c93; font-variant-numeric: tabular-nums; } .bt-cum b { color: #1d2b30; }
.bt-st { justify-self: start; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.bt-st.ok { background: #e6f6ee; color: #157f56; } .bt-st.chk { background: #eef5fd; color: #2a62a8; }
.bt-st.plan { background: #fff6e6; color: #b0770f; border: 1px dashed #f0d9a8; } .bt-st.late { background: #fdecea; color: #b02a1a; }
.bt-r.plan { background: #fffcf5; } .bt-r.plan .bt-d { color: #b0770f; } .bt-r.plan .bt-amt { color: #c2570c; } .bt-r.plan .bt-how { color: #9aa7ab; }
.bt-empty { padding: 14px 16px; color: #8a989d; font-size: 13px; border-top: 1px solid #e6eef0; }
.bt-f { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid #e6eef0; background: #f7fafb; font-size: 13px; }
.bt-f b { font-variant-numeric: tabular-nums; } .bt-f b.due { color: #c2570c; }
.bc-r { display: grid; grid-template-columns: minmax(0,1fr) 140px 90px 120px; gap: 12px; padding: 10px 16px; border-top: 1px solid #e6eef0; font-size: 13.5px; align-items: center; }
.bc-r:first-child { border-top: 0; }
.bc-r small { color: #7d8c93; font-size: 12px; }
.bc-a { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.bc-r.tot { background: #f4fafa; font-weight: 800; }
.bc-gift { font-style: normal; font-size: 11px; color: #b45309; background: #fff3e0; border-radius: 5px; padding: 1px 6px; margin-left: 6px; }
@media (max-width: 760px) { .bt-sum { grid-template-columns: 1fr 1fr; } .bt-h { display: none; } .bt-r { grid-template-columns: 1fr auto; } .bt-how, .bt-cum { display: none; } }

/* 费用与付款:空块一行「名称 暂无 …[＋ 加订]」;有内容时「＋ 加订」在块标题右侧 */
.cost-empty-row { flex-wrap: nowrap; padding: 9px 12px 9px 16px; font-size: 13.5px; }
.cost-empty-row b { color: #3d4f55; font-weight: 700; margin-right: 8px; }
.cost-add-sm { margin-left: auto; flex: none; width: auto; min-width: 0; height: auto; padding: 4px 14px; border: 1px solid #bfe0dd; border-radius: 8px; background: #f2fafa; color: #0f6f74; font-size: 12.5px; font-weight: 700; cursor: pointer; box-shadow: none; white-space: nowrap; }
.cost-add-sm:hover { background: #e3f3f3; color: #0a6b78; }
.cost-group-head .cost-add-sm { align-self: center; padding: 2px 12px; }

/* 报价明细:每项金额弱化,和分组合计拉开层级 */
.od-qf-l .e, .od-qf-ht .e, .od-qf-l.tot .e { font-weight: 400; color: #8a989d; font-size: 12.5px; }
.od-qf-l.tot .f { color: #8a989d; }

/* 代售「💸 付供应商」块(费用与付款) */
.cost-group-sup .cost-group-head { background: #f6f1fc; }
.sup-empty { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fffcf5; color: #b0770f; font-size: 13.5px; }
.sup-empty span { flex: 1; }
.cost-add-sm.pri { background: #7a5bc0; border-color: #7a5bc0; color: #fff; }
.cost-add-sm.pri:hover { background: #6a4bb0; color: #fff; }
#supInfoDlg textarea { width: 100%; box-sizing: border-box; border: 1px solid #d6dfe3; border-radius: 8px; padding: 7px 9px; font: inherit; font-size: 13px; resize: vertical; }
#supInfoDlg select { width: 100%; }

/* 退改记录 v2:汇总三格 + 状态只放标签 + 右侧操作列 */
.arf-sum { display: flex; gap: 10px; margin: 0 0 12px; }
.arf-chip { border: 1px solid #e3eaec; border-radius: 10px; padding: 7px 14px; font-size: 12px; color: #5d6e73; background: #fafcfc; }
.arf-chip b { display: block; font-size: 16px; color: #1d2b30; margin-top: 2px; font-variant-numeric: tabular-nums; }
.arf-chip.warn b { color: #c2570c; } .arf-chip.ok b { color: #157f56; }
.arf-rec-v2 td { vertical-align: middle; padding-top: 10px; padding-bottom: 10px; }
.arf-rec-v2 th.r, .arf-rec-v2 td.r { text-align: right; }
.arf-rec-v2 td small { display: block; color: #8a989d; font-size: 11.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.arf-rec-v2 td.r small { margin-left: auto; }
.arf-rec-v2 .arf-dt { color: #7d8c93; font-size: 12px; white-space: nowrap; }
.arf-rec-v2 .arf-ono { color: #2a6ef0; font-weight: 700; text-decoration: none; white-space: nowrap; }
.arf-rec-v2 .arf-clip { display: block; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arf-rec-v2 .arf-amt { color: #0f7a4f; font-size: 14.5px; white-space: nowrap; }
.arf-rec-v2 .arf-st { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 20px; padding: 2px 10px; white-space: nowrap; }
.arf-rec-v2 .arf-ops { display: flex; gap: 6px; justify-content: flex-end; white-space: nowrap; }
.arf-rec-v2 .arf-slip { color: #0d8b96; font-weight: 600; font-size: 12.5px; text-decoration: none; }
.arf-rec-v2 tr.arf-todo td { background: #fffcf5; }

/* 合同管理·新建卡口(有已签未转订单) */
.ctb-banner { display: flex; align-items: center; gap: 12px; background: #fff6e6; border: 1px solid #f0d9a8; border-radius: 10px; padding: 9px 14px; margin: 0 0 12px; font-size: 13.5px; color: #8a5510; }
.ctb-banner b { color: #b45309; }
.ctb-banner button { margin-left: auto; background: #fff; border: 1px solid #f0c27a; color: #a8650c; border-radius: 7px; padding: 4px 12px; font-weight: 700; font-size: 12.5px; cursor: pointer; width: auto; min-width: 0; height: auto; }
.ctb-it { display: flex; align-items: center; gap: 8px; border: 1px solid #e6eef0; border-radius: 10px; padding: 9px 12px; margin-top: 8px; }
.ctb-n { flex: 1; min-width: 0; } .ctb-n b { color: #1d2b30; }
.ctb-n small { display: block; color: #8a989d; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctb-btn { height: 30px; padding: 0 12px; font-size: 12.5px; font-weight: 700; border-radius: 7px; white-space: nowrap; width: auto; min-width: 0; cursor: pointer; }
.ctb-btn.pri { background: #0d8b96; border: 0; color: #fff; }

/* 包车含酒店:类型标签旁的 🏨 小标(不写字) */
.ptype-htl { display: inline-block; margin-left: 4px; background: #fdf0e3; border-radius: 6px; padding: 1px 6px; font-size: 12px; line-height: 1.5; vertical-align: middle; cursor: help; }

/* 营销端·包车/定制应付构成:左边报价明细各块编号 + 右边绿卡构成框(同后台) */
.om-no { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 800; font-style: normal; color: #fff; margin-right: 7px; vertical-align: 1px; line-height: 1; flex: none; }
.om-no-1 { background: #2f7fd0; } .om-no-2 { background: #d0892f; } .om-no-3 { background: #8b5cf6; }
.om-no-4 { background: #1aa37a; } .om-no-5 { background: #c2410c; } .om-no-6 { background: #64748b; }
.pay-summary .ps-comp { background: rgba(255,255,255,.1); border-radius: 10px; padding: 7px 12px; margin: 2px 0 12px; font-size: 12.5px; }
.pay-summary .ps-comp-r { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 3px 0; font-variant-numeric: tabular-nums; }
.pay-summary .ps-comp-r > span:first-child { display: inline-flex; align-items: center; }
.pay-summary .ps-comp-r.sub { border-top: 1px dashed rgba(255,255,255,.3); margin-top: 3px; padding-top: 6px; opacity: .85; }
.pay-summary .ps-comp-r.sub2 { opacity: .85; }
.pay-summary .ps-comp-r.eq { border-top: 1px dashed rgba(255,255,255,.35); margin-top: 4px; padding-top: 6px; font-weight: 700; }
.pay-summary .ps-comp .om-no { box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
.pay-summary .ps-comp-wait { font-style: normal; font-size: 10.5px; background: rgba(255,214,140,.25); color: #ffe2a8; border-radius: 8px; padding: 0 6px; margin-left: 6px; }

/* 账单明细·待付行:款项后的待付金额+比例;状态「待付 ›」可点去付款 */
.bt-due { margin-left: 8px; color: #c2560c; font-weight: 800; }
button.bt-st.bt-paygo { cursor: pointer; font-family: inherit; line-height: 1.5; }
button.bt-st.bt-paygo:hover { background: #ffe9c2; border-style: solid; }

/* 报价明细·其他:前面加「日期」列(同酒店日期样式);行程带入的标记 + 待填单价 */
.cc-r.cc-other { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.7fr) minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1fr) 26px; }
.cc-dsel { appearance: auto; cursor: pointer; font-family: inherit; min-width: 0; width: 100%; }
.cc-lblw { position: relative; display: block; min-width: 0; }
.cc-lblw .cc-in { padding-right: 82px; }
.cc-from { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 11px; font-weight: 700; color: #0e7f86; background: #e7f6f4; border-radius: 5px; padding: 1px 6px; pointer-events: none; white-space: nowrap; }
.cc-in.cc-need { border-color: #f0b35a; background: #fffaf0; }
.cc-in.cc-need::placeholder { color: #b7791f; }

/* 报价明细:标题栏汇率小标 + 底部比对行汇率说明 */
.qc-top .qc-fx { margin-left: auto; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 14px; padding: 2px 11px; white-space: nowrap; }
.qc-top .qc-fx small { color: inherit; font-weight: 400; opacity: .82; margin-left: 6px; font-size: 11.5px; }
.qc-top .qc-fx.warn { background: #f59e0b; border-color: #f59e0b; }
.qc-top .qc-fx + .qc-tag { margin-left: 0; }
.cc-quote-cmp .cc-fxnote { color: #7d8c93; font-weight: 400; margin-left: 10px; font-size: 12px; }

/* 带 hidden 属性的空容器别被 display 规则顶出来(付款弹窗凭证预览、账单批量付款条) */
.pay-proof-preview[hidden], .batch-bar[hidden] { display: none !important; }

/* 账单明细·母单/子单分组(同订单汇总):母单在上,子单缩进挂下面,左边青色竖线框一组 */
#partnerBillRows tr.bg-par > td { background: #eef8fa; }
#partnerBillRows tr.bg-kid > td { background: #e4f3f6; }
#partnerBillRows tr.bg-par > td:first-child, #partnerBillRows tr.bg-kid > td:first-child { box-shadow: inset 4px 0 0 #0a6b78; }
#partnerBillRows tr.bg-kid .bill-no-cell { padding-left: 30px; position: relative; }
#partnerBillRows tr.bg-kid .bill-no-cell::before { content: ""; position: absolute; left: 12px; top: -1px; height: 52%; width: 11px; border-left: 2px solid #6bb8c6; border-bottom: 2px solid #6bb8c6; border-bottom-left-radius: 3px; }
.bg-role { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 5px; padding: 0 6px; margin-left: 6px; vertical-align: 1px; white-space: nowrap; }
.bg-role.m { background: #0a6b78; color: #fff; } .bg-role.s { background: #d5ecf0; color: #0a6b78; }

/* 近期上新:横幅可点 → 只看上新;已在看 → 实心;筛选栏「🆕 近期上新 N ✕」 */
.np-banner.clk { cursor: pointer; }
.np-banner .np-b-go { margin-left: auto; flex: none; border: 0; border-radius: 8px; padding: 7px 14px; font-size: 13px; font-weight: 800; background: #e2533f; color: #fff; cursor: pointer; white-space: nowrap; font-family: inherit; }
.np-banner .np-b-go + .np-b-x { margin-left: 8px; }
.np-banner.on { background: #e2533f; border-color: #e2533f; }
.np-banner.on .np-b-t, .np-banner.on .np-b-s { color: #fff; }
.np-banner.on .np-b-go { background: #fff; color: #c2410c; }
.tk-chip.np-on { border: 1.5px solid #e2533f; background: #fff1ee; color: #c2410c; font-weight: 800; }
.tk-chip.np-on i { font-style: normal; margin-left: 6px; opacity: .7; }

/* 订单详情「合同」按钮带状态 */
.ctb { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.ctb .ctb-st { font-size: 11.5px; border-radius: 10px; padding: 1px 8px; font-weight: 800; }
.ctb.ctb-none, .ctb.ctb-draft { color: #44515d; }
.ctb.ctb-none .ctb-st, .ctb.ctb-draft .ctb-st { background: #eef1f4; color: #6b7280; }
.ctb.ctb-pend { border-color: #f3c98b !important; background: #fffaf0 !important; color: #9a5b0c !important; }
.ctb.ctb-pend .ctb-st { background: #fde7c4; color: #9a5b0c; }
.ctb.ctb-sign { border-color: #a8dcc3 !important; background: #effaf4 !important; color: #0a7a52 !important; }
.ctb.ctb-sign .ctb-st { background: #cdeedc; color: #0a7a52; }

/* 报价明细·用车:对应天放在项目名同一格右边(自动 / 手动 / 没选) + 数量核对 */
.cc-lbw2 { display: flex; align-items: center; gap: 6px; min-width: 0; border: 1px solid #dbe4f0; border-radius: 8px; background: #fff; padding-right: 5px; }
.cc-lbw2 .cc-in { border: 0; min-width: 0; flex: 1; }
.cc-dd { display: inline-flex; align-items: center; gap: 5px; flex: none; background: #eef6fb; color: #2a62a8; border-radius: 6px; padding: 3px 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.cc-dd i { font-style: normal; font-size: 10.5px; background: #2a62a8; color: #fff; border-radius: 4px; padding: 0 4px; }
.cc-dd.man { background: #f3f7f8; color: #4c5e63; }
.cc-dd.none { background: #fff8ec; color: #b7791f; }
.cc-dd-ed { border: 0; background: none; color: #0e7f86; font-weight: 700; font-size: 12px; text-decoration: underline dotted; cursor: pointer; padding: 0 2px; font-family: inherit; }
.cc-dd-warn { font-size: 12px; color: #b45309; margin: 5px 2px 0; }
.cc-in.cc-need { border-color: #f0b35a; background: #fffaf0; }
.cc-r.cc-car { grid-template-columns: minmax(0, 2.4fr) minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1fr) 26px; }
.cc-lbw2 .cc-in { border: 0 !important; box-shadow: none !important; background: transparent !important; }

/* 加订门票:另单独立付标记 + 每行付款状态/可点进子单;绿卡门票另付说明 */
.tk-ind-tag { font-size: 11.5px; font-weight: 700; color: #9a5b0c; background: #fff1dc; border-radius: 6px; padding: 1px 8px; margin-left: 4px; }
.cost-line.tk-line { cursor: pointer; }
.cost-line.tk-line:hover { background: #f4fafb; }
.tk-code { color: #8a989d; font-weight: 400; }
.tk-pay { font-weight: 700; }
.tk-pay.due { color: #b45309; } .tk-pay.ok { color: #157f56; } .tk-pay.inc { color: #0e7f86; }
.tk-go { font-style: normal; color: #9aa7ad; margin-left: 4px; }
.pay-summary .ps-tk-sep { background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.4); border-radius: 9px; padding: 7px 10px; font-size: 12px; line-height: 1.6; margin: -4px 0 12px; }
.pay-summary .ps-tk-sep b { font-size: 12.5px; } .pay-summary .ps-tk-sep b.due { color: #ffe2a8; }
.pay-summary .ps-tk-sm { font-size: 11.5px; opacity: .8; margin-left: 4px; font-weight: 400; }

/* 付款明细:已付/待付金额后带比例 */
.pd-pct { font-style: normal; font-size: 13px; font-weight: 800; border-radius: 10px; padding: 1px 8px; margin-left: 8px; vertical-align: 3px; }
.pd-pct.paid { background: #e4f6ee; color: #157f56; }
.pd-pct.due { background: #fff1dc; color: #b45309; }

/* 欧元汇款:付款弹窗选币种 + 各收款记录写「客人实付 €X × 汇率」 */
.pay-cur { margin: 4px 0 12px; }
.pay-cur-k { font-size: 13px; font-weight: 700; color: #4c5e63; margin-bottom: 6px; }
.pay-cur-seg { display: inline-flex; border: 1px solid #d6e6ea; border-radius: 9px; overflow: hidden; }
.pay-cur-seg button { border: 0; background: #fff; padding: 7px 16px; font-size: 13px; font-weight: 700; color: #4c5e63; cursor: pointer; font-family: inherit; width: auto; height: auto; box-shadow: none; border-radius: 0; }
.pay-cur-seg button.on { background: #0e7f86; color: #fff; }
.pay-eur { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.pay-eur[hidden] { display: none; } /* 选人民币时欧元框要真隐藏(上面 display:grid 会盖掉 hidden 属性) */
.pay-eur-calc { grid-column: 1 / -1; background: #f4fafa; border: 1px dashed #bfe0dd; border-radius: 9px; padding: 9px 12px; font-size: 13.5px; color: #4c5e63; }
.pay-eur-calc b { color: #0e7f86; font-size: 17px; }
.pay-eur-calc small { display: block; color: #7d8c93; font-size: 12px; margin-top: 3px; }
.fx-tag { display: inline-block; font-size: 11px; font-weight: 700; color: #2a62a8; background: #e8f1fb; border-radius: 5px; padding: 0 6px; margin-left: 6px; vertical-align: 1px; }
.fx-sub { display: block; color: #7d8c93; font-size: 12px; font-weight: 400; margin-top: 2px; }

/* 散拼团·团期编号:详情出行卡里的小标 + 列表类型列 ✓/⏳ */
.od-kpi .od-team { display: inline-flex; align-items: center; margin-top: 6px; font-size: 12.5px; font-weight: 800; border-radius: 14px; padding: 3px 11px; width: fit-content; }
.od-kpi .od-team.ok { background: #0e7f86; color: #fff; }
.od-kpi .od-team.wait { background: #fff1dc; color: #9a5b0c; }
.ord-team { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11.5px; font-weight: 800; margin-left: 5px; vertical-align: middle; cursor: help; }
.ord-team.ok { background: #0e7f86; color: #fff; }
.ord-team.wait { background: #fff1dc; }

/* 散拼团排团状态:勾并进「拼团」标签(细勾·不再单独实心圆);待排团标签变浅橙 */
.ptype-tag .tm-ck { font-style: normal; font-weight: 800; color: #0e7f86; margin-left: 3px; font-size: 12px; }
.ptype-tag.pintuan.tm-wait { background: #fdf3e1 !important; color: #a8670d !important; }
.ptype-tag.tm-wait .tm-ck { color: inherit; font-size: 10.5px; }
/* 全站「突兀」的实心圆勾 → 同款细勾 */
.od-tabbadge.ok { background: transparent; color: #0e7f86; width: auto; height: auto; font-size: 13px; margin-left: 1px; }
.proof-link { width: auto !important; height: auto !important; border: 0 !important; background: transparent !important; color: #0e7f86 !important; font-size: 15px !important; font-weight: 800 !important; padding: 2px 4px; border-radius: 4px; }
.proof-link:hover { background: #e6f4f2 !important; }
/* 订单状态「已取消」和「已确认」区分开:灰色 + 删除线感 */
.status-pill.status-已取消 { background: #f1f3f5 !important; color: #98a2ab !important; border-color: #e1e5e9 !important; text-decoration: line-through; }

/* 拼团排团状态标签:悬停显示问号光标 + 说明 */
.ptype-tag.pintuan[title] { cursor: help; }
.ptype-tag.pintuan[title]:hover { box-shadow: 0 0 0 2px rgba(14,127,134,.18); }

/* 包车「用车方式」:整天 / 单程接送 / 追极光 */
.cmode-k { font-size: 13px; font-weight: 800; color: #3d4f55; margin: 2px 0 8px; }
.cmode-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.cmode { text-align: left; border: 1.5px solid #d6e6ea; border-radius: 12px; padding: 10px 12px; background: #fff; cursor: pointer; position: relative; font-family: inherit; width: auto; height: auto; box-shadow: none; color: #1d2b30; }
.cmode b { display: block; font-size: 14px; margin-bottom: 2px; }
.cmode small { color: #7d8c93; font-size: 11.5px; font-weight: 400; }
.cmode.on { border-color: #0e7f86; background: #effaf9; box-shadow: 0 0 0 3px rgba(14,127,134,.12); }
.cmode.on::after { content: "✓"; position: absolute; right: 10px; top: 8px; color: #0e7f86; font-weight: 800; }
.cv-card.cv-off { opacity: .55; }
.tr-seg { display: flex; gap: 8px; margin: 2px 0 10px; }
.tr-tog { border: 1px solid #d6e6ea; border-radius: 9px; padding: 7px 16px; font-weight: 700; color: #4c5e63; background: #fff; cursor: pointer; font-family: inherit; width: auto; height: auto; box-shadow: none; }
.tr-tog.on { background: #0e7f86; color: #fff; border-color: #0e7f86; }
.tr-leg { border: 1px solid #e3ecef; border-radius: 11px; padding: 11px 13px; margin-bottom: 10px; background: #fbfdfd; }
.tr-leg-h { font-weight: 800; font-size: 13.5px; margin-bottom: 8px; }
.tr-leg-h span { font-size: 11.5px; font-weight: 700; background: #e8f1fb; color: #2a62a8; border-radius: 6px; padding: 1px 7px; margin-left: 6px; }
.tr-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.tr-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tr-f { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: #3d4f55; }
.tr-in { border: 1px solid #d6e3e7; border-radius: 8px; padding: 8px 10px; font-size: 13px; font-family: inherit; width: 100%; box-sizing: border-box; }
.tr-note { font-size: 12px; color: #7d8c93; margin-top: 6px; }
.cmode-disp { background: #effaf4; border: 1px solid #cfeedd; border-radius: 10px; padding: 9px 12px; font-size: 12.5px; color: #1f6b45; line-height: 1.7; margin-top: 10px; }

/* ===== 📅 营销端·团期日历(只读)· 与后台团期日历同款横条 ===== */
.pcal-top { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.pcal-mon { display:inline-flex; align-items:center; gap:8px; }
.pcal-mon b { font-size:17px; color:#0a6b78; min-width:110px; text-align:center; }
.pcal-mon button { width:30px; height:30px; border:1px solid #d6e3e6; border-radius:8px; background:#fff; color:#0a6b78; font-size:16px; cursor:pointer; }
.pcal-q { flex:1; min-width:180px; height:34px; border:1px solid #dbe5e8; border-radius:9px; padding:0 12px; font:inherit; font-size:13px; }
.pcal-kpi { border:1px solid #e1e9ec; border-radius:9px; padding:5px 11px; font-size:12px; color:#5b6b75; background:#fff; white-space:nowrap; }
.pcal-kpi b { font-size:16px; color:#1f2d3a; margin-right:4px; }
.pcal-ct { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-bottom:8px; }
.pcal-ct button { border:1px solid #e1e9ec; background:#f7fafb; color:#4a5866; border-radius:8px; padding:4px 11px; font-size:12px; cursor:pointer; }
.pcal-ct button.on { background:#0f8a8a; border-color:#0f8a8a; color:#fff; font-weight:700; }
.pcal-lg { margin-left:auto; font-size:11.5px; color:#6b7a84; display:inline-flex; align-items:center; gap:4px; flex-wrap:wrap; }
.pcal-lg i { display:inline-block; width:14px; height:10px; border-radius:3px; margin-left:8px; vertical-align:-1px; }
.pcal-lg i.v5 { background:#5a86b8; } .pcal-lg i.v9 { background:#d79246; } .pcal-lg i.full { background:#fff; box-shadow:inset 0 0 0 2px #0a2540; } .pcal-lg i.mine { background:#fff; box-shadow:inset 3px 0 0 #0f8a8a; border:1px solid #cfdde0; }
.pcal-grid { border:1px solid #e6edf0; border-radius:12px; overflow:hidden; background:#fff; }
.pcal-wd { display:grid; grid-template-columns:repeat(7,1fr); background:#f6fafb; border-bottom:1px solid #e6edf0; }
.pcal-wd div { text-align:center; font-size:12px; color:#7d8c93; padding:6px 0; }
.pcal-week { position:relative; min-height:calc(30px + var(--lanes) * 25px); border-bottom:1px solid #eef3f5; }
.pcal-week:last-child { border-bottom:0; }
.pcal-days { position:absolute; inset:0; display:grid; grid-template-columns:repeat(7,1fr); }
.pcal-cell { border-right:1px solid #f1f5f6; padding:4px 7px; font-size:12px; color:#55636e; }
.pcal-cell:last-child { border-right:0; }
.pcal-cell.other { background:#fafcfc; color:#c2ccd1; }
.pcal-cell.today span { background:#0f8a8a; color:#fff; border-radius:9px; padding:0 6px; font-weight:700; }
.pcal-bars { position:relative; padding-top:24px; display:grid; grid-template-columns:repeat(7,1fr); grid-auto-rows:22px; row-gap:3px; pointer-events:none; }
.pcal-bar { pointer-events:auto; margin:0 3px; height:22px; line-height:22px; border-radius:999px; padding:0 9px; font-size:11px; color:#fff; cursor:pointer; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.pcal-bar > span { display:block; overflow:hidden; text-overflow:ellipsis; }
.pcal-bar.v5 { background:#5a86b8; } .pcal-bar.v9 { background:#d79246; }
.pcal-bar.graft { background:linear-gradient(90deg,#a98fe0,#8a6fd0); }
.pcal-bar.full { box-shadow:inset 0 0 0 2px #0a2540; }
.pcal-bar.mine { box-shadow:inset 4px 0 0 #0b5f5f; }
.pcal-bar.full.mine { box-shadow:inset 4px 0 0 #0b5f5f, inset 0 0 0 2px #0a2540; }
.pcal-bar.cl { border-top-left-radius:3px; border-bottom-left-radius:3px; margin-left:0; }
.pcal-bar.cr { border-top-right-radius:3px; border-bottom-right-radius:3px; margin-right:0; }
.pcal-bar:hover { filter:brightness(1.07); }
.pcal-bar.hit { outline:2px solid #0f9d8f; outline-offset:1px; z-index:2; }
.pcal-bar.dim { opacity:.28; }
.pcal-l { opacity:.85; margin-left:4px; }
.pcal-r { background:rgba(255,255,255,.22); border-radius:7px; padding:0 5px; margin-left:4px; }
.pcal-s { border-radius:7px; padding:0 6px; margin-left:3px; font-weight:700; }
.pcal-s.ok { background:rgba(255,255,255,.9); color:#2d5f86; } .pcal-s.few { background:#fff3d6; color:#a8670d; } .pcal-s.full { background:#0a2540; color:#fff; }
.pcal-p { background:#fff; color:#a8670d; border-radius:7px; padding:0 5px; margin-left:3px; font-weight:700; }
/* 团卡片抽屉 */
#pcalDrawer .pcal-mask { position:fixed; inset:0; background:rgba(15,30,40,.32); z-index:900; }
#pcalDrawer .pcal-dr { position:fixed; top:0; right:0; bottom:0; width:min(420px,94vw); background:#fff; z-index:901; display:flex; flex-direction:column; box-shadow:-12px 0 32px rgba(0,0,0,.18); }
.pcal-dh { position:relative; background:linear-gradient(135deg,#12a3a3,#2d8fd0); color:#fff; padding:16px 18px 14px; }
.pcal-dh h3 { margin:0 34px 8px 0; font-size:18px; }
.pcal-x { position:absolute; right:14px; top:12px; width:30px; height:30px; border:0; border-radius:8px; background:rgba(255,255,255,.25); color:#fff; font-size:15px; cursor:pointer; }
.pcal-dt { display:flex; gap:6px; flex-wrap:wrap; }
.pcal-dt span { background:rgba(255,255,255,.2); border-radius:8px; padding:2px 9px; font-size:12px; font-weight:700; }
.pcal-dt span.full { background:#0a2540; }
.pcal-comp { margin-top:8px; font-size:13px; font-weight:700; }
.pcal-db { flex:1; overflow:auto; padding:12px 16px; }
.pcal-pend { background:#fff3d9; color:#7a4b00; border-radius:9px; padding:8px 10px; font-size:12px; line-height:1.6; margin-bottom:8px; }
.pcal-sh { font-size:12px; font-weight:700; color:#5b6b75; margin:6px 0 8px; }
.pcal-card { display:flex; border:1px solid #e3ebee; border-radius:12px; overflow:hidden; margin-bottom:8px; }
.pcal-card.mine { border-color:#9fd6d6; background:#f3fbfb; cursor:pointer; }
.pcal-card.mine:hover { box-shadow:0 2px 10px rgba(15,138,138,.18); }
.pcal-cn { width:56px; flex:none; background:#eef4f8; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#2b4d8c; }
.pcal-card.mine .pcal-cn { background:#0f8a8a; color:#fff; }
.pcal-cn b { font-size:22px; line-height:1; } .pcal-cn small { font-size:11px; margin-top:3px; }
.pcal-cb { flex:1; padding:9px 12px; min-width:0; }
.pcal-cn1 { font-weight:800; font-size:14px; margin-bottom:5px; }
.pcal-me { font-size:10.5px; background:#0f8a8a; color:#fff; border-radius:6px; padding:1px 6px; font-weight:700; vertical-align:2px; }
.pcal-tag { font-size:10.5px; background:#fff3d6; color:#a8670d; border-radius:6px; padding:1px 6px; font-weight:700; vertical-align:2px; }
.pcal-src { display:inline-block; font-size:12px; font-weight:700; border-radius:7px; padding:2px 8px; margin-bottom:5px; }
.pcal-src.d { background:#fff1e6; color:#b25a12; } .pcal-src.c { background:#e8f0fb; color:#2b5aa8; }
.pcal-cp { font-size:12px; color:#5b6b75; line-height:1.6; }
.pcal-note { font-size:11.5px; color:#8a98a3; background:#f6f9fa; border-radius:9px; padding:8px 10px; margin-top:6px; line-height:1.6; }
/* B2B 渠道·散拼团:加订门票 / 自定义费用项不能自助加 → 显示「需加订请联系 OP」 */
.cost-add-lock { margin-left:auto; font-size:11.5px; color:#8a7a5a; background:#fff6e5; border:1px dashed #ecd9b0; border-radius:8px; padding:3px 9px; white-space:nowrap; cursor:help; }

/* 自绘输入下拉(替代原生 datalist:Mac Safari 等点了不弹) */
.pick-wrap { position: relative; display: block; }
.pick-wrap > input { width: 100%; box-sizing: border-box; }
.pick-wrap > input:has(+ .pick-caret), #orderLeadSourceAccount { padding-right: 30px; }
.pick-caret { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; color: #6b7c78; cursor: pointer; font-size: 13px; user-select: none; }
.pick-pop { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 60; max-height: 280px; overflow-y: auto; background: #fff; border: 1px solid #d6e2df; border-radius: 10px; box-shadow: 0 10px 28px rgba(15, 50, 45, .14); padding: 4px; }
.pick-opt { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: 13.5px; }
.pick-opt b { font-weight: 600; color: #1f2d2a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-opt small { color: #7a8b87; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
.pick-opt:hover, .pick-opt.on { background: #e8f4f1; }
.pick-empty { padding: 10px; color: #8a9995; font-size: 13px; }

/* 客资来源:提交后改 + 改动留痕 */
.ls-cell { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.ls-zero { font-size: 11px; font-weight: 600; color: #6b46c1; background: #efeafb; border-radius: 5px; padding: 0 5px; line-height: 18px; }
.ls-edit { border: 1px solid #b9dcd6; background: #f0f9f7; color: #0b7a72; border-radius: 6px; padding: 0 8px; height: 22px; font-size: 12px; font-weight: 600; cursor: pointer; }
.ls-edit:hover { background: #dff1ed; }
.ls-lock { font-size: 11px; opacity: .7; cursor: help; }
.ls-log { display: block; margin-top: 3px; font-size: 11.5px; color: #9a7b2f; cursor: help; }
/* 加项类型标签(用车/酒店/门票/其他 · 日期) */
.xc-cat { display: inline-block; font-size: 11px; font-weight: 700; color: #0b6f78; background: #e6f4f5; border: 1px solid #c3e2e5; border-radius: 6px; padding: 0 6px; margin-right: 4px; vertical-align: 1px; white-space: nowrap; }
/* 营销端 · 只读履约 */
.odf-sec { background: #fff; border: 1px solid #e3eaee; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.odf-h { padding: 10px 14px; border-bottom: 1px solid #eef2f4; font-size: 13.5px; color: #12303a; }
.odf-tw { overflow-x: auto; }
.odf-tbl { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.odf-tbl th { color: #7a8a96; font-weight: 600; font-size: 12px; text-align: left; padding: 8px 12px; border-bottom: 1px solid #eef2f4; background: #fff; }
.odf-tbl td { padding: 9px 12px; border-top: 1px solid #f0f3f5; vertical-align: middle; overflow: hidden; text-overflow: ellipsis; }
.odf-tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.odf-tbl .x { font-size: 11.5px; color: #7a8a96; margin-top: 2px; }
.odf-tbl .warn { color: #c25a17; }
.odf-tbl b.pos { color: #14915f; } .odf-tbl b.neg { color: #c0392b; }
.odf-tbl tr.sub td { background: #fbfcfc; color: #5c6f77; font-size: 12.5px; }
.odf-tbl tr.xtra td { background: #fbfaf5; }
.odf-tbl tr.tot td { background: #f7fafb; font-weight: 700; color: #12303a; border-top: 1px solid #e3eaee; }
.odf-empty { padding: 12px 14px; font-size: 12.5px; }
.odf-st { display: inline-block; font-size: 11.5px; font-weight: 600; border-radius: 6px; padding: 1px 7px; white-space: nowrap; color: #a35a12; background: #fff4e5; }
.odf-st.ok { color: #12805a; background: #e6f6ee; } .odf-st.blue { color: #2659a8; background: #e8effb; }
.odf-margin { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; background: #effaf5; border: 1px solid #c4ebd8; border-radius: 12px; padding: 12px 16px; margin-bottom: 12px; }
.odf-margin.neg { background: #fdf0ee; border-color: #f2c7c0; }
.odf-mt { display: flex; flex-direction: column; min-width: 150px; }
.odf-mt i { font-style: normal; font-size: 12px; color: #4d7a68; }
.odf-mt b { font-size: 22px; color: #14915f; font-variant-numeric: tabular-nums; }
.odf-margin.neg .odf-mt b { color: #c0392b; }
.odf-mt small { font-size: 11.5px; color: #6f8c80; }
.odf-mf { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: #4f6470; }
.odf-mf b { color: #12303a; font-variant-numeric: tabular-nums; }
/* 营销端只读排团标签 */
.od-tm { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; white-space: nowrap; vertical-align: 1px; }
.od-tm i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
.od-tm.auto { background: #fdf3e1; color: #a8650d; } .od-tm.ok { background: #e9f6ef; color: #16805a; }
.od-tm.man { background: #ecf1fa; color: #3b5f9c; } .od-tm.pend { background: #f1f4f6; color: #7a8a96; }

/* ===== 订单详情指标卡·和后台一致(2026-11-23):出行 / 金额·付款 / 内部承接 / 排团 ===== */
.od-kpis.k4 { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); }
.od-kpis.k3 { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr); }
@media (max-width: 900px) { .od-kpis.k4, .od-kpis.k3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.od-pay-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.od-ps { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.od-ps.ok { background: #e9f6ef; color: #16805a; } .od-ps.warn { background: #fdf3e1; color: #a8650d; } .od-ps.blue { background: #e8f1fb; color: #2a62a8; }
.od-pay-pl { display: flex; justify-content: space-between; font-size: 12px; color: #7d8c93; margin-top: 4px; }
.od-pay-pl b { font-size: 12.5px; color: #1b2a30; } .od-pay-pl .due b { color: #b4680f; }
.od-paid-done { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #16805a; }
.od-paid-ck { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #16805a; color: #fff; font-size: 11px; }
.od-kpi .od-kpi-li { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-top: 3px; min-height: 20px; }
.od-kpi .od-kpi-li > span { color: #7d8c93; width: 50px; flex: none; }
.od-kpi .od-kpi-li b { font-size: 12.5px; font-weight: 700; color: #1b2a30; }
.od-kpi .od-kpi-li em { font-style: normal; font-size: 11.5px; color: #9aa6ad; }
.od-kpi-team > .l { display: flex; align-items: center; gap: 6px; }
.od-kpi-team > .l .od-tm { margin-left: auto; }
.od-kpi-team .od-tname { font-size: 16px; }
.od-kpi-team .od-tname.ok { color: #0f7a55; }
.od-kpi-team .od-tname.pend { font-size: 14px; color: #8a96a0; font-weight: 600; }
.od-tlink { margin-top: 6px; width: fit-content; background: none; border: 0; padding: 0; font-size: 12px; font-weight: 600; color: #0b6f78; cursor: pointer; }
.od-tlink:hover { text-decoration: underline; }

/* 营销端订单列表「行程进度」只写进度(2026-11-23):待出行 + 缺乘客小标(第二行,不加宽列) */
.life-go { background: #e6f3f4; color: #0a6b78; }
.life-pill-wrap.sp { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.life-miss { font-size: 10.5px; font-weight: 700; color: #c2410c; background: #fff1e6; border: 1px solid #fbd5b5; border-radius: 6px; padding: 0 5px; line-height: 16px; cursor: help; }
/* 营销端排团卡·团名下的 OP 确认状态条 */
.od-tst { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; width: fit-content; max-width: 100%; font-size: 12px; border-radius: 8px; padding: 4px 9px; line-height: 1.4; }
.od-tst b { font-weight: 800; }
.od-tst.auto { background: #fff8ea; border: 1px solid #f1d9a8; color: #8a5a12; }
.od-tst.ok { background: #eef8f2; border: 1px solid #cfe9da; color: #16805a; }
.od-tst.man { background: #f1f5fc; border: 1px solid #d3def2; color: #3b5f9c; }
.od-tst.pend { background: #f4f6f8; border: 1px solid #e3e8ec; color: #7a8a96; }

/* 包车产品页·下单入口更醒目(2026-11-23):标题栏右侧按钮 + 每台车「选这台」+ 表格下方按钮条 */
.cl-blk-go { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.cl-go-btn { border-radius: 9px; padding: 7px 14px; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; line-height: 1.2; }
.cl-go-btn.pri { background: #0d8b96; color: #fff; border: 1.5px solid #0d8b96; box-shadow: 0 4px 12px rgba(13,139,150,.25); }
.cl-go-btn.pri:hover { background: #0a7680; border-color: #0a7680; }
.cl-go-btn.sec { background: #fff; color: #0b6f78; border: 1.5px solid #9fd3d8; }
.cl-go-btn.sec:hover { background: #eaf6f7; }
.cl-go-btn.big { padding: 10px 20px; font-size: 14px; border-radius: 10px; }
.cl-table th.cl-pick, .cl-table td.cl-pick { text-align: center; white-space: nowrap; }
.cl-pick-btn { background: #fff; color: #0b6f78; border: 1.5px solid #9fd3d8; border-radius: 8px; padding: 4px 12px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.cl-pick-btn:hover { background: #0d8b96; border-color: #0d8b96; color: #fff; }
.cl-cta-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: linear-gradient(90deg, #e7f6f7, #f3fbfb); border: 1.5px solid #9fd3d8; }
.cl-cta-t b { display: block; font-size: 14.5px; color: #1b2a30; }
.cl-cta-t small { font-size: 12px; color: #5d7380; }
.cl-cta-go { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* 渠道端包车费用明细(2026-11-23):地接核价调整行 + 核价说明 */
.cost-line.od-cf-est strong { color: #8a96a0; font-weight: 600; }
.cost-line.od-cf-adj { background: #fffaf0; }
.cost-line.od-cf-adj .cost-label { color: #9a5b0c; font-weight: 700; }
.cost-line.od-cf-adj strong { color: #b4680f; }
.od-cf-note { margin: 8px 12px 4px; background: #f4f8ff; border: 1px solid #d3def2; border-radius: 10px; padding: 8px 12px; font-size: 12.5px; color: #2b4a7a; line-height: 1.7; }
.od-cf-note b { color: #1b3a6b; }
.od-cf-when { margin-left: 6px; font-size: 11.5px; color: #8a9bb8; }

/* 下单页车型卡·方案B(2026-11-23):名称旁 ⓘ 悬停看参考车型 */
.cv-card { position: relative; overflow: visible; }
.cv-i { position: relative; display: inline-grid; place-items: center; width: 15px; height: 15px; margin-left: 5px; border-radius: 50%; background: #dfe7eb; color: #5d7380; font-size: 10px; font-weight: 800; font-style: normal; vertical-align: 1px; cursor: help; }
.cv-tip { display: none; position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); z-index: 30; width: max-content; max-width: 240px; white-space: normal; text-align: left; background: #1b2a30; color: #fff; font-size: 11.5px; font-weight: 500; line-height: 1.5; padding: 6px 9px; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.18); pointer-events: none; }
.cv-tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #1b2a30; }
.cv-i:hover .cv-tip, .cv-i:focus .cv-tip { display: block; }

/* 包车产品页车型格·方案B(2026-11-23):封面小图 + 名称/座位档/📷 + 灰字参考车型 */
.cl-veh-thumb { flex: none; position: relative; width: 56px; height: 40px; border-radius: 8px; overflow: hidden; border: 1px solid #e3eaee; padding: 0; background: #eef3f5; cursor: zoom-in; }
.cl-veh-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-veh-thumb b { position: absolute; right: 3px; bottom: 2px; background: rgba(0,0,0,.55); color: #fff; font-size: 9.5px; font-weight: 700; border-radius: 4px; padding: 0 4px; line-height: 14px; }
.cl-veh-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cl-veh-seat { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: #e6f3f4; color: #0a6b78; }
.cl-veh-cam { border: 0; background: none; padding: 0 2px; font-size: 13px; line-height: 1; cursor: pointer; opacity: .75; }
.cl-veh-cam:hover { opacity: 1; transform: scale(1.1); }
.cl-veh-model { margin-top: 3px; font-size: 12px; color: #8a979e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 380px; }
.cl-veh-model b { color: #5d7380; font-weight: 600; }
.cl-veh-info { min-width: 0; }
.cl-veh-thumb.noimg { display: grid; place-items: center; }
.cl-veh-thumb.noimg::before { content: "🚐"; font-size: 18px; opacity: .55; }

/* 门票预订弹窗·「含在母单总价里」:被弹窗里通用的 label/input 样式盖掉(变成一大块框 + 文字挤成一竖条)→ 提高优先级、占满整行 */
#bokunBookDialog .bb-inc-row { display: flex !important; flex-direction: row; grid-column: 1 / -1; width: 100%; box-sizing: border-box; gap: 8px; align-items: flex-start; }
#bokunBookDialog .bb-inc-row > input[type="checkbox"] { width: 16px !important; height: 16px !important; min-height: 0 !important; padding: 0 !important; margin: 3px 0 0 !important; flex: none; box-shadow: none; }
#bokunBookDialog .bb-inc-row > span { flex: 1; min-width: 0; writing-mode: horizontal-tb; white-space: normal; }
#bokunBookDialog .bb-inc-row[hidden] { display: none !important; }

/* 门票预订弹窗·出票方式提示(2026-11-23 按入口定价) */
#bokunBookDialog .bb-svc-tip { grid-column: 1 / -1; border-radius: 10px; padding: 9px 12px; font-size: 12px; line-height: 1.65; margin: 6px 0; }
#bokunBookDialog .bb-svc-tip.svc { background: #eef5fd; border: 1px solid #bcd6f2; color: #1b4f8a; }
#bokunBookDialog .bb-svc-tip.self { background: #fff8ea; border: 1px solid #f1d9a8; color: #7a5410; }
#bokunBookDialog .bb-svc-tip[hidden] { display: none !important; }

/* 本行程关联·金额算法(2026-11-23·同后台) */
.od-rel-amt { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.od-rel-calc { display: block; font-size: 11px; font-weight: 400; color: #9aa6ad; white-space: nowrap; font-variant-numeric: tabular-nums; }
.od-rel-chip { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; color: #0a6b78; background: #e6f3f4; border-radius: 6px; padding: 1px 7px; vertical-align: 1px; }
.od-rel-detail { display: block; margin-top: 2px; font-size: 11.5px; color: #7d8c93; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.od-rel-eq { margin-left: auto; font-size: 12px; font-weight: 400; color: #7d8c93; font-variant-numeric: tabular-nums; }
.od-rel-eq + .od-rel-total { margin-left: 8px; }
.od-rel > summary:has(.od-rel-eq)::after { margin-left: 10px; }

/* ===== 门票预定弹窗 · 从母单进来加订(.bb-linked)排版(2026-11-23) ===== */
#bbCustFields { display: grid; gap: 18px; }
#bbCustFields[hidden] { display: none; }
.bb-pp-row { display: grid; gap: 18px; }
.bb-step { display: block; }
.bb-step-btn { display: none; }
.bb-thumb { width: 64px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; background: #e6eef1; }
.bb-thumb[hidden] { display: none; }
#bokunBookForm.bb-linked header { justify-content: flex-start; }
#bokunBookForm.bb-linked header #bbClose { margin-left: auto; flex: none; }
.bb-trip { display: flex; align-items: center; gap: 12px; background: linear-gradient(90deg, #eef8f9, #f6fbfc); border: 1px solid #cfe7ea; border-radius: 12px; padding: 10px 14px; }
.bb-trip[hidden] { display: none; }
.bb-trip-ic { width: 34px; height: 34px; border-radius: 10px; background: #0d8b96; color: #fff; display: grid; place-items: center; font-size: 16px; flex: none; }
.bb-trip-tx { min-width: 0; flex: 1; }
.bb-trip-tx b { display: block; font-size: 13.5px; color: #1b2a30; }
.bb-trip-tx small { display: block; font-size: 12px; color: #5d7380; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#bokunBookForm .bb-trip-edit { margin-left: auto; width: auto; height: auto; background: none; border: 0; color: #0b6f78; font-weight: 700; font-size: 12px; cursor: pointer; white-space: nowrap; padding: 4px 6px; box-shadow: none; }
.bb-trip-tag { font-size: 10.5px; font-weight: 700; color: #0a6b74; background: #e3f3f5; border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.bb-linked .bb-pp-row { grid-template-columns: 1fr 1fr; align-items: start; }
.bb-linked .bb-step { display: inline-flex; align-items: center; border: 1.5px solid #dfe6ea; border-radius: 10px; overflow: hidden; width: max-content; margin-top: 6px; }
#bokunBookForm.bb-linked .bb-step-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 0; background: #f5fafb; color: #0b6f78; font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: none; }
#bokunBookForm.bb-linked .bb-step input { width: 56px; min-width: 0; height: 38px; padding: 0; border: 0; border-radius: 0; text-align: center; font-size: 15px; font-weight: 700; box-shadow: none; -moz-appearance: textfield; appearance: textfield; }
#bokunBookForm.bb-linked .bb-step input::-webkit-inner-spin-button, #bokunBookForm.bb-linked .bb-step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bb-linked .bb-date { min-width: 58px; padding: 6px 10px; font-weight: 800; font-size: 13px; border: 1.5px solid #e1e8ec; border-radius: 10px; }
.bb-linked .bb-date.in-trip { border-color: #9fd3d8; background: #f2fafb; }
.bb-linked .bb-date.out-trip { opacity: .5; }
.bb-linked .bb-date.on { border-color: #0d8b96; background: #0d8b96; color: #fff; opacity: 1; }
.bb-linked .bb-date.on small { color: #d9f3f5; }
.bb-linked footer { border-top: 1px solid #eef2f4; padding-top: 14px; }
.bb-linked footer .bb-total { margin: 0 auto 0 0; }
.bb-linked footer .bb-total b { font-size: 20px; }
@media (max-width: 560px) { .bb-linked .bb-pp-row { grid-template-columns: 1fr; } }

/* ===== 门票专区自助单 · 订单详情(.stk-*)(2026-11-24) ===== */
.stk-tt { display: inline-flex; flex-direction: column; vertical-align: middle; margin-right: 6px; }
.stk-tt small { font-size: 12px; color: #7d8c93; font-weight: 400; margin-top: 1px; }
.od-chip.stk-self { background: linear-gradient(90deg, #0d8b96, #16a2ad); color: #fff; font-weight: 700; }
.stk-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 4px 0 0; }
.stk-stp { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px solid #e1e8ec; background: #fff; min-width: 0; }
.stk-stp:first-child { border-radius: 12px 0 0 12px; }
.stk-stp:last-child { border-radius: 0 12px 12px 0; }
.stk-stp + .stk-stp { border-left: 0; }
.stk-stp .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #eef2f4; color: #7d8c93; flex: none; }
.stk-stp b { display: block; font-size: 13.5px; }
.stk-stp small { display: block; font-size: 11.5px; color: #7d8c93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stk-stp.done .n { background: #e1f3e9; color: #1a7a43; }
.stk-stp.done b { color: #1a7a43; }
.stk-stp.now { border-color: #f0b35a; background: #fffaf2; box-shadow: inset 0 0 0 1px #f0b35a; }
.stk-stp.now .n { background: #f59e0b; color: #fff; }
.stk-stp.now b { color: #9a5a08; }
.stk-stp.now2 { border-color: #0d8b96; background: #f2fafb; box-shadow: inset 0 0 0 1px #0d8b96; }
.stk-stp.now2 .n { background: #0d8b96; color: #fff; }
.stk-stp.now2 b { color: #0b6f78; }
.stk-next { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; border-radius: 14px; padding: 16px 18px; margin: 12px 0 14px; }
.stk-next.pay { background: linear-gradient(90deg, #fff6e8, #fffaf3); border: 1.5px solid #f3cf93; }
.stk-next.go { background: linear-gradient(90deg, #e8f6f7, #f4fbfb); border: 1.5px solid #9fd3d8; }
.stk-next.done { background: linear-gradient(90deg, #e9f7ef, #f5fbf7); border: 1.5px solid #b8e2c8; grid-template-columns: 1fr; }
.stk-next .k { font-size: 12px; font-weight: 800; letter-spacing: .5px; color: #9a5a08; }
.stk-next.go .k { color: #0b6f78; }
.stk-next.done .k { color: #1a7a43; }
.stk-next .h { font-size: 19px; font-weight: 800; margin-top: 2px; color: #1b2a30; }
.stk-next .h em { font-style: normal; color: #e0592a; }
.stk-next .s { font-size: 12.5px; color: #6b5a3a; margin-top: 4px; }
.stk-next.go .s, .stk-next.done .s { color: #3d6168; }
.stk-warn { font-size: 11.5px; color: #b45309; margin-top: 6px; }
button.stk-btn { border: 0; border-radius: 12px; padding: 12px 26px; font-weight: 800; font-size: 15px; white-space: nowrap; text-align: center; cursor: pointer; height: auto; width: auto; line-height: 1.3; font-family: inherit; }
button.stk-btn small { display: block; font-size: 11px; font-weight: 600; opacity: .92; margin-top: 2px; }
button.stk-btn.o { background: #f59e0b; color: #fff; box-shadow: 0 6px 16px rgba(245,158,11,.3); }
button.stk-btn.o:hover { background: #e08a00; }
button.stk-btn.t { background: #0d8b96; color: #fff; box-shadow: 0 6px 16px rgba(13,139,150,.28); }
button.stk-btn.t:hover { background: #0b6f78; }
.stk-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.stk-sec { font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.stk-sec small { font-weight: 400; color: #7d8c93; margin-left: 6px; }
.stk-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid #e3eaee; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; position: relative; background: #fff; }
.stk-card[data-od-rel] { cursor: pointer; }
.stk-card[data-od-rel]:hover { border-color: #9fd3d8; }
.stk-card.cur { border-color: #9fd3d8; box-shadow: inset 3px 0 0 #0d8b96; }
.stk-card::before { content: ""; position: absolute; left: 80px; top: 8px; bottom: 8px; border-left: 1.5px dashed #dfe6ea; }
.stk-img { width: 56px; height: 46px; border-radius: 9px; background: linear-gradient(135deg, #2d4a5e, #7aa0b3) center / cover no-repeat; }
.stk-nm { padding-left: 12px; min-width: 0; }
.stk-nm b { display: block; font-size: 13.5px; }
.stk-nm small { display: block; color: #7d8c93; font-size: 12px; margin-top: 2px; }
.stk-nm small.en { color: #9aa6ad; font-size: 11.5px; margin-top: 1px; }
.stk-tg { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 1px 7px; margin-left: 6px; vertical-align: middle; background: #f1f3f5; color: #5d6b75; }
.stk-tg.m { background: #e6f3f4; color: #0a6b78; }
.stk-tg.a { background: #fff4e0; color: #a35a12; }
.stk-st { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.stk-ts { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.stk-ts.pay { background: #fdf0dc; color: #9a5a08; }
.stk-ts.done { background: #e1f3e9; color: #1a7a43; }
button.stk-ts.go { background: #0d8b96; color: #fff; border: 0; cursor: pointer; height: auto; width: auto; font-family: inherit; line-height: 1.4; box-shadow: 0 2px 6px rgba(13,139,150,.25); }
button.stk-ts.go:hover { background: #0b6f78; }
.stk-mail { font-size: 11.5px; color: #4f6470; }
.stk-dl { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.stk-dl a { font-size: 11.5px; font-weight: 700; color: #0b6f78; border: 1px solid #9fd3d8; border-radius: 7px; padding: 1px 8px; text-decoration: none; }
.stk-rt { text-align: right; }
.stk-rt b { display: block; font-size: 14px; color: #0a6b78; }
.stk-rt small { display: block; font-size: 11px; color: #9aa6ad; white-space: nowrap; }
.stk-sum { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; border-top: 1px dashed #e3eaee; margin-top: 4px; padding-top: 10px; font-weight: 800; }
.stk-sum .eq { color: #7d8c93; font-weight: 400; font-size: 12px; text-align: center; }
.stk-mini { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 10px; }
.stk-mini button { font-size: 12px; color: #5d7380; background: #fff; border: 1px solid #e3eaee; border-radius: 7px; padding: 3px 10px; cursor: pointer; height: auto; width: auto; font-weight: 600; }
.stk-mini button:hover { border-color: #9fd3d8; color: #0b6f78; }
.stk-mini button.del:hover { border-color: #e6b3b0; color: #c8443f; }
.stk-pay { background: linear-gradient(160deg, #0f7b80, #11949b); color: #fff; border-radius: 14px; padding: 16px; }
.stk-pay .l { font-size: 12px; opacity: .85; }
.stk-pay .big { font-size: 28px; font-weight: 900; margin: 4px 0 2px; }
.stk-pay .eqs { font-size: 12px; opacity: .85; margin-bottom: 6px; }
.stk-pay .rw { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.18); padding: 8px 0; font-size: 12.5px; }
.stk-pay .b { display: block; width: 100%; background: #fff; color: #0b6f78; border: 0; border-radius: 10px; text-align: center; padding: 11px; font-weight: 800; margin-top: 6px; cursor: pointer; font-size: 13.5px; height: auto; font-family: inherit; }
.stk-pay .b.done { cursor: default; background: rgba(255,255,255,.18); color: #fff; }
.stk-how { background: #fff; border: 1px solid #e3eaee; border-radius: 14px; padding: 12px 14px; margin-top: 12px; font-size: 13px; }
.stk-how ol { margin: 6px 0 0; padding-left: 18px; line-height: 1.9; color: #4f6470; font-size: 12.5px; }
@media (max-width: 900px) {
  .stk-cols { grid-template-columns: 1fr; }
  .stk-steps { grid-template-columns: 1fr; }
  .stk-stp, .stk-stp + .stk-stp { border-left: 1.5px solid #e1e8ec; border-radius: 0; }
  .stk-stp + .stk-stp { border-top: 0; }
  .stk-next { grid-template-columns: 1fr; }
}

/* ===== 渠道包车单 · 预估价 → 地接核价 → 付款(.cw-* / .od-cw-ban)(2026-11-24) ===== */
.cw-tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 9px; border-radius: 999px; background: #fdf0dc; color: #9a5a08; border: 1px dashed #e7b65f; margin-left: 6px; vertical-align: middle; }
.cw-approx { font-size: 15px; font-weight: 700; color: #9a7a4a; margin-right: 4px; }
.cw-est-foot { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; border-top: 1px dashed #ead9bb; margin-top: 12px; padding-top: 10px; }
.cw-est-foot span { font-size: 12.5px; color: #6b5a3a; }
.cw-est-foot b { font-size: 22px; color: #0a6b78; }
.cw-est-foot small { font-size: 12px; color: #7d8c93; }
.cw-flow { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: #5d7380; flex-wrap: wrap; }
.cw-flow i { font-style: normal; background: #f1f5f7; border-radius: 999px; padding: 2px 9px; }
.cw-flow i.on { background: #fdf0dc; color: #9a5a08; font-weight: 800; }
.cw-flow em { font-style: normal; color: #b8c3c9; }
.cw-hint { font-size: 12px; line-height: 1.7; color: #7a5410; background: #fff8ea; border: 1px solid #f1d9a8; border-radius: 10px; padding: 9px 12px; margin-top: 10px; }
.od-cw-ban { display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 12px 16px; margin: 0 0 12px; }
.od-cw-ban.wait { background: linear-gradient(90deg, #fff6e8, #fffaf3); border: 1.5px solid #f3cf93; }
.od-cw-ban.ok { background: linear-gradient(90deg, #e9f7ef, #f5fbf7); border: 1.5px solid #b8e2c8; }
.od-cw-ban .ic { font-size: 22px; flex: none; }
.od-cw-ban b { font-size: 15px; color: #1b2a30; }
.od-cw-ban .s { font-size: 12.5px; color: #6b5a3a; margin-top: 2px; line-height: 1.6; }
.od-cw-ban.ok .s { color: #3d6168; }
.od-cw-ban .r { margin-left: auto; font-size: 12px; color: #9a5a08; font-weight: 700; white-space: nowrap; }
.od-cw-ban.ok .r { color: #1a7a43; }
.pay-summary.await { background: linear-gradient(160deg, #8a98a2, #a7b3bb) !important; }
.paid-seal.await { color: #fff; border-color: rgba(255,255,255,.75); }
.ps-await { margin-top: 10px; border-radius: 10px; text-align: center; padding: 11px; font-weight: 800; background: rgba(255,255,255,.2); color: #fff; border: 1px dashed rgba(255,255,255,.6); }
.cost-line.od-cf-pend { background: #fffaf2; }
.cost-line.od-cf-pend .cost-label small { font-weight: 400; color: #9aa6ad; }
.cost-line.od-cf-pend strong { color: #c76a12; }
.pay-pill.pay-await { background: #fdf0dc; color: #9a5a08; border: 1px dashed #e7b65f; }
@media (max-width: 700px) { .od-cw-ban { flex-wrap: wrap; } .od-cw-ban .r { margin-left: 0; } }

/* ===== 加订自费活动弹窗 · 对齐版(2026-11-24 用户定效果图) ===== */
#partnerActivityDialog .act-shared { align-items: start; gap: 14px; }
#partnerActivityDialog .act-shared label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700; color: #33464f; }
#partnerActivityDialog .act-shared input { height: 40px; min-height: 0; box-sizing: border-box; border: 1.5px solid #dfe6ea; border-radius: 10px; padding: 0 12px; font-size: 14px; font-weight: 700; }
#partnerActivityDialog .act-shared-hint { font-size: 11.5px; font-weight: 400; color: #9aa6ad; }
#partnerActivityDialog .act-pick-head,
#partnerActivityDialog .act-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 150px 132px; gap: 12px; align-items: center; }
#partnerActivityDialog .act-pick-head { font-size: 11.5px; color: #7d8c93; font-weight: 700; padding: 10px 12px 6px; border-bottom: 1px solid #eef2f4; margin-top: 4px; }
#partnerActivityDialog .act-pick-head span:last-child { text-align: right; }
#partnerActivityDialog .act-pick-list { max-height: 300px; padding: 8px 2px; margin: 0; }
#partnerActivityDialog .act-row { border: 1px solid #e6e8ee; border-radius: 12px; padding: 10px 12px; }
#partnerActivityDialog .act-row.on { border: 1.5px solid #1d9e75; background: #f0fbf7; }
#partnerActivityDialog .act-daywrap { display: block; margin: 0; }
#partnerActivityDialog .act-daywrap input { width: 100%; height: 34px; min-height: 0; box-sizing: border-box; border: 1px solid #d6dfe3; border-radius: 8px; padding: 0 8px; font-size: 12.5px; font-weight: 700; color: #33464f; }
#partnerActivityDialog .act-qty { justify-content: flex-end; gap: 6px; }
#partnerActivityDialog .act-qty .act-step { width: 28px; height: 28px; min-height: 0; padding: 0; flex: none; border-radius: 7px; }
#partnerActivityDialog .act-qty input { width: 40px; height: 28px; min-height: 0; box-sizing: border-box; padding: 0; text-align: center; border-radius: 7px; font-size: 13px; flex: none; -moz-appearance: textfield; appearance: textfield; }
#partnerActivityDialog .act-qty input::-webkit-inner-spin-button, #partnerActivityDialog .act-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#partnerActivityDialog .act-unit { flex: none; }
#partnerActivityDialog footer { border-top: 1px solid #eef2f4; padding-top: 12px; }
#partnerActivityDialog footer .activity-amount { margin: 0 auto 0 0; font-size: 12.5px; color: #5d7380; }
#partnerActivityDialog footer .activity-amount b { font-size: 18px; color: #e0592a; margin: 0 4px; }
#partnerActivityDialog footer .activity-amount small { font-size: 11.5px; color: #9aa6ad; }
@media (max-width: 640px) {
  #partnerActivityDialog .act-pick-head { display: none; }
  #partnerActivityDialog .act-row { grid-template-columns: 28px minmax(0, 1fr); }
  #partnerActivityDialog .act-daywrap, #partnerActivityDialog .act-qty { grid-column: 2; }
  #partnerActivityDialog .act-qty { justify-content: flex-start; }
  #partnerActivityDialog .act-shared { grid-template-columns: 1fr; }
}

/* ===== 渠道列表 · 行程进度一个状态 + 一个小标签 / 收款状态统一(2026-11-24) ===== */
.life-pill-wrap.ch { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.life-mini { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 5px; padding: 1px 6px; white-space: nowrap; cursor: default; }
.life-mini[title] { cursor: help; }
.life-mini.miss { background: #fff0e6; color: #c2410c; }
.life-mini.self { background: #e3f3f5; color: #0a6b74; }
.life-mini.grey { background: #f1f3f5; color: #5d6b75; }
.pay-pill.pay-part2 { background: #e6f0fb; color: #1b5fa8; }
/* ===== 自营团加订门票:蓝冰洞 / 飞机残骸拦截 ===== */
button.tc-book-main.tc-act-lock { background: #fff6e8; color: #9a5a08; border: 1.5px dashed #e7b65f; box-shadow: none; font-size: 12.5px; }
button.tc-book-main.tc-act-lock:hover { background: #ffefd6; }
dialog.grp-act-lock { border: 0; border-radius: 16px; padding: 18px 20px; max-width: 440px; width: calc(100vw - 32px); box-shadow: 0 16px 40px rgba(20,40,50,.22); }
dialog.grp-act-lock::backdrop { background: rgba(15,30,40,.45); }
dialog.grp-act-lock h4 { margin: 0 0 6px; font-size: 16px; color: #1b2a30; }
dialog.grp-act-lock p { margin: 0; color: #4f6470; line-height: 1.75; font-size: 13px; }
dialog.grp-act-lock .gal-act { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1.5px solid #1d9e75; background: #f0fbf7; border-radius: 10px; padding: 9px 12px; margin: 12px 0 0; }
dialog.grp-act-lock .gal-act span { font-size: 12px; font-weight: 700; color: #0a8c7d; white-space: nowrap; }
dialog.grp-act-lock .gal-ft { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.cost-tk-sub { font-size: 11.5px; color: #7d8c93; font-weight: 400; margin-left: 8px; }

/* ===== 包车车型表:去掉缩略图,「📷 N 张」按钮(2026-11-24) ===== */
.cl-veh-ph { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid #9fd3d8; background: #f2fafb; color: #0b6f78; border-radius: 999px; padding: 1px 9px; font-size: 11.5px; font-weight: 800; white-space: nowrap; line-height: 1.6; height: auto; width: auto; margin-left: 6px; cursor: pointer; box-shadow: none; font-family: inherit; }
button.cl-veh-ph:hover { background: #e3f3f5; }
.cl-veh-ph.none { border-style: dashed; border-color: #dfe6ea; background: #fff; color: #b0b8bd; font-weight: 600; cursor: default; }

/* 营销端/渠道端顶部日期块:往下挪,和标题区对齐(2026-11-24) */
.partner-header .hdc-wrap { margin-top: 34px; }
@media (max-width: 760px) { .partner-header .hdc-wrap { margin-top: 0; } }

/* 后台「进入渠道端」只读查看:顶部常驻黄条(2026-11-26) */
#viewAsBar { position: sticky; top: 0; z-index: 2000; display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 7px 16px; background: #fff4d6; border-bottom: 1.5px solid #f0c95a; color: #6b4a00; font-size: 13px; line-height: 1.5; }
#viewAsBar b { color: #3d2c00; }
#viewAsBar button { margin-left: auto; flex: none; border: 1px solid #e0c278; background: #fff; color: #6b4a00; font-weight: 800; font-size: 12.5px; border-radius: 8px; padding: 4px 12px; cursor: pointer; }
#viewAsBar button:hover { background: #fffaf0; }
body.viewas-on .partner-sidebar { top: 40px; height: calc(100vh - 40px); }

/* 行程 + 报价明细保存状态条 */
.oi-save-bar.sv-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; background: #fff; border: 1px solid #dfe8ea; border-radius: 10px; padding: 10px 14px; margin-top: 10px; }
.sv-bar .sv-st { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.sv-bar .sv-st.ok { background: #e5f5ec; color: #0b7a52; }
.sv-bar .sv-st.warn { background: #fff; color: #8a5a08; border: 1px solid #f2d6a6; }
.sv-bar .sv-meta { font-size: 12px; color: #8593a4; }
.sv-bar .sv-act { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.sv-bar .sv-undo { background: #fff; color: #5a6b72; border: 1px solid #e3eaec; border-radius: 8px; padding: 8px 14px; font-size: 13px; cursor: pointer; font-family: inherit; }
.oi-save-bar.sv-bar.dirty { position: sticky; bottom: 0; z-index: 20; background: #fdf3e2; border-color: #f2d6a6; box-shadow: 0 -4px 14px rgba(120, 80, 0, .10); }
.oi-save-bar.sv-bar.fresh { border-color: #b9e2c9; }
.sv-bar .oi-save.idle { background: #f1f4f5 !important; color: #a7b1bb !important; box-shadow: inset 0 0 0 1px #e3eaec; }
.sv-chg { border-left: 3px solid #e8b04a !important; background: #fffaf0 !important; }

/* 行前交付·按天交付:一天一行(天数 | 行程含住宿 | 本日注意事项 | 附件·不分酒店/门票) */
.dv-tip { background: #fff8e6; border: 1px solid #f0d699; color: #7a4f06; border-radius: 9px; padding: 7px 12px; margin: 0 0 10px; font-size: 12.5px; }
.dv-rowhead, .dv-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 220px 200px; gap: 10px; } /* 注意事项+附件收窄靠右,行程框更宽 */
.dv-rowhead { padding: 0 12px 6px; color: #8593a4; font-size: 12px; }
.dv-rowhead em { font-style: normal; color: #a8650c; margin-left: 4px; }
.dv-rows { border: 1px solid #e6edf0; border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.dv-row { align-items: center; padding: 8px 12px; border-top: 1px solid #eef2f4; }
.dv-row:first-child { border-top: 0; }
.dv-row:nth-child(even) { background: #fafcfc; }
.dv-row-d { font-weight: 800; color: #0a6b78; font-size: 12.5px; white-space: nowrap; }
.dv-row-d i { font-style: normal; font-weight: 600; color: #5a6b72; margin-left: 5px; }
.dv-row .dv-txt { resize: none; min-height: 34px; line-height: 1.5; padding: 6px 10px; field-sizing: content; } /* 字多自动长高,不用拖 */
.dv-row-a { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dv-row-a .dv-file { padding: 3px 8px; border-color: #cfe0f4; background: #f3f8fe; color: #2459b0; white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.dv-row-a .dv-add { white-space: nowrap; }
@media (max-width: 1100px) { .dv-rowhead { display: none; } .dv-row { grid-template-columns: 1fr; } }
/* 全程通用备注:按内容自动撑高、完整显示(空时 2 行) */
.dv-txt.dv-grow-all { resize: none; field-sizing: content; min-height: 56px; line-height: 1.7; }

/* 订单详情页签行(费用与付款/出行信息/行程明细/行前交付…):跟后台一致——浅灰底条 + 当前页签白色凸起·青字·底部青线,去图标,往下滚吸顶 */
#orderDetailPage { overflow: clip; } /* .panel 原 overflow:hidden 会让吸顶失效;clip 照样裁圆角 */
#orderDetailPage .od-tabs { position: sticky; top: 0; z-index: 30; gap: 3px; padding: 4px; margin-bottom: 14px; background: #eef1f4; border: 1px solid #e0e5ea; border-bottom: 1px solid #e0e5ea; border-radius: 12px; box-shadow: 0 0 0 6px #fff; flex-wrap: wrap; }
#orderDetailPage .od-tabs button { padding: 8px 15px; margin-bottom: 0; font-size: 14px; font-weight: 600; color: #4a5a66; border: 0; border-radius: 9px; display: inline-flex; align-items: center; gap: 4px; transition: background .12s; }
#orderDetailPage .od-tabs button:hover { background: #f8fafb; color: #0a6b78; }
#orderDetailPage .od-tabs button.active { background: #fff; color: #0a6b78; font-weight: 800; border-bottom: 0; box-shadow: 0 1px 4px rgba(16, 42, 67, 0.16), inset 0 -2.5px 0 #0a6b78; }

/* 订单备注:按内容自动撑高、全部展开;已录好=浅绿底(fill-mark);下方保存记录(谁·何时) */
.od-remark-ta { width: 100%; box-sizing: border-box; border: 1px solid #d6dfe3; border-radius: 8px; padding: 8px 10px; font-size: 13px; font-family: inherit; line-height: 1.75; resize: none; field-sizing: content; min-height: 56px; }
.od-remark-foot { display: flex; align-items: flex-start; gap: 12px; margin-top: 8px; }
.od-remark-foot > .primary { margin-left: auto; }
.od-remark-log { flex: 1; min-width: 0; font-size: 12px; color: #7a8a96; padding-top: 7px; }
.od-remark-log summary { cursor: pointer; list-style: none; }
.od-remark-log summary::-webkit-details-marker { display: none; }
.od-remark-log summary b { color: #33465a; font-weight: 600; }
.od-rl-more { color: #0a6b78; }
.od-rl-list { margin: 8px 0 0; padding: 8px 12px 8px 28px; background: #f7f9fb; border: 1px solid #e8eef2; border-radius: 8px; display: grid; gap: 8px; }
.od-rl-list b { color: #33465a; font-weight: 600; }
.od-rl-txt { white-space: pre-wrap; color: #4a5a66; margin-top: 2px; line-height: 1.6; max-height: 120px; overflow: auto; }
.od-remark-foot > #odRemarkMsg { padding-top: 7px; white-space: nowrap; }
.dv-rowhead > span:last-child { white-space: nowrap; }
/* 渠道端账单:汇总只有 应付/已付/待付 三格(订单信息页面上方已有) */
.bt-sum:not(:has(> div:nth-child(4))) { grid-template-columns: 1.25fr 1fr 1fr; }

/* 账单明细(合并版·渠道+销售):三格汇总(待付格带去付款+财务章) + 收款记录表(图片图标凭证/凭证上传人·时间/收据) + 应付构成表 */
.bt-sum { grid-template-columns: 1.2fr 1fr 1fr !important; }
.bt-sum > div { position: relative; }
.bt-duebox { overflow: hidden; }
.bt-paybtn { margin-top: 10px; background: #0a7f80; color: #fff; border: 0; border-radius: 8px; padding: 7px 14px; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.bt-paybtn:hover { background: #086a6b; }
.finance-stamp.bt-stamp { top: 10px; right: 14px; padding: 6px 12px; gap: 1px; transform: rotate(-12deg) scale(.82); transform-origin: top right; }
.bt-stamp .fs-main { font-size: 18px; }
.bt-tbl-wrap { border: 1px solid #e6eef0; border-radius: 12px; overflow: hidden; margin-bottom: 6px; }
.bt-tbl { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; }
.bt-tbl th { background: #f8fafb; color: #7a8a96; font-weight: 600; font-size: 12px; text-align: left; padding: 9px 14px; }
.bt-tbl td { padding: 11px 14px; border-top: 1px solid #f0f3f5; vertical-align: middle; font-size: 13px; }
.bt-tbl .r { text-align: right; }
.bt-tbl td small { display: block; color: #8593a4; font-size: 11.5px; margin-top: 2px; font-weight: 400; }
.bt-tbl .muted { color: #8593a4; }
.bt-tbl b { font-variant-numeric: tabular-nums; }
.bt-amt2 { font-size: 14px; font-weight: 800; }
.bt-tag.pay { background: #eef1f4; color: #5a6b72; }
.bt-pic { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-right: 4px; border-radius: 8px; border: 1px solid #cfe0f4; background: #f3f8fe; color: #2459b0; }
.bt-pic:hover { background: #e3eefc; }
.bt-up b { font-weight: 700; color: #1f2f36; }
.bt-rc { border: 1px solid #b9dcd6; background: #f0f9f7; color: #0b7a72; border-radius: 8px; padding: 4px 10px; font-weight: 700; font-size: 12px; cursor: pointer; white-space: nowrap; }
.bt-comp2 tr.tot td { background: #f8fafb; font-weight: 800; }
/* 行前交付:航班 / 上下团接车点只读(来自出行信息) */
.dv-ro { background: #f8fafb; }
.dv-ro .dv-kv-h small { font-weight: 400; color: #8593a4; margin-left: 6px; font-size: 11.5px; }
.dv-ro .dv-ro-go { margin-left: auto; }
.dv-ro .dv-kv-h { display: flex; align-items: center; gap: 4px; }
/* 交付司导物料:每天行程只读(来自行程明细) */
.dv-ro-txt { background: #f8fafb; border: 1px solid #e8eef2; border-radius: 8px; padding: 6px 10px; line-height: 1.6; font-size: 13px; color: #1f2f36; min-height: 20px; }
.dv-ro-txt.old { background: #fffdf6; }
.dv-ro-txt.old small { color: #a8650c; }
.dv-ro-txt.empty { background: #fff8e6; border: 1px dashed #e8c766; color: #9a6b00; }
.oi-gen.oi-ai { background: #2563eb; color: #fff; border-color: #2563eb; }
/* 渠道自助撤回付款 */
.bt-wd { border: 1px solid #f1c4c0; background: #fff; color: #c0392b; border-radius: 8px; padding: 4px 9px; font-weight: 700; font-size: 12px; cursor: pointer; white-space: nowrap; margin-right: 4px; }
.bt-wd:hover { background: #fdf1ef; }
.bt-tbl tr.bt-gone td { opacity: .6; }
.bt-st.wd { background: #eef1f4; color: #5a6b72; }
.pwd-mask { position: fixed; inset: 0; z-index: 9999; background: rgba(16, 32, 40, .35); display: flex; align-items: center; justify-content: center; }
.pwd-dlg { width: min(520px, 92vw); background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(10, 40, 50, .25); padding: 18px; }
.pwd-dlg h3 { margin: 0 0 10px; font-size: 16px; }
.pwd-box { background: #f8fafb; border: 1px solid #e3eaec; border-radius: 9px; padding: 10px 12px; line-height: 1.8; font-size: 13px; }
.pwd-in { width: 100%; box-sizing: border-box; margin-top: 10px; border: 1px solid #d6e2e5; border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 13px; resize: vertical; }
.pwd-err { color: #c0392b; font-size: 12px; margin-top: 6px; }
.pwd-tip { background: #fff8e6; border: 1px solid #f0d699; color: #7a4f06; border-radius: 9px; padding: 8px 12px; margin-top: 10px; font-size: 12.5px; }
.pwd-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.pwd-ok { background: #c0392b; color: #fff; border: 0; border-radius: 8px; padding: 7px 16px; font-weight: 700; cursor: pointer; }
.pwd-ok:disabled { opacity: .6; }
/* 收款记录·操作列:撤回 + 生成收据 同一行不溢出 */
.bt-tbl td:last-child { white-space: nowrap; }
.bt-tbl .bt-wd, .bt-tbl .bt-rc { padding: 4px 9px; }
.bt-tbl .bt-memo { color: #2459b0; word-break: break-all; }

/* ===== 提交付款弹窗改版(2026-12-03):金额卡一行 + 付款类型/实付币种并排 + 付款方 + 快捷金额 ===== */
@media (min-width: 640px) {
  #partnerPaymentSummary:not(.pg-mode) { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}
#partnerPaymentSummary article.pay-stage { border-color: #f3c9a8; background: #fff7f0; }
.pay-top { display: flex; gap: 16px 28px; flex-wrap: wrap; align-items: flex-end; }
.pay-top-c:empty { display: none; }
.pay-req { font-style: normal; color: #e5484d; }
.pay-opt { font-weight: 400; color: #94a3b8; font-size: 12px; }
.payer-box { border: 1px solid #cfe5e6; background: #f6fbfb; border-radius: 12px; padding: 12px 14px; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.payer-box-p { gap: 6px; }
.payer-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.payer-h b { font-size: 13px; color: #0e7f86; }
.payer-pick { width: auto; max-width: 100%; height: 32px; font-size: 12.5px; border: 1px solid #cfe0e3; border-radius: 8px; padding: 0 8px; background: #fff; }
.payer-f { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: #5c6f77; font-weight: 600; margin: 0; }
.payer-f input { height: 38px; border: 1px solid #d6dfe3; border-radius: 8px; padding: 0 10px; font-size: 13px; background: #fff; width: 100%; box-sizing: border-box; }
.payer-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .payer-g2 { grid-template-columns: 1fr; } }
.payer-save { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #4c5e63; font-weight: 400; margin: 0; cursor: pointer; }
.payer-save input { width: auto; height: auto; margin: 0; }
.payer-tip { font-size: 12px; color: #7d8c93; }
.pay-amt-row { display: flex; gap: 10px; align-items: center; }
.pay-amt-row input { flex: 1; min-width: 0; }
.pay-quick { display: inline-flex; gap: 6px; flex: none; }
.pay-quick:empty { display: none; }
.pq-btn { font-size: 12px; border: 1px solid #cfe0e3; border-radius: 999px; padding: 5px 11px; background: #fff; color: #0e7f86; white-space: nowrap; cursor: pointer; width: auto; height: auto; box-shadow: none; font-family: inherit; font-weight: 600; }
.pq-btn.on { background: #e8f5f5; border-color: #9fd3d3; font-weight: 700; }

/* 客资创建表单·手机端(2026-12-03):原来固定 4 列,手机上每格只剩一指宽、字被截断 → 窄屏 2 列,很窄 1 列 */
@media (max-width: 760px) { .lc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 380px) { .lc-grid { grid-template-columns: minmax(0, 1fr) !important; } .lc-grid > label { grid-column: auto !important; } }

/* ===== B2C 销售兼接渠道单(2026-12-04):一键切 OP + 收入分两块 ===== */
.pn-opswitch { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; vertical-align: middle; border: 1.5px solid #9fc4ea; background: linear-gradient(180deg, #f2f8ff, #e5f0fd); color: #2a62a8; font-weight: 800; font-size: 12.5px; border-radius: 999px; padding: 4px 12px; cursor: pointer; width: auto; height: auto; box-shadow: none; font-family: inherit; }
.pn-opswitch:hover { background: #dbeafc; }
.pn-op-n { background: #e5484d; color: #fff; border-radius: 999px; font-size: 10.5px; padding: 0 6px; line-height: 16px; }
.pwb-card-op { border-color: #c9dcf3; background: #f7fbff; }
.pwb-card-op .pwb-c-h b { color: #2a62a8; }
.b2b-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 14px; }
@media (max-width: 720px) { .b2b-split { grid-template-columns: 1fr; } }
.b2bs-blk { border: 1px solid #e3eaee; border-radius: 12px; padding: 12px 14px; background: #fff; }
.b2bs-blk .t { font-size: 12.5px; font-weight: 700; }
.b2bs-blk .v { font-size: 22px; font-weight: 800; margin-top: 4px; font-variant-numeric: tabular-nums; }
.b2bs-blk .f { font-size: 11.5px; color: #7d8c93; margin-top: 4px; line-height: 1.5; }
.b2bs-blk.c { background: #faf8ff; border-color: #ddd2fb; } .b2bs-blk.c .t, .b2bs-blk.c .v { color: #5b3fc4; }
.b2bs-blk.b { background: #f5f9fe; border-color: #c9dcf3; cursor: pointer; } .b2bs-blk.b .t, .b2bs-blk.b .v { color: #2a62a8; }
.b2bs-blk.b:hover { border-color: #8fb6e6; }
.b2bs-blk.t2 { background: #e9f6f1; border-color: #bfe3d4; } .b2bs-blk.t2 .t, .b2bs-blk.t2 .v { color: #0b7355; }
