:root {
  color-scheme: light;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --navy: #061d46;
  --navy-2: #0b3475;
  --blue: #00909e;
  --line: #dce5f2;
  --text: #102345;
  --muted: #65748b;
  --bg: #f4f8fd;
  --green: #0e9f6e;
  --orange: #f07a24;
  --purple: #6254d9;
  --red: #d34242;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 0%, #e2f5f8, var(--bg) 42%, #ffffff 100%);
  background-attachment: fixed; /* 渐变锚定视口,避免长页面中部出现色带(过渡带随滚动移动) */
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  zoom: 1.1; /* 整体放大到 110%，等同于手动把浏览器缩放到 110%，默认就看得清 */
}

button,
input,
select,
textarea {
  font: inherit;
}

dialog {
  width: min(760px, calc(100vw - 24px));
  border: 0;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 30px 90px rgba(4, 22, 61, 0.25);
}

dialog::backdrop {
  background: rgba(4, 22, 61, 0.42);
}

.dialog-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: #fff;
}

/* 内容区页面样式（产品表单等）：只铺满内容区，保留左侧导航栏 + 顶部标题行；无遮罩 */
dialog.dialog-fullscreen {
  position: fixed;
  top: 0;                    /* 全覆盖(含顶栏区):浮层自带标题栏,底层页面无论滚到哪都不会从顶部 0-84 那条露出来 */
  right: 0;
  bottom: 0;
  left: var(--fs-left, 176px); /* 侧栏右侧（JS 按实际宽度设，兼容收起） */
  width: auto; max-width: none; height: auto; max-height: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  overflow-y: auto;
  background: #f4f7fb;
  z-index: 200; /* 高过任何页面 sticky/fixed 表头(≤60),彻底盖住底层页面;低于 toast(9999)/抽屉(1200+) */
}
dialog.dialog-fullscreen .dialog-card {
  max-width: 980px;
  width: 100%;
  margin: 18px auto 40px;
  box-sizing: border-box;
  padding: 22px 26px 32px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(16, 42, 67, 0.06);
}
dialog.dialog-fullscreen header { position: sticky; top: 0; background: #fff; padding: 6px 0 12px; z-index: 3; }

.dialog-card header,
.dialog-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dialog-card header button {
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--text);
  background: #e2f5f8;
  font-size: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* 「其他获客方式」被「客资来源账号」锁定时整体淡化,提示此单已归运营投流 */
.form-grid label.ls-locked { opacity: 0.55; }
.form-grid label.ls-locked select { cursor: not-allowed; background: #f3f4f6; }

.calc-card {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 14px;
  border: 1px solid #dce5f2;
  border-radius: 8px;
  background: #f8fbff;
}

.calc-card span {
  color: var(--muted);
  font-size: 13px;
}

button {
  cursor: pointer;
}

.hidden,
.page {
  display: none !important;
}

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

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

.login-panel {
  width: min(470px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(4, 22, 61, 0.28);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

.muted,
small {
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.login-forgot {
  background: none !important;
  border: 0 !important;
  color: #0f8b8b !important;
  font-size: 13px !important;
  font-weight: 600;
  cursor: pointer;
  padding: 0 !important;
  justify-self: center;
  width: auto !important;
  box-shadow: none !important;
}
.login-forgot:hover { text-decoration: underline; }

label {
  display: grid;
  gap: 8px;
  color: #304569;
  font-size: 14px;
  font-weight: 800;
}
/* 作者样式的 label{display:grid} 会盖过浏览器默认 [hidden]{display:none},导致 <label hidden> 照样显示。
   显式让 hidden 在 label 上生效,恢复所有「默认隐藏·按条件显示」字段(客资关联/退改其它原因/外部渠道等)。 */
label[hidden] {
  display: none !important;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkbox-group legend {
  width: 100%;
  margin-bottom: 2px;
  color: #304569;
  font-size: 14px;
  font-weight: 800;
}

.checkbox-group label {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #e2f5f8;
  color: #304569;
  cursor: pointer;
}

.checkbox-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-group label:has(input:checked) {
  color: #fff;
  background: var(--blue);
}

/* 合订成员：长方块、宽度随客户名自适应（不再压成圆圈裁切名字） */
.checkbox-group.cbg-chips label {
  width: auto;
  height: auto;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #cfe6ea;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.checkbox-group.cbg-chips label:has(input:checked) {
  border-color: var(--blue);
}
.checkbox-group.cbg-chips label:has(input:checked)::before {
  content: "✓ ";
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text);
  background: #fff;
}

button,
.primary {
  border: 0;
  border-radius: 7px;
  padding: 8px 14px;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
  font-size: 13px;
  transition: filter 0.12s ease, background 0.12s ease;
}

button:hover,
.primary:hover {
  filter: brightness(0.96);
}

.ghost {
  color: var(--blue);
  background: #e2f5f8;
  font-weight: 700;
}

.ghost:hover {
  background: #e2ecff;
  filter: none;
}

.error {
  min-height: 20px;
  margin: 0;
  color: var(--red);
}

.demo-accounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.demo-accounts button {
  padding: 8px 10px;
  color: var(--blue);
  background: #e2f5f8;
}

.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: 520px;
}

.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-month-nav strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.inventory-source-note {
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid #bfdcff;
  background: #e2f5f8;
  color: #00707d;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 520px;
}

.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;
}

.inventory-day.good::after,
.inventory-day.low::after,
.inventory-day.urgent::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 0;
  height: 0;
  border-top: 10px solid var(--green);
  border-left: 10px solid transparent;
}

.inventory-day.low::after {
  border-top-color: #e5b95f;
}

.inventory-day.urgent::after {
  border-top-color: #e24b4a;
}

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

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

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

.inventory-rule-panel {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr); /* minmax(0,1fr)：内容区可收缩，宽内容(成本卡/横滚)不再撑破整页 */
  transition: grid-template-columns 0.2s ease;
}

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

.sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;  /* 至少满屏;导航多时随内容增高、满底铺满,页面下滑即可看全(不裁收缩按钮,不卡住) */
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 12px;
  color: var(--text);
  /* 淡青→白满高竖向渐变:故意、均匀的品牌色带(找回旧观感),不再是"白上半+色下半"的割裂 */
  background: linear-gradient(180deg, #e0f3f6 0%, #edf7f9 44%, #ffffff 100%);
  border-right: 1px solid var(--line);
  transition: padding 0.2s ease;
}

.sidebar-toggle {
  position: absolute;
  top: 48%;
  right: -12px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 24px;
  height: 56px;
  padding: 0;
  border: 1px solid #dce5f2;
  border-radius: 0 8px 8px 0;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 42, 90, 0.12);
  font-size: 22px;
  line-height: 1;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 6px 14px;
}

/* 收款账户页:账户列定宽,超长省略;使用次数【收】【付】 */
.recon-tbl th.acct-name-cell, .recon-tbl td.acct-name-cell { width: 400px; max-width: 400px; }
.acct-name-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.acct-name-line b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-name-line .acct-off, .acct-name-line .acct-qr-btn { flex: none; }
.recon-sub.acct-sub-ell { max-width: 400px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recon-tbl td.acct-use-cell, .recon-tbl th.acct-use-cell { white-space: nowrap; width: 150px; }
.acct-use { display: inline-block; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; border-radius: 6px; padding: 2px 7px; margin-right: 5px; }
.acct-use.in { background: #e3f3ec; color: #1d8f68; }
.acct-use.out { background: #fdf0e3; color: #b96a12; }
button.acct-use { border: 1px solid transparent; font-family: inherit; cursor: pointer; transition: border-color .15s, filter .15s; }
button.acct-use.in:hover { border-color: #1d8f68; }
button.acct-use.out:hover { border-color: #b96a12; }
.acct-name-link { cursor: pointer; }
b.acct-name-link:hover { color: #0f7aa8; text-decoration: underline; text-underline-offset: 3px; }
.recon-sub.acct-name-link:hover { color: #0f7aa8; }
/* 收款账户页·月份筛选(页头) */
.acct-month { display: flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 14px; }
.acct-mchip { border: 1px solid #d3e3e6; background: #fff; color: #44515d; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 5px 13px; cursor: pointer; line-height: 1; }
.acct-mchip:hover { border-color: #2aa3a8; color: #0b5d57; }
.acct-mchip.on { background: #0e7c74; border-color: #0e7c74; color: #fff; }
.acct-mpick { border: 1px solid #d3e3e6; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; color: #44515d; background: #fff; height: 28px; width: auto; }
.acct-mpick.on { border-color: #0e7c74; box-shadow: 0 0 0 2px rgba(14,124,116,.15); color: #0b5d57; font-weight: 600; }
/* 账户详情 / 收付明细弹窗 */
.acd-mask { position: fixed; inset: 0; z-index: 4400; background: rgba(15,23,32,.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.acd-box { background: #fff; border-radius: 14px; width: 100%; max-width: 560px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 50px rgba(15,23,32,.25); }
.acd-box.wide { max-width: 1080px; }
.acd-ftbl td.acd-slipcell { white-space: nowrap; }
.acd-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #eef2f6; font-size: 15px; }
.acd-sub { font-size: 12px; color: #7f9599; font-weight: 400; margin-top: 3px; }
.acd-x { border: 0; background: #f1f5f7; color: #5c6f77; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; flex: none; }
.acd-back { border: 1px solid #b6dbeb; background: #e8f5fb; color: #0b6f97; font-weight: 700; font-size: 12.5px; border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.acd-back:hover { background: #0f7aa8; color: #fff; border-color: #0f7aa8; }
.acd-body { padding: 14px 18px; overflow-y: auto; }
.acd-r { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #eef2f4; font-size: 13.5px; }
.acd-r.col { flex-wrap: wrap; }
.acd-k { flex: none; width: 70px; color: #7f9599; font-size: 12.5px; padding-top: 1px; }
.acd-v { flex: 1; min-width: 0; word-break: break-all; color: #1d3337; font-weight: 600; }
.acd-note { flex-basis: 100%; white-space: pre-wrap; word-break: break-word; background: #f6fafb; border: 1px solid #e3ecee; border-radius: 9px; padding: 9px 11px; font-size: 13px; line-height: 1.65; color: #2b3e43; }
.acd-copy { flex: none; border: 1px solid #d3e3e6; background: #fff; color: #0e7c74; font-size: 11.5px; font-weight: 600; border-radius: 6px; padding: 2px 8px; cursor: pointer; }
.acd-r.col .acd-copy { margin-top: 2px; }
.acd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.acd-stats > div { background: #f3f8f8; border-radius: 9px; padding: 8px 10px; }
.acd-stats span { display: block; font-size: 11.5px; color: #7f9599; }
.acd-stats b { display: block; font-size: 14px; margin-top: 3px; font-variant-numeric: tabular-nums; }
.acd-qr { margin-top: 12px; text-align: center; }
.acd-qr img { max-width: 200px; border: 1px solid #e3ecee; border-radius: 10px; }
.acd-f { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid #eef2f6; }
.acd-fsum { font-size: 13px; color: #44515d; margin-bottom: 10px; }
.acd-fsum b.in, .acd-ftbl b.in { color: #1d8f68; }
.acd-fsum b.out, .acd-ftbl b.out { color: #b96a12; }
.acd-ftbl td.acd-rec { white-space: nowrap; }
.acd-ftbl td.acd-rec b { color: #16324a; }
.acd-ftbl td.acd-rec small { font-size: 10.5px; margin-left: 2px; }
.acd-ftbl td.acd-note-cell { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #5c6f77; }
@media (max-width: 640px) { .acd-stats { grid-template-columns: 1fr; } .acct-month { flex-wrap: wrap; margin: 6px 0 0; } }

/* 左侧导航检索(OP后台):输入页面名实时出匹配菜单,↑↓选 Enter开 Esc关;Ctrl/⌘K 聚焦 */
.side-search { position: relative; margin: -8px 2px 0; }
.side-search-box { display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid #d3e3e6; border-radius: 10px; padding: 0 9px; color: #7f9599; transition: border-color .15s, box-shadow .15s; }
.side-search-box:focus-within { border-color: #2aa3a8; box-shadow: 0 0 0 3px rgba(42,163,168,.15); }
.side-search-box svg { flex: none; }
.side-search-box input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 8px 0; font: inherit; font-size: 13px; color: var(--text); box-shadow: none; }
.side-search-box input::-webkit-search-cancel-button { cursor: pointer; }
.side-search-kbd { flex: none; font-size: 10.5px; color: #7f9599; border: 1px solid #d3e3e6; border-radius: 5px; padding: 1px 5px; background: #f6fafb; }
.side-search-box:focus-within .side-search-kbd { display: none; }
.side-search-drop { position: absolute; left: 0; width: max(100%, 270px); top: calc(100% + 5px); z-index: 60; background: #fff; border: 1px solid #d9e7ea; border-radius: 11px; box-shadow: 0 10px 28px rgba(16,52,58,.16); padding: 5px; max-height: 60vh; overflow-y: auto; }
.side-search-it { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px; font-size: 13px; color: #16324a; cursor: pointer; }
.side-search-it.act { background: #e6f5f5; }
.side-search-it .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.side-search-it mark { background: #ffe7a8; color: inherit; border-radius: 3px; padding: 0 1px; }
.side-search-it small { flex: none; color: #98a2b3; font-size: 11px; }
.side-search-empty { padding: 12px 10px; font-size: 12.5px; color: #98a2b3; text-align: center; }
.sidebar-collapsed .side-search { display: none; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
  /* 极光渐变：绿→青→蓝→紫，颜色更明显 */
  background: linear-gradient(140deg, #06c98d 0%, #17b8d4 38%, #4f86e8 70%, #8b5cf6 100%);
  box-shadow: 0 2px 9px rgba(79, 134, 232, 0.32);
}
.brand-txt { line-height: 1.2; }
.brand-txt strong {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text);
}
.brand-txt small {
  font-size: 10.5px;
  color: var(--muted);
}

nav {
  display: grid;
  gap: 3px;
}

nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: 8px;
  color: #5b6b85;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.12s ease, color 0.12s ease;
}

nav a:hover {
  color: var(--text);
  background: #f1f5fb;
}

/* 顶部一级「包车询价」：标题 + 待报价红点 */
nav a.nav-flow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700; }
.nav-badge[hidden] { display: none; }

nav a.active {
  color: var(--blue);
  background: #e2f5f8;
}

nav a.active::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--blue);
}

/* 分组折叠导航 */
.nav-group {
  display: grid;
  gap: 2px;
}
.nav-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: 8px;
  background: none;
  color: #97a4b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  white-space: nowrap;
}
.nav-group-head:hover {
  color: var(--text);
  background: #f1f5fb;
}
.nav-caret {
  font-size: 11px;
  opacity: 0.7;
  transition: transform 0.15s ease;
}
.nav-group.open .nav-caret {
  transform: rotate(180deg);
}
.nav-group-items {
  display: none;
  margin: 2px 0 6px 14px;
  padding-left: 8px;
  border-left: 2px solid var(--line);
}
.nav-group.open .nav-group-items {
  display: grid;
  gap: 4px;
}
.nav-group-items a {
  padding: 8px 12px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav-group-items a .nav-count { margin-left: auto; flex: none; }
.nav-group-items a .nav-ic { width: 17px; height: 17px; opacity: .82; }
.nav-group-items a .nav-ic .ficon { width: 17px; height: 17px; }
.nav-group-items a.active .nav-ic,
.nav-group-items a:hover .nav-ic { opacity: 1; }
/* 分组小标题:同一大组内再切几档,灰色弱化 */
.nav-subhead {
  font-size: 11px;
  letter-spacing: .03em;
  color: #9aa4b2;
  padding: 8px 12px 2px;
  margin-top: 2px;
  user-select: none;
  pointer-events: none;
}
.nav-subhead:first-child { margin-top: 0; }
.sidebar-collapsed .nav-subhead { display: none; }
/* 旧·待删归档项：灰化弱化，开发完直接删除 */
.nav-group-items a.nav-archived {
  opacity: 0.5;
  font-size: 12.5px;
}
.nav-group-items a.nav-archived:hover {
  opacity: 0.85;
}
/* 收缩侧栏时：隐藏分组标题，所有子项以图标形式平铺 */
.sidebar-collapsed .nav-group-head {
  display: none;
}
.sidebar-collapsed .nav-group-items {
  display: grid !important;
  margin: 0;
  padding-left: 0;
  border-left: 0;
}

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

.sidebar-collapsed .sidebar-toggle {
  right: -12px;
  border-radius: 0 8px 8px 0;
}

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

.sidebar-collapsed .brand-txt,
.sidebar-collapsed nav a,
.sidebar-collapsed .user-card span,
.sidebar-collapsed .user-card strong,
.sidebar-collapsed .user-card button {
  font-size: 0;
}

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

.sidebar-collapsed nav a::first-letter {
  font-size: 16px;
}

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

.sidebar-collapsed .user-card {
  justify-items: center;
  padding: 8px;
}

.sidebar-collapsed .user-card::before {
  content: "我";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  font-weight: 900;
}

.user-card {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 12px;
  border-radius: 10px;
  background: #f4f7fc;
  border: 1px solid var(--line);
}

.user-card strong {
  color: var(--text);
  font-size: 14px;
}

.user-card span {
  color: var(--muted);
  font-size: 12.5px;
}

.user-card button {
  padding: 8px;
  color: #fff;
  background: var(--blue);
}

.workspace {
  padding: 24px;
}

.topbar,
.panel-title,
.top-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar {
  margin-bottom: 20px;
}

/* 部门门户 */
.nav-home { font-weight: 600; }
.portal-hi { font-size: 15px; color: #5c6f8e; margin-bottom: 14px; }
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.portal-card { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 0.5px solid #e0e9f5; border-radius: 14px; padding: 18px 20px; text-decoration: none; color: inherit; transition: box-shadow .12s, border-color .12s, transform .08s; }
.portal-card:hover { border-color: #00a5b8; box-shadow: 0 4px 16px rgba(0,128,143,0.12); transform: translateY(-2px); }
.portal-card .pc-ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 8px; background: #eef2f7; color: #5f6b7a; }
.portal-card .pc-ic .ficon { width: 25px; height: 25px; }
.portal-card[data-dept-enter="channel"] .pc-ic { background: #E6F1FB; color: #185FA5; }
.portal-card[data-dept-enter="direct"] .pc-ic { background: #E1F5EE; color: #0F6E56; }
.portal-card[data-dept-enter="order"] .pc-ic { background: #EEEDFE; color: #534AB7; }
.portal-card[data-dept-enter="product"] .pc-ic { background: #FAECE7; color: #993C1D; }
.portal-card[data-dept-enter="ops"] .pc-ic { background: #EAF3DE; color: #3B6D11; }
.portal-card[data-dept-enter="hr"] .pc-ic { background: #FBEAF0; color: #993556; }
.portal-card[data-dept-enter="backoffice"] .pc-ic { background: #F1EFE8; color: #5F5E5A; }
.portal-card[data-dept-enter="finance"] .pc-ic { background: #FAEEDA; color: #854F0B; }
/* 导航线性图标 */
.nav-ic { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex: none; }
.nav-ic .ficon { width: 18px; height: 18px; }
.nav-group-head { gap: 8px; justify-content: flex-start; }
.nav-group-head .nav-caret { margin-left: auto; }
.nav-group-head .nav-badge { margin-left: 4px; }
.nav-home { display: flex; align-items: center; gap: 8px; }
/* 导航图标按部门配色(与工作台卡片一致) */
.nav-home .nav-ic { color: #1D9E75; }
.nav-group[data-dept="channel"] .nav-ic { color: #185FA5; }
.nav-group[data-dept="direct"] .nav-ic { color: #0F6E56; }
.nav-group[data-dept="order"] .nav-ic { color: #534AB7; }
.nav-group[data-dept="product"] .nav-ic { color: #993C1D; }
.nav-group[data-dept="ops"] .nav-ic { color: #3B6D11; }
.nav-group[data-dept="hr"] .nav-ic { color: #993556; }
.nav-group[data-dept="backoffice"] .nav-ic { color: #5F5E5A; }
.nav-group[data-dept="finance"] .nav-ic { color: #854F0B; }
.nav-group[data-dept="dev"] .nav-ic { color: #5c6f8e; }
.portal-card strong { font-size: 17px; font-weight: 600; margin-top: 4px; }
.portal-card strong em { font-size: 12px; font-weight: 400; color: #98a2b3; font-style: normal; }
.portal-card small { color: #5c6f8e; font-size: 12.5px; line-height: 1.6; }
@media (max-width: 900px) { .portal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .portal-grid { grid-template-columns: 1fr; } }

/* 直客运营·指挥中心 占位页 */
.cc-ph { background: #fff; border: 0.5px solid #e0e9f5; border-radius: 14px; padding: 26px 28px; }
.cc-ph-hero { font-size: 22px; font-weight: 700; color: #00808f; }
.cc-ph-sub { color: #5c6f8e; font-size: 14px; margin: 8px 0 18px; line-height: 1.7; }
.cc-ph-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cc-ph-card { border: 0.5px solid #e0e9f5; border-radius: 10px; padding: 14px 16px; background: #f8fbfd; }
.cc-ph-card b { display: block; font-size: 15px; margin-bottom: 5px; }
.cc-ph-card span { color: #5c6f8e; font-size: 12.5px; line-height: 1.6; }
.cc-ph-note { margin-top: 18px; background: #eafaf3; border: 0.5px solid #b7e5cf; color: #1f7a4d; border-radius: 10px; padding: 11px 15px; font-size: 13px; }

/* 指挥中心 页面 */
.cc-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.cc-title { font-size: 17px; font-weight: 600; }
.cc-title .muted { font-size: 12.5px; font-weight: 400; }
.cc-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cc-date { font-size: 13px; color: #5c6f8e; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cc-date input { border: 0.5px solid #d7dde7; border-radius: 7px; padding: 5px 8px; font-size: 13px; }
.cc-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.cc-kpi { background: #f4f7fb; border-radius: 10px; padding: 12px 14px; }
.cc-kpi span { display: block; font-size: 12.5px; color: #5c6f8e; }
.cc-kpi b { font-size: 24px; font-weight: 600; }
.cc-card { background: #fff; border: 0.5px solid #e0e9f5; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
/* Cohort 销售转化绩效块 */
.coh-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0; }
.coh-kpi { background: #f6f9fc; border-radius: 10px; padding: 12px 14px; }
.coh-kpi.hero { background: linear-gradient(150deg, #0f9d8f, #0a6b78); }
.coh-kl { font-size: 12px; color: #64748b; margin-bottom: 6px; }
.coh-kv { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.coh-ks { font-size: 11.5px; color: #9aa7b6; margin-top: 4px; }
.coh-kpi.hero .coh-kl, .coh-kpi.hero .coh-ks { color: rgba(255,255,255,.82); } .coh-kpi.hero .coh-kv { color: #fff; }
.coh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 12px; }
.coh-panel { background: #f8fafc; border: 0.5px solid #e6ecf3; border-radius: 10px; padding: 13px 15px; }
.coh-ph { font-size: 13px; font-weight: 600; margin-bottom: 12px; } .coh-ph .muted { font-weight: 400; font-size: 11.5px; }
.coh-frow { margin-bottom: 12px; }
.coh-fm { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.coh-fm em { font-style: normal; color: #64748b; font-size: 12px; margin-left: 5px; }
.coh-ftrack { height: 12px; background: #e9eef4; border-radius: 6px; overflow: hidden; }
.coh-ffill { height: 100%; border-radius: 6px; transition: width .5s; }
.coh-rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 0.5px solid #e6ecf3; padding-top: 12px; margin-top: 4px; }
.coh-rate { text-align: center; }
.coh-rv { font-size: 19px; font-weight: 700; } .coh-rl { font-size: 11.5px; color: #64748b; } .coh-rf { font-size: 10.5px; color: #9aa7b6; }
.coh-ovlist { display: flex; flex-direction: column; gap: 7px; max-height: 260px; overflow-y: auto; }
.coh-ov { display: flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 7px 9px; background: #fff; border: 0.5px solid #eef2f8; border-radius: 8px; }
.coh-grade { width: 20px; height: 20px; border-radius: 5px; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.coh-ovtag { margin-left: auto; font-size: 11px; color: #a32d2d; font-weight: 600; white-space: nowrap; }
/* 🔍 cohort 数字可点去客资明细核对 */
.coh-clk { cursor: pointer; transition: box-shadow .12s ease, background .12s ease; }
.coh-clk:hover { box-shadow: 0 0 0 2px rgba(15,157,143,.35); }
.coh-ov.coh-clk .coh-ovtag { margin-left: 8px; }
.coh-ov.coh-clk:hover { background: #f3fbf9; }
.coh-drill { color: #0f9d8f; font-weight: 700; font-size: 15px; }
.coh-verdict { border-radius: 10px; padding: 13px 15px; border: 1px solid; }
.coh-verdict.coh-good { background: #dcf1e8; border-color: #9fdcc4; } .coh-verdict.coh-warn { background: #faeede; border-color: #f0d3a0; } .coh-verdict.coh-muted { background: #f4f6f9; border-color: #e6ecf3; }
.coh-vh { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 5px; }
.coh-good .coh-vh { color: #0b7355; } .coh-warn .coh-vh { color: #b45309; } .coh-muted .coh-vh { color: #64748b; }
.coh-vt { font-size: 13.5px; line-height: 1.5; }
/* 销售能力评分页 */
.ab-hero { display: flex; gap: 18px; align-items: stretch; flex-wrap: wrap; }
.ab-badge { flex: none; width: 180px; background: linear-gradient(160deg, #f8fafc, #eef4f8); border: 0.5px solid #e0e9f5; border-radius: 12px; padding: 16px; text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 4px; border-top: 3px solid var(--lv, #0b7355); }
.ab-score { font-size: 42px; font-weight: 750; letter-spacing: -.03em; color: var(--lv, #0b7355); line-height: 1; }
.ab-lv { font-size: 14px; font-weight: 650; margin-top: 4px; }
.ab-share { font-size: 12px; color: #64748b; margin-top: 2px; }
.ab-tag { font-size: 11px; margin-top: 7px; background: #eef2f6; color: #64748b; border-radius: 10px; padding: 3px 8px; }
.ab-tag.warn { background: #faeede; color: #b45309; }
.ab-tblwrap { flex: 1; min-width: 300px; overflow-x: auto; }
.ab-tbl { font-size: 13px; } .ab-tbl th { font-size: 11px; color: #98a2b3; font-weight: 400; padding: 6px 8px; text-align: left; }
.ab-tbl td { padding: 8px; border-top: 0.5px solid #eef2f8; }
.ab-tbl .ab-total td { border-top: 1.5px solid #e0e9f5; }
.ab-next { margin-top: 14px; background: #eef7f5; border: 0.5px solid #cbe7e0; border-radius: 10px; padding: 12px 14px; font-size: 13px; color: #0a6b4f; }
.ab-next ul { margin: 6px 0 0; padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ab-next li { font-size: 12.5px; color: #334155; }
.ab-lvchip { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--lv, #8593a4); border-radius: 5px; padding: 1px 7px; }
.mkt-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.mkt-tbl td { padding: 9px 10px; border-top: 0.5px solid #eef2f8; vertical-align: top; }
.mkt-tbl tr:first-child td { border-top: none; }
.mkt-n { font-weight: 600; white-space: nowrap; width: 120px; }
.mkt-v { font-weight: 600; color: #0a6b78; white-space: nowrap; width: 170px; font-variant-numeric: tabular-nums; }
.mkt-d { font-size: 12px; line-height: 1.5; }
.coh-help { margin: 4px 0 12px; }
.coh-help-t { background: #eef7f5; border: 0.5px solid #cbe7e0; color: #0a6b78; border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 600; cursor: pointer; width: 100%; text-align: left; }
.coh-help-b { background: #f6faf9; border: 0.5px solid #dcece8; border-top: none; border-radius: 0 0 8px 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: #475569; line-height: 1.6; }
.coh-help-b b { color: #0f172a; }
/* 后台薪酬设置 */
.pay-cfg { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding: 4px 2px; }
.pay-cfg label { font-size: 13px; color: #46536b; display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.pay-cfg input { height: 36px; width: 90px; border: 1px solid #d7dde7; border-radius: 8px; padding: 0 10px; font-size: 13px; box-sizing: border-box; }
.pay-cfg .pc-pct { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.pay-cfg .pc-pct input { width: 70px; }
/* 财务 · 费用台账 */
.exp-sums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.exp-sum { background: #fff; border: 1px solid #e2e8f0; border-radius: 11px; padding: 13px 15px; }
.exp-sum.exp-grand { background: #1e2a44; color: #fff; border-color: #1e2a44; }
.exp-sum-h { font-size: 12.5px; color: #64748b; margin-bottom: 5px; }
.exp-sum.exp-grand .exp-sum-h { color: #cbd5e1; }
.exp-sum-v { font-size: 22px; font-weight: 750; letter-spacing: -.02em; line-height: 1.1; }
.exp-sum-sub { font-size: 11px; margin-top: 4px; }
.exp-sum.exp-grand .exp-sum-sub { color: #94a3b8; }
.exp-form { background: #f8fafc; border: 1px solid #e6ecf3; border-radius: 12px; padding: 15px 17px; }
.exp-form-h { font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.exp-form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px 13px; }
.exp-form-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #46536b; font-weight: 600; }
.exp-form-grid input, .exp-form-grid select { height: 34px; border: 1px solid #d7dde7; border-radius: 8px; padding: 0 10px; font-size: 13px; box-sizing: border-box; width: 100%; background: #fff; }
.exp-rtag { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.exp-rtag.exp-cn { background: #fdecea; color: #c0392b; }
.exp-rtag.exp-is { background: #e8f1fa; color: #2f6fb0; }
.exp-rtag.exp-shared { background: #f1f3f6; color: #64748b; }
.exp-fx { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 5px; }
.exp-fx.fixed { background: #eef2f7; color: #46536b; }
.exp-fx.var { background: #fdf0e0; color: #b45309; }
@media (max-width: 720px) { .exp-sums { grid-template-columns: repeat(2, 1fr); } .exp-form-grid { grid-template-columns: repeat(2, 1fr); } }
/* 人事 / 员工档案 */
.hr-stat { font-size: 13px; color: #64748b; margin-bottom: 12px; }
.hr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.hr-card { border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.hr-card.off { opacity: .62; }
.hr-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.hr-name { font-size: 15.5px; font-weight: 700; color: #0f172a; }
.hr-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.hr-tag { font-size: 11px; padding: 2px 8px; border-radius: 20px; background: #eef2f7; color: #64748b; font-weight: 600; }
.hr-tag.hr-sale { background: #e3f5f1; color: #0b7355; }
.hr-tag.hr-ops { background: #eef0fb; color: #4f46a8; }
.hr-tag.hr-team { background: #fdf0e0; color: #b45309; }
.hr-tag.hr-left { background: #fde2e2; color: #b91c1c; }
.hr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; }
.hr-grid > div { display: flex; flex-direction: column; gap: 4px; }
.hr-grid .hr-cardno { grid-column: 1 / -1; }
.hr-grid label { font-size: 11.5px; color: #8593a4; font-weight: 600; }
.hr-grid input, .hr-grid select { height: 34px; border: 1px solid #d7dde7; border-radius: 8px; padding: 0 10px; font-size: 13px; box-sizing: border-box; width: 100%; background: #fff; }
.hr-grid input:disabled { background: #f6f8fb; color: #94a3b8; }
.hr-cardrow { display: flex; gap: 6px; }
.hr-cardrow .hr-cardinput { flex: 1; }
.hr-reveal { flex: none; height: 34px; padding: 0 10px; }
.hr-cardmask { font-size: 12px; margin-top: 3px; letter-spacing: .04em; }
.hr-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 0.5px solid #eef2f7; flex-wrap: wrap; }
.hr-pay { font-size: 11.5px; flex: 1; min-width: 180px; }
.hr-save { padding: 7px 16px; }
@media (max-width: 640px) { .hr-list { grid-template-columns: 1fr; } }
/* 我的收入页 */
.mp-lrhero { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mp-lrhero .mp-lrr { text-align: right; max-width: 58%; }
@media (max-width: 640px) { .mp-lrhero { flex-direction: column; align-items: flex-start; gap: 6px; } .mp-lrhero .mp-lrr { text-align: left; max-width: 100%; } }
.mp-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.mp-tab { flex: 1; padding: 11px 12px; border: 1px solid var(--line, #e0e6ed); background: #fff; border-radius: 10px; font-size: 14px; font-weight: 600; color: #4a5b70; cursor: pointer; transition: all .15s; }
.mp-tab.on { background: #e3f5f1; border-color: #0f9d8f; color: #0a6b78; }
.mp-newrule { background: linear-gradient(150deg, #6b46c1, #4c2f95); color: #fff; border-radius: 12px; padding: 16px 20px; margin-bottom: 14px; box-shadow: 0 8px 22px rgba(107,70,193,.22); }
.mp-newrule .mp-nr-h { font-size: 13px; font-weight: 700; display: flex; align-items: baseline; gap: 8px; }
.mp-newrule .mp-nr-h span { font-size: 11px; opacity: .82; font-weight: 400; }
.mp-newrule .mp-nr-big { font-size: 40px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; margin: 2px 0 6px; }
.mp-newrule .mp-nr-flow { font-size: 13px; opacity: .95; line-height: 1.7; }
.mp-newrule .mp-nr-flow b { background: rgba(255,255,255,.18); padding: 2px 8px; border-radius: 20px; font-weight: 700; }
.mp-newrule .mp-nr-tier { display: inline-block; background: rgba(255,255,255,.26); padding: 2px 9px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-left: 4px; }
.mp-newrule .mp-nr-cmp { font-size: 12.5px; margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.18); }
.mp-newrule .mp-nr-cmp b { background: rgba(255,255,255,.18); padding: 2px 8px; border-radius: 20px; }
.mp-newrule .mp-nr-delta { font-weight: 800; margin-left: 4px; }
.mp-newrule .mp-nr-note { font-size: 11px; opacity: .8; margin-top: 8px; line-height: 1.55; }
.mp-trans { font-size: 12.5px; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; line-height: 1.6; }
.mp-trans.dual { background: #faf0d7; color: #7a5a12; border: 1px solid #ecd9a3; }
.mp-trans.live { background: #e5f5ec; color: #0f6e56; border: 1px solid #b7e3ca; }
.mp-hero { background: linear-gradient(150deg, #0f9d8f, #0a6b78); color: #fff; text-align: center; border-radius: 12px; padding: 20px; margin-bottom: 14px; }
.mp-hero .mp-lab { font-size: 13px; opacity: .9; }
.mp-hero .mp-big { font-size: 44px; font-weight: 750; letter-spacing: -.03em; line-height: 1.05; margin: 4px 0; }
.mp-hero .mp-sub { font-size: 13px; opacity: .92; }
.mp-hero .mp-sub b { background: rgba(255,255,255,.18); padding: 2px 9px; border-radius: 20px; font-weight: 600; }
.ops-lower { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 14px; margin-bottom: 14px; align-items: start; }
.ops-lower > div { margin-bottom: 0 !important; }
@media (max-width: 520px) { .ops-lower { grid-template-columns: 1fr; } }
.mc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mc-stat { background: #fff; border: 1px solid #e6ecf3; border-radius: 11px; padding: 13px 15px; }
.mc-stat .mc-sl { font-size: 12px; color: #8593a4; font-weight: 600; }
.mc-stat .mc-sv { font-size: 23px; font-weight: 750; letter-spacing: -.02em; color: #0a6b78; line-height: 1.2; margin: 3px 0 1px; }
.mc-stat .mc-sn { font-size: 11px; color: #8593a4; }
@media (max-width: 640px) { .mc-stats { grid-template-columns: 1fr; } }
.mp-simrow { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.mp-simrow .mp-rv { font-size: 17px; font-weight: 750; color: #0a6b78; }
.mp-range { width: 100%; accent-color: #0f9d8f; height: 6px; margin: 2px 0 16px; }
.mp-lvsel { display: flex; gap: 8px; margin-bottom: 16px; }
.mp-lvb { flex: 1; border: 1.5px solid #e0e6ed; background: #f5f8fa; border-radius: 9px; padding: 9px; font-family: inherit; font-size: 13px; font-weight: 600; color: #4a5b70; cursor: pointer; text-align: center; }
.mp-lvb small { display: block; font-size: 11px; font-weight: 400; color: #8593a4; margin-top: 2px; }
.mp-lvb.on { border-color: #0f9d8f; background: #e3f5f1; color: #0a6b78; }
.mp-result { background: #e9eef4; border-radius: 10px; padding: 15px 17px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.mp-result .mp-rb { font-size: 30px; font-weight: 750; letter-spacing: -.02em; color: #0b7355; }
.mp-result .mp-formula { font-size: 12px; color: #8593a4; width: 100%; }
.mp-more { display: flex; flex-direction: column; gap: 9px; }
.mp-mrow { display: flex; gap: 12px; align-items: flex-start; background: #f5f8fa; border-radius: 10px; padding: 12px 14px; }
.mp-mrow .mp-ic { width: 30px; height: 30px; border-radius: 8px; background: #e3f5f1; color: #0a6b78; display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.mp-mrow .mp-mt { font-size: 13.5px; font-weight: 600; }
.mp-mrow .mp-md { font-size: 12px; color: #4a5b70; margin-top: 2px; line-height: 1.5; }
/* 手机端:我的收入 + 新看板页 */
@media (max-width: 640px) {
  .mp-hero { padding: 16px; } .mp-hero .mp-big { font-size: 34px; }
  .mp-result .mp-rb { font-size: 25px; }
  .mp-lvsel { gap: 6px; } .mp-lvb { padding: 8px 4px; font-size: 12px; }
  .mp-lvb small { font-size: 10px; }
  .coh-kpis, .tr-strip { grid-template-columns: repeat(2, 1fr) !important; }
  .coh-grid { grid-template-columns: 1fr !important; }
  .cc-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ab-hero { flex-direction: column; }
  .ab-badge { width: 100%; }
}
/* 老板驾驶舱 · 赛马 */
/* 客资去向(运营视角) */
.lr-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: #e0e9f5; border-radius: 10px; overflow: hidden; }
.lr-stat { background: #fff; padding: 12px 13px; }
.lr-stat .l { font-size: 11.5px; color: #98a2b3; margin-bottom: 5px; }
.lr-stat .v { font-size: 22px; font-weight: 750; letter-spacing: -.02em; line-height: 1; }
.lr-stat .s { font-size: 11px; color: #98a2b3; margin-top: 4px; }
.lr-scope { display: inline-flex; border: 1px solid var(--line, #e0e6ed); border-radius: 8px; overflow: hidden; }
.lr-sc { padding: 7px 13px; border: 0; background: #fff; font-size: 13px; font-weight: 600; color: #64748b; cursor: pointer; }
.lr-sc.on { background: #0f9d8f; color: #fff; }
.lr-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lr-table th { text-align: left; color: #8593a4; font-weight: 600; font-size: 11.5px; padding: 7px 9px; border-bottom: 1px solid var(--line, #e0e6ed); white-space: nowrap; }
.lr-table th.num, .lr-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.lr-table td { padding: 10px 9px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.lr-time { color: #64748b; font-size: 12.5px; white-space: nowrap; }
.lr-intent { font-size: 11.5px; margin-top: 2px; }
.lr-st { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 20px; white-space: nowrap; }
.lr-hot { color: #b91c1c; font-weight: 700; }
.lr-warn { color: #b91c1c; font-size: 11.5px; font-weight: 700; }
.lr-act { white-space: nowrap; }
.lr-act button { padding: 5px 10px; font-size: 12px; margin-left: 4px; }
@media (max-width: 640px) { .lr-strip { grid-template-columns: repeat(2, 1fr); } .lr-act button { margin: 2px 0; display: block; width: 100%; } }
.tr-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: #e0e9f5; border-radius: 10px; overflow: hidden; }
.tr-st { background: #fff; padding: 11px 12px; }
.tr-st .l { font-size: 11.5px; color: #98a2b3; margin-bottom: 5px; }
.tr-st .v { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.race { width: 100%; border-collapse: collapse; font-size: 14px; }
.race th { text-align: center; font-size: 12.5px; font-weight: 650; padding: 10px 10px; border-bottom: 1.5px solid #e0e9f5; }
.race th small { display: block; font-size: 11px; color: #98a2b3; font-weight: 400; margin-top: 2px; }
.race.r3 th { min-width: 120px; }
.race td { padding: 11px 10px; border-bottom: 1px solid #eef2f8; }
.race td.metric { color: #46536b; font-size: 13px; }
.race td.val { text-align: center; font-weight: 650; font-variant-numeric: tabular-nums; }
.race .win { background: #dcf1e8; color: #0b7355; border-radius: 7px; padding: 3px 9px; font-weight: 700; }
.race .up { font-size: 11px; margin-left: 2px; }
.race tr:last-child td { border-bottom: none; }
@media (max-width: 720px) { .tr-strip { grid-template-columns: repeat(3, 1fr); } }
.cc-tbl tr.mat-clk { cursor: pointer; }
.cc-tbl tr.mat-clk:hover td { background: #f0f9f8; }
.mat-go { color: #185fa5; font-size: 11px; font-weight: 600; }
.coh-sech { font-size: 13.5px; font-weight: 600; margin: 16px 0 9px; } .coh-sech .muted { font-weight: 400; font-size: 11.5px; }
.coh-comm3 { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 10px; }
.coh-comm3 .cbx { background: #f6f9fc; border: 0.5px solid #e6ecf3; border-radius: 10px; padding: 14px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.coh-comm3 .cbx.final { background: linear-gradient(150deg, #0f9d8f, #0a6b78); border: none; }
.coh-comm3 .cl { font-size: 11.5px; color: #64748b; margin-bottom: 6px; }
.coh-comm3 .cv { font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.coh-comm3 .cs { font-size: 10.5px; color: #9aa7b6; margin-top: 4px; }
.coh-comm3 .cbx.final .cl, .coh-comm3 .cbx.final .cs { color: rgba(255,255,255,.82); } .coh-comm3 .cbx.final .cv { color: #fff; }
.coh-comm3 .cop { display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: #9aa7b6; }
@media (max-width: 640px) { .coh-comm3 { grid-template-columns: 1fr; } .coh-comm3 .cop { transform: rotate(90deg); } }
.coh-comm { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 0.5px solid #e6ecf3; border-radius: 8px; padding: 10px 13px; font-size: 13px; }
.coh-comm .coh-cx { color: #64748b; font-size: 12px; }
.coh-comm .coh-cfin { margin-left: auto; font-size: 17px; color: #0b7355; }
@media (max-width: 760px) { .coh-kpis { grid-template-columns: repeat(2, 1fr); } .coh-grid { grid-template-columns: 1fr; } }
.cc-card-h { font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.cc-card-h .muted { font-size: 12px; font-weight: 400; }
/* 投流费预算审批面板 */
.pb-card { border-color: #f0d9ad; background: linear-gradient(180deg,#fdf7ec,#fff 60%); }
.pb-card .cc-card-h { display: flex; align-items: center; gap: 8px; }
.pb-badge { font-size: 11.5px; font-weight: 700; color: #8a5a12; background: #fbe6c0; border-radius: 20px; padding: 2px 10px; }
.pb-tbl td { padding: 8px; border-top: 0.5px solid #f0eadd; vertical-align: middle; }
.pb-num { font-variant-numeric: tabular-nums; font-weight: 600; }
.pb-by { font-size: 10.5px; color: #9ca3af; font-weight: 400; margin-top: 2px; }
.pb-st { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 20px; padding: 2px 9px; }
.pb-st.wait { color: #b9791a; background: #fbf1de; } .pb-st.ok { color: #0b8a5c; background: #e6f5ee; } .pb-st.rej { color: #64748b; background: #eef1f5; }
.pb-acts { white-space: nowrap; } .pb-acts button { font-size: 12px; font-weight: 700; border: 0; border-radius: 7px; padding: 5px 10px; cursor: pointer; margin-right: 4px; }
.pb-ok { color: #0b8a5c; background: #e6f5ee; } .pb-rej { color: #a32d2d; background: #fbe9e8; }
.pb-foot { margin-top: 10px; font-size: 12.5px; color: #6b7280; } .pb-foot b { color: #111827; font-variant-numeric: tabular-nums; }
/* 投流获客闭环·一图看懂 */
.lg-card { background: linear-gradient(180deg,#eef8fb,#fff 55%); border: 1px solid #cfe6ee; border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.lg-h { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; font-weight: 800; color: #0a5a72; }
.lg-h .car { margin-left: auto; color: #7fb3c4; font-size: 13px; }
.lg-lead { font-size: 12.5px; color: #4a5b62; margin: 8px 0 14px; }
.lg-flow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.lg-step { flex: 1 1 150px; min-width: 140px; background: #fff; border: 1px solid #dbeaf0; border-radius: 11px; padding: 11px 12px; position: relative; }
.lg-step .no { width: 22px; height: 22px; border-radius: 50%; background: #0d8b96; color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-bottom: 7px; }
.lg-step .st-t { font-size: 13px; font-weight: 800; color: #16303a; }
.lg-step .st-who { font-size: 11px; color: #7c8b92; margin-top: 3px; }
.lg-step .st-out { font-size: 11px; color: #0a6b74; background: #e6f4f5; border-radius: 6px; padding: 2px 7px; margin-top: 8px; display: inline-block; }
.lg-arrow { align-self: center; color: #9fc6d2; font-weight: 800; padding: 0 6px; }
.lg-eg { background: #fff; border: 1px dashed #cfe0e6; border-radius: 11px; padding: 12px 14px; margin-top: 14px; font-size: 12.5px; line-height: 1.9; }
.lg-eg b { color: #0a6b74; font-variant-numeric: tabular-nums; }
.lg-eg .step-n { display: inline-block; min-width: 18px; color: #0d8b96; font-weight: 800; }
.lg-gloss { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-top: 14px; }
.lg-gloss .g { font-size: 12px; color: #4a5b62; }
.lg-gloss .g b { color: #16303a; }
.lg-gloss .g .f { color: #0a6b74; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .lg-arrow { display: none; } .lg-gloss { grid-template-columns: 1fr; } }
.cc-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cc-tbl th { text-align: left; font-weight: 400; color: #98a2b3; font-size: 12px; padding: 6px 8px; }
.cc-tbl td { padding: 7px 8px; border-top: 0.5px solid #eef2f8; }
.cc-din { width: 76px; border: 0.5px solid #d7dde7; border-radius: 7px; padding: 5px 8px; font-size: 13.5px; text-align: center; }
.cc-din:focus { border-color: #00a5b8; outline: none; }
.cc-adtag { background: #fff4e6; color: #b5791a; font-size: 10.5px; padding: 1px 6px; border-radius: 4px; margin-left: 4px; }
.cc-throttle { background: #fbe6e5; color: #a32d2d; font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 4px; margin-left: 4px; white-space: nowrap; }
/* 运营战报 */
.ops-rpt-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ops-ptabs { display: inline-flex; border: 0.5px solid #d7dde7; border-radius: 9px; overflow: hidden; }
.ops-ptab { border: 0; border-right: 0.5px solid #e6ebf1; background: #fff; color: #374151; padding: 7px 15px; font-size: 13px; cursor: pointer; }
.ops-ptab:last-child { border-right: 0; }
.ops-ptab.on { background: #0f766e; color: #fff; font-weight: 600; }
.ops-imgbtn { border: 1px solid #07c160; background: #07c160; color: #fff; border-radius: 9px; padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ops-imgbtn:hover { background: #06ad56; }
.ops-range { font-size: 13px; color: #64748b; font-weight: 600; margin: 8px 0 12px; }
.ops-oplist { padding: 2px 0; }
.ops-oprow { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-top: 0.5px solid #eef1f6; flex-wrap: wrap; }
.ops-oprow:first-child { border-top: 0; }
.ops-rank { width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.ops-opnm { width: 96px; font-size: 14px; font-weight: 600; color: #1f2a3d; flex: none; }
.ops-thr { font-size: 10px; color: #a32d2d; font-weight: 600; }
.ops-bar { flex: 1; min-width: 90px; height: 16px; background: #e1f0ec; border-radius: 5px; overflow: hidden; }
.ops-bar i { display: block; height: 100%; background: #1D9E75; }
.ops-lead { width: 52px; text-align: right; font-size: 17px; font-weight: 700; color: #0f766e; flex: none; }
.ops-lead small { font-size: 10px; color: #8593a4; font-weight: 400; margin-left: 2px; }
.ops-meta { width: 100%; font-size: 11.5px; color: #64748b; padding-left: 34px; }
.ops-meta b { color: #1f2a3d; }
.ops-det, .ops-gloss { margin-top: 12px; border: 0.5px solid #e6e8ee; border-radius: 10px; padding: 10px 14px; background: #fff; }
.ops-det > summary, .ops-gloss > summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: #374151; }
.ops-gloss-b { margin-top: 10px; display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: #4a5b70; line-height: 1.7; }
.ops-gloss-b b { color: #0f172a; }
.ops-gloss-hl { background: #eef7f8; border-radius: 8px; padding: 7px 11px; }
@media (max-width: 560px) { .ops-opnm { width: 70px; } .ops-meta { padding-left: 0; } }
.cc-throttle.past { background: #f0f2f5; color: #6b7280; font-weight: 400; }
.cc-row-throttled { background: #fdf4f3; }
.cc-throttle-alert { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #fbe6e5; border: 1px solid #f0b6b3; border-radius: 10px; padding: 10px 14px; margin: 10px 0 0; font-size: 13px; color: #8a2f2b; line-height: 1.6; }
.cc-throttle-chip { background: #fff; border: 1px solid #f0b6b3; color: #a32d2d; border-radius: 20px; padding: 2px 10px; font-size: 12px; }
.cc-tbl td:first-child { display: flex; align-items: center; gap: 6px; }
.cc-acct-acts { display: inline-flex; gap: 2px; opacity: 0; transition: opacity .12s; margin-left: auto; }
.cc-tbl tr:hover .cc-acct-acts { opacity: 1; }
.cc-acct-btn { border: none; background: transparent; color: #98a2b3; cursor: pointer; font-size: 12.5px; line-height: 1; padding: 3px 5px; border-radius: 6px; }
.cc-acct-btn:hover { background: #eef2f8; color: #0a6b78; }
.cc-acct-btn.cc-acct-del:hover { background: #fdeceb; color: #c0392b; }
.cc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.cc-chip { display: inline-flex; align-items: center; gap: 4px; background: #eef4f8; border-radius: 16px; padding: 5px 6px 5px 12px; font-size: 13px; }
.cc-chip-x { border: none; background: transparent; color: #98a2b3; cursor: pointer; font-size: 12px; line-height: 1; padding: 2px 4px; border-radius: 50%; }
.cc-chip-x:hover { background: #fdeceb; color: #c0392b; }
@media (max-width: 720px) { .cc-kpis { grid-template-columns: repeat(2, 1fr); } .cc-two { grid-template-columns: 1fr; } }
.cc-kpi b.neg { color: #c0392b; }
/* 直客·顶部转化漏斗条 */
.cc-funnel { background: #fff; border: 1px solid #e6e8ee; border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; box-shadow: 0 1px 4px rgba(16,40,60,.05); }
.cc-funnel-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.cc-funnel-h .t { font-size: 13.5px; font-weight: 700; }
.cc-funnel-h .t span { font-weight: 400; color: #8a94a6; font-size: 11.5px; margin-left: 6px; }
.cc-fn-note { font-size: 11px; color: #b0b7c3; }
.cc-fn-empty { padding: 8px 2px; font-size: 12.5px; }
.cc-flow { display: flex; align-items: stretch; gap: 0; overflow-x: auto; }
.cc-seg { flex: 1; min-width: 78px; text-align: center; padding: 2px 4px; }
.cc-seg .ct { font-size: 21px; font-weight: 800; line-height: 1; color: #0f9d8f; }
.cc-seg.win .ct { color: #e07a1f; }
.cc-seg .nm { font-size: 11.5px; color: #5b6472; margin-top: 3px; }
.cc-conv { flex: 0 0 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.cc-conv .ar { color: #c2c8d2; font-size: 14px; line-height: 1; }
.cc-conv .pv { font-size: 11px; font-weight: 800; color: #3a4356; }
.cc-conv.leak .pv { color: #d64545; }
.cc-conv.leak .lk { font-size: 9px; font-weight: 800; color: #fff; background: #d64545; border-radius: 5px; padding: 0 4px; }
.cc-foot { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #eceff3; font-size: 12px; color: #5b6472; }
.cc-foot b { color: #16203a; }
.cc-foot .money b { color: #e07a1f; }
@media (max-width: 720px) { .cc-conv { flex-basis: 40px; } .cc-seg { min-width: 60px; } }
/* 直客损益瀑布 */
.dc-pnl-flow { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; }
.pnl-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 8px; }
.pnl-row.hi { background: #e6f6f8; } .pnl-row.hi b { color: #00808f; }
.pnl-row.sub { color: #b5791a; padding: 6px 12px; }
.pnl-row.net { background: #eafaf3; border: 0.5px solid #b7e5cf; } .pnl-row.net b { color: #1f7a4d; font-size: 15px; }

#pageTitle {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.top-actions span {
  color: var(--muted);
  font-size: 14px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.metric-card,
.panel {
  border: 1px solid #e8eef6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 42, 90, 0.04), 0 10px 26px rgba(16, 42, 90, 0.035);
}

.metric-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.metric-card span,
.settlement-summary span,
.report-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.metric-card strong {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.metric-card.green strong {
  color: var(--green);
}

.metric-card.orange strong {
  color: var(--orange);
}

.metric-card.purple strong {
  color: var(--purple);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.dashboard-grid.two {
  grid-template-columns: 0.72fr 1.28fr;
}

.panel {
  overflow: hidden;
  padding: 16px;
}

.panel-title {
  margin-bottom: 14px;
}

.panel-title span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.archive-banner {
  background: #fff8ec;
  border: 0.5px solid #f0d9a8;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #7a5a12;
  margin-bottom: 14px;
}
.archive-banner b {
  color: #5a4209;
}

.bokun-markup-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 12px;
}
.bokun-markup-banner.warn {
  background: #fff8ec;
  border: 0.5px solid #f0d9a8;
  color: #7a5a12;
}
.bokun-markup-banner.info {
  background: #e6f7f4;
  border: 0.5px solid #9fe1cb;
  color: #0a6e5d;
}
.bokun-markup-banner button {
  flex: none;
}

/* Bókun 出票弹窗 */
.bf-meta { background: #f6f8fb; border-radius: 8px; padding: 9px 12px; font-size: 13px; color: #1a2233; margin-bottom: 12px; }
.bf-meta-sub { font-size: 11.5px; color: #667085; margin-top: 3px; }
.bf-step { border: 0.5px solid #e6e8ee; border-radius: 10px; padding: 11px 13px; margin-bottom: 12px; }
.bf-step-h { font-size: 13px; font-weight: 700; color: #1a2233; margin-bottom: 5px; }
.bf-no { color: #00707d; }
.bf-step-sub { font-size: 12px; color: #667085; margin-bottom: 9px; }
.bf-open { display: inline-block; text-decoration: none; font-size: 12.5px; padding: 7px 13px; }
.bf-step label { display: block; font-size: 12.5px; color: #475467; margin-top: 8px; }
.bf-step label input { width: 100%; margin-top: 4px; }
.bf-existing { font-size: 12px; color: #667085; margin-top: 8px; }
.bf-existing a { color: #00707d; }

.ptype-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 8px;
  white-space: nowrap;
}
.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-tag.custom { background: #fbeef6; color: #b0357f; }
.ptype-name {
  font-size: 13.5px;
  color: #1f2a3d;
  margin-left: 7px;
  vertical-align: middle;
}
.ptype-name.muted {
  color: #98a2b3;
}

/* 包车常见路线 Tab */
.cr-view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 12px;
}
.cr-view-hint {
  font-size: 12.5px;
  color: #667085;
}
.cr-excl { font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: #faeeda; color: #854f0b; margin: 0 2px 2px 0; display: inline-block; }
/* 路线可见范围：公开/指定二选一 + 指定时搜索添加渠道 */
.cr-vis-seg { display: inline-flex; border: 0.5px solid #cbd2dc; border-radius: 10px; overflow: hidden; margin-top: 6px; }
.cr-vis-seg-btn { font-size: 13px; padding: 7px 16px; border: 0; background: #fff; color: #5a6678; cursor: pointer; }
.cr-vis-seg-btn + .cr-vis-seg-btn { border-left: 0.5px solid #cbd2dc; }
.cr-vis-seg-btn.on { background: #00909e; color: #fff; font-weight: 600; }
.cr-vis-picker { margin-top: 10px; border: 0.5px solid #e6e8ee; border-radius: 10px; padding: 10px 12px; background: #f9fafb; }
.cr-vis-selected { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.cr-vis-empty { font-size: 12px; color: #98a2b3; }
.cr-vis-chip2 { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 4px 6px 4px 12px; border-radius: 999px; background: #e2f5f8; color: #00707d; }
.cr-vis-chip2 i { cursor: pointer; opacity: 0.7; font-style: normal; }
.cr-vis-chip2 i:hover { opacity: 1; }
.cr-vis-search { width: 100%; box-sizing: border-box; font-size: 13.5px; padding: 8px 12px; border: 0.5px solid #cbd2dc; border-radius: 8px; }
.cr-vis-results { margin-top: 6px; border: 0.5px solid #e6e8ee; border-radius: 8px; overflow: hidden; max-height: 240px; overflow-y: auto; background: #fff; }
.cr-vis-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; font-size: 13.5px; color: #1a2233; cursor: pointer; }
.cr-vis-row + .cr-vis-row { border-top: 0.5px solid #eef0f4; }
.cr-vis-row small { color: #98a2b3; }
.cr-vis-row:hover { background: #f2fafb; }
.cr-vis-row.on { background: #e2f5f8; }
.cr-vis-add { font-size: 12px; color: #00808f; }
.cr-vis-tick { color: #00909e; font-style: normal; }
.cr-vis-more { padding: 8px 12px; font-size: 12px; color: #98a2b3; }
.cr-itin-cell {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #667085;
}
/* 订单表紧凑列 */
.ord-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
}
.ord-date {
  white-space: nowrap;
  color: #667085;
}
.ord-ptype {
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 订单汇总:紧凑密度(字号收小+行高压缩·一屏多看单);下单日期列·类型/产品拆两列 */
#ordersPage .table-wrap th { padding: 7px 10px; font-size: 11.5px; }
#ordersPage .table-wrap td { padding: 7px 10px; font-size: 12px; line-height: 1.4; }
#ordersPage .ptype-name { font-size: 12px; margin-left: 4px; }
#ordersPage .order-act-hint { font-size: 10.5px; }
#ordersPage .ord-createdate { color: #8795a0; font-variant-numeric: tabular-nums; font-size: 11.5px; }
#ordersPage .ord-ptype-tag { white-space: nowrap; }
#ordersPage .ord-ptype-name { white-space: nowrap; max-width: 230px; overflow: hidden; text-overflow: ellipsis; }
#ordersPage .pay-pill { font-size: 12px; font-weight: 600; }  /* 尾款比例更显著 */

/* 状态 tab 与「订单状态说明」同排：tab 靠左、说明标题靠右；展开时说明换行占满整行 */
.order-tabs-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.order-tabs-row .tabs { margin-bottom: 0; }
.order-tabs-row .order-status-help { margin: 0 0 0 auto; }
.order-tabs-row .order-status-help[open] { flex: 1 1 100%; margin-left: 0; }

/* AI 速录：语音 / 截图工具条 */
.ai-tools { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:6px 0; }
.ai-tools .ai-shot-label { display:inline-flex; align-items:center; gap:4px; cursor:pointer; padding:6px 12px; border:0.5px solid var(--line,#e6e8ee); border-radius:8px; font-size:13px; background:#fff; }
#aiVoiceBtn.recording, .ai-voice-btn.recording { background:#fdecec; border-color:#f3c0bb; color:#c0392b; }
.ai-hint { font-size:12px; color:#8a8f98; }
.ai-shot-preview { display:flex; flex-wrap:wrap; gap:6px; }
.ai-shot-preview:not(:empty) { margin:4px 0 2px; }
.ai-chip { font-size:11.5px; background:#f4fbfd; border:0.5px solid #cfe6ec; color:#0a6b78; border-radius:8px; padding:3px 8px; }
#salesAiDialog .sai-body { padding:6px 2px; display:flex; flex-direction:column; gap:8px; }
#salesAiDialog .sai-body textarea { width:100%; box-sizing:border-box; }
.sai-err { color:#c0392b; font-size:12.5px; }
#salesAiBtn { margin-left:auto; }

/* 销售端 AI 速录：常驻识别摘要条 */
.sales-ai-summary { position:relative; margin:0 0 14px; padding:12px 34px 12px 14px; border:1px solid #9fd6de; background:#f2fbfc; border-radius:12px; }
.sales-ai-summary .sas-close { position:absolute; top:8px; right:10px; border:none; background:none; font-size:18px; line-height:1; color:#8a8f98; cursor:pointer; }
.sales-ai-summary .sas-title { font-size:13px; font-weight:600; color:#0a6b78; margin-bottom:5px; }
.sales-ai-summary .sas-hint { font-size:12.5px; color:#1a2233; line-height:1.6; margin-bottom:7px; }
.sales-ai-summary .sas-kvs { display:flex; flex-wrap:wrap; gap:6px 8px; }
.sales-ai-summary .sas-kv { font-size:12px; background:#fff; border:0.5px solid #cfe6ec; border-radius:8px; padding:3px 9px; color:#1a2233; }
.sales-ai-summary .sas-kv em { color:#8a8f98; font-style:normal; margin-right:5px; }
.sales-ai-summary .sas-addons { margin-top:7px; }
.sales-ai-summary .sas-addon { font-size:12px; color:var(--text-secondary,#667085); line-height:1.6; }
.sales-ai-summary .sas-missing { margin-top:6px; font-size:12px; color:#8a6d1a; background:#fdf6e3; border:1px solid #f0d79a; border-radius:8px; padding:5px 9px; }
.sales-ai-summary .sas-cta { margin-top:9px; background:#0f6e56; color:#fff; border:none; border-radius:9px; padding:8px 16px; font-size:13px; cursor:pointer; }
.sales-ai-summary .sas-cta:hover { background:#0a5a45; }

/* 销售端成交价卡 */
#partnerOrderCalc.sales-deal { display:block; }
.sales-deal .sd-input { display:flex; align-items:center; gap:6px; margin:6px 0 10px; }
.sales-deal .sd-input .sd-cur { font-size:18px; color:#993c1d; font-weight:500; }
.sales-deal .sd-input input { flex:1; font-size:22px; font-weight:600; color:#993c1d; border:none; border-bottom:2px solid #0f6e56; background:transparent; padding:2px 4px; width:100%; }
.sales-deal .sd-input input:focus { outline:none; border-bottom-color:#0a8f8f; }
.sales-deal .sd-input .sd-pct { font-size:12.5px; font-weight:600; color:#993c1d; background:#fbeee7; border-radius:6px; padding:2px 8px; flex:0 0 auto; }
.sales-deal .sd-chips { display:flex; flex-wrap:wrap; gap:6px; margin:6px 0 2px; }
.sales-deal .sd-chip { font-size:12.5px; padding:5px 12px; border-radius:7px; border:1px solid #d9e0ea; background:#fff; color:#5a6577; cursor:pointer; line-height:1; }
.sales-deal .sd-chip:hover { border-color:#0f6e56; color:#0f6e56; }
.sales-deal .sd-chip.on { background:#0f6e56; border-color:#0f6e56; color:#fff; font-weight:600; }
.sales-deal .sd-reason input { flex:1; margin-left:10px; font-size:12.5px; color:#1f2a3d; border:1px solid #e2e7ef; border-radius:7px; background:#fff; padding:5px 8px; min-width:0; }
.sales-deal .sd-reason input:focus { outline:none; border-color:#0a8f8f; }
.sales-deal .sd-appr { font-size:12px; color:#8a5a06; background:#fdf3e2; border:1px solid #f0dcb4; border-radius:8px; padding:6px 9px; }
.sales-deal .sd-perday { display:flex; align-items:center; gap:6px; margin:6px 0 6px; flex-wrap:wrap; }
.sales-deal .sd-perday input { width:96px; font-size:20px; font-weight:600; color:#993c1d; border:none; border-bottom:2px solid #0f6e56; background:transparent; padding:2px 4px; }
.sales-deal .sd-perday input:focus { outline:none; border-bottom-color:#0a8f8f; }
.sales-deal .sd-perday-x { font-size:12.5px; color:var(--text-secondary,#667085); }
.sales-deal .sd-eur-total { font-size:16px; color:#993c1d; }
.sales-deal .sd-allow { margin:2px 0 8px; padding:8px 10px; background:#f4fbfd; border:0.5px solid #cfe6ec; border-radius:8px; }
.sales-deal .sd-allow-tog { display:flex; flex-direction:row; align-items:center; gap:6px; font-size:12.5px; color:#0a6b78; cursor:pointer; }
.sales-deal .sd-allow-tog input[type=checkbox] { width:auto; margin:0; flex:0 0 auto; }
.sales-deal .sd-allow-in { display:flex; align-items:center; gap:6px; margin-top:6px; flex-wrap:wrap; }
.sales-deal .sd-allow-in input { width:70px; font-size:15px; font-weight:600; color:#993c1d; border:none; border-bottom:1.5px solid #0f6e56; background:transparent; padding:1px 4px; }
.sales-deal .sd-allow-x { font-size:12.5px; color:var(--text-secondary,#667085); }
.sales-deal .sd-allow-total { font-size:15px; color:#993c1d; }
.sales-deal .sd-allow-in small { color:var(--text-muted,#98a2b3); font-size:11px; }
.sales-deal .sd-allow-note { margin-top:5px; font-size:11.5px; color:#8a8f98; }
.sales-deal .sd-cny-line { font-size:13px; color:#1a2233; margin-bottom:8px; }
.sales-deal .sd-cny-line b { font-size:17px; color:#993c1d; }
.sales-deal .sd-cny-line small { color:var(--text-muted,#98a2b3); font-size:11px; }
.sales-deal .sd-lines { display:flex; flex-direction:column; gap:6px; }
.sales-deal .sd-row { display:flex; align-items:center; justify-content:space-between; font-size:13px; color:var(--text-secondary,#667085); }
.sales-deal .sd-row b { font-size:14px; }
.sales-deal .sd-margin.profit { color:#0f6e56; }
.sales-deal .sd-margin.profit b { color:#0f6e56; }
.sales-deal .sd-margin.loss, .sales-deal .sd-margin.loss b { color:#c0392b; }
.sales-deal .sd-retail b { color:#1f2a3d; font-size:15px; }
.sales-deal .sd-floor { color:#8a93a3; font-size:12px; }
.sales-deal .sd-floor b { color:#8a93a3; font-weight:600; }
.sales-deal .sd-discount, .sales-deal .sd-discount b { color:#0f6e56; font-weight:600; }
.sales-deal .sd-warn { font-size:12px; color:#c0392b; background:#fdecec; border:1px solid #f3c0bb; border-radius:8px; padding:6px 9px; }
.sales-deal .sd-hint { margin-top:8px; font-size:11.5px; color:var(--text-muted,#98a2b3); line-height:1.6; }
#sdGrand { margin-top:8px; padding-top:8px; border-top:1px dashed #d6dee9; }
#sdGrand .sd-actplus { color:#0a6b62; font-weight:800; }
#sdGrand .sd-actsub, #sdGrand .sd-actitem { color:#0b7285; }
#sdGrand .sd-actsub b, #sdGrand .sd-actitem b { color:#0b7285; }
#sdGrand .sd-actitem { font-size:12.5px; margin-top:2px; }
#sdGrand .sd-actitem span { color:#43635e; }
#sdGrand .sd-grandtotal { display:flex; align-items:center; justify-content:space-between; margin-top:5px; }
#sdGrand .sd-grandtotal span { font-size:13px; font-weight:600; color:#1f2a3d; }
#sdGrand .sd-grandtotal b { font-size:18px; font-weight:800; color:#0a6b62; font-variant-numeric:tabular-nums; }

/* 销售端价格档：默认价主卡 + 单人/3人小胶囊（整行铺满，覆盖 .price-options 的3列网格） */
.price-options.sd-mode { display:block; }
.sd-tier-wrap { display:flex; flex-direction:column; gap:8px; }
.sd-tier-main .sdt-title, .sd-tier-main .sdt-sub { white-space:nowrap; }
.sd-tier-main { position:relative; text-align:left; border:2px solid #0f6e56; border-radius:12px; padding:13px 15px; background:#fff; cursor:pointer; width:100%; }
.sd-tier-main:not(.active) { border-color:var(--line,#e6e8ee); }
.sd-tier-main .sdt-badge { position:absolute; top:-9px; left:14px; background:#0f6e56; color:#fff; font-size:10.5px; padding:2px 9px; border-radius:10px; }
.sd-tier-main:not(.active) .sdt-badge { background:#9aa3af; }
.sd-tier-main .sdt-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.sd-tier-main .sdt-title { font-size:13px; color:#1a2233; font-weight:500; }
.sd-tier-main .sdt-sub { font-size:11px; color:#667085; margin-top:2px; }
.sd-tier-main .sdt-price { font-size:23px; font-weight:600; color:#993c1d; white-space:nowrap; }
.sd-tier-main .sdt-price small { font-size:12px; color:#667085; font-weight:400; }
.sd-tier-alts { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.sd-tier-alts .sdt-alt-label { font-size:11px; color:#98a2b3; }
.sd-tier-pill { font-size:12px; padding:5px 11px; border:0.5px solid var(--line,#e6e8ee); border-radius:16px; background:#fff; color:#667085; cursor:pointer; }
.sd-tier-pill b { color:#1a2233; }
.sd-tier-pill.active { border-color:#0f6e56; background:#e1f5ee; color:#0f6e56; }
.sd-tier-pill.active b { color:#0f6e56; }
/* 拼房房型:性别选择行 */
.sd-room-gender { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:9px; padding:9px 11px; background:#f3eefc; border:0.5px solid #dcccf5; border-radius:10px; font-size:12px; font-weight:600; color:#5b3fb0; }
.sd-gender-b { font-size:12px; padding:5px 13px; border:1px solid #d6c7f2; border-radius:16px; background:#fff; color:#7c3aed; cursor:pointer; }
.sd-gender-b.active { background:#7c3aed; color:#fff; border-color:#7c3aed; }
.sd-room-tip { font-size:11px; font-weight:400; color:#8a76c0; margin-left:2px; }

/* 销售端包车车型卡：欧元价下的人民币约数 + 汇率说明 */
.cv-cny { font-size:11px; color:#667085; margin-top:1px; }
.cv-fxnote { font-size:11px; color:#98a2b3; font-weight:400; margin-left:8px; }

/* 销售端：车型基础报价「去下单」醒目按钮 */
.cl-base-cta.sales { margin-top:10px; text-align:center; }
.cl-base-cta.sales .cl-base-orderbtn { padding:9px 22px; font-size:13.5px; }

/* 包车订单详情：详情卡 + 备注卡 + 顶部标签 */
.charter-info-card { background:#fff; border:0.5px solid var(--line,#e6e8ee); border-radius:12px; padding:11px 14px; margin:12px 0 0; }
.charter-info-card .ci-title { font-size:12.5px; color:#0a6b78; font-weight:600; margin-bottom:6px; }
.ci-table { width:100%; border-collapse:collapse; font-size:12.5px; }
.ci-table .ci-k { color:#667085; padding:6px 10px 6px 0; width:96px; vertical-align:top; white-space:nowrap; }
.ci-table .ci-v { color:#1a2233; line-height:1.7; }
.ci-empty { color:#b6bcc6; }
.charter-remark-card { background:#fdf6e3; border:1px solid #f0d79a; border-radius:12px; padding:11px 14px; margin:10px 0 0; }
.charter-remark-card .cr-title { font-size:12.5px; color:#8a6d1a; font-weight:600; margin-bottom:5px; }
.charter-remark-card .cr-body { font-size:12.5px; color:#7a5f16; line-height:1.7; }
.od-chip.ci-c-veh { background:#e1f5ee; color:#0f6e56; }
.od-chip.ci-c-day { background:#e6f1fb; color:#185fa5; }
.od-chip.ci-c-date { background:#fbeaf0; color:#993556; }
.od-chip.ci-c-reg { background:#f0e6fb; color:#534ab7; }
.od-chip.ci-c-time { background:#faeeda; color:#854f0b; }

/* 订单详情·费用与付款：左右布局（左费用明细·右结账式付款卡） */
.fee-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:12px; align-items:start; }
.fee-left, .fee-right { min-width:0; }
.fee-left .cost-breakdown { margin:0; }
.cost-tk-empty { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; padding:10px 12px; margin-top:8px; border:0.5px dashed #cfd6e0; border-radius:8px; font-size:12.5px; color:#667085; }
.cost-tk-empty em { color:#98a2b3; font-style:normal; }
.pay-summary { background:#0e7c74; color:#fff; border-radius:12px; padding:15px 16px; }
.pay-summary .ps-label { font-size:12px; opacity:.85; }
.pay-summary .ps-label small { display:block; font-size:10.5px; opacity:.8; margin-top:2px; }
.pay-summary .ps-amount { font-size:26px; font-weight:600; margin:4px 0 12px; }
.pay-summary .ps-lines { display:flex; flex-direction:column; }
.pay-summary .ps-row { display:flex; justify-content:space-between; font-size:12.5px; padding:4px 0; }
.pay-summary .ps-row.due { border-top:1px solid rgba(255,255,255,.22); margin-top:4px; padding-top:8px; }
.pay-summary .ps-row.due b { font-size:16px; }
.pay-summary .ps-bonus { font-size:11px; opacity:.82; margin-top:8px; 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; }
/* 后台右框「已付款记录」:白底小卡·二销带标签 */
.fee-right .ps-reclist { margin-top:12px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px 12px; }
.ps-reclist-h { font-size:12.5px; font-weight:700; color:#304569; margin-bottom:6px; }
.ps-rec { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; font-size:12px; color:#475569; padding:3px 0; }
.ps-rec .ps-rec-n { flex:1; min-width:0; overflow-wrap:anywhere; word-break:break-word; line-height:1.55; } /* 长备注换行完整显示(配合 .fee-layout 的 minmax(0) 轨道,不会再撑宽右栏挤扁左栏) */
.ps-rec b { white-space:nowrap; }
.ps-rec.mut { color:#94a3b8; }
.ps-rec-sep { font-size:11px; color:#b4701c; font-weight:600; margin:7px 0 3px; border-top:1px dashed #eadbc0; padding-top:6px; }
.ps-rec.up { color:#8a5a12; }
.ps-rec.up.sum { font-weight:700; border-top:1px dashed #eadbc0; margin-top:3px; padding-top:5px; }
.ps-upb { display:inline-block; background:#fef0d9; color:#b4701c; font-size:10px; font-weight:700; padding:0 6px; border-radius:10px; margin-right:3px; }
.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-pay { width:100%; margin-top:12px; background:#fff; color:#0e7c74; border:none; border-radius:9px; padding:11px 0; font-size:13.5px; font-weight:600; cursor:pointer; }
.pay-summary .ps-pay:hover { background:#eefaf8; }
.pay-summary .ps-done { margin-top:12px; text-align:center; font-size:13px; font-weight:600; background:rgba(255,255,255,.16); border-radius:9px; padding:9px 0; }
.pay-summary { position:relative; overflow:hidden; }
/* A · 已付清盖章（付清时叠加在应付卡右上，斜盖） */
.paid-seal { position:absolute; top:14px; right:-6px; transform:rotate(-14deg); border:2.5px solid rgba(255,255,255,.85); color:rgba(255,255,255,.92); border-radius:9px; padding:3px 12px; font-size:17px; font-weight:800; letter-spacing:3px; font-family:'STKaiti','KaiTi','PingFang SC',serif; pointer-events:none; z-index:2; }
.paid-seal.due { border-color:#ffd79a; color:#ffe6c2; letter-spacing:2px; }
.paid-seal.partial { border-color:#bfe0ff; color:#dcefff; letter-spacing:2px; }
.paid-seal.cancelled { border-color:rgba(255,255,255,.5); color:rgba(255,255,255,.6); letter-spacing:4px; opacity:.9; }
.paid-seal .seal-pct { display:block; text-align:center; font-size:14px; font-weight:800; letter-spacing:1px; margin-top:2px; }
/* B · 订单状态顶部横幅（已付清=绿 / 待付款=琥珀） */
.paid-banner { display:flex; align-items:center; gap:9px; background:#e7f6ec; border:1px solid #b6ddc2; color:#1d6b2f; border-radius:12px; padding:10px 16px; font-size:14px; font-weight:600; margin-bottom:12px; }
.paid-banner .pb-ic { font-size:18px; }
.paid-banner .pb-date { margin-left:auto; font-size:12px; font-weight:400; color:#3b7a4e; }
.paid-banner.due { background:#fdeee6; border-color:#f2c7ad; color:#c2410c; }
.paid-banner.partial { background:#e7f1fb; border-color:#b5d4f4; color:#175a96; }
/* 待付款横幅 + Bókun电子票 挪进右栏 pay-summary 下方:加上间距、横幅不再留底距 */
.fee-right .fee-right-pay { margin-top:12px; }
.fee-right .fee-right-pay .paid-banner { margin-bottom:0; }
.fee-right .detail-section-title { margin-top:14px; }
@media (max-width:760px){ .fee-layout { grid-template-columns:1fr; } }
/* 订单毛利总览页 */
.omg-stats { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; margin:8px 0 12px; }
@media (max-width:820px){ .omg-stats { grid-template-columns:repeat(2,1fr); } }
.omg-stat { background:#f7fafc; border:1px solid #eef2f7; border-radius:10px; padding:10px 14px; }
.omg-sl { font-size:11.5px; color:#8593a4; }
.omg-sv { font-size:20px; font-weight:800; color:#12324a; margin-top:2px; }
.omg-sv small { font-size:11px; font-weight:400; color:#8593a4; }
.omg-filters { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:10px; }
.omg-filters select, .omg-filters input { height:34px; border:1px solid #d9e1ea; border-radius:8px; padding:0 10px; font-size:13px; }
.omg-filters input { flex:1; min-width:180px; }
.omg-tabs { display:flex; gap:4px; }
.omg-tab { font-size:12.5px; padding:6px 12px; border:1px solid #d9e1ea; background:#fff; border-radius:8px; color:#4a5b70; cursor:pointer; }
.omg-tab.on { background:#00808f; border-color:#00808f; color:#fff; font-weight:700; }
.omg-tbl { width:100%; table-layout:fixed; border-collapse:collapse; font-size:13.5px; }
.omg-tbl th { text-align:left; font-size:11.5px; font-weight:400; color:#8593a4; padding:8px 8px; border-bottom:1px solid #eef2f7; }
.omg-tbl td { padding:9px 8px; border-bottom:0.5px solid #eef2f7; vertical-align:top; }
.omg-tbl .omg-r { text-align:right; white-space:nowrap; }
.omg-tbl .omg-c { text-align:center; white-space:nowrap; }
.omg-tbl td.omg-r, .omg-tbl td.omg-c { overflow:hidden; text-overflow:ellipsis; }
.omg-ell { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.omg-row { cursor:pointer; }
.omg-row:hover { background:#f5fafb; }
.omg-sub { font-size:10px; color:#b0770f; }
.omg-pill { font-size:10.5px; font-weight:700; border-radius:5px; padding:0 6px; white-space:nowrap; }
/* 团操作包·团级司导包车+住补成本录入条 */
/* 散拼销售毛利卡·结构化(成交/拿货/毛利三块 + 收入/成本两栏) */
.tcm-tiles{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:9px;margin:10px 0}
.tcm-tile{background:#f5f7f8;border-radius:9px;padding:9px 11px;border:1px solid transparent}
.tcm-tile .k{font-size:11.5px;color:#5c6f77;margin-bottom:3px;display:flex;align-items:center;gap:5px}
.tcm-tile .v{font-size:19px;font-weight:800;font-family:ui-monospace,monospace;color:#1a2233;line-height:1.15}
.tcm-tile .s{font-size:10.5px;color:#93a2a8;margin-top:2px}
.tcm-gbadge{font-size:10px;font-weight:800;padding:1px 6px;border-radius:4px}
.tcm-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:2px}
.tcm-col{background:#f5f7f8;border-radius:9px;padding:10px 12px}
.tcm-col-h{font-size:11.5px;font-weight:800;margin-bottom:7px;display:flex;align-items:center;gap:5px}
.tcm-col-h.inc{color:#185fa5}.tcm-col-h.cost{color:#993c1d}
.tcm-r{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;padding:3.5px 0;color:#5c6f77}
.tcm-r .amt{font-family:ui-monospace,monospace;color:#1a2233;font-weight:600;white-space:nowrap}
.tcm-r.sub{padding:3px 0 3px 12px}
.tcm-r.sub span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tcm-subh{font-size:10.5px;color:#93a2a8;margin:5px 0 1px}
.tcm-r.tot{border-top:0.5px solid #dde4e7;margin-top:4px;padding-top:6px;font-weight:800;color:#1a2233}
@media(max-width:960px){.tcm-tiles{grid-template-columns:1fr 1fr}.tcm-cols{grid-template-columns:1fr}}
/* 团级成本卡：醒目·区别于普通表格 */
.pkt-teamcost { margin:18px 0; border:1.5px solid #7cc6cd; border-radius:14px; overflow:hidden; background:#fff; box-shadow:0 3px 14px rgba(10,107,116,.14); }
.pkt-teamcost .ptc-hd { background:linear-gradient(90deg,#0a6b74,#0d9aa6); color:#fff; font-size:14.5px; font-weight:800; padding:11px 18px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; cursor:pointer; user-select:none; }
.pkt-teamcost .ptc-hd:hover { filter:brightness(1.05); }
.pkt-teamcost .ptc-hd-ic { font-size:17px; }
.pkt-teamcost .ptc-hd-tag { font-size:11.5px; font-weight:500; background:rgba(255,255,255,.22); padding:3px 11px; border-radius:20px; }
.pkt-teamcost .ptc-status { margin-left:auto; font-size:12.5px; font-weight:600; background:rgba(255,255,255,.16); padding:4px 12px; border-radius:20px; }
.pkt-teamcost .ptc-status b { font-family:ui-monospace,monospace; font-weight:800; }
.pkt-teamcost .ptc-status.todo { background:#ffcaa8; color:#8a3b12; }
.pkt-teamcost .ptc-caret { font-size:13px; transition:transform .18s; opacity:.85; }
.pkt-teamcost.open .ptc-caret { transform:rotate(90deg); }
.pkt-teamcost .ptc-body { padding:15px 18px; }
.pkt-teamcost .ptc-formula { display:flex; align-items:stretch; gap:12px; flex-wrap:wrap; }
.pkt-teamcost .ptc-grp { background:#f2fafb; border:1px solid #cde7ea; border-radius:11px; padding:9px 13px; display:flex; flex-direction:column; justify-content:center; }
.pkt-teamcost .ptc-grp-t { font-size:12.5px; font-weight:800; color:#0a6b74; margin-bottom:6px; }
.pkt-teamcost .ptc-grp-in { display:flex; align-items:center; gap:6px; font-size:12px; color:#5c8a90; }
.pkt-teamcost .ptc-grp-in input { width:72px; height:36px; border:1px solid #b7d8dc; border-radius:8px; padding:0 9px; font-size:15px; font-weight:700; text-align:right; color:#08525a; }
.pkt-teamcost .ptc-grp-in em { font-style:normal; font-size:11px; }
.pkt-teamcost .ptc-grp-in b { color:#0a6b74; font-size:16px; margin:0 2px; }
.pkt-teamcost .ptc-op { align-self:center; font-size:22px; font-weight:800; color:#0a6b74; }
.pkt-teamcost .ptc-result { background:#e2f4f5; border:1px solid #9fd4d9; border-radius:11px; padding:9px 16px; display:flex; flex-direction:column; justify-content:center; gap:3px; }
.pkt-teamcost .ptc-result .ptc-eur { font-size:12.5px; color:#0a6b74; }
.pkt-teamcost .ptc-result .ptc-eur b { font-size:18px; font-family:ui-monospace,monospace; color:#08525a; }
.pkt-teamcost .ptc-result .ptc-cny { font-size:12px; color:#5c8a90; }
.pkt-teamcost .ptc-result .ptc-cny b { color:#08525a; font-size:16px; font-family:ui-monospace,monospace; }
.pkt-teamcost .ptc-result .ptc-auto { font-size:10.5px; color:#0a6b74; background:#c7e9ec; border-radius:5px; padding:1px 6px; }
.pkt-teamcost .ptc-save { margin-left:auto; align-self:center; height:42px; padding:0 20px; font-weight:700; }
.pkt-teamcost .ptc-desc { font-size:11.5px; color:#5c8a90; margin-top:10px; }
.pkt-teamcost .ptc-desc b { color:#0a6b74; }
.pkt-teamcost .ptc-curnote { font-size:11.5px; color:#5c8a90; margin-top:6px; }
.pkt-teamcost .ptc-curnote b { color:#08525a; }
@media(max-width:820px){ .pkt-teamcost .ptc-save{ margin-left:0; width:100%; } }
/* 成本毛利 Tab：收款明细汇总 + 成本结构 + 毛利 */
.omc-2col { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; align-items:start; }
.omc-2col .omc-col { min-width:0; }
.omc-2col .om-costmargin { margin-top:0; }
@media (max-width:900px){ .omc-2col { grid-template-columns:1fr; } }
.om-costmargin { margin-top:12px; border:1px solid #e6e8ee; border-radius:12px; background:#fbfcfe; overflow:hidden; }
.om-cm-h { font-size:13px; font-weight:700; color:#3f4c5f; padding:10px 14px; background:#f3f6fb; border-bottom:1px solid #e6e8ee; }
.om-tc-box { padding:12px 14px; }
.omc-recap { border:1px solid #e6e8ee; border-radius:12px; background:#fff; overflow:hidden; }
.omc-recap-h { font-size:13px; font-weight:700; color:#3f4c5f; padding:10px 14px; background:#f6f9fc; border-bottom:1px solid #eef2f7; }
/* 收款明细·按项目:改 flex 行(label 左 / 金额右·flex:0 0 auto 永不被裁切),替代原 table-layout:fixed(在窄两栏下金额列被裁没) */
.omc-lines { font-size:13.5px; }
.omc-line { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:9px 14px; border-bottom:0.5px solid #f2f5f9; }
.omc-line:last-child { border-bottom:none; }
.omc-line .omc-lbl { min-width:0; word-break:break-word; }
.omc-line .omc-amt { flex:0 0 auto; text-align:right; font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums; }
.omc-line.omc-sum { border-top:1px solid #e6e8ee; }
.omc-line.omc-sum .omc-lbl, .omc-line.omc-sum .omc-amt { font-weight:800; color:#12324a; }
.omc-line.omc-paid, .omc-line.omc-due { color:#667085; font-size:12.5px; }
.omc-line.omc-due .omc-lbl, .omc-line.omc-due .omc-amt { font-weight:700; color:#b45309; }
.tc-teaminfo { font-size:12.5px; color:#0a6b74; background:#eef8f9; border:1px solid #cfe9ec; border-radius:8px; padding:7px 12px; margin:8px 0; }
.tc-poolwarn { font-size:12px; color:#8a5a12; background:#fff8ec; border:1px solid #f2dcae; border-radius:8px; padding:8px 12px; margin-top:8px; line-height:1.5; }
/* 费用明细分组（后台订单详情·与渠道端同款：团费/门票/自费逐项） */
.cost-group { border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff; }
.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.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; }
.cost-line.cost-grouptotal { background:#eef7f1; border-top:1px solid #bfe3cf; }
.cost-line.cost-grouptotal .cost-label { color:#0b7a52; }
.cost-line.cost-grouptotal strong { color:#0b7a52; }
.cost-line.cost-grouptotal .cost-calc { color:#6b8a7a; font-size:11.5px; }
.ec-refund { border:1px solid #f0c98a; background:#fdf6e9; color:#9a6a10; font-size:11.5px; font-weight:700; border-radius:6px; padding:2px 8px; margin-left:6px; cursor:pointer; }
.ec-refund:hover { background:#fbecc9; }
.ec-del { border:none; background:transparent; color:#c9d2dc; cursor:pointer; font-size:13px; margin-left:6px; padding:1px 4px; border-radius:4px; }
.ec-del:hover { color:#c0392b; background:#fdecec; }
.ec-rf { font-size:11px; color:#a3352e; background:#fdecec; border-radius:5px; padding:1px 7px; font-weight:600; margin-left:4px; }
.ec-upsell { font-size:11px; color:#5b3a99; background:#f0e9fa; border:0.5px solid #d7c3ea; border-radius:5px; padding:1px 7px; font-weight:600; margin-left:4px; }
.ec-slip { font-size:11px; text-decoration:none; margin-left:2px; }
.ec-done { font-size:11px; color:#8a9aa1; background:#f1f5f6; border-radius:5px; padding:1px 7px; font-weight:600; margin-left:6px; }

/* 付款凭证：粘贴提示 + 预览 */
.pay-acc-hint { font-size:11px; color:#8a8f98; margin-top:4px; }
.pay-paste-hint { font-size:11.5px; color:#8a8f98; margin-top:5px; }
.pay-paste-hint b { color:#0a6b78; }
.pay-paste-zone { margin-top:6px; padding:16px 12px; border:1.5px dashed #9fd6de; background:#f2fbfc; border-radius:9px; text-align:center; font-size:13px; color:#0a6b78; cursor:pointer; line-height:1.7; transition:border-color .15s,background .15s; }
.pay-paste-zone:hover, .pay-paste-zone:focus { border-color:#0a8f8f; background:#e9f8fa; outline:none; }
.pay-paste-zone.dragover { border-color:#0a8f8f; background:#dff4f6; }
.pay-paste-zone b { color:#0a6b78; }
.pay-paste-zone .pz-sub { font-size:11.5px; color:#8a9aa0; font-weight:400; }
.pay-proof-preview { display:flex; flex-wrap:wrap; align-items:flex-start; gap:10px; margin-top:8px; padding:8px; border:1px dashed #9fd6de; background:#f2fbfc; border-radius:8px; }
.pay-proof-preview img { max-width:120px; max-height:90px; border-radius:6px; border:0.5px solid #cfe6ec; object-fit:contain; background:#fff; }
.pay-proof-preview .pp-head { flex-basis:100%; font-size:12px; font-weight:700; color:#0a6b78; }
.pay-proof-preview .pp-item { display:flex; flex-direction:column; align-items:center; gap:4px; max-width:130px; }
.pay-proof-preview .pp-file { font-size:34px; line-height:1; }
.pay-proof-preview .pp-meta { font-size:11px; color:#0a6b78; word-break:break-all; text-align:center; }
.pay-proof-preview .pp-clear { margin-left:4px; font-size:11px; border:none; background:none; color:#e5484d; cursor:pointer; }

/* 🚀 进阶开发路线图 */
.roadmap-quickwin { display:flex; align-items:center; gap:14px; margin-top:14px; padding:14px 18px; border-radius:14px; text-decoration:none;
  background:linear-gradient(100deg,#0f6e56,#0a8f8f); color:#fff; box-shadow:0 4px 16px rgba(10,143,143,.22); transition:transform .12s, box-shadow .12s; }
.roadmap-quickwin:hover { transform:translateY(-1px); box-shadow:0 6px 20px rgba(10,143,143,.3); }
.roadmap-quickwin .rq-ic { font-size:26px; }
.roadmap-quickwin .rq-main { display:flex; flex-direction:column; gap:2px; flex:1; }
.roadmap-quickwin .rq-main strong { font-size:15px; }
.roadmap-quickwin .rq-main small { font-size:12px; opacity:.9; }
.roadmap-quickwin .rq-main b { background:rgba(255,255,255,.24); border-radius:6px; padding:0 6px; }
.roadmap-quickwin .rq-go { font-size:13px; background:rgba(255,255,255,.18); padding:6px 12px; border-radius:9px; white-space:nowrap; }
.roadmap-legend { font-size:12px; color:var(--text-secondary); margin:2px 2px 12px; }
.roadmap-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:12px; }
.roadmap-card { border:0.5px solid var(--line); border-radius:12px; padding:12px 14px; background:#fff; border-left:4px solid #c9ccd6; }
.roadmap-card.rs-todo { border-left-color:#ef9f27; }
.roadmap-card.rs-design { border-left-color:#378add; }
.roadmap-card.rs-shelved { border-left-color:#b4b2a9; }
.roadmap-card.rs-partial { border-left-color:#639922; }
.roadmap-card.rs-done { border-left-color:#1d9e75; }
.roadmap-card .rm-head { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.roadmap-card .rm-area { display:block; font-size:10.5px; color:#8a8f98; font-weight:600; margin-bottom:1px; }
.roadmap-card .rm-head strong { font-size:14px; color:#1a2233; }
.roadmap-card .rm-status { font-size:11px; white-space:nowrap; color:#5f5e5a; }
.roadmap-card .rm-blurb { font-size:12.5px; color:var(--text-secondary); line-height:1.6; margin:8px 0 6px; }
.roadmap-card .rm-detail { margin:6px 0 4px; }
.roadmap-card .rm-toggle { background:none; border:none; color:#0a8f8f; font-size:12px; padding:2px 0; cursor:pointer; }
.rm-table { width:100%; border-collapse:collapse; font-size:11.5px; margin:2px 0 6px; }
.rm-table th, .rm-table td { border:0.5px solid #eef0f4; padding:5px 7px; text-align:left; vertical-align:top; }
.rm-table th { background:#f4fbfc; color:#0a6b78; font-weight:600; }
.rm-reco, .rm-p { font-size:12px; color:var(--text-secondary); line-height:1.6; margin:4px 0 0; }
.rm-reco { color:#0f6e56; }

/* 销售端账号：直客加价率行 */
.sa-team-wrap { background:#f6f9fc; border:0.5px solid #e0e9f5; border-radius:12px; padding:12px 14px; margin-bottom:14px; }
.sa-team-card { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; background:#fff; border:0.5px solid #e6ecf3; border-radius:9px; padding:9px 12px; margin-bottom:7px; }
.sa-team-new { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-top:8px; padding-top:10px; border-top:0.5px dashed #d7e0ee; }
.sa-team-new input, .sa-team-new select { flex:none; width:auto; min-width:150px; max-width:200px; box-sizing:border-box; }
.sa-team-new select { padding:0 10px; }
.sa-team-cell { display:inline-flex; align-items:center; gap:6px; }
.sa-row-team { width:150px !important; height:36px !important; padding:6px 10px !important; font-size:13px !important; line-height:1.3 !important; box-sizing:border-box !important; }
.sa-team-new select, .sa-team-new input { height:36px !important; padding:6px 10px !important; box-sizing:border-box !important; line-height:1.3 !important; }
.sa-tabs { display:flex; gap:8px; margin-bottom:14px; border-bottom:1px solid #e6ecf3; }
.sa-tab { border:none; background:none; padding:9px 16px; font-size:14px; font-weight:500; color:#64748b; cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-1px; }
.sa-tab:hover { color:#0f172a; }
.sa-tab.on { color:#0a6b78; border-bottom-color:#0f9d8f; }
.sa-markup { display:flex; align-items:flex-end; gap:14px; flex-wrap:wrap; padding:4px 2px; }
.sa-markup label { font-size:13px; color:#46536b; display:flex; flex-direction:column; gap:6px; font-weight:600; }
.sa-markup-input { display:inline-flex; align-items:center; gap:6px; font-weight:400; color:var(--text-secondary); }
.sa-markup-input input { width:90px; }
.sa-markup-hint { font-size:12px; color:#8a8f98; padding-bottom:8px; }
.link-btn.danger { color:#e5484d; }

/* 新增订单：订单类型分段 + 包车字段组 + 外部/录单人标签 */
.order-type-row { display: flex; align-items: center; gap: 12px; }
.otr-label { font-size: 13px; color: #46536b; font-weight: 600; }
.order-type-seg { display: inline-flex; border: 0.5px solid var(--line); border-radius: 9px; overflow: hidden; }
.order-type-seg button { padding: 7px 16px; font-size: 13px; background: #fff; border: none; border-right: 0.5px solid var(--line); cursor: pointer; color: #5a6678; }
.order-type-seg button:last-child { border-right: none; }
.order-type-seg button.active { background: #0a8f8f; color: #fff; font-weight: 600; }
.order-charter-grid:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr 0.7fr; gap: 12px; padding: 12px; border: 1px dashed #9fd6de; background: #f2fbfc; border-radius: 10px; }
.order-charter-grid .wide { grid-column: 1 / -1; }
.order-charter-grid label { font-size: 12px; color: var(--text-secondary); display: flex; flex-direction: column; gap: 4px; }
.ext-chan { font-size: 12px; font-weight: 700; color: #185fa5; }
.rec-by { font-size: 10.5px; color: #8a8f98; font-weight: 600; margin-top: 2px; white-space: nowrap; }

/* 订单状态说明（后台内部参考，折叠） */
.order-status-help { margin: 0 0 14px; border: 0.5px solid var(--line); border-radius: 10px; background: #fbfdff; }
.order-status-help > summary { cursor: pointer; padding: 10px 14px; font-size: 13px; font-weight: 700; color: #16333a; list-style: none; }
.order-status-help > summary::-webkit-details-marker { display: none; }
.order-status-help > summary::before { content: "▸ "; color: #8a94a6; }
.order-status-help[open] > summary::before { content: "▾ "; }
.osh-body { padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 12px; }
.osh-flow, .osh-branch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.osh-node { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 8px; white-space: nowrap; }
.osh-arr { color: #b0b6c0; font-size: 15px; }
.osh-cond { font-size: 11.5px; color: #8a94a6; }
.osh-cond.osh-red { color: #a32d2d; }
.osh-note { font-size: 12px; color: #46536b; background: #fff8ec; border: 0.5px solid #f0dcb4; border-radius: 8px; padding: 8px 11px; }
.osh-gray { background: #eef0f4; color: #5f5e5a; }
.osh-amber { background: #fbe6c4; color: #854f0b; }
.osh-blue { background: #e2f0fb; color: #185fa5; }
.osh-teal { background: #d9f2ef; color: #0f6e56; }
.osh-warn { background: #fbe0de; color: #a32d2d; }
.osh-cancel { background: #eef0f4; color: #8a8f98; text-decoration: line-through; }

.filters,
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.filters input,
.filters select {
  max-width: 260px;
}

.tabs button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  background: #f0f5fb;
}

.tabs button.active {
  color: #fff;
  background: var(--blue);
}

.tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.tabs button:not(.active) .tab-count {
  color: var(--muted);
  background: #e2eaf5;
}

.cur-ref { display: inline-block; margin-left: 4px; color: #8a94a6; font-size: 12px; font-weight: 600; }

/* 包车配置编辑器 */
.charter-cfg-card { width: min(680px, calc(100vw - 32px)); max-height: 88vh; display: flex; flex-direction: column; }
#charterCfgBody { overflow-y: auto; padding: 4px 2px; }
.cc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.cc-grid2 label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #44546c; }
.cc-grid2 input, .cc-grid2 select { padding: 7px 9px; border: 0.5px solid #d7dde7; border-radius: 7px; font-size: 13px; }
.cc-sec { margin-top: 14px; border: 0.5px solid #e7ebf1; border-radius: 10px; padding: 10px 12px; }
.cc-sec-head { font-size: 13.5px; font-weight: 600; color: #102345; margin-bottom: 8px; }
.cc-sec-sub { font-size: 12px; color: #8a94a6; margin: 8px 0 4px; }
.cc-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.cc-f1 { flex: 1; min-width: 0; padding: 6px 8px; border: 0.5px solid #d7dde7; border-radius: 7px; font-size: 13px; }
.cc-inline { font-size: 12.5px; color: #44546c; white-space: nowrap; }
.cc-num { width: 64px; padding: 6px 6px; border: 0.5px solid #d7dde7; border-radius: 6px; font-size: 13px; text-align: right; }
.cc-del { border: none; background: none; color: #c0392b; cursor: pointer; font-size: 13px; padding: 2px 5px; }
.cc-add { font-size: 12px; padding: 4px 9px; margin-top: 2px; }
.cc-line { font-size: 13px; color: #44546c; margin-bottom: 6px; }
.cc-line b { color: #102345; }
.cc-months { display: flex; flex-wrap: wrap; gap: 5px; }
.cc-mo { padding: 3px 8px; font-size: 12px; border: 0.5px solid #d7dde7; border-radius: 6px; background: #fff; color: #8a94a6; cursor: pointer; }
.cc-mo.on { background: #eaf6f8; color: #00808f; border-color: #00a5b8; font-weight: 600; }
.cc-vehhead, .cc-vehrow { display: grid; grid-template-columns: 1.4fr 0.6fr 0.9fr 0.9fr 0.9fr 0.9fr 0.9fr 0.9fr 0.4fr; gap: 5px; align-items: center; }
.cc-vehhead.cc-vh2, .cc-vehrow.cc-vh2 { grid-template-columns: 1.4fr 0.6fr 0.9fr 0.9fr 0.9fr 0.9fr 0.9fr 0.9fr; }
.cc-vehhead.cc-vh1, .cc-vehrow.cc-vh1 { grid-template-columns: 1.4fr 0.6fr 1.1fr 0.9fr 0.9fr 0.9fr 0.9fr; }
.cc-vehmove { display: flex; gap: 1px; justify-content: flex-end; align-items: center; }
.cc-mv { border: none; background: none; cursor: pointer; color: #5a6b82; font-size: 13px; line-height: 1; padding: 2px 3px; border-radius: 3px; }
.cc-mv:hover:not(:disabled) { background: #eef2f7; color: #0f172a; }
.cc-mv:disabled { opacity: 0.25; cursor: default; }
.cc-agr-hint { background: #fff8ec; border: 1px solid #f2d9a8; border-left: 4px solid #e0a94f; border-radius: 0 10px 10px 0; padding: 11px 14px; margin: 4px 0 14px; }
.cc-agr-hint-t { font-size: 13px; font-weight: 600; color: #8a5a1c; }
.cc-agr-hint-b { font-size: 12px; color: #96703a; line-height: 1.7; margin-top: 4px; }
.cc-agr-hint-btn { display: inline-block; margin-top: 9px; background: #fff; border: 1px solid #e6c68a; color: #8a5a1c; font-size: 12px; font-weight: 500; padding: 6px 13px; border-radius: 999px; text-decoration: none; }
.cc-agr-hint-btn:hover { background: #fdf3e2; }
.cc-vehhead { font-size: 11px; color: #8a94a6; margin-bottom: 4px; text-align: center; }
.cc-vehhead span:first-child { text-align: left; }
.cc-vehrow { margin-bottom: 5px; }
.cc-vt { padding: 6px 7px; border: 0.5px solid #d7dde7; border-radius: 6px; font-size: 12.5px; min-width: 0; }
.cc-vn { padding: 6px 4px; border: 0.5px solid #d7dde7; border-radius: 6px; font-size: 12.5px; text-align: right; min-width: 0; }
.cc-route-mode { padding: 5px 6px; border: 0.5px solid #d7dde7; border-radius: 6px; font-size: 12.5px; }
.cc-idle { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-idle-item { display: inline-flex; align-items: center; gap: 2px; }
.cc-idle-item input { padding: 5px 7px; border: 0.5px solid #d7dde7; border-radius: 6px; font-size: 12.5px; }

/* 包车车型参考图相册（标准包车编辑器） */
.cc-vehgal { padding: 8px 0; border-bottom: 0.5px dashed #e3e8ef; }
.cc-vehgal-head { font-size: 12.5px; color: #44546c; margin-bottom: 8px; }
.cc-photos { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.cc-photo { width: 88px; }
.cc-photo-img { position: relative; width: 88px; height: 64px; border-radius: 8px; overflow: hidden; background: #eef1f6; }
.cc-photo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-photo-cover { position: absolute; left: 4px; top: 4px; background: #101828; color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 5px; }
.cc-photo-del { position: absolute; right: 3px; top: 3px; width: 18px; height: 18px; border: none; border-radius: 50%; background: rgba(255,255,255,.92); color: #d4373a; font-size: 12px; cursor: pointer; padding: 0; line-height: 1; }
.cc-photo-cap { width: 88px; height: 28px; margin-top: 5px; padding: 4px 6px; border: 0.5px solid #d7dde7; border-radius: 6px; font-size: 12px; text-align: center; }
.cc-photo-add { width: 88px; height: 64px; border: 1px dashed #c4ccd8; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #7a8699; cursor: pointer; font-size: 12px; }
.cc-photo-add:hover { background: #f6f9fe; border-color: #9bb6e8; }

/* 付款政策：分期编辑行 */
.pp-head, .pp-row { display: grid; grid-template-columns: 1.1fr 0.7fr 1fr 0.6fr 1fr 0.4fr; gap: 6px; align-items: center; }
.pp-head { font-size: 11px; color: #8a94a6; margin-bottom: 4px; }
.pp-row { margin-bottom: 5px; }
.pp-row select, .pp-row input { padding: 6px 7px; border: 0.5px solid #d7dde7; border-radius: 6px; font-size: 12.5px; min-width: 0; }
.pp-row input[type="number"] { text-align: right; }

/* 渠道协议价：编辑器车型矩阵 + 列表 + 文本块 */
.ca-vehhead, .ca-vehrow { display: grid; grid-template-columns: 1.4fr 0.5fr 0.9fr 0.9fr 0.9fr 0.9fr 0.4fr; gap: 5px; align-items: start; }
.ca-vehhead { font-size: 11px; color: #8a94a6; margin-bottom: 4px; text-align: center; align-items: center; }
.ca-vehhead span:first-child { text-align: left; }
.ca-vehrow { margin-bottom: 5px; }
.ca-vehrow > input { align-self: center; }
/* 费用格：输入框 + 「标准 X」参照 */
.ca-cell { display: flex; flex-direction: column; }
.ca-cell .ca-std { font-size: 10px; color: #b0b6c0; text-align: center; margin-top: 2px; }
.ca-cell .ca-std.on { color: #00808f; }
.ca-vehrow input.ca-changed { border: 2px solid #00a5b8; background: #e2f5f8; color: #036676; font-weight: 600; }
.ca-import { font-size: 12px; padding: 4px 10px; color: #00808f; border-color: #cdeef2; background: #f2fafb; }
.ca-allow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 6px; }
.ca-allow-grid label { font-size: 12.5px; color: #44546c; }
.ca-allow-grid input { display: block; width: 100%; margin-top: 4px; padding: 7px 9px; border: 0.5px solid #d7dde7; border-radius: 8px; font-size: 13px; box-sizing: border-box; }
.ca-allow-months { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ca-mon { font-size: 12px; padding: 5px 11px; border-radius: 999px; border: 0.5px solid #d7dde7; background: #fff; color: #5a6b78; cursor: pointer; }
.ca-mon.on { background: #00808f; border-color: #00808f; color: #fff; }
.oc-meta { font-size: 12px; color: #5a6b78; background: #f6f8fc; border-radius: 8px; padding: 8px 11px; margin-bottom: 12px; }
.oc-head, .oc-row { display: grid; grid-template-columns: 0.8fr 1.7fr 0.9fr 0.8fr 0.3fr; gap: 7px; align-items: center; }
.oc-head { font-size: 11px; color: #98a2b3; margin-bottom: 4px; }
.oc-row { margin-bottom: 6px; }
.oc-row input { font-size: 12.5px; padding: 6px 8px; border: 0.5px solid #d7dde7; border-radius: 6px; }
.oc-total { text-align: right; font-size: 13px; color: #0b6e6e; margin: 10px 0; }
.oc-total b { font-size: 16px; color: #00808f; margin-left: 6px; }
.inv-head, .inv-row2 { display: grid; grid-template-columns: 0.8fr 1.5fr 1fr 1.3fr 0.5fr 0.8fr 0.3fr; gap: 6px; align-items: center; }
.inv-head { font-size: 11px; color: #98a2b3; margin: 8px 0 4px; }
.inv-row2 { margin-bottom: 6px; }
.inv-row2 input { font-size: 12px; padding: 6px 7px; border: 0.5px solid #d7dde7; border-radius: 6px; }
.inv-billto { border: 0.5px solid #eef1f5; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.inv-billto b { font-size: 12.5px; color: #1a2a37; }
.inv-locked { background: #fff4e5; border: 0.5px solid #f0d8a8; color: #8a5a1c; border-radius: 8px; padding: 9px 12px; font-size: 12.5px; margin-bottom: 10px; }
/* 订单列表行操作：下一步快捷键 + 管理 */
.order-row-ops { display: flex; gap: 7px; align-items: center; justify-content: flex-end; }
.order-next-btn { font-size: 12.5px; font-weight: 500; color: #fff; background: #00808f; border: none; padding: 6px 14px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.order-next-btn:hover { background: #006670; }
/* 递进配色（同青色系深浅）：确认接单=浅青(流程前段) / 出确认件=深青(流程后段) */
.order-next-btn.ona-accept { background: #3fb9ab; }
.order-next-btn.ona-accept:hover { background: #35a89b; }
.order-next-btn.ona-issue { background: #0c6b61; }
.order-next-btn.ona-issue:hover { background: #095951; }
.order-manage-btn { font-size: 12.5px; white-space: nowrap; }
/* 订单详情 / 管理页 */
.om-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; background: #f7fafb; border-radius: 10px; padding: 14px 16px; font-size: 13px; margin: 14px 0; }
.om-info > div span { color: #98a2b3; font-size: 12px; display: block; }
.om-info > div b { color: #1a2233; }
.om-review { background: #fff8ec; border: 1px solid #ffe1a8; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.om-review-h { font-size: 13.5px; font-weight: 800; color: #a5710a; margin-bottom: 10px; }
.om-review-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: #8a5a00; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed #ffe1a8; }
.om-review-row b { font-size: 16px; color: #a5710a; }
.om-pd { background: #fffdf6; border: 1px solid #ffe1a8; border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; }
.om-pd-h { font-size: 12px; font-weight: 600; color: #8a5a00; margin-bottom: 8px; }
.om-pd-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: #5a6b82; padding: 4px 0; }
.om-pd-row span { padding-right: 12px; }
.om-pd-row b { font-variant-numeric: tabular-nums; color: #1a2233; font-weight: 500; }
.om-pd-total { border-top: 1px dashed #ffe1a8; margin-top: 4px; padding-top: 8px; font-weight: 600; }
.om-pd-total span, .om-pd-total b { color: #a5710a; font-weight: 600; }
.om-pd-empty { background: #f7f9fc; border: 1px dashed #d7deea; border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; font-size: 12.5px; color: #7a8699; }
.om-review-in { display: block; font-size: 12px; color: #66748c; margin-bottom: 9px; }
.om-review-in input { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #e2c88a; border-radius: 8px; font-size: 14px; font-weight: 700; color: #0e2a44; background: #fff; }
.om-review-btn { width: 100%; margin-top: 4px; }

/* 促销中心（总控页） */
.ph-note { font-size: 12.5px; color: #66748c; background: #f7fafc; border: 1px solid #e6ebf3; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; line-height: 1.5; }
.ph-note b { color: #0e2a44; }
.ph-sec { margin-bottom: 18px; }
.ph-sh { font-size: 12.5px; font-weight: 800; color: #00808f; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.ph-tag { font-size: 10px; font-weight: 600; border-radius: 5px; padding: 1px 7px; }
.ph-tag.m { background: #eaf6f7; color: #0a6b78; }
.ph-tag.a { background: #eef4ff; color: #3f5bd6; }
.ph-tag.r { background: #fff3e0; color: #a5710a; }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pc { border: 1px solid #e6ebf3; border-radius: 12px; background: #fff; padding: 13px 14px; display: flex; flex-direction: column; }
.pc.auto { background: #fbfcff; border-color: #e2e8fb; }
.pc-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.pc-ic { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex: 0 0 auto; background: #f2f7fc; }
.pc-t { font-size: 13.5px; font-weight: 800; }
.pc-d { font-size: 11.5px; color: #66748c; line-height: 1.5; flex: 1; margin-bottom: 9px; }
.pc-d b { color: #46536b; }
.pc-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc-st { font-size: 10.5px; font-weight: 700; border-radius: 5px; padding: 2px 7px; white-space: nowrap; }
.pc-st.on { background: #e7f6ed; color: #1a7f43; }
.pc-st.auto { background: #eef4ff; color: #3f5bd6; }
.pc-st.sys { background: #f1f4f9; color: #66748c; }
.pc-go { font-size: 11.5px; font-weight: 700; color: #0a8c7d; background: #eafaf9; border: 1px solid #bfe6e2; border-radius: 7px; padding: 5px 11px; white-space: nowrap; cursor: pointer; }
.pc-go:hover { background: #d8f1ec; }
/* 促销中心：Tab（总控台 / 政策说明书） */
/* 帮助中心 · 使用手册 */
.hc-flows { background: linear-gradient(180deg,#eef8fb,#fff 60%); border: 1px solid #cfe6ee; border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.hc-flows-h { font-size: 14px; font-weight: 800; color: #0a5a72; margin-bottom: 12px; }
.hc-flow { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1px solid #dbeaf0; border-radius: 11px; padding: 11px 14px; margin-bottom: 9px; cursor: pointer; font: inherit; transition: border-color .15s, box-shadow .15s; }
.hc-flow:last-child { margin-bottom: 0; }
.hc-flow:hover { border-color: #0d8b96; box-shadow: 0 2px 12px rgba(13,139,150,.12); }
.hc-flow-ic { font-size: 22px; flex: none; }
.hc-flow-tx { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hc-flow-tx b { font-size: 13.5px; color: #16303a; font-weight: 800; }
.hc-flow-tx small { font-size: 12px; color: #5c6f77; line-height: 1.5; }
.hc-flow-tx em { font-size: 11px; color: #0a6b74; font-style: normal; }
.hc-flow-go { flex: none; font-size: 12.5px; font-weight: 800; color: #0a6b74; background: #e6f4f5; border-radius: 8px; padding: 6px 12px; }
/* 薪酬沙盘:Tab + 铺满宽度 iframe */
.sbx-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.sbx-tab { border: 1px solid #e6d3a8; background: #fff; color: #6b5a2e; font: inherit; font-weight: 700; font-size: 13px; padding: 9px 15px; border-radius: 10px; cursor: pointer; }
.sbx-tab.on { background: #c58a1a; color: #fff; border-color: #c58a1a; }
.sbx-tab .lk { font-size: 11px; opacity: .7; }
.sbx-desc { font-size: 12.5px; color: #7c8b92; margin: 0 2px 10px; }
.sbx-frame { width: 100%; height: 84vh; min-height: 680px; border: 1px solid #e4ebed; border-radius: 12px; background: #fff; display: block; }
.sbx-open { font-size: 12px; font-weight: 700; color: #0a6b74; margin: 8px 2px 0; display: inline-block; text-decoration: none; }
.hc-search { display: flex; align-items: center; gap: 9px; border: 1.5px solid #bfe6ea; border-radius: 12px; background: #fff; padding: 11px 15px; box-shadow: 0 2px 10px rgba(0,128,143,.06); }
.hc-search .ic { font-size: 16px; color: #00808f; }
.hc-search input { border: none; outline: none; flex: 1; font-size: 14px; color: #1f2733; background: transparent; }
.hc-chips { display: flex; gap: 7px; flex-wrap: wrap; margin: 11px 0 16px; }
.hc-chip { font-size: 12px; background: #eef4f7; color: #45566e; border: 1px solid #dde7ee; border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.hc-chip:hover { background: #e2f5f8; color: #00808f; border-color: #bfe6ea; }
.hc-rescount { font-size: 12px; color: #8a94a6; margin-bottom: 9px; }
.hc-rescount b { color: #00808f; }
.rc { border: 1px solid #e6ebf3; border-radius: 14px; background: #fff; overflow: hidden; margin-bottom: 12px; box-shadow: 0 3px 14px rgba(60,80,110,.05); }
.rc-hd { display: flex; align-items: center; gap: 9px; padding: 12px 15px; background: #f7fbfc; border-bottom: 1px solid #eef2f5; }
.rc-ic { width: 30px; height: 30px; border-radius: 8px; background: #e2f5f8; display: flex; align-items: center; justify-content: center; font-size: 16px; flex: 0 0 auto; }
.rc-t { font-size: 14px; font-weight: 800; flex: 1; }
.rc-tag { font-size: 10.5px; font-weight: 700; background: #eef4ff; color: #3f5bd6; border-radius: 5px; padding: 2px 8px; white-space: nowrap; }
.rc-body { padding: 12px 15px; }
.rc-row { display: flex; gap: 9px; font-size: 12.5px; line-height: 1.6; padding: 5px 0; }
.rc-k { flex: 0 0 60px; color: #00808f; font-weight: 700; }
.rc-v { color: #46536b; flex: 1; }
.rc-v b { color: #0e2a44; }
.rc-live { background: #fff8ec; border: 1px solid #f0dcb0; border-radius: 9px; padding: 9px 12px; margin: 8px 0; font-size: 12.5px; color: #7a5a2a; line-height: 1.7; }
.rc-live b { color: #c2410c; }
.rc-actions { display: flex; gap: 9px; margin-top: 10px; }
.rc-go { font-size: 12.5px; font-weight: 700; color: #fff; background: #00808f; border: none; border-radius: 8px; padding: 7px 15px; cursor: pointer; }
.rc-go:hover { background: #00707d; }
.rc-syn { font-size: 11px; color: #a2acba; margin-top: 9px; }
.date-range-input { cursor: pointer; background: #fff; }
.date-range-input::placeholder { color: #98a2b3; }
.ph-tabs { display: flex; gap: 6px; margin-bottom: 16px; border-bottom: 1px solid #e6ebf3; }
.ph-tab { font-size: 13px; font-weight: 700; color: #66748c; background: none; border: none; border-bottom: 2px solid transparent; padding: 8px 14px; margin-bottom: -1px; cursor: pointer; }
.ph-tab:hover { color: #0e2a44; }
.ph-tab.active { color: #00808f; border-bottom-color: #00808f; }
/* 🔥 特惠专区实况（渠道视角反向聚合） */
.pl-note { font-size: 12.5px; color: #66748c; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; line-height: 1.5; }
.pl-note b { color: #9a3412; }
.pl-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pl-kpis { display: flex; gap: 8px; flex-wrap: wrap; }
.pl-kpi { background: #f4f7fb; border: 1px solid #e6ebf3; border-radius: 9px; padding: 6px 12px; font-size: 12px; color: #56616f; }
.pl-kpi b { font-size: 16px; font-weight: 800; color: #0e2a44; margin-right: 4px; }
.pl-viewsel { font-size: 12px; color: #56616f; display: inline-flex; align-items: center; gap: 6px; }
.pl-viewsel select { font-size: 13px; padding: 6px 10px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; max-width: 260px; }
.pl-view-banner { font-size: 12.5px; color: #075985; background: #e0f2fe; border: 1px solid #bae6fd; border-radius: 9px; padding: 8px 13px; margin-bottom: 14px; }
.pl-sec { margin-bottom: 18px; }
.pl-sh { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: #0e2a44; margin: 0 0 10px; }
.pl-n { background: #eef2f7; color: #66707f; border-radius: 999px; padding: 1px 9px; font-size: 11px; font-weight: 700; }
.pl-hint { font-weight: 500; color: #98a2b3; margin-left: auto; }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.pl-card { display: flex; align-items: stretch; border: 1px solid #e7edf5; border-radius: 12px; background: #fff; overflow: hidden; }
.pl-card.clr { border-left: 3px solid #f97316; }
.pl-card.boost { border-left: 3px solid #e8590c; }
.pl-card.tgt { border-left: 3px solid #7c3aed; }
.pl-date { flex: 0 0 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #f8fafc; }
.pl-date b { font-size: 18px; font-weight: 800; color: #0e2a44; line-height: 1; }
.pl-date span { font-size: 10.5px; color: #98a2b3; }
.pl-date.range b { font-size: 14px; }
.pl-main { flex: 1 1 auto; min-width: 0; padding: 10px 13px; }
.pl-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pl-kind { border-radius: 6px; padding: 2px 9px; font-size: 11px; font-weight: 800; color: #fff; white-space: nowrap; }
.pl-kind.clr { background: #f97316; }
.pl-kind.boost { background: #e8590c; }
.pl-kind.tgt { background: #7c3aed; }
.pl-lbl { background: #fff4e6; color: #c2410c; border-radius: 5px; padding: 2px 7px; font-size: 10.5px; font-weight: 600; }
.pl-seat { background: #eef2f7; color: #56616f; border-radius: 5px; padding: 2px 7px; font-size: 11px; }
.pl-title { font-size: 13px; font-weight: 600; color: #071b42; line-height: 1.35; margin-top: 7px; }
.pl-sub { font-size: 11px; color: #98a2b3; margin-top: 3px; }
.pl-who { font-size: 11px; color: #475569; margin-top: 7px; border-top: 1px dashed #eef2f7; padding-top: 6px; }
.pl-who b { color: #0e2a44; }
.pl-hidden { color: #b45309; }
.pl-empty { padding: 30px 0; text-align: center; color: #98a2b3; }
/* 政策说明书：每个促销的大白话卡片 */
.pdoc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-bottom: 16px; }
.pdoc { border: 1px solid #e6ebf3; border-radius: 12px; background: #fff; padding: 13px 15px; }
.pdoc-h { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.pdoc-ic { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; background: #f2f7fc; flex: 0 0 auto; }
.pdoc-t { font-size: 13.5px; font-weight: 800; flex: 1; }
.pdoc-badge { font-size: 10px; font-weight: 700; border-radius: 5px; padding: 2px 7px; white-space: nowrap; }
.pdoc-badge.manual { background: #eaf6f7; color: #0a6b78; }
.pdoc-badge.auto { background: #eef4ff; color: #3f5bd6; }
.pdoc-badge.base { background: #fff3e0; color: #a5710a; }
.pdoc-what { font-size: 12px; color: #46536b; line-height: 1.6; margin-bottom: 8px; }
.pdoc-what b { color: #0e2a44; }
.pdoc-kv { display: flex; gap: 8px; font-size: 11.5px; line-height: 1.55; padding: 3px 0; border-top: 1px dashed #eef1f6; }
.pdoc-kv b { color: #00808f; font-weight: 700; white-space: nowrap; flex: 0 0 54px; }
.pdoc-kv span { color: #5a6577; }
.pdoc-kv span b { color: #0e2a44; }
/* 促销中心：包车返利政策说明文档 */
.rbd { border: 1px solid #f0e0c4; border-radius: 12px; background: linear-gradient(180deg,#fffaf1,#fffdf9); padding: 14px 16px; }
.rbd-ladder { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rbd-pill { background: #fff; border: 1px solid #eab35a; color: #a5560a; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 12px; }
.rbd-pill small { color: #b08248; font-weight: 500; }
.rbd-list { margin: 0 0 12px; padding-left: 20px; font-size: 12.5px; color: #4a4030; line-height: 1.85; }
.rbd-list b { color: #7a4a1a; }
.rbd-list u { text-decoration-color: #e0a53a; }
.rbd-eg { background: #fff; border: 1px dashed #eab35a; border-radius: 9px; padding: 10px 13px; font-size: 12.5px; color: #7a4a1a; line-height: 1.7; }
.rbd-eg b { color: #c2410c; }
.rbd-tag, .rbd-live-h .rbd-tag { display: inline-block; background: #fbe7cf; color: #a5560a; font-size: 11px; font-weight: 700; border-radius: 5px; padding: 1px 7px; margin-right: 6px; }
.rbd-live-h { font-size: 12.5px; font-weight: 800; color: #0e2a44; margin: 14px 0 8px; }
.rbd-table { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; border-radius: 9px; overflow: hidden; }
.rbd-table th { text-align: left; background: #f7f0e2; color: #7a5a2a; font-weight: 700; padding: 7px 10px; font-size: 11px; }
.rbd-table th small { display: block; font-weight: 500; color: #a08a5f; }
.rbd-table td { padding: 7px 10px; border-top: 1px solid #f3ece0; color: #46536b; }
.rbd-table td.rbd-num { font-weight: 700; color: #0e2a44; text-align: center; }
.rbd-empty { font-size: 12px; color: #98a2b3; background: #fff; border-radius: 9px; padding: 12px; text-align: center; }
/* 订单管理·本行程关联门票子单 */
.om-children { border: 1px solid #d6ebf3; border-radius: 12px; background: #f6fbfd; padding: 12px 14px; margin-top: 14px; }
.om-children-h { font-size: 13px; font-weight: 800; color: #0a6b78; margin-bottom: 8px; }
.om-child { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 0.5px solid #e4eef3; font-size: 12.5px; }
.om-child:first-of-type { border-top: 0; }
.omc-nm { flex: 1; min-width: 0; color: #46536b; }
.omc-nm b { color: #0e2a44; }
.omc-amt { font-weight: 700; color: #0a8c7d; white-space: nowrap; }
.omc-go { background: #eaf6f7; border: 0.5px solid #9fd8de; color: #0a6b78; font-size: 11.5px; font-weight: 700; border-radius: 7px; padding: 4px 10px; cursor: pointer; white-space: nowrap; }
.omc-go:hover { background: #d8f1ec; }
/* 订单列表·门票子单「行程加订」标签（点击打开母单） */
.ord-link-tag { display: inline-block; margin-left: 6px; background: #eef7fb; border: 0.5px solid #bfe3ec; color: #0a6b78; font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 1px 7px; cursor: pointer; white-space: nowrap; vertical-align: middle; }
.ord-link-tag:hover { background: #d9eef4; }
/* 订单列表·行程归组：母单左栏 + 「行程组」徽章；子单缩进 + 连接线 + 浅底 */
.trip-tag { display: inline-block; margin-left: 6px; background: #e6f4f1; border: 0.5px solid #9fd8cb; color: #0a6b78; font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 1px 7px; white-space: nowrap; vertical-align: middle; }
.ord-rm-tag { display: inline-block; margin-left: 6px; background: #e6fcf5; border: 1px solid #96e6d6; color: #0b7285; font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 1px 7px; white-space: nowrap; vertical-align: middle; font-family: inherit; line-height: 1.5; }
button.ord-rm-tag { cursor: pointer; }
button.ord-rm-tag:hover { background: #c9f7ec; border-color: #6fd9c4; }
.ord-rm-tag.icon-only { padding: 1px 5px; font-size: 12px; letter-spacing: 0; }
/* 低价单标签(低于成本·待OP审批/已批):一眼识别 */
.ord-lowprice { display: inline-block; margin-left: 6px; background: #fde7e3; border: 1px solid #f3b7aa; color: #b02a1a; font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 1px 7px; white-space: nowrap; vertical-align: middle; line-height: 1.5; }
.ord-lowprice.ok { background: #e3f5ec; border-color: #9fdcc1; color: #0b7a52; }
.om-lowprice { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fdf0ec; border: 1px solid #f3b7aa; border-radius: 10px; padding: 11px 14px; margin: 10px 0; }
.om-lowprice.ok { background: #eef8f2; border-color: #9fdcc1; color: #0b7a52; }
.om-lowprice .om-lp-t { font-size: 13px; font-weight: 800; color: #b02a1a; }
.om-lowprice .om-lp-s { font-size: 12px; color: #8a5a4a; margin-top: 2px; }
.om-lowprice button { flex-shrink: 0; }
/* 包车含酒店:实心标(沿用包车色系·加深),防漏订行程内酒店 */
.ord-hotel-tag { display: inline-block; margin-left: 6px; background: #0a8c7d; color: #fff; font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 1px 7px; white-space: nowrap; vertical-align: middle; line-height: 1.5; }
/* 行程组：母单 + 加订子单 视觉归组（左侧粗色括号 + 整组浅底 + 子单缩进树状连线） */
#orderRows tr.og-parent > td:first-child { border-left: 4px solid #0a6b78; }
#orderRows tr.og-parent > td { background: #eef8fa; }
#orderRows tr.og-child > td:first-child { border-left: 4px solid #0a6b78; }
#orderRows tr.og-child > td { background: #e4f3f6; }
#orderRows tr.og-child .ord-no { padding-left: 34px; position: relative; }
#orderRows tr.og-child .ord-no::before { content: ""; position: absolute; left: 15px; top: -1px; height: 52%; width: 12px; border-left: 2px solid #6bb8c6; border-bottom: 2px solid #6bb8c6; border-bottom-left-radius: 3px; }
.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; }
/* 后台订单详情·头卡 + 页签改版 */
.om-hd { border: 1px solid #e6e8ee; border-radius: 12px; padding: 13px 15px; margin-bottom: 10px; background: #fff; }
.om-hd-t { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: #1a2233; margin-bottom: 10px; flex-wrap: wrap; }
.om-hd-chip { font-size: 12px; font-weight: 400; color: #667085; background: #f4f6f9; border-radius: 20px; padding: 2px 10px; }
.om-hd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; }
.om-hd-grid > div { display: flex; flex-direction: column; gap: 2px; }
.om-hd-grid span { font-size: 11.5px; color: #98a2b3; }
.om-hd-grid b { font-size: 13px; font-weight: 600; color: #1a2233; }
.om-paidpct { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 20px; background: #e6f6f4; color: #00808f; font-size: 11.5px; font-weight: 700; vertical-align: middle; }
.om-tabs { display: flex; gap: 2px; border-bottom: 1px solid #e6e8ee; margin-bottom: 14px; overflow-x: auto; }
.om-tabs button { padding: 9px 13px; font-size: 13px; color: #667085; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.om-tabs button.active { color: #0a6b78; border-bottom-color: #0a6b78; font-weight: 700; }
.om-tabbadge { font-size: 10.5px; background: #fdecdc; color: #c67c1e; border-radius: 20px; padding: 0 6px; margin-left: 2px; }
.om-tabbadge.warn { background: #fdeaea; color: #c0392b; }
.om-tabbadge.ok { background: #e7f6ec; color: #1d6b2f; }
.om-tv-status { font-size: 12.5px; font-weight: 600; padding: 9px 13px; border-radius: 9px; margin-bottom: 12px; }
.om-tv-status b { font-weight: 800; }
.om-tv-status.done { background: #e7f6ec; color: #1d6b2f; }
.om-tv-status.part { background: #e7f1fb; color: #175a96; }
.om-tv-status.wait { background: #fdeee6; color: #c2410c; }
.om-panel { display: none; }
.om-panel.active { display: block; }
.om-fee { border: 0.5px solid #eef1f6; border-radius: 10px; overflow: hidden; margin-top: 10px; }
/* 订单详情·付款流水与水单 */
.om-rcpt { border: 1px solid #e6e8ee; border-radius: 11px; padding: 11px 13px; margin-top: 10px; background: #fbfcfe; }
.om-rcpt-h { font-size: 12.5px; font-weight: 700; color: #16203a; margin-bottom: 8px; }
.om-rcpt-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f2f4f7; font-size: 12.5px; }
.om-rcpt-row:last-of-type { border-bottom: none; }
.om-rcpt-row .rc-d { color: #8a94a6; font-variant-numeric: tabular-nums; flex: 0 0 82px; }
.om-rcpt-row .rc-m { color: #3a4356; flex: 1; min-width: 0; }
.om-rcpt-row .rc-m .muted { font-size: 11px; }
.om-rcpt-row .rc-a { font-weight: 700; color: #0f7a56; flex: 0 0 auto; }
.om-rcpt-row.refund .rc-a { color: #c0392b; }
.om-rcpt-row .rc-s { flex: 0 0 auto; }
.om-rcpt-slip { color: #0f7aa8; font-weight: 700; }
.om-rcpt-noslip { font-size: 10.5px; font-weight: 700; color: #c0392b; background: #fdeceb; border-radius: 5px; padding: 1px 6px; }
.om-rcpt-foot { font-size: 11.5px; color: #5b6472; margin-top: 9px; padding-top: 8px; border-top: 1px dashed #eceff3; }
.om-rcpt-foot b { color: #16203a; }
/* 收款对账台账 */
.om-rcpt-h { display: flex; align-items: center; gap: 8px; }
.om-rcpt-sum { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 9px 13px; margin: 6px 0 10px; background: #f5f8fc; border: 1px solid #e6e8ee; border-radius: 9px; font-size: 12.5px; color: #5b6472; }
.om-rcpt-sum b { color: #16203a; }
.om-rcpt-sum b.ok { color: #15803d; }
.om-rcpt-sum b.warn { color: #c2410c; }
.om-rcpt-sum .om-rcpt-prog { flex: 1; min-width: 80px; height: 7px; background: #e6ebf2; border-radius: 999px; overflow: hidden; }
.om-rcpt-sum .om-rcpt-prog i { display: block; height: 100%; background: #1d9e75; border-radius: 999px; }
.om-rcpt-acts { margin-left: auto; display: flex; gap: 6px; }
.om-mini { font-size: 11.5px; font-weight: 600; padding: 4px 11px; border-radius: 7px; border: 1px solid #cbd5e6; background: #fff; color: #16203a; cursor: pointer; }
.om-mini:hover { background: #eef4fb; }
.om-mini.danger { border-color: #f0b8b0; background: #fdecea; color: #c0392b; }
.om-sch { border: 1px solid #e6e8ee; border-radius: 9px; overflow: hidden; margin: 4px 0 10px; }
.om-sch-h { font-size: 12px; font-weight: 700; color: #16203a; padding: 8px 12px; background: #eef4fb; }
.om-sch-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid #eef1f6; font-size: 12.5px; border-left: 3px solid transparent; }
.om-sch-row .oms-l { flex: 1; min-width: 0; }
.om-sch-row .oms-due { color: #6b7688; font-size: 11.5px; white-space: nowrap; }
.om-sch-row .oms-stat { font-weight: 700; white-space: nowrap; }
.om-sch-row.ok { border-left-color: #2b8a3e; } .om-sch-row.ok .oms-stat { color: #1d6b2f; }
.om-sch-row.wait { border-left-color: #c9d3e2; } .om-sch-row.wait .oms-stat { color: #5b6472; }
.om-sch-row.warn { border-left-color: #e8770c; background: #fff7ef; } .om-sch-row.warn .oms-stat, .om-sch-row.warn .oms-due { color: #c2410c; }
.om-sch-row.due { border-left-color: #c0392b; background: #fdeceb; } .om-sch-row.due .oms-stat, .om-sch-row.due .oms-due { color: #c0392b; }
.rcl-wrap { overflow-x: auto; border: 1px solid #e6e8ee; border-radius: 9px; }
.rcl-tbl { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 12.5px; }
.rcl-tbl th { text-align: left; padding: 7px 11px; background: #f5f8fc; color: #7a8598; font-size: 11px; font-weight: 700; }
.rcl-tbl th:nth-child(5), .rcl-tbl th:nth-child(6) { text-align: right; }
.rcl-tbl th:nth-child(7) { text-align: center; }
.rcl-tbl .rcl-rc { text-align: center; }
.rcl-tbl .rcl-bat { color: #8a94a6; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rcl-tbl td { padding: 9px 11px; border-top: 1px solid #eef1f6; }
/* 收款账户列:长备注在列内换行,不把整表撑宽(配合 .rcl-wrap 的横向滚动,超长也只在本列内折行) */
.rcl-tbl td:nth-child(2) { max-width: 340px; }
/* 收款账户格:第一行 账户名 + 二销按钮;第二行备注(最多两行,超出省略,悬停看全文)——不再横向挤进凭证列 */
.rcl-tbl td.rcl-acctcell { width: 340px; max-width: 340px; }
.rcl-acctline { display: flex; align-items: center; gap: 6px; min-width: 0; }
.rcl-acctname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: #16324a; }
.rcl-acctline .rcl-dptog { flex: none; margin-left: 0; }
.rcl-note { margin-top: 4px; max-width: 340px; font-size: 11.5px; line-height: 1.5; color: #8593a4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; white-space: normal; }
.rcl-tbl td:nth-child(2) .muted { display: inline-block; max-width: 100%; word-break: break-word; white-space: normal; vertical-align: top; }
.rcl-tbl .rcl-a, .rcl-tbl .rcl-cum { text-align: right; white-space: nowrap; }
.rcl-tbl .rcl-a { font-weight: 700; color: #0f7a56; }
.rcl-refund .rcl-a { color: #c0392b; }
.rcl-tbl .rcl-cum { color: #6b7688; }
.rcl-d { color: #16203a; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rcl-slip { display: inline-flex; align-items: center; gap: 5px; color: #0b6f97; background: #e8f5fb; border: 1px solid #b6dbeb; border-radius: 999px; padding: 4px 11px 4px 9px; font-size: 12.5px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.rcl-slip svg { flex: none; }
.rcl-slip:hover, .rcl-slip:focus-visible { background: #0f7aa8; border-color: #0f7aa8; color: #fff; outline: none; }
.rcl-sub { font-size: 11px; color: #8593a4; margin-top: 4px; white-space: nowrap; }
.rcl-sub b { color: #44515d; font-weight: 700; }
.rcl-ai { font-size: 11px; margin-top: 3px; line-height: 1.5; white-space: normal; max-width: 260px; }
.rcl-ai.bad { color: #c0392b; background: #fdecea; border: 1px solid #f3c6c2; border-radius: 6px; padding: 3px 7px; font-weight: 600; }
.rcl-ai.ok { color: #1d8f68; }
.rcl-ai.na { color: #98a2b3; }
.rcl-sub .rcl-sub-hint { margin-left: 5px; font-size: 10.5px; color: #a3adbb; }
.rcl-noslip { font-size: 10.5px; font-weight: 700; color: #c0392b; background: #fdeceb; border-radius: 5px; padding: 1px 6px; }
.rcl-rec { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid #cbd5e6; background: #fff; color: #5b6472; cursor: pointer; }
.rcl-rec.ok { background: #e7f6ec; border-color: #b6ddc2; color: #1d6b2f; }
.rcl-recwrap { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.rcl-rectime { font-size: 10px; color: #8a94a6; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* 到账核对列：核对 + 驳回并排 */
.rcl-rcacts { display: inline-flex; align-items: center; gap: 6px; }
.rcl-reject { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid #f0c2c0; background: #fff; color: #c0392b; cursor: pointer; }
.rcl-editamt { border: 0; background: transparent; cursor: pointer; font-size: 11px; padding: 0 2px; opacity: .6; }
.rcl-upb { display: inline-block; background: #fef0d9; color: #b4701c; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 10px; }
.rcl-dptog { border: 1px solid #e3d3b5; background: #fffaf1; color: #a4731a; cursor: pointer; font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 6px; margin-left: 6px; }
.rcl-dptog:hover { background: #fbeccf; }
.rcl-dptog:disabled { border-color: #e1e6e8; background: #f3f5f6; color: #a9b3b8; cursor: not-allowed; }
.rcl-editamt:hover { opacity: 1; }
.rcl-reject:hover { background: #fdeceb; }
/* 已驳回态 */
.rcl-rejected .rcl-a { text-decoration: line-through; color: #b0b7c3; }
.rcl-rejected .rcl-d, .rcl-rejected td { background: #fcf6f6; }
.rcl-rejwrap { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.rcl-rejbadge { font-size: 10.5px; font-weight: 800; color: #c0392b; background: #fdeceb; border-radius: 5px; padding: 2px 7px; white-space: nowrap; }
.rcl-rejinfo { font-size: 10px; color: #a05252; line-height: 1.35; max-width: 160px; }
.rcl-unrej { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid #cbd5e6; background: #fff; color: #5b6472; cursor: pointer; }
.rcl-unrej:hover { background: #f1f4f9; }
.rcl-rejbanner { margin: 8px 0 2px; font-size: 12px; font-weight: 700; color: #c0392b; background: #fdeceb; border: 1px solid #f4cdca; border-radius: 8px; padding: 7px 11px; }
.rcl-duerow td { background: #fff7ef; color: #c2410c; border-top: 1px dashed #f0c9a8; }
.rcl-duerow .rcl-a { color: #c2410c; }
.rcl-tbl tfoot td { background: #f5f8fc; font-weight: 700; color: #16203a; border-top: 2px solid #e6e8ee; }
/* 凭证灯箱 */
/* 凭证浮窗:无遮罩不挡后面页面(外层 pointer-events:none),窗口可拖动 */
.proof-lb { position: fixed; inset: 0; z-index: 9999; background: transparent; pointer-events: none; }
.proof-lb-inner { position: absolute; left: 50%; top: 40px; pointer-events: auto; background: #fff; border-radius: 12px; overflow: hidden; max-width: 92vw; max-height: 92vh; display: flex; flex-direction: column; box-shadow: 0 18px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(16,32,58,.08); }
.proof-lb-inner.dragging { box-shadow: 0 24px 70px rgba(0,0,0,.42), 0 0 0 2px #2aa3a8; user-select: none; }
.proof-lb-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #eceff3; background: #f7f9fc; cursor: move; touch-action: none; }
.proof-lb-grip { color: #9aa6b6; font-size: 14px; letter-spacing: -1px; }
.proof-lb-btn { white-space: nowrap; }
.proof-lb-inner .proof-lb-body { flex: 1; min-height: 0; }
.proof-lb-body img { cursor: move; touch-action: none; }
.proof-lb-name { font-size: 12.5px; font-weight: 700; color: #16203a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proof-lb-acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.proof-lb-btn { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 7px; border: 1px solid #cbd5e6; background: #fff; color: #16203a; text-decoration: none; cursor: pointer; }
.proof-lb-btn:hover { background: #eef4fb; }
.proof-lb-close { font-size: 20px; line-height: 1; padding: 2px 8px; border: none; background: none; color: #6b7688; cursor: pointer; border-radius: 7px; }
.proof-lb-close:hover { background: #eceff3; color: #16203a; }
.proof-lb-body { overflow: auto; padding: 12px; display: flex; align-items: center; justify-content: center; background: #f1f4f8; }
.proof-lb-body img { max-width: 86vw; max-height: 78vh; border-radius: 6px; display: block; }
.proof-lb-body iframe { width: 86vw; height: 78vh; border: none; background: #fff; }
/* 订单详情·门票套餐逐段出票 */
.om-bnd { margin-top: 12px; }
.om-bnd-h { font-size: 13px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.om-bnd-c { font-size: 12px; color: #5b6472; background: #eef1f4; border-radius: 20px; padding: 2px 10px; font-weight: 600; }
.om-bnd-leg { border: 1px solid #e6e8ee; border-radius: 12px; padding: 12px 14px; margin-bottom: 11px; background: #fff; }
.om-bnd-leg.done { border-color: #cdeeda; background: #f6fdf9; }
.om-bnd-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 3px; }
.om-bnd-day { font-size: 11px; font-weight: 800; color: #fff; background: #0f9d8f; border-radius: 6px; padding: 2px 7px; }
.om-bnd-nm { font-size: 13.5px; font-weight: 800; }
.om-bnd-st { margin-left: auto; font-size: 11px; font-weight: 800; border-radius: 20px; padding: 2px 10px; }
.om-bnd-st.wait { background: #fdf1dc; color: #9a6a12; }
.om-bnd-st.done { background: #e2f3ef; color: #0f7a56; }
.om-bnd-sub { font-size: 12px; color: #8a94a6; margin-bottom: 9px; }
.om-bnd-sub a { color: #0f7aa8; font-weight: 700; }
.om-bnd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 9px; }
.om-bnd-row label { display: block; font-size: 11px; color: #5b6472; font-weight: 600; }
.om-bnd-row input { width: 100%; border: 1px solid #d7dce4; border-radius: 7px; padding: 6px 9px; font-size: 12.5px; margin-top: 3px; background: #fff; }
.om-bnd-files { font-size: 11.5px; color: #5b6472; margin-bottom: 9px; }
.om-bnd-file { color: #0f7aa8; font-weight: 600; margin-right: 8px; }
.om-bnd-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.om-bnd-up { font-size: 12px; color: #0f7aa8; font-weight: 700; cursor: pointer; border: 1px dashed #b9dcf0; border-radius: 7px; padding: 6px 12px; background: #f4f9fd; }
.om-bnd-save { border: none; border-radius: 7px; padding: 6px 15px; font-size: 12.5px; font-weight: 800; color: #fff; background: #0f9d8f; cursor: pointer; }
.om-bnd-save:hover { background: #0d8578; }
@media (max-width: 600px) { .om-bnd-row { grid-template-columns: 1fr; } }
/* 订单详情·退改进度时间线 */
.rft { border: 1px solid #e6e8ee; border-radius: 11px; padding: 11px 13px; margin-top: 10px; background: #fbfcfe; }
.rft.ok { background: #f0faf3; border-color: #cdefd8; }
.rft.rej { background: #fdf2f2; border-color: #f3d3d0; }
.rft-h { font-size: 12.5px; font-weight: 700; color: #16203a; margin-bottom: 11px; }
.rft-h small { font-weight: 400; color: #8a94a6; }
.rft-steps { display: flex; }
.rft-step { flex: 1; text-align: center; position: relative; font-size: 11.5px; color: #a2a9b5; }
.rft-step i { display: block; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #cdd4de; margin: 0 auto 4px; position: relative; z-index: 1; }
.rft-step:not(:last-child)::after { content: ""; position: absolute; top: 5px; left: 50%; width: 100%; height: 2px; background: #e3e7ee; z-index: 0; }
.rft-step span { display: block; }
.rft-step small { color: #a2a9b5; font-weight: 400; }
.rft-step.done { color: #0d7a3f; }
.rft-step.done i { background: #12a150; border-color: #12a150; }
.rft-step.done:not(:last-child)::after { background: #9ad9b2; }
.rft-step.now { color: #c9700f; font-weight: 700; }
.rft-step.now i { background: #e07a1f; border-color: #e07a1f; box-shadow: 0 0 0 3px #fbe6cd; }
.rft-step.reject { color: #c0392b; font-weight: 700; }
.rft-step.reject i { background: #d64545; border-color: #d64545; }
.rft-step.skip { opacity: .42; }
.rft-foot { font-size: 11px; color: #5b6472; margin-top: 10px; }
.rft-foot a { color: #0f7aa8; }
.om-fee-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; font-size: 13px; border-bottom: 0.5px solid #eef1f6; }
.om-fee-row:last-child { border-bottom: none; }
.om-fee-row span { color: #667085; }
.om-fee-row small { color: #98a2b3; font-weight: 400; }
.om-tv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 12px; }
.om-tv-grid > div { display: flex; flex-direction: column; gap: 2px; }
.om-tv-grid > div.wide { grid-column: 1 / -1; }
.om-tv-grid span { font-size: 11.5px; color: #98a2b3; }
.om-tv-grid b { font-size: 13px; color: #1a2233; }
.om-tv-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 6px; }
.om-tv-tbl th { text-align: left; color: #667085; background: #f6f8fc; padding: 7px 9px; border-bottom: 0.5px solid #e6e8ee; font-weight: 600; }
.om-tv-tbl td { padding: 7px 9px; border-bottom: 0.5px solid #eef1f6; }
.omd-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-radius: 10px; padding: 9px 12px; margin-bottom: 12px; }
.omd-status.wait, .omd-status.back { background: #fdf3e7; }
.omd-status.part { background: #fef8ec; }
.omd-status.done { background: #e6f4ec; }
.omd-pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: #fff; }
.omd-sub { font-size: 12px; color: #667085; }
.omd-comp { margin-left: auto; font-size: 12px; color: #667085; }
.omd-check { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.omd-ck { font-size: 11.5px; padding: 4px 9px; border-radius: 20px; border: 0.5px solid #e6e8ee; }
.omd-ck.ok { background: #e6f4ec; color: #0a8f5b; border-color: #a9ded0; }
.omd-ck.warn { background: #fdf3e7; color: #c67c1e; border-color: #f0d3a8; }
.omd-ck.miss { background: #fdecec; color: #c0392b; border-color: #f3c0bb; }
.omd-returned { font-size: 12px; color: #c0392b; background: #fdecec; border-radius: 8px; padding: 8px 11px; margin-bottom: 10px; }
.omd-flow { font-size: 11.5px; color: #667085; background: #f7f9fc; border-radius: 8px; padding: 8px 11px; margin-bottom: 12px; }
.omd-day { border: 0.5px solid #eef1f6; border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
.omd-day-h { padding: 7px 12px; background: #f7f9fc; }
.omd-day-tag { font-size: 11.5px; font-weight: 600; color: #0a6b78; background: #e6f4f1; padding: 1px 8px; border-radius: 20px; }
.omd-day-b { padding: 9px 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.omd-daytext { flex-basis: 100%; font-size: 12.5px; color: #1a2233; line-height: 1.6; background: #f7f9fc; border-radius: 8px; padding: 8px 10px; margin-bottom: 4px; }
.omd-daynote { color: #c67c1e; margin-top: 4px; }
.omd-file { font-size: 12px; padding: 5px 10px; border: 0.5px solid #e6e8ee; border-radius: 8px; background: #fff; text-decoration: none; color: #0a6b78; }
.omd-file:hover { border-color: #0a6b78; }
.omd-miss { font-size: 12px; color: #c0392b; }
.omd-kv { border: 0.5px solid #eef1f6; border-radius: 10px; padding: 9px 12px; margin: 8px 0; font-size: 12.5px; }
.omd-pt { padding: 3px 0; }
.omd-qr { width: 54px; height: 54px; border-radius: 8px; border: 0.5px solid #e6e8ee; object-fit: cover; margin-top: 4px; }
.omd-link { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #f4fbfd; border: 0.5px solid #cfe6ec; border-radius: 10px; padding: 9px 12px; margin-top: 12px; font-size: 12px; }
.omd-link > span { color: #0a6b78; font-weight: 600; flex-basis: 100%; }
.omd-link input { flex: 1; min-width: 180px; height: 30px; border: 0.5px solid #cfe6ec; border-radius: 6px; padding: 0 8px; font-size: 12px; color: #667085; background: #fff; }
.omd-ops { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.om-btn.warn { color: #c67c1e; border-color: #f0d3a8; background: #fdf7ee; }
.om-btn.warn:hover { background: #fbeeda; }
/* 订单详情·本行程关联抽屉 */
.om-rel { border: 1px solid #bfe3ec; border-radius: 10px; background: #f4fbfd; margin-bottom: 14px; overflow: hidden; }
.om-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; }
.om-rel > summary::-webkit-details-marker { display: none; }
.om-rel > summary::after { content: "▾"; margin-left: auto; font-size: 12px; }
.om-rel[open] > summary::after { content: "▴"; }
.om-rel-body { padding: 4px 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.om-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; }
.om-rel-row[data-om-child] { cursor: pointer; }
.om-rel-row[data-om-child]:hover { border-color: #0a6b78; background: #f0f9fb; }
.om-rel-row.cur { border-color: #0a6b78; box-shadow: inset 3px 0 0 #0a6b78; }
.om-rel-tag { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 20px; white-space: nowrap; }
.om-rel-tag.mo { background: #eef7fb; color: #0a6b78; border: 0.5px solid #bfe3ec; }
.om-rel-tag.ch { background: #eaf7f3; color: #12836a; border: 0.5px solid #a9ded0; }
.om-rel-no { color: #667085; font-variant-numeric: tabular-nums; }
.om-rel-nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1a2233; }
.om-rel-en { color: #98a2b3; font-size: 11.5px; font-weight: 400; margin-left: 4px; }
.om-rel-amt { color: #00808f; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* 加订子单「含在母单 / 另外收费」切换 + 行程应收合计 */
.om-rel-total { margin-left: 12px; font-size: 12px; font-weight: 700; color: #0b5d57; background: #e3f3f0; border-radius: 6px; padding: 2px 8px; }
.om-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; }
.om-rel-inc:hover { border-color: #0e7c74; color: #0e7c74; }
.om-rel-inc.on { background: #e3f3ec; border-color: #9fd6bd; color: #1d8f68; }
.om-rel-row.inc .om-rel-amt { color: #8593a4; }
.om-rel-orig { color: #a3adbb; font-weight: 400; margin-right: 4px; }
.om-inc-tag { display: inline-block; font-size: 10.5px; font-weight: 700; color: #1d8f68; background: #e3f3ec; border-radius: 5px; padding: 0 6px; line-height: 17px; }
.om-rel-act { color: #0a6b78; font-size: 11.5px; white-space: nowrap; }
.om-rel-row.cur .om-rel-act { color: #98a2b3; }
.om-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #eafaf9; border: 1px solid #b7ddda; border-radius: 10px; padding: 13px 16px; margin-bottom: 14px; }
.om-next-t { font-size: 13px; font-weight: 600; color: #0b6e6e; }
.om-next-s { font-size: 11.5px; color: #5c8a86; margin-top: 2px; }
.om-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.om-card { border: 0.5px solid #eef1f5; border-radius: 10px; padding: 12px 14px; }
.om-card-h { font-size: 12.5px; font-weight: 600; color: #1a2233; margin-bottom: 9px; }
.om-btn { display: block; width: 100%; text-align: left; font-size: 12.5px; color: #00808f; border: 0.5px solid #cdeef2; background: #f4fbfc; border-radius: 8px; padding: 8px 12px; margin-bottom: 7px; cursor: pointer; }
.om-btn:hover { background: #eafaf9; }
.om-btn.danger { color: #c0392b; border-color: #eecdc8; background: #fdf3f2; }
/* Bókun 导入弹窗 */
.bi-row { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border: 0.5px solid #eef1f5; border-radius: 8px; margin-bottom: 6px; cursor: pointer; }
.bi-row:hover { background: #f7fbfa; }
.bi-info b { font-size: 13px; color: #1a2233; }
.bi-info small { display: block; font-size: 11px; color: #8a94a6; margin-top: 2px; }
@media (max-width: 720px) { .om-info { grid-template-columns: 1fr 1fr; } .om-cols { grid-template-columns: 1fr; } }
.ca-ta { display: block; font-size: 12.5px; color: #44546c; margin-top: 8px; }
.ca-ta textarea { width: 100%; margin-top: 4px; padding: 7px 9px; border: 0.5px solid #d7dde7; border-radius: 8px; font-size: 13px; font-family: inherit; resize: vertical; }
.ca-list-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 4px; border-bottom: 0.5px solid #eef1f6; }
.ca-list-sub { color: #8a94a6; font-size: 12px; font-weight: 400; margin-left: 4px; }
.ca-list-acts { display: flex; gap: 6px; flex: none; }

/* 门票产品橱窗卡片视图 */
.ticket-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.ticket-cards[hidden] { display: none; }
.ticket-card { border: 0.5px solid #e3e8ef; border-radius: 12px; background: #fff; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.ticket-card-off { opacity: 0.62; }
/* 橱窗图 */
.tc-img { position: relative; height: 122px; background-size: cover; background-position: center; background-color: #eef1f5; }
.tc-img-empty { display: flex; align-items: center; justify-content: center; }
.tc-img-ph { color: #aeb6c2; font-size: 13px; }
.tc-img-badge { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,0.92); color: #5a6678; font-size: 11px; padding: 2px 7px; border-radius: 7px; }
.tc-img-badge.ok { color: #0f6e56; }
.tc-img-badge.muted { color: #98a2b3; }
.tc-img-chip { position: absolute; bottom: 8px; left: 8px; background: rgba(16,35,69,0.6); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 7px; }
.tc-img-promo { position: absolute; top: 8px; left: 8px; background: #ff5a3c; color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 7px; }
.tc-img-live { position: absolute; bottom: 8px; right: 8px; background: #0a8c7d; color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 7px; }
/* Bókun 门票卡·实时余位 */
.tc-avail { margin: 6px 0 2px; }
.tc-avail-btn { width: 100%; font-size: 12px; padding: 6px 8px; border: 0.5px solid #9fe1cb; background: #e6f7f4; color: #0a8c7d; border-radius: 8px; cursor: pointer; font-weight: 600; }
.tc-avail-btn:hover { background: #d8f1ec; }
.tc-avail-loading, .tc-avail-err { font-size: 12px; color: #667085; padding: 4px 0; }
.tc-avail-err { color: #b07908; }
.tc-avail-head { font-size: 11.5px; color: #0a8c7d; font-weight: 600; margin-bottom: 5px; }
.tc-avail-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.tc-avail-chip { font-size: 11px; background: #f1f5f4; color: #344054; padding: 2px 7px; border-radius: 6px; }
.tc-avail-chip b { color: #0a8c7d; }
.tc-avail-chip.low { background: #fff3e6; }
.tc-avail-chip.low b { color: #c1700c; }
/* 门票出发时间行（Bókun 场次 startTime） */
.tc-dep { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 4px 0 8px; background: #eef7fb; border: 0.5px solid #d6ebf3; border-radius: 8px; padding: 5px 8px; }
.tc-dep-k { font-size: 11px; font-weight: 700; color: #0a6b78; white-space: nowrap; }
.tc-dep-t { font-size: 11.5px; font-weight: 700; color: #0a6b78; background: #fff; border: 0.5px solid #bfe3ec; border-radius: 5px; padding: 1px 7px; }
.tc-dep.single .tc-dep-t { background: #0a8c7d; color: #fff; border-color: #0a8c7d; }
.tc-book-btn { width: 100%; margin-top: 8px; font-size: 13px; font-weight: 600; padding: 8px; background: #0a8c7d; color: #fff; border: none; border-radius: 8px; cursor: pointer; }
.tc-book-btn:hover { background: #097a6d; }
/* 门票卡底部：短款描边「立即预定」+ 翻卡提示 */
.tc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 0.5px solid #eef2f8; }
.tc-book-sm { background: transparent; color: #0a8c7d; border: 0.5px solid #0a8c7d; font-size: 12px; padding: 4px 14px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.tc-book-sm:hover { background: #e6f7f4; }
.tc-foot-btns { display: flex; align-items: stretch; gap: 8px; flex: 1 1 auto; width: 100%; }
.tc-share-sm { background: #e6f4f1; color: #0a8c7d; border: none; font-size: 12px; padding: 4px 12px; border-radius: 7px; cursor: pointer; white-space: nowrap; font-weight: 500; }
.tc-share-sm:hover { background: #d5ece7; }
.tc-cart-sm { background: #fff4e6; color: #b0770f; border: 0.5px solid #f0d8a8; font-size: 12px; padding: 4px 12px; border-radius: 7px; cursor: pointer; white-space: nowrap; font-weight: 500; }
.tc-cart-sm:hover { background: #fdebcf; }
/* 三个操作纯图标按钮:均分整行、等高圆角,悬浮见提示 */
.tc-foot-btns .tc-icon-btn { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0; font-size: 17px; line-height: 1; text-align: center; border-radius: 9px; transition: background .12s, box-shadow .12s; }
.tc-foot-btns .tc-icon-btn:first-child { flex: 1.35 1 0; }
.tc-foot-btns .tc-icon-btn:active { transform: translateY(0.5px); }
/* 门票卡片按钮:预订(主·文字) + 分享(箭头图标)。原来📅立即预定/🛒加购是同一弹窗故合并成一个「预订」 */
.tc-foot-btns .tc-book-main { flex: 1 1 auto; height: 34px; border: none; background: #0e7c74; color: #fff; font-size: 14px; font-weight: 600; border-radius: 9px; cursor: pointer; transition: background .12s; }
.tc-foot-btns .tc-book-main:hover { background: #0b6a63; }
.tc-foot-btns .tc-book-main:active { transform: translateY(0.5px); }
.tc-foot-btns .tc-share-icon { flex: 0 0 auto; width: 42px; height: 34px; display: inline-flex; align-items: center; justify-content: center; background: #e6f4f1; color: #0a8c7d; border: none; border-radius: 9px; cursor: pointer; font-size: 18px; font-weight: 700; transition: background .12s; }
.tc-foot-btns .tc-share-icon:hover { background: #d5ece7; }
/* 购物车悬浮球 */
#cartFab { position: fixed; right: 22px; bottom: 26px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: #0e7c74; color: #fff; border: none; font-size: 14px; font-weight: 500; padding: 12px 20px; border-radius: 999px; cursor: pointer; box-shadow: 0 6px 20px rgba(14,124,116,.35); }
#cartFab[hidden] { display: none !important; }
#cartFab:hover { background: #0a6b64; }
#cartFab #cartFabCount { background: #fff; color: #0e7c74; font-weight: 700; border-radius: 999px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; padding: 0 5px; }
#cartFab b { font-weight: 600; }
/* 购物车弹窗 */
#cartDialog .cart-cust { display: flex; gap: 10px; margin-bottom: 10px; }
#cartDialog .cart-cust label { flex: 1; }
.cart-items { display: flex; flex-direction: column; gap: 10px; max-height: 46vh; overflow-y: auto; }
.cart-empty { color: #98a2b3; font-size: 13px; text-align: center; padding: 24px 0; }
.cart-it { border: 0.5px solid #e2e7ef; border-radius: 12px; padding: 11px 12px; }
.cti-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cti-name { font-size: 13.5px; font-weight: 500; color: #1f2a3d; line-height: 1.4; }
.cti-del { background: none; border: none; color: #98a2b3; font-size: 14px; cursor: pointer; flex: 0 0 auto; padding: 0 2px; }
.cti-del:hover { color: #e5484d; }
.cti-mid { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.cti-chip { font-size: 11.5px; color: #5a6577; background: #f4f7fa; border: 0.5px solid #e2e7ef; border-radius: 6px; padding: 3px 9px; }
.cti-chip.warn { color: #b0770f; background: #fdf3e2; border-color: #f0dcb4; }
.cti-bot { display: flex; justify-content: space-between; align-items: center; }
.cti-qty { display: flex; align-items: center; gap: 8px; }
.cti-qty button { width: 24px; height: 24px; border: 0.5px solid #d7dde7; background: #fff; border-radius: 7px; font-size: 14px; color: #5a6577; cursor: pointer; line-height: 1; }
.cti-qty button:hover { border-color: #0a8c7d; color: #0a8c7d; }
.cti-qty b { min-width: 16px; text-align: center; font-size: 13.5px; }
.cti-qty small { color: #98a2b3; font-size: 11.5px; margin-left: 2px; }
.cti-sub { font-size: 13.5px; font-weight: 600; color: #1f2a3d; }
.cart-foot { margin-top: 12px; border-top: 0.5px solid #e2e7ef; padding-top: 10px; }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; }
.cart-sum b { font-size: 19px; font-weight: 600; color: #0e7c74; }
.cart-note { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 11.5px; color: #98a2b3; }

/* 分享海报弹窗 */
#sharePosterDialog { border: none; border-radius: 16px; padding: 0; background: transparent; }
#sharePosterDialog::backdrop { background: rgba(10,20,40,.5); }
.sp-dialog { width: min(360px, 92vw); }
.sp-body { padding: 4px 2px 2px; display: flex; flex-direction: column; align-items: center; }
.sp-gen { padding: 40px 10px; color: #5a6678; font-size: 13px; }
.sp-outimg { width: 100%; max-width: 320px; border-radius: 12px; box-shadow: 0 6px 22px rgba(10,30,60,.18); display: block; }
.sp-tips { font-size: 12px; color: #8a94a6; margin: 12px 0 4px; text-align: center; }
.sp-actions { margin: 8px 0 4px; }
.sp-dl { display: inline-block; background: #0a8c7d; color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; padding: 8px 22px; border-radius: 9px; }
.sp-dl:hover { background: #097a6d; }
.ticket-card.hot-flash { box-shadow: 0 0 0 2px #0a8c7d; transition: box-shadow .2s; }

/* 热门产品条（门票页顶部，按下单量排前 6） */
.hot-tickets { margin-bottom: 16px; }
.hot-head { font-size: 13px; font-weight: 700; color: #1a2233; margin-bottom: 8px; }
.hot-sub { font-size: 12px; font-weight: 400; color: #a5641f; margin-left: 4px; }
/* 当季热门橱窗管理 */
.ts-slots { display: flex; flex-direction: column; gap: 7px; }
.ts-slot { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0.5px solid #eef1f5; border-radius: 10px; }
.ts-slot.empty { border-style: dashed; border-color: #d3dae2; }
.ts-num { width: 22px; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #f97316; color: #fff; font-size: 12px; font-weight: 700; border-radius: 6px; }
.ts-num.muted { background: #eef1f5; color: #8a94a6; }
.ts-thumb { width: 46px; height: 34px; flex-shrink: 0; border-radius: 6px; background: #e6eef5 center/cover no-repeat; }
.ts-thumb.empty { background: #eef1f5; }
.ts-info { flex: 1; min-width: 0; }
.ts-info b { display: block; font-size: 13px; color: #1a2a37; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-info small { font-size: 11px; color: #8a94a6; }
.ts-mv { flex-shrink: 0; font-size: 13px; padding: 3px 9px; border: 0.5px solid #d7dde7; border-radius: 6px; background: #fff; cursor: pointer; }
.ts-mv:disabled { opacity: 0.4; cursor: default; }
.ts-search { margin-top: 14px; }
.ts-search input { width: 100%; box-sizing: border-box; font-size: 13px; padding: 8px 11px; border: 0.5px solid #d7dde7; border-radius: 8px; }
.ts-picklist { margin-top: 10px; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 2px; }
.ts-pick { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border: 0.5px solid #eef1f5; border-radius: 9px; background: #fff; }
.ts-pick.on { background: #f2fbf8; border-color: #bfe0d3; }
.ts-thumb.sm { width: 40px; height: 30px; }
.ts-addbtn { flex-shrink: 0; font-size: 12.5px; font-weight: 500; padding: 6px 14px; border: 0.5px solid #00808f; color: #00808f; background: #fff; border-radius: 8px; cursor: pointer; }
.ts-addbtn:hover { background: #eafaf9; }
.ts-addbtn.on { border-color: #bfe0d3; color: #0f7a5a; background: #eafaf1; cursor: pointer; }
.ts-addbtn:disabled { opacity: 0.4; cursor: default; }
.hot-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.hot-card { border: 5px solid #f5d35e; border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; box-shadow: 0 2px 10px rgba(230, 190, 70, 0.18); transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease; }
.hot-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(230, 190, 70, 0.3); border-color: #ecc23f; }
.hot-thumb { position: relative; height: 56px; background-size: cover; background-position: center; background-color: #eef1f5; }
.hot-thumb.empty::after { content: "🎟"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #c4ccd8; }
.hot-rank { position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; border-radius: 50%; background: #98a2b3; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.hot-rank.top { background: #d85a30; }
.hot-info { padding: 6px 7px; }
.hot-name { font-size: 11px; color: #1a2233; line-height: 1.3; height: 28px; overflow: hidden; }
.hot-price { font-size: 11px; color: #0a8c7d; font-weight: 600; margin-top: 2px; }
@media (max-width: 900px) { .hot-row { grid-template-columns: repeat(3, 1fr); } }
/* 立即预定弹窗 */
.bb-field { margin: 4px 0; }
.bb-label { font-size: 13px; color: #475467; display: block; margin-bottom: 6px; }
.bb-dates { display: flex; flex-wrap: wrap; gap: 6px; max-height: 150px; overflow-y: auto; }
.bb-loading { font-size: 12.5px; color: #98a2b3; }
.bb-date { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 12px; padding: 5px 9px; border: 0.5px solid #d7dde7; border-radius: 8px; background: #fff; cursor: pointer; color: #344054; }
.bb-date small { font-size: 10px; color: #0a8c7d; }
.bb-date.on { border: 1.5px solid #0a8c7d; background: #e6f7f4; }
.bb-times { display: flex; flex-wrap: wrap; gap: 6px; }
.bb-time { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 12px; padding: 5px 12px; border: 0.5px solid #d7dde7; border-radius: 8px; background: #fff; cursor: pointer; color: #344054; }
.bb-time small { font-size: 10px; color: #0a8c7d; }
.bb-time.on { border: 1.5px solid #0a8c7d; background: #e6f7f4; }
.bb-times-hint { font-size: 12px; color: #98a2b3; }
.bb-more { flex-basis: 100%; margin-top: 4px; font-size: 12px; padding: 7px; border: 0.5px dashed #c4ccd8; border-radius: 8px; background: #fff; color: #00707d; cursor: pointer; }
.bb-more:hover { background: #f4f7fb; }
.bb-total { font-size: 13px; color: #475467; margin: 6px 0; }
.bb-total b { font-size: 17px; color: #d85a30; }
.bb-total small { color: #98a2b3; margin-left: 4px; }
.bb-sell { background: #f6f8fb; border: 1px solid #e3e9f1; border-radius: 10px; padding: 10px 13px; margin: 8px 0 2px; display: flex; flex-direction: column; gap: 9px; }
.bb-sell[hidden] { display: none; }  /* B2C进货价/卖价行:渠道商(salesMode=false)隐藏;修 .bb-sell 的 display:flex 盖住 hidden 属性的bug */
.bb-sell-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bb-sell-lbl { font-size: 13px; color: #667085; }
.bb-sell-lbl.strong { color: #1f2a37; font-weight: 600; }
.bb-sell-cost { font-size: 13.5px; color: #667085; }
.bb-sell-in { display: flex; align-items: center; gap: 5px; font-size: 14px; color: #475467; }
.bb-sell-in input { width: 112px; height: 34px; text-align: right; font-size: 15px; font-weight: 600; border: 1px solid #c7d2e0; border-radius: 7px; padding: 0 9px; box-sizing: border-box; }
.bb-sell-in input:focus { outline: none; border-color: #1d9e75; box-shadow: 0 0 0 3px rgba(29,158,117,.15); }
.bb-err { color: #c0392b; font-size: 12.5px; background: #fdecec; border: 1px solid #f3c0bb; border-radius: 8px; padding: 7px 10px; margin: 4px 0 2px; }
/* 卡身 */
.tc-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 5px; }
.tc-title { font-size: 13.5px; font-weight: 600; color: #102345; line-height: 1.4; min-height: 38px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-title.bi { min-height: 0; -webkit-line-clamp: 2; }
.tc-title-en { font-size: 11px; color: #98a2b3; line-height: 1.35; margin: 2px 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.tc-code { font-size: 11.5px; color: #8a94a6; }
.tc-vendor { font-size: 11.5px; font-weight: 600; color: #0a6b78; background: #eef7fb; border-radius: 6px; padding: 2px 8px; margin-top: 5px; display: inline-block; }
.tc-acct { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 0 6px; border-radius: 5px; background: #eef6df; color: #5c7a12; }
.tc-price { font-size: 19px; font-weight: 700; color: #0f6e56; }
/* 双十一大促:角标 + 原价划掉 + 红色折后价 + 顶部横幅 */
.tc-img-sale { position: absolute; top: 0; left: 0; background: #b11f1f; color: #ffe08a; font-size: 12px; font-weight: 700; padding: 3px 9px; border-bottom-right-radius: 9px; z-index: 3; letter-spacing: .3px; }
/* 新品上架角标(近14天):左上角红丝带;与折扣角标同在时,折扣下移避让 */
.tc-img-new { position: absolute; top: 0; left: 0; background: #e8502e; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-bottom-right-radius: 9px; z-index: 4; letter-spacing: .2px; box-shadow: 0 2px 6px rgba(232, 80, 46, .32); }
.tc-img-new ~ .tc-img-sale { top: 25px; }
/* 订单已退回补录标记(后台列表·待销售补) */
.ord-bounced { display: inline-block; margin-left: 5px; background: #fff3e3; color: #b4701c; border: 1px solid #f0d9b0; border-radius: 20px; padding: 1px 8px; font-size: 11px; font-weight: 700; cursor: help; vertical-align: middle; }
.tc-price-promo { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.tc-price-orig { font-size: 12.5px; color: #9aa4b2; text-decoration: line-through; font-weight: 400; }
.tc-price-now { font-size: 19px; font-weight: 700; color: #b11f1f; }
.promo-banner-11 { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: #b11f1f; border-radius: 12px; padding: 11px 16px; margin-bottom: 12px; }
.pb11-left { display: flex; align-items: center; gap: 12px; }
.pb11-11 { background: #f5c86a; color: #7a1414; font-size: 16px; font-weight: 800; border-radius: 9px; padding: 5px 10px; line-height: 1; }
.pb11-t { color: #fff; font-size: 16px; font-weight: 600; }
.pb11-t b { color: #ffe08a; }
.pb11-s { color: #f7c9c9; font-size: 12px; margin-top: 2px; }
.pb11-tag { background: #7a1414; color: #ffe08a; font-size: 12px; font-weight: 600; border-radius: 20px; padding: 3px 12px; white-space: nowrap; }
.wb-promo-chip { display: inline-block; margin-left: 7px; background: #b11f1f; color: #ffe08a; font-size: 10.5px; font-weight: 700; border-radius: 20px; padding: 0 7px; vertical-align: 1px; }
/* 成本分析入口「超好用」醒目角标:橙→粉渐变 + 轻脉冲，吸引销售点进去用 */
.wb-tip-chip { display: inline-block; margin-left: 7px; background: linear-gradient(135deg, #ff8a1e, #ff3d6e); color: #fff; font-size: 10.5px; font-weight: 800; border-radius: 20px; padding: 1px 8px; vertical-align: 1px; box-shadow: 0 2px 7px rgba(255, 61, 110, 0.38); animation: wbTipPulse 1.6s ease-in-out infinite; }
@keyframes wbTipPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .wb-tip-chip { animation: none; } }
.tc-price .tc-unit { font-size: 12px; font-weight: 400; color: #8a94a6; }
.tc-pill { font-size: 12px; padding: 2px 8px; border-radius: 7px; background: #f1f5fb; color: #5a6678; }
.tc-pill-off { background: #f1f0ec; color: #8a857a; }
.tc-actions { display: flex; gap: 8px; margin-top: 6px; flex-wrap: nowrap; }
.tc-actions button { flex: 1; padding: 7px 10px; font-size: 13px; white-space: nowrap; }
.tc-actions .del-icon { flex: 0 0 auto; }

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

.row-actions button {
  padding: 8px 10px;
}
/* 删除按钮：红色垃圾箱图标 */
.del-icon { color: #d0342c; border-color: #f0c4bf; display: inline-flex; align-items: center; justify-content: center; padding: 6px 9px; }
.del-icon svg { display: block; }
.del-icon:hover { background: #fdeceb; border-color: #e07a6f; color: #b02a22; }

/* 后台拼房广场 · 卡片视图（对齐渠道端观感） */
.rm-adm-empty { padding: 28px 0; text-align: center; }
.rm-adm-month { margin-bottom: 18px; }
.rm-adm-mhead { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #0a2540; margin: 0 0 10px; }
.rm-adm-mn { background: #eef2f7; color: #66707f; border-radius: 999px; padding: 1px 9px; font-size: 11px; font-weight: 600; }
.rm-adm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.rm-adm-card { display: flex; align-items: stretch; border: 1px solid #e7edf5; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 1px 3px rgba(16, 42, 67, 0.05); }
.rm-adm-card.is-done { border-color: #bfe3cb; }
.rm-adm-cd { flex: 0 0 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.rm-adm-cd span { font-size: 11px; }
.rm-adm-cd b { font-size: 22px; font-weight: 800; line-height: 1; }
.rm-adm-f .rm-adm-cd { background: #fce4ec; }
.rm-adm-f .rm-adm-cd span, .rm-adm-f .rm-adm-cd b { color: #a61e4d; }
.rm-adm-m .rm-adm-cd { background: #e7f5ff; }
.rm-adm-m .rm-adm-cd span, .rm-adm-m .rm-adm-cd b { color: #1864ab; }
.rm-adm-body { flex: 1 1 auto; min-width: 0; padding: 11px 13px; }
.rm-adm-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rm-adm-g { border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap; }
.rm-adm-f .rm-adm-g { background: #f06595; }
.rm-adm-m .rm-adm-g { background: #4dabf7; }
.rm-adm-ppl { background: #eef2f7; color: #56616f; border-radius: 6px; padding: 2px 8px; font-size: 11px; }
.rm-adm-st { margin-left: auto; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.rm-adm-st.open { background: #fff4e6; color: #e8590c; }
.rm-adm-st.lockpay { background: #fdeee6; color: #c2410c; }
.rm-adm-st.done { background: #ebfbee; color: #2b8a3e; }
.rm-adm-title { font-size: 13px; font-weight: 600; color: #071b42; line-height: 1.35; margin-top: 7px; }
.rm-adm-note { font-size: 12px; color: #667085; background: #f7f9fc; border-radius: 7px; padding: 5px 9px; margin-top: 7px; }
.rm-adm-pair { display: flex; align-items: center; gap: 7px; margin-top: 9px; font-size: 12px; color: #344054; flex-wrap: wrap; }
.rm-adm-party { display: inline-flex; align-items: center; gap: 5px; }
.rm-adm-party i { font-style: normal; font-size: 10px; color: #98a2b3; background: #f1f4f9; border-radius: 5px; padding: 1px 6px; }
.rm-adm-sales { font-weight: 700; color: #0b7285; background: #e6fcf5; border: 1px solid #b6ecdf; border-radius: 5px; padding: 0 6px; font-size: 11.5px; }
.rm-adm-arrow { color: #b6c0cd; font-weight: 700; }
.rm-adm-actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-left: 1px solid #f0f3f8; }
.rm-adm-actions .primary { white-space: nowrap; padding: 6px 12px; font-size: 12px; }
/* 卡片上的区域标签 */
.rm-adm-region { border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.rm-adm-regdot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

/* 拼房广场 · 控制条（视图切换 + 区域筛选 + 翻月） */
.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: var(--surface-1); border-radius: 10px; padding: 3px; }
.rm-viewtoggle button { font-size: 13px; padding: 6px 14px; border-radius: 8px; border: none; background: none; color: var(--muted); cursor: pointer; }
.rm-viewtoggle button.active { background: #0f9d8f; color: #fff; font-weight: 600; }
.rm-monthnav { display: inline-flex; align-items: center; gap: 10px; }
.rm-monthnav b { font-size: 14px; font-weight: 600; }
.rm-monthnav button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: #fff; font-size: 16px; line-height: 1; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.rm-monthnav button:hover { background: #f1f5f9; }
.rm-legend { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; color: var(--muted); 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: 500; cursor: pointer; display: inline-flex; align-items: center; }
.rm-schip { padding: 4px 11px; border: 0.5px solid #dbe3ee; }
.rm-flabel { font-size: 11px; color: #8593a4; margin: 0 1px 0 2px; }
.rm-fdiv { width: 1px; height: 18px; background: #dbe3ee; margin: 0 4px; }
.rm-adm-tv { border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.rm-adm-tv.up { background: #e6f1fb; color: #185fa5; }
.rm-adm-tv.past { background: #f1f3f5; color: #64748b; }
.rm-adm-card.rm-clickable { cursor: pointer; }
.rm-adm-card.rm-clickable:hover { box-shadow: 0 4px 14px rgba(15,23,42,0.1); }
.rm-ord-wrap { display: flex; flex-direction: column; gap: 10px; }
.rm-ord-party { border: 0.5px solid #e6ecf3; border-radius: 10px; padding: 11px 13px; background: #fafcfe; }
.rm-ord-role { font-size: 12px; color: #64748b; font-weight: 600; margin-bottom: 6px; }
.rm-ord-line { font-size: 14px; }
.rm-ord-sub { font-size: 12px; color: #64748b; margin: 4px 0 8px; }
.rm-ord-open { padding: 5px 14px; font-size: 13px; }
.rm-ord-none { font-size: 13px; }
.rm-amt-ok { color: #2b8a3e; }
.rm-amt-warn { color: #c2410c; }
.rm-ord-pills { display: flex; gap: 6px; flex-wrap: wrap; margin: 2px 0 9px; }
.rm-ord-pill { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.rm-ord-pill.ok { background: #e7f6ec; color: #1d6b2f; }
.rm-ord-pill.part { background: #e7f1fb; color: #175a96; }
.rm-ord-pill.warn { background: #fdeee6; color: #c2410c; }
.rm-ord-pill.wait { background: #eef1f6; color: #64748b; }
.rm-ord-pill.cancel { background: #fdecec; color: #c0392b; }

/* 拼房广场 · 日历视图（团天数横条） */
.rm-cal-wdrow { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 4px; }
.rm-cal-wd { text-align: center; font-size: 12px; color: var(--muted); }
.rm-cal-grid { border-top: 0.5px solid var(--border); border-left: 0.5px solid var(--border); 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: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); padding: 5px 7px; }
.rm-cal-d { font-size: 12px; color: var(--text); }
.rm-cal-d.other { color: var(--muted); 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: 600; }
.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-bar-code { font-size: 10px; opacity: 0.7; margin-left: auto; flex: 0 0 auto; }
.rm-cal-detail { margin-top: 14px; }
.rm-cal-detail .rm-adm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }

/* 团期日历 · 核心档期 */
.cc-oppbar { display: flex; align-items: center; gap: 6px; background: #fff7e6; border: 1px solid #f2d492; color: #8a5a0b; border-radius: 10px; padding: 9px 14px; font-size: 13px; font-weight: 600; margin-bottom: 12px; cursor: pointer; }
.cc-oppbar:hover { background: #fdefcf; }
.cc-oppbar b { color: #b4741a; }
.cc-kpi-f { cursor: pointer; transition: .12s; }
.cc-kpi-f:hover { background: #eef6f8; }
.cc-kpi.on { background: #0f9d8f; color: #fff; }
.cc-kpi.on b { color: #fff; }
.cc-kpi-clear { display: inline-flex; align-items: center; font-size: 12px; color: #b0433f; cursor: pointer; padding: 0 8px; align-self: center; }
.cc-kpi-clear:hover { text-decoration: underline; }
.pt-legend .pt-lg-f { cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.pt-legend .pt-lg-f:hover { background: #eef2f4; }
.pt-legend .pt-lg-f.on { background: #0f9d8f; color: #fff; }
.cc-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.cc-kpis { display: flex; gap: 8px; flex-wrap: wrap; }
.cc-kpi { background: #f4f7fb; border: 1px solid #e6ebf3; border-radius: 9px; padding: 6px 12px; font-size: 12px; color: #56616f; }
.cc-kpi b { font-size: 16px; font-weight: 800; color: #0e2a44; margin-right: 4px; }
.cc-monthnav { display: inline-flex; align-items: center; gap: 10px; }
.cc-monthnav b { font-size: 15px; font-weight: 800; color: #0f9d8f; }
.cc-monthnav button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid #cbe6ec; background: #fff; color: #0f9d8f; font-size: 18px; line-height: 1; cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.cc-monthnav button:hover { background: #e2f5f8; }
/* 排团看板 · 左右布局 + 右侧筛选面板 */
.pt-layout { display: flex; gap: 14px; align-items: flex-start; }
.pt-main { flex: 1 1 auto; min-width: 0; }
.pt-side { flex: 0 0 172px; border: 1px solid #e7edf5; border-radius: 10px; padding: 12px; }
.pt-side-h { font-size: 11px; color: #98a2b3; margin-bottom: 8px; }
.pt-side-sep { border-top: 1px solid #eef2f7; margin: 12px 0; }
.pt-frows { display: flex; flex-direction: column; gap: 6px; }
.pt-frow { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 11px; border-radius: 8px; font-size: 12.5px; color: #44546c; background: #f4f7fb; cursor: pointer; }
.pt-frow:hover { background: #e9eef5; }
.pt-frow.active { background: #0f9d8f; color: #fff; font-weight: 500; }
.pt-frow-n { font-size: 11px; color: #98a2b3; }
.pt-frow.active .pt-frow-n { color: #eafffb; }

/* 排团看板 · 月历格子 */
.pt-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; color: #66748c; margin-bottom: 10px; }
.pt-legend span { display: inline-flex; align-items: center; gap: 5px; }
.pt-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.pt-legend i.v5 { background: #e6f1fb; border: 1px solid #85b7eb; }
.pt-legend i.v9 { background: #faeeda; border: 1px solid #efb54a; }
.pt-legend i.full { background: #e7f0ff; border: 1px solid #85a8e0; }
.pt-wdrow { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 4px; }
.pt-wd { text-align: center; font-size: 12px; color: var(--muted); }
.pt-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 0.5px solid var(--border); border-left: 0.5px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.pt-cell { min-height: 84px; border-right: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); padding: 4px 5px; }
.pt-cell.other { background: #fafbfc; }
.pt-dnum { font-size: 12px; color: var(--text); }
.pt-cell.other .pt-dnum { color: var(--muted); opacity: 0.5; }
/* 拼团产品·关键词快速筛选 chips（管理端，与渠道端同款） */
.akw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.akw-chip { border: 1px solid #d7e0ec; background: #fff; color: #4a5568; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color .12s, background .12s, color .12s; }
.akw-chip:hover { border-color: #9db8de; }
.akw-chip.on { background: #2f6fd0; border-color: #2f6fd0; color: #fff; }

/* 拼房成功·付款倒计时（后台） */
.rm-adm-pay { font-size: 11px; color: #8a5a12; background: #fff8ec; border: 1px solid #f2dcae; border-radius: 7px; padding: 4px 8px; margin-top: 6px; line-height: 1.5; }
.rm-adm-pay b { color: #c2410c; }
.rm-adm-pay.over { color: #993c1d; background: #fdf0eb; border-color: #f0c4b3; }
.rm-adm-pay.locked { color: #0f6e56; background: #e8f6f0; border-color: #bfe0d9; }

/* 拼房规则 · 小标识 + 说明弹窗（后台） */
.rm-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rm-rules-btn { 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; margin-left: auto; }
.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; }

/* 自费活动 · 按主产品分组卡片 */
.ag-card { border: 1px solid #e3ecf7; border-radius: 12px; background: #fff; margin-bottom: 14px; overflow: hidden; }
.ag-card.collapsed .ag-body { display: none; }
.ag-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; background: #f2f7ff; border-bottom: 1px solid #e3ecf7; }
.ag-card.collapsed .ag-head { border-bottom: 0; }
.ag-caret { color: #2f6fd0; font-size: 12px; width: 14px; flex: none; }
.ag-picon { font-size: 18px; flex: none; }
.ag-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ag-pname { background: none; border: 0; padding: 0; font-size: 14px; font-weight: 700; color: #1f3f7a; cursor: pointer; text-align: left; }
.ag-pname:hover { text-decoration: underline; }
.ag-region { font-size: 11px; font-weight: 600; color: #495057; background: #eef1f5; border-radius: 999px; padding: 2px 9px; flex: none; }
.ag-count { font-size: 12px; font-weight: 600; color: #2f6fd0; background: #fff; border: 1px solid #cfe0f5; border-radius: 999px; padding: 3px 10px; white-space: nowrap; flex: none; }
.ag-add { flex: none; padding: 6px 12px; font-size: 12px; }
.ag-actrow { display: grid; grid-template-columns: 70px minmax(160px,1.6fr) 96px minmax(120px,1fr) 84px auto; gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid #f0f4fa; }
/* 收款流水·多张凭证 */
.rcl-slips { display: inline-flex; flex-wrap: wrap; gap: 4px; }
/* 产品资料·下单必读(纯文字) */
.material-must { border: 1px solid #f3d9a4; background: #fffdf7; }
.material-must .material-cat-head h4 span { font-weight: 400; color: #9a6b2a; }
.must-card { border: 1px solid #f3e2bd; border-radius: 10px; background: #fff; margin-top: 10px; overflow: hidden; }
.must-card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; background: #fff7e6; color: #7a4b06; }
.must-card-h .material-actions { display: flex; gap: 6px; flex: none; position: static; width: auto; margin: 0; padding: 0; border: 0; }
.must-card-h .icon-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.must-card-h .icon-btn svg { flex: none; width: 14px; height: 14px; }
.must-body { padding: 4px 14px 12px; font-size: 13px; line-height: 1.75; color: #2a3532; max-height: 320px; overflow: auto; }
.must-body h5 { margin: 12px 0 2px; font-size: 13.5px; color: #0a6b78; }
.must-body p { margin: 5px 0; }
.must-body b { color: #9a3412; }
/* 订单详情·下单必读确认留痕 */
.om-mr-ack { margin-top: 10px; padding: 7px 12px; border-radius: 8px; background: #fff7e6; border: 1px solid #f3d9a4; color: #7a4b06; font-size: 12.5px; line-height: 1.6; }
/* 接送机调度·派单司导(司导调度回传) */
.td-drvcell .td-drv { display: block; font-size: 12.5px; color: #0f3d44; white-space: nowrap; }
.td-drvcell .td-drv-veh { display: block; font-size: 11px; color: #7a8a90; white-space: nowrap; }
/* 上架/下架开关:上架=绿实心;下架=灰描边+整行变淡+名称划线 */
.ag-onoff { border: 1px solid #cbd5e1; background: #fff; color: #94a3b8; border-radius: 20px; padding: 4px 10px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ag-onoff.on { background: #16a34a; border-color: #16a34a; color: #fff; }
.ag-onoff:hover { filter: brightness(.95); }
.ag-actrow.off { background: #f8fafc; }
.ag-actrow.off > span:not(.ag-astatus):not(.ag-aact) { opacity: .45; }
.ag-actrow.off .ag-aname-t { text-decoration: line-through; }
.ag-actrow:first-child { border-top: 0; }
.ag-code { font-size: 11px; font-weight: 700; color: #8593a4; }
.ag-aname { font-size: 13px; font-weight: 600; color: #33415c; }
.ag-aprice { font-size: 13px; font-weight: 700; color: #33415c; text-align: right; font-variant-numeric: tabular-nums; }
.ag-rebate { display: block; font-size: 10.5px; font-weight: 600; color: #0a6b62; margin-top: 1px; }
.ag-anote { font-size: 12px; color: #6a7686; min-width: 0; }
.ag-aact { display: flex; gap: 6px; justify-content: flex-end; }
.pt-chip { border-radius: 6px; padding: 2px 6px; margin-top: 4px; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.pt-chip:hover { filter: brightness(0.96); }
.pt-chip.v5 { background: #e6f1fb; color: #1c3d7a; }
.pt-chip.v9 { background: #faeeda; color: #854f0b; }
.pt-chip.full { box-shadow: inset 0 0 0 1.5px #1c3d7a; }
.pt-listhead { font-size: 13px; font-weight: 700; color: #0e2a44; margin: 6px 0 10px; }
.pt-chip.pt-charter { background: #eee9fb; color: #4a2e8c; }
.pt-charter-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #e7edf5; border-radius: 9px; margin-bottom: 8px; font-size: 12.5px; cursor: pointer; }
.pt-charter-row:hover { background: #f6f3fd; border-color: #cbbaf0; }
.pt-cr-veh { color: #4a2e8c; }
.pt-cr-src { margin-left: auto; font-size: 11px; color: #98a2b3; }

/* —— 包车日历：横跨 N 天的长条 —— */
.pt-cweeks { border-top: 0.5px solid var(--border); border-left: 0.5px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.pt-cweek { position: relative; }
.pt-cdays { display: grid; grid-template-columns: repeat(7, 1fr); }
.pt-ccell { min-height: calc(30px + var(--lanes, 1) * 25px); border-right: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); padding: 4px 5px; }
.pt-ccell.other { background: #fafbfc; }
/* 手动拖拽排团:合规日期发绿光可放,超规则灰掉,当前核心日蓝底 */
body.core-dragging .pt-cbars { pointer-events: none; }
body.core-dragging #ptDrawer .pt-dw-mask { opacity: 0; pointer-events: none; }
/* 点两下排期模式:团条 click-through 让点击落到日期格,合规格加手型 */
body.sched-mode .pt-cbars { pointer-events: none; }
body.sched-mode .pt-ccell { position: relative; }
body.sched-mode .pt-ccell.pt-drop-ok, body.sched-mode .pt-ccell.pt-drop-cur { cursor: pointer; }
body.sched-mode .pt-ccell.pt-drop-ok:hover { background: #cdeede; box-shadow: inset 0 0 0 2.5px #1d9e75; }
.pt-sched-btn { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 8px; border-radius: 20px; border: 1px solid #0a6b74; background: #fff; color: #0a6b74; font-size: 10.5px; font-weight: 700; cursor: pointer; }
.pt-sched-btn:hover { background: #0a6b74; color: #fff; }
#schedBanner { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1400; background: #0a2540; color: #fff; border-radius: 999px; padding: 10px 16px; font-size: 13px; display: flex; align-items: center; gap: 14px; box-shadow: 0 8px 28px rgba(11,37,64,.32); }
#schedBanner .sb-ok { color: #7fe3c0; }
#schedBanner button { border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; border-radius: 20px; padding: 4px 14px; font-size: 12.5px; cursor: pointer; }
#schedBanner button:hover { background: rgba(255,255,255,.15); }
#schedUndoBar { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1400; background: #0b7355; color: #fff; border-radius: 999px; padding: 9px 10px 9px 18px; font-size: 13px; display: flex; align-items: center; gap: 12px; box-shadow: 0 8px 28px rgba(11,37,64,.32); }
#schedUndoBar .su-to { color: #c9f5e6; }
#schedUndoBar button { border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.12); color: #fff; border-radius: 20px; padding: 4px 14px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
#schedUndoBar button:hover { background: rgba(255,255,255,.22); }
#schedUndoBar button:disabled { opacity: .5; cursor: default; }
#schedUndoBar .su-x { padding: 4px 10px; font-weight: 400; }
.pt-ccell.pt-drop-ok { background: #e3f5ee; box-shadow: inset 0 0 0 2px #5dcaa5; }
.pt-ccell.pt-drop-ok::after { content: "可放"; position: absolute; right: 5px; bottom: 3px; font-size: 10px; font-weight: 700; color: #0b7355; }
.pt-ccell.pt-drop-ok[data-drop-tip]::after { content: attr(data-drop-tip); font-size: 11px; background: #fff; border: 1px solid #9fd8bf; border-radius: 6px; padding: 0 6px; } /* 排期:写清放过去进哪个团 */
.pt-ccell.pt-drop-cur { background: #e6f1fb; box-shadow: inset 0 0 0 2px #85b7eb; }
.pt-ccell.pt-drop-cur::after { content: "当前"; position: absolute; right: 5px; bottom: 3px; font-size: 10px; font-weight: 700; color: #185fa5; }
.pt-ccell.pt-drop-no { opacity: .32; }
.pt-ccell.pt-drop-over { background: #cdeede !important; box-shadow: inset 0 0 0 2.5px #1d9e75 !important; }
body.core-dragging .pt-ccell { position: relative; transition: background .1s; }
.pt-ccell.other .pt-dnum { color: var(--muted); opacity: 0.5; }
.pt-cbars { position: absolute; top: 24px; left: 0; right: 0; display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 22px; row-gap: 3px; pointer-events: none; }
.pt-cbar { pointer-events: auto; margin: 0 3px; padding: 0 8px; height: 22px; line-height: 22px; border-radius: 999px; font-size: 11px; font-weight: 400; cursor: pointer;
  background: #8c80c4; color: #fff; }
.pt-cbar-t { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 包车按实际用车天拆画:实心=包车 · ✈️=接送(读接送机调度状态) · 虚线=不用车 */
.pt-cbar.pt-split { background: transparent !important; padding: 0; display: grid; align-items: center; box-shadow: none; margin: 0; }
.pt-cbar.pt-split:hover { filter: none; box-shadow: none; }
.pt-split .pts-car { background: #8c80c4; color: #fff; height: 22px; line-height: 22px; border-radius: 999px; padding: 0 8px; margin: 0 3px; min-width: 0; }
.pt-split .pts-car.cont-l { border-top-left-radius: 3px; border-bottom-left-radius: 3px; margin-left: 0; }
.pt-split .pts-car.cont-r { border-top-right-radius: 3px; border-bottom-right-radius: 3px; margin-right: 0; }
.pt-split .pts-car:hover { filter: brightness(1.06); box-shadow: 0 2px 7px rgba(111, 122, 224, 0.45); }
.pt-split .pts-none { position: relative; height: 22px; display: flex; align-items: center; justify-content: center; min-width: 0; }
.pt-split .pts-none::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #b8b0de; }
.pt-split .pts-none em { position: relative; font-style: normal; font-size: 10px; color: #8f87b8; background: var(--panel, #fff); padding: 0 5px; border-radius: 5px; white-space: nowrap; }
.pt-split .pts-tr { display: flex; justify-content: center; gap: 2px; min-width: 0; height: 22px; align-items: center; }
.pt-split .pts-tr b { font-size: 10.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; background: #fff; border: 1.5px solid #8c80c4; color: #5a4fa0; border-radius: 999px; padding: 1px 7px; line-height: 16px; cursor: pointer; }
.pt-split .pts-tr b.ok { border-color: #1d8f68; color: #157f56; }
.pt-split .pts-tr b.miss { border-color: #c0433f; color: #c0433f; border-style: dashed; }
.pt-split .pts-tr b:hover { box-shadow: 0 2px 6px rgba(90, 79, 160, .35); }
.pt-cbar.pt-split.hit .pts-car { box-shadow: 0 0 0 2px #0f9d8f, 0 3px 10px rgba(15,157,143,0.5); }
.pt-cbar.pt-split.dim { opacity: 0.28; }
.cc-back { margin-right: 6px; white-space: nowrap; }
.pt-cbar:hover { filter: brightness(1.06); box-shadow: 0 2px 7px rgba(111, 122, 224, 0.45); }
.pt-cbar.cont-l { border-top-left-radius: 3px; border-bottom-left-radius: 3px; margin-left: 0; }
.pt-cbar.cont-r { border-top-right-radius: 3px; border-bottom-right-radius: 3px; margin-right: 0; }
/* 拼团团长条：按车型上色（5座蓝 / 9座琥珀），满8描边；检索命中高亮、其余淡出 */
.pt-cbar.v5 { background: #5a86b8; box-shadow: none; }
.pt-cbar.v9 { background: #d79246; box-shadow: none; }
.pt-cbar.full { box-shadow: inset 0 0 0 2px #0a2540, 0 1px 3px rgba(10,37,64,0.35); }
/* 段级车次横条：按路线上色（南岸绿/黄金圈黄/冰河湖蓝/蓝湖青），左侧留一道竖条标识「这是拆段拼的车」 */
.pt-cbar.seg-run { color: #16242a; box-shadow: inset 3px 0 0 rgba(0,0,0,0.18); font-weight: 700; }
.pt-cbar.seg-run.南岸 { background: linear-gradient(90deg, #7cc79a 0%, #56b07f 100%); }
.pt-cbar.seg-run.黄金圈 { background: linear-gradient(90deg, #f0c14b 0%, #e2a92f 100%); }
.pt-cbar.seg-run.冰河湖 { background: linear-gradient(90deg, #6fb0d0 0%, #4a95bd 100%); }
.pt-cbar.seg-run.蓝湖 { background: linear-gradient(90deg, #63c3c9 0%, #3ba7ae 100%); }
.pt-cbar.seg-run.other { background: linear-gradient(90deg, #b7c2cb 0%, #9aa7b2 100%); }
/* 拆段并团「保留段」小团条：紫色 + 左侧竖条,一眼区分它是被拆出来的一天 */
.pt-cbar.graft-kept { background: linear-gradient(90deg, #a98fe0 0%, #8a6fd0 100%) !important; box-shadow: inset 3px 0 0 rgba(90,50,160,0.55) !important; color: #fff !important; }
.pt-cbar.seg-run:hover { filter: brightness(1.06); box-shadow: inset 3px 0 0 rgba(0,0,0,0.28), 0 2px 7px rgba(20,40,50,0.28); }
.pt-legend i.seg { background: #dbe5ee; border: 1px solid #b8c6d4; box-shadow: inset 3px 0 0 rgba(0,0,0,.35); }
/* 底部颜色说明 */
.pt-colornote { margin-top: 14px; padding: 11px 14px; background: #f6f9fc; border: 1px solid #e7edf5; border-radius: 10px; font-size: 12px; color: #56657a; line-height: 1.9; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.pt-colornote b { color: #33465a; }
.pt-colornote .pcn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pt-colornote .pcn-tx { flex-basis: 100%; color: #6b7a8d; margin-top: 2px; }
.pt-colornote .pcn-i { width: 26px; height: 13px; border-radius: 3px; flex: 0 0 auto; display: inline-block; }
.pt-colornote .pcn-i.v5 { background: #5a86b8; }
.pt-colornote .pcn-i.v9 { background: #d79246; }
.pt-colornote .pcn-i.full { background: #5a86b8; box-shadow: inset 0 0 0 2px #0a2540; }
.pt-colornote .pcn-i.seg { background: #d79246; box-shadow: inset 3px 0 0 rgba(0,0,0,.35); }
.pt-cbar.hit { box-shadow: 0 0 0 2px #0f9d8f, 0 3px 10px rgba(15,157,143,0.5); z-index: 3; }
.pt-cbar.dim { opacity: 0.28; }
/* 余位胶囊：绿=充足 / 橙=剩≤2 / 红=满团，在长条上凸显，便于一眼识别 */
/* 弱化版:「余X」不再用实心白底,改半透明底+淡白字(融进团条不抢眼);只「快满」留一点暖色提示·满团更暗;收X退成淡文字 */
.pt-cbar-t .pt-seat { display: inline-block; margin-left: 7px; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .15); box-shadow: none; font-weight: 500; font-size: 11px; line-height: 16px; vertical-align: middle; color: rgba(255, 255, 255, .92); }
.pt-cbar-t .pt-seat.ok { color: rgba(255, 255, 255, .92); }
.pt-cbar-t .pt-seat.few { background: rgba(255, 184, 97, .4); color: #fff; }
.pt-cbar-t .pt-seat.full { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .6); }
.pt-cbar-t .pt-recv { display: inline; margin-left: 6px; padding: 0; border: 0; background: transparent; color: #fff; font-weight: 400; font-size: 11px; opacity: .82; }
.pt-cbar-t .pt-line { margin-left: 5px; font-size: 11.5px; font-weight: 500; opacity: .92; }
.pt-cbar-t .pt-src { display: inline-block; margin-left: 5px; padding: 0 7px; border-radius: 999px; font-weight: 700; font-size: 10.5px; line-height: 16px; vertical-align: middle; }
.pt-cbar-t .pt-src.b2b { background: #e6f1fb; color: #0c447c; }
.pt-cbar-t .pt-drv { display: inline-block; margin-left: 5px; padding: 0 8px; border-radius: 999px; font-weight: 700; font-size: 10.5px; line-height: 16px; vertical-align: middle; background: #fff; color: #0b7a52; border: 1px solid #b9e2c9; } /* 包车条:已派司导名字标签 */
.pt-cbar-t .pt-src.b2c { background: #e1f5ee; color: #0f6e56; }
/* 检索行 */
/* 检索框：与「4团…」KPI 同一排，占中间弹性空间 */
.cc-search { position: relative; flex: 1 1 240px; min-width: 200px; display: flex; align-items: center; }
.cc-search > .ti { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: #9aa7b6; font-size: 16px; pointer-events: none; }
.cc-search input { width: 100%; height: 34px; padding: 0 12px 0 34px; border: 1px solid #dbe3ec; border-radius: 9px; font-size: 13px; outline: none; }
.cc-search input:focus { border-color: #0f9d8f; box-shadow: 0 0 0 3px rgba(15,157,143,0.14); }
.cc-search-hint { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #6b7a8d; background: #fff; padding-left: 6px; }
.cc-search-hint b { color: #0f9d8f; }

/* 排团看板：按核心日分组的团卡 */
.pt-day { margin-bottom: 18px; }
.pt-day-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #0e2a44; margin: 0 0 9px; }
.pt-day-n { background: #eef2f7; color: #66707f; border-radius: 999px; padding: 1px 9px; font-size: 11px; font-weight: 600; }
.pt-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.pt-team { border: 1px solid #e7edf5; border-radius: 12px; background: #fff; overflow: hidden; }
.pt-team.full { border-color: #cbe6ec; }
.pt-team-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #f4f7fb; padding: 9px 13px; }
.pt-name { font-size: 15px; color: #0e2a44; }
.pt-comp { font-size: 12px; color: #4a6b7a; }
.pt-st { border-radius: 6px; padding: 2px 9px; font-size: 11.5px; font-weight: 700; }
.pt-st.ok { background: #ebfbee; color: #2b8a3e; }
.pt-st.full { background: #e7f0ff; color: #1c3d7a; }
.pt-veh { margin-left: auto; border-radius: 6px; padding: 2px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pt-veh.v5 { background: #e6f1fb; color: #1c3d7a; }
.pt-veh.v9 { background: #faeeda; color: #854f0b; }
.pt-pax-list { padding: 8px 13px 11px; }
.pt-pax { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 8px; margin: 0 -8px; border-bottom: 1px dashed #f0f3f8; font-size: 12.5px; cursor: pointer; border-radius: 7px; }
.pt-pax:last-child { border-bottom: none; }
.pt-pax:hover { background: #f0f9fa; }
.pt-paxn { font-weight: 500; }
.pt-flex { background: #faeeda; color: #854f0b; border-radius: 4px; padding: 0 6px; font-size: 10.5px; }
.pt-src { margin-left: auto; font-size: 11px; color: #98a2b3; }
.pt-pax-go { font-size: 15px; color: #b6c0cd; flex: 0 0 auto; }
.pt-pax:hover .pt-pax-go { color: #0f9d8f; }
.pt-team-flash { box-shadow: 0 0 0 3px rgba(15, 157, 143, 0.55); transition: box-shadow 0.3s; }

/* —— 团期抽屉 —— */
#ptDrawer, #segDrawer, #schedLogicDrawer { position: fixed; inset: 0; z-index: 1200; visibility: hidden; }
#ptDrawer.open, #segDrawer.open, #schedLogicDrawer.open { visibility: visible; }
.pt-dw-mask { position: absolute; inset: 0; background: rgba(11, 37, 64, 0.34); opacity: 0; transition: opacity 0.22s; }
#ptDrawer.open .pt-dw-mask, #segDrawer.open .pt-dw-mask, #schedLogicDrawer.open .pt-dw-mask { opacity: 1; }
.pt-dw-panel { position: absolute; top: 0; right: 0; height: 100%; width: 380px; max-width: 92vw; background: #fff;
  box-shadow: -12px 0 34px rgba(11, 37, 64, 0.18); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.26s cubic-bezier(.4,0,.2,1); }
#ptDrawer.open .pt-dw-panel, #segDrawer.open .pt-dw-panel, #schedLogicDrawer.open .pt-dw-panel { transform: translateX(0); }
/* 排期逻辑:改为从顶部滑下的抽屉(全宽·圆角底·从上方拉出) */
#schedLogicDrawer .pt-dw-panel { top: 0; bottom: auto; left: 0; right: 0; width: 100%; max-width: 100%; height: auto; max-height: 82vh;
  border-radius: 0 0 16px 16px; box-shadow: 0 16px 40px rgba(11, 37, 64, 0.2); transform: translateY(-100%); }
#schedLogicDrawer.open .pt-dw-panel { transform: translateY(0); }
#schedLogicDrawer .pt-dw-body { overflow-y: auto; }
.pt-dw-head { position: relative; padding: 18px 20px 15px; color: #fff;
  background: linear-gradient(135deg, #0f9d8f 0%, #2bb3c9 50%, #6f7ae0 100%); }
.pt-dw-head.full { background: linear-gradient(135deg, #12856f 0%, #1f9aae 60%, #5566cf 100%); }
.pt-dw-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border: none; border-radius: 8px;
  background: rgba(255,255,255,0.18); color: #fff; font-size: 16px; cursor: pointer; line-height: 1; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; }
.pt-dw-x:hover { background: rgba(255,255,255,0.32); }
.pt-dw-title { font-size: 19px; font-weight: 800; letter-spacing: .3px; }
.pt-dw-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 11px 0 8px; }
.pt-dw-b { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,0.2); }
.pt-dw-comp { font-size: 12.5px; opacity: .95; }
.pt-dw-body { flex: 1; overflow-y: auto; padding: 14px 18px 8px; }
.pt-dw-sec { font-size: 12px; font-weight: 700; color: #6b7a8d; margin: 2px 0 10px; }
.pt-dw-pax { position: relative; border: 1px solid #e7edf5; border-radius: 11px; padding: 10px 34px 10px 13px; margin-bottom: 9px; cursor: pointer; transition: .16s; }
.pt-dw-pax.draggable { cursor: grab; border-color: #cbe6e2; }
/* 从订单「调整」跳来:这位客人的卡片高亮 + 闪两下 */
.pt-dw-pax.pt-dw-focus { border: 2px solid #f0a020; background: #fffaf0; box-shadow: 0 0 0 4px rgba(240,160,32,.18); animation: ptDwFlash .7s ease-in-out 2; }
@keyframes ptDwFlash { 50% { box-shadow: 0 0 0 9px rgba(240,160,32,.32); } }
@media (prefers-reduced-motion: reduce) { .pt-dw-pax.pt-dw-focus { animation: none; } }
.pt-dw-pax.draggable:active { cursor: grabbing; }
.pt-dw-pax.dragging { opacity: .45; }
.pt-flex-drag { color: #0a6b74; font-weight: 700; }
.pt-dw-pax:hover { border-color: #7fd6cc; background: #f0f9fa; box-shadow: 0 4px 12px rgba(15,157,143,.1); }
.pt-dw-pax-top { display: flex; align-items: center; gap: 8px; }
.pt-dw-paxn { font-size: 14.5px; font-weight: 700; color: #0a2540; }
.pt-dw-paxdate { font-size: 12px; font-weight: 700; color: #b45309; background: #fef6e6; border: 1px solid #f2dca8; border-radius: 6px; padding: 1px 8px; white-space: nowrap; }
.pt-dw-paxq { font-size: 12px; color: #0f9d8f; font-weight: 700; margin-left: auto; }
.pt-dw-pax-sub { font-size: 12px; color: #6b7a8d; margin-top: 3px; }
.pt-dw-src { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 2px 9px; margin-top: 6px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pt-dw-src.b2b { color: #0c447c; background: #e6f1fb; border: 1px solid #b5d4f4; }
.pt-dw-src.b2c { color: #0f6e56; background: #e1f5ee; border: 1px solid #9fe1cb; }
.pt-dw-src-sep { opacity: .45; font-weight: 400; margin: 0 1px; }
.pt-reassign-wrap { display: flex; align-items: center; gap: 6px; margin-top: 7px; }
.pt-reassign-lb { font-size: 11px; color: #7c3aed; font-weight: 700; white-space: nowrap; }
.pt-reassign { flex: 1; min-width: 0; height: 28px; font-size: 11.5px; border: 1px solid #d6c7f2; border-radius: 7px; background: #faf7ff; color: #5b3fb0; padding: 0 6px; cursor: pointer; }
.pt-reassign:hover { border-color: #a884e8; }
/* 拆段并团:抽屉内入口按钮 + 状态徽章 */
.pt-graft-open { margin-top: 7px; width: 100%; height: 30px; font-size: 11.5px; font-weight: 700; border: 1px dashed #a884e8; border-radius: 7px; background: #f7f2ff; color: #6b3fc0; cursor: pointer; }
.pt-graft-open:hover { background: #efe6ff; border-style: solid; }
.pt-graft-badge { margin-top: 7px; font-size: 11.5px; font-weight: 600; color: #5b3fb0; background: #f3eefc; border: 1px solid #dcccf5; border-radius: 8px; padding: 6px 9px; line-height: 1.5; }
.pt-graft-undo { margin-left: 4px; font-size: 11px; font-weight: 700; border: 1px solid #d6c7f2; border-radius: 6px; background: #fff; color: #7c3aed; padding: 2px 8px; cursor: pointer; }
.pt-graft-undo:hover { background: #faf7ff; border-color: #a884e8; }
.pt-reassign-pin { font-size: 12px; flex: 0 0 auto; }
.pt-dw-pax .pt-flex { display: inline-block; margin-top: 6px; }
.pt-dw-go { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); font-size: 17px; color: #c2ccd8; }
.pt-dw-pax:hover .pt-dw-go { color: #0f9d8f; }
/* 段级车乘客卡：左侧醒目团天数牌（短团绿/中团蓝/长团紫）+ 右侧信息 */
.pt-dw-pax.segpax { display: flex; align-items: stretch; padding: 0; overflow: hidden; cursor: default; }
.segpax-day { flex: 0 0 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.segpax-day b { font-size: 21px; font-weight: 800; line-height: 1; }
.segpax-day span { font-size: 11px; margin-top: 2px; }
.segpax-day.d3 { background: #e1f5ee; color: #0f6e56; }
.segpax-day.d5 { background: #e6f1fb; color: #0c447c; }
.segpax-day.d7 { background: #eeedfe; color: #3c3489; }
.segpax-main { flex: 1; min-width: 0; padding: 9px 12px; }
.segpax .pt-dw-pax-top { display: flex; align-items: center; gap: 7px; }
.segpax .pt-dw-paxn { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.segpax .pt-dw-paxq { flex: 0 0 auto; margin-left: 0; white-space: nowrap; }
.segpax .sr-undo { flex: 0 0 auto; margin-left: auto; white-space: nowrap; border: 1px solid #f0c8c4; background: #fdf2f1; color: #c0433f; border-radius: 999px; padding: 3px 10px; font-size: 11.5px; font-weight: 700; cursor: pointer; line-height: 1.4; }
.segpax .sr-undo:hover { background: #f9e3e1; border-color: #e6a8a2; }
.segpax .pt-dw-paxdate { display: inline-block; margin-top: 6px; }
.segpax .pt-dw-pax-sub { margin-top: 5px; }
.pt-dw-foot { padding: 11px 18px 15px; font-size: 11.5px; color: #94a2b3; border-top: 1px solid #eef2f7; }
.pt-dw-packet { margin-top: 12px; width: 100%; border: none; border-radius: 9px; background: rgba(255,255,255,0.22); color: #fff; font-size: 13px; font-weight: 600; padding: 9px; cursor: pointer; }
.pt-dw-packet:hover { background: rgba(255,255,255,0.34); }

/* —— 团操作包：内容区整页（保留侧栏，铺满，操作包顶栏替代原页顶栏） —— */
#ptPacket { position: fixed; top: 0; left: var(--fs-left, 176px); right: 0; bottom: 0; background: #fff; z-index: 45; overflow-y: auto; display: none; }
#ptPacket.open { display: block; }
.pkt-panel { max-width: none; margin: 0; min-height: 100%; background: #fff; border-radius: 0; box-shadow: none; }
.pkt-head { position: sticky; top: 0; z-index: 5; padding: 14px 26px 14px; border-radius: 0; color: #fff; background: linear-gradient(135deg, #0f9d8f 0%, #2bb3c9 50%, #6f7ae0 100%); }
.pkt-back { position: absolute; top: 13px; left: 16px; border: none; background: rgba(255,255,255,0.2); color: #fff; font-size: 12.5px; padding: 5px 11px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.pkt-back:hover { background: rgba(255,255,255,0.34); }
.pkt-x { position: absolute; top: 13px; right: 14px; width: 30px; height: 30px; border: none; border-radius: 8px; background: rgba(255,255,255,0.2); color: #fff; font-size: 15px; cursor: pointer; }
.pkt-x:hover { background: rgba(255,255,255,0.34); }
.pkt-title { font-size: 19px; font-weight: 800; margin-top: 26px; }
.pkt-sub { font-size: 12.5px; opacity: 0.95; margin-top: 3px; }
.pkt-body { padding: 16px 22px 26px; }
.pkt-h { font-size: 13px; font-weight: 700; color: #0e2a44; margin: 0 0 8px; }
.pkt-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pkt-tbl th { text-align: left; font-weight: 600; color: #6b7a8d; background: #f4f7fb; padding: 7px 9px; border: 0.5px solid #e7edf5; white-space: nowrap; }
.pkt-tbl td { padding: 8px 9px; border: 0.5px solid #e7edf5; vertical-align: top; }
.pkt-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; color: #0f6e8f; }
.pkt-gsub { font-size: 11px; color: #7a8aa0; margin-top: 3px; }
.pkt-gclick { cursor: pointer; }
.pkt-gclick .ti { font-size: 12px; color: #b6c0cd; vertical-align: -1px; }
.pkt-gclick:hover { background: #f2fbf9; }
.pkt-gclick:hover b { color: #0f9d8f; text-decoration: underline; }
.pkt-gclick:hover .ti { color: #0f9d8f; }
.pkt-pay { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.pkt-pay .ti { font-size: 13px; color: #b6c0cd; }
.pkt-pay:hover { text-decoration: underline; }
.pkt-pay:hover .ti { color: #0f9d8f; }
/* 订单：不计入年度返点开关 + 标记 */
.rebate-ex { grid-column: 1 / -1; border: 1px solid #f0d48a; background: #fdf7e8; border-radius: 10px; padding: 10px 12px; margin-top: 4px; }
.rebate-ex-toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #8a5a0b; cursor: pointer; }
.rebate-ex-toggle input { width: 16px; height: 16px; accent-color: #ba7517; }
.rebate-ex-hint { display: block; font-size: 11.5px; color: #9a6a1a; margin-top: 5px; line-height: 1.5; }
.rebate-ex-hint b { color: #7a4e08; }
.rebate-ex #orderRebateNote { margin-top: 8px; width: 100%; height: 34px; border: 1px solid #e6cf9a; border-radius: 8px; padding: 0 10px; font-size: 12.5px; }
.rebate-ex-badge { font-size: 11.5px; font-weight: 600; color: #c0392b; background: #fdf3cf; border: 1px solid #f0d48a; border-radius: 999px; padding: 2px 9px; }
.waiver-badge { font-size: 11.5px; font-weight: 700; color: #0b6e5f; background: #e3f7f1; border: 1px solid #a9e0d3; border-radius: 999px; padding: 2px 9px; }
.voided-badge { font-size: 11.5px; font-weight: 700; color: #8a4b12; background: #fdeede; border: 1px solid #f2c99a; border-radius: 999px; padding: 2px 9px; }
.rebate-ex-tag { display: inline-block; font-size: 10.5px; font-weight: 600; color: #c0392b; background: #fdf3cf; border-radius: 999px; padding: 1px 6px; margin-left: 4px; white-space: nowrap; }
.ci-actions { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.ci-del { padding: 5px 8px; }
.ci-del:hover { background: #fceceb; border-color: #e2557a; }
button.ghost.danger { color: #c0392b; border-color: #f0c9c4; }
button.ghost.danger:hover { background: #fceceb; }
.pkt-days { font-size: 10.5px; background: #e6f1fb; color: #185fa5; border-radius: 999px; padding: 1px 7px; margin-left: 2px; }
.pkt-scroll { overflow-x: auto; }
.pkt-day { width: 100%; border-collapse: collapse; font-size: 12px; table-layout: fixed; min-width: 780px; }
.pkt-day td, .pkt-day th { overflow-wrap: anywhere; word-break: break-word; }
.pkt-day th { text-align: left; font-weight: 600; color: #6b7a8d; background: #f4f7fb; padding: 7px 9px; border: 0.5px solid #e7edf5; }
.pkt-day td { padding: 7px 8px; border: 0.5px solid #e7edf5; vertical-align: top; }
.pkt-date { font-weight: 600; color: #0f9d8f; white-space: nowrap; }
.pkt-route { font-size: 11.5px; line-height: 1.5; color: #33465a; white-space: normal; overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
.pkt-route > div { overflow-wrap: anywhere; word-break: break-word; }
.pkt-route-txt { margin-top: 5px; }
.pkt-nohotel { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; color: #9aa6b2; font-size: 12.5px; background: #f7f9fb; border: 1px dashed #dbe3ea; border-radius: 10px; text-align: center; }
.pkt-nohotel small { color: #b6c0cc; font-size: 11px; }
.pkt-route-txt.editable { border: 1px dashed transparent; border-radius: 6px; padding: 3px 6px; margin: 4px -6px 0; cursor: text; min-height: 18px; outline: none; }
.pkt-route-txt.editable:hover { border-color: #d6c3a0; background: #fffdf8; }
.pkt-route-txt.editable:focus { border-color: #d98a2b; background: #fff; box-shadow: 0 0 0 3px rgba(217,138,43,.12); }
.pkt-route-txt.editable:empty::before { content: "＋ 点此填写本天行程（排团挪出的自由日 / 个性天）"; color: #b08a5a; font-style: italic; }
/* 操作包：每单一个 tab + 核心共享绿标 */
.pkt-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.pkt-tab { font-size: 12.5px; padding: 8px 13px; border: 0.5px solid #e7edf5; border-radius: 8px; background: #fff; color: #56657a; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: .12s; }
.pkt-tab:hover { border-color: #9fd6cc; color: #0f7a6b; }
.pkt-tab.on { background: #0f6e56; color: #fff; font-weight: 500; border-color: #0f6e56; box-shadow: 0 0 0 3px rgba(15,110,86,.15); }
.pkt-tab.on:hover { color: #fff; }
.pkt-tab.on .pkt-tabmeta { background: rgba(255,255,255,.2) !important; color: #e2f5ee !important; border-color: transparent !important; }
/* 天数+人数合一颗胶囊,按天数长短分色(短程蓝/长程紫) */
.pkt-tabmeta { display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 1px 9px; white-space: nowrap; }
.pkt-tabmeta .ptm-dot { opacity: .4; margin: 0 3px; }
.pkt-tabmeta.short { background: #e8f0ff; color: #2b52c9; border: 1px solid #c7d6f7; }
.pkt-tabmeta.long { background: #f3e8ff; color: #7c3aed; border: 1px solid #e0ccfb; }
.pkt-corerow td { background: #f0fbf7; }
/* 待排自费活动托盘:OP 排到对应天 */
.pkt-tray { margin: 8px 0 12px; border: 1px dashed #e0b892; background: #fff8ef; border-radius: 10px; padding: 10px 12px; }
.pkt-tray-h { font-size: 13px; font-weight: 700; color: #9a5b13; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; cursor: pointer; user-select: none; }
.pkt-tray.open .pkt-tray-h { margin-bottom: 8px; }
.pkt-tray-h:hover { color: #7a4a0e; }
.pkt-tray-h .pkt-tray-hint { font-weight: 400; }
.pkt-tray-h .pkt-tray-chev { margin-left: auto; font-size: 12px; color: #b98a4e; transition: transform .15s; }
.pkt-tray.open .pkt-tray-h .pkt-tray-chev { transform: rotate(180deg); }
.pkt-tray-h .tray-pend-n { color: #c2410c; background: #ffe9d6; border-radius: 999px; padding: 1px 9px; font-weight: 800; }
.pkt-tray-h .tray-done-n { color: #0f6e56; font-weight: 700; }
.pkt-tray.has-pending { border-color: #e08a1e; background: #fff4e6; }
.pkt-tray-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 0.5px solid #ecdcc4; border-radius: 8px; padding: 9px 12px; margin-bottom: 6px; }
.pkt-tray-item:last-child { margin-bottom: 0; }
/* 左:自费活动内容 */
.pkt-tray-item .tray-info { flex: 1 1 auto; min-width: 0; }
.pkt-tray-item .tray-l1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.pkt-tray-item .tray-nm { font-size: 13px; font-weight: 600; color: #16242a; }
.pkt-tray-item .tray-badge { font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.pkt-tray-item .tray-badge.sh { background: #e4f7ee; color: #0f6e56; }
.pkt-tray-item .tray-badge.so { background: #faeeda; color: #854f0b; }
.pkt-tray-item .tray-who { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; color: #6b7c88; }
/* 订单数标签 + 每单一个小块 */
.pkt-tray-item .tray-cnt { font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.pkt-tray-item .tray-cnt.sh { background: #e4f7ee; color: #0f6e56; }
.pkt-tray-item .tray-cnt.so { background: #faeeda; color: #854f0b; }
.pkt-tray-item .tray-ochip { display: inline-flex; align-items: center; font-size: 11.5px; color: #33424c; background: #f3f6f9; border: 0.5px solid #dbe3ea; border-radius: 6px; padding: 2px 8px; }
.pkt-tray-item .tray-ochip .tc-no { color: #7a8a96; font-size: 10px; }
/* 状态区分:待排=琥珀实心跳出来 / 已排=淡化退后(不用琥珀) */
.pkt-tray-item.pending { border: 1px solid #efc16f; border-left: 4px solid #e08a1e; background: #fff6e6; }
.pkt-tray-item.placed { border-color: #dfeae4; border-left: 4px solid #9fd4bd; background: #fbfdfc; }
.pkt-tray-item.placed .tray-nm { color: #6a7b71; }
.pkt-tray-item .tray-st { font-size: 10px; font-weight: 800; color: #fff; border-radius: 4px; padding: 1px 7px; white-space: nowrap; }
.pkt-tray-item .tray-st.pending { background: #e08a1e; }
.pkt-tray-item .tray-st.placed { background: #12a56a; }
/* 右:待排=橙色高亮待办下拉 */
.pkt-tray-item .tray-day { flex: 0 0 360px; width: 360px; max-width: 46%; height: 36px; font-size: 12px; border: 1px solid #d98a2b; border-radius: 7px; padding: 0 8px; background: #fff8ef; color: #9a5b13; font-weight: 600; cursor: pointer; }
.pkt-tray-item .tray-day.pending { border: 1.5px solid #e08a1e; background: #fff3e0; font-weight: 700; box-shadow: 0 0 0 3px rgba(224,138,30,.12); }
/* 右:已排=绿色定稿块 + 小改天下拉 */
.pkt-tray-item .tray-ctrl { flex: 0 0 360px; width: 360px; max-width: 46%; display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.pkt-tray-item .tray-doneb { font-size: 12.5px; font-weight: 700; color: #0f6e56; background: #e4f7ee; border: 1px solid #bfe6d4; border-radius: 8px; padding: 6px 12px; white-space: nowrap; }
.pkt-tray-item .tray-day.change { flex: 0 0 auto; width: auto; height: 34px; border: 1px solid #d6dfe3; background: #fff; color: #4a5b66; font-weight: 500; box-shadow: none; }
@media (max-width: 760px) { .pkt-tray-item { flex-direction: column; align-items: stretch; gap: 8px; } .pkt-tray-item .tray-day, .pkt-tray-item .tray-ctrl { flex-basis: auto; width: 100%; max-width: none; } }
.pkt-coreb { display: inline-block; font-size: 10.5px; font-weight: 600; background: #e4f7ee; color: #0f6e56; border-radius: 999px; padding: 1px 8px; }
.pkt-solob { display: inline-block; font-size: 10.5px; font-weight: 600; background: #faeeda; color: #854f0b; border-radius: 999px; padding: 1px 8px; }
.pkt-item { position: relative; border: 0.5px solid #e7edf5; border-radius: 8px; padding: 7px 9px 7px; margin-bottom: 6px; cursor: pointer; background: #fff; transition: 0.14s; }
.pkt-item:hover { border-color: #7fd6cc; background: #f2fbf9; }
.pkt-item.staled { opacity: 0.65; border-style: dashed; }
.pkt-iname { font-size: 12px; font-weight: 600; color: #0a2540; line-height: 1.4; }
.pkt-icf { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10.5px; color: #0f6e8f; margin-top: 2px; }
.pkt-joint { display: block; font-size: 10px; font-weight: 700; color: #fff; background: #6b4fd6; border-radius: 5px; padding: 2px 6px; margin-top: 3px; white-space: normal; word-break: break-word; line-height: 1.45; }
.pkt-by { display: inline-block; font-size: 10px; font-weight: 700; color: #0a6b74; background: #e6f4f5; border-radius: 5px; padding: 1px 6px; margin-left: 5px; }
.hbrow .hbby { font-size: 10px; font-weight: 700; color: #0a6b74; background: #e6f4f5; border-radius: 5px; padding: 0 6px; }
/* 加门票弹窗内「从 Bókun 带价」搜索条 */
.bkph { border: 1px solid #cfe0ee; background: #f4f9fd; border-radius: 10px; padding: 10px 12px; margin-bottom: 4px; }
.bkph-h { font-size: 12.5px; font-weight: 700; color: #0f5e86; margin-bottom: 7px; }
.bkph-h .muted { font-weight: 400; font-size: 11px; }
.bkph-row { display: flex; gap: 8px; }
.bkph-q { flex: 1; width: auto; border: 1px solid #c2d4e4; border-radius: 8px; padding: 7px 10px; font-size: 13px; background: #fff; }
.bkph-search { flex: 0 0 auto; border: none; border-radius: 8px; padding: 7px 16px; background: #0f7aa8; color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.bkph-results { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; max-height: 168px; overflow-y: auto; }
.bkph-results:empty { display: none; }
.bkph-item { text-align: left; border: 1px solid #dbe6f0; background: #fff; border-radius: 8px; padding: 7px 10px; font-size: 12.5px; cursor: pointer; color: #16203a; }
.bkph-item:hover { border-color: #0f7aa8; background: #eef7fc; }
.bkph-item.on { border-color: #0f7aa8; box-shadow: 0 0 0 1px #0f7aa8 inset; }
.bkph-vd { color: #8a94a6; font-size: 11px; }
.bkph-pr { color: #b06a12; font-weight: 700; }
.bkph-status { font-size: 12px; margin-top: 7px; min-height: 16px; color: #5b6472; }
.bkph-status.ok { color: #0d7a3f; font-weight: 700; }
.bkph-status.err { color: #c0392b; }
.pkt-icost { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 3px; font-size: 10.5px; }
.pkt-icost .pic-buy { color: #8a6a2a; background: #fff6e9; border: 0.5px solid #f0dcbc; border-radius: 5px; padding: 1px 6px; font-weight: 600; line-height: 1.5; max-width: 100%; word-break: break-word; }
.pkt-icost .pic-share { color: #0a6b74; background: #e6f4f5; border: 0.5px solid #bfe3e6; border-radius: 5px; padding: 1px 6px; font-weight: 700; line-height: 1.5; }
.pkt-icost .pic-share b { color: #007782; }
.pkt-bkgo { display: block; margin-top: 5px; border: 1px solid #b9dcf0; background: #eaf6fd; color: #0f6e96; border-radius: 6px; padding: 3px 8px; font-size: 10.5px; font-weight: 700; cursor: pointer; width: 100%; }
.pkt-bkgo:hover { background: #d9eefb; border-color: #0f7aa8; }
/* 本单成本·毛利条 */
.pkt-margin { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; background: #0f2733; color: #eaf6f3; border-radius: 10px; padding: 10px 14px; margin: 10px 0 4px; font-size: 12.5px; }
.pkt-margin .pm-l { font-weight: 800; color: #fff; }
.pkt-margin .pm-i { color: #b6cfca; }
.pkt-margin .pm-i b { color: #eaf6f3; font-size: 14px; margin-left: 2px; }
.pkt-margin .pm-i b.cost { color: #f0b37e; }
.pkt-margin .pm-i b.gross { color: #54e39c; font-size: 16px; }
.pkt-margin .pm-i b.gross.neg { color: #ff8a80; }
.pkt-margin .pm-op { color: #6f8a84; font-weight: 700; }
.pkt-margin .pm-rate { display: inline-block; font-size: 11px; font-weight: 800; background: #1e5c3a; color: #8ff0bd; border-radius: 5px; padding: 1px 7px; margin-left: 4px; }
.pkt-margin .pm-rate.neg { background: #5c1e1e; color: #ffb3ab; }
.pkt-margin .pm-note { margin-left: auto; color: #7f9c96; font-size: 11px; }
.pkt-del { position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; border: none; border-radius: 5px; background: transparent; color: #c2ccd8; font-size: 14px; line-height: 1; cursor: pointer; }
.pkt-item:hover .pkt-del { color: #e2557a; }
.pkt-pill { display: inline-block; font-size: 10.5px; padding: 1px 8px; border-radius: 999px; margin-top: 5px; }
.pkt-pill.ok { background: #e4f7ee; color: #0f6e56; }
.pkt-pill.wait { background: #faeeda; color: #854f0b; }
.pkt-pill.todo { background: #fceceb; color: #a32d2d; }
.pkt-pill.stale { background: #eef1f4; color: #6b7a8d; }
.pkt-share { font-size: 10.5px; font-weight: 600; background: #e4f7ee; color: #0f6e56; border-radius: 999px; padding: 1px 6px; }
.pkt-2p { font-size: 10.5px; background: #f0f3f8; color: #6b7a8d; border-radius: 999px; padding: 1px 6px; }
.pkt-qty { font-size: 10.5px; font-weight: 800; background: #fff3e0; color: #b9791a; border: 1px solid #f0d6a8; border-radius: 999px; padding: 1px 7px; }
.pkt-warn { display: inline-block; font-size: 10.5px; font-weight: 600; color: #a32d2d; background: #fceceb; border-radius: 999px; padding: 1px 7px; margin: 5px 0 0 5px; }
.pkt-add { border: 1px dashed #cdd7e3; border-radius: 7px; background: transparent; color: #7a8aa0; font-size: 11px; padding: 3px 8px; cursor: pointer; width: 100%; }
.pkt-add:hover { border-color: #0f9d8f; color: #0f9d8f; }
/* ===== 包车操作包·左侧紧凑清单(2026-09) ===== */
#opPkList .opl-urgbtn { display: block; width: 100%; text-align: left; border: 0.5px solid #f0c9a8; background: #fdf1e6; color: #a8560f; border-radius: 9px; padding: 8px 11px; font-size: 12.5px; font-weight: 700; cursor: pointer; margin-bottom: 8px; }
#opPkList .opl-urgbtn.on { background: #f8d9b8; border-color: #e0a55a; }
.opl-row { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; border: 0.5px solid #e7edf5; border-left: 3px solid transparent; border-radius: 8px; background: #fff; padding: 7px 9px; margin-bottom: 5px; cursor: pointer; transition: 0.12s; }
.opl-row:hover { border-color: #7fd6cc; background: #f6fbfa; }
.opl-row.on { border-color: #0f9d8f; background: #eafaf7; border-left-color: #0f9d8f; }
.opl-row.u-od { border-left-color: #d84a3a; } .opl-row.u-soon { border-left-color: #e08a2a; }
.opl-main { flex: 1; min-width: 0; }
.opl-r1 { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.opl-r1 b { color: #1a2a3a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opl-u { flex: 0 0 auto; font-size: 10.5px; font-weight: 700; border-radius: 20px; padding: 1px 7px; }
.opl-u.od { background: #fbe4e0; color: #a8321f; } .opl-u.soon { background: #fce2c6; color: #8a5a12; }
.opl-r2 { font-size: 11.5px; color: #8695a6; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opl-badge { flex: 0 0 auto; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 7px; }
.opl-badge.todo { background: #fceceb; color: #a32d2d; } .opl-badge.part { background: #fff3e0; color: #b9791a; } .opl-badge.done { background: #e4f7ee; color: #0f6e56; }
/* ===== 包车操作包·逐日视图(2026-09) ===== */
.op-pk-head2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.op-pk-head2 .oph-title { font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 8px; border: 1px solid #d7e3ee; background: #f6fafd; transition: background .12s, border-color .12s; }
.op-pk-head2 .oph-title b { font-size: 16px; }
.op-pk-head2 .oph-title .ti { font-size: 13px; color: #8aa0b4; }
.op-pk-head2 .oph-title:hover { background: #eafaf7; border-color: #0f9d8f; }
.op-pk-head2 .oph-title:hover b { color: #0f9d8f; }
.op-pk-head2 .oph-title:hover .ti { color: #0f9d8f; }
.op-pk-head2 .oph-title .oph-pax { font-size: 12px; font-weight: 700; color: #0f9d8f; background: #e1f5ee; border-radius: 20px; padding: 0 8px; }
.op-pk-head2 .oph-title .oph-src { font-size: 12px; font-weight: 700; border-radius: 6px; padding: 2px 9px; white-space: nowrap; }
.op-pk-head2 .oph-title .oph-src.b2b { color: #0c447c; background: #e6f1fb; border: 1px solid #b5d4f4; }
.op-pk-head2 .oph-title .oph-src.b2c { color: #0f6e56; background: #e1f5ee; border: 1px solid #9fe1cb; }
.op-pk-head2 .oph-title .oph-src-sep { opacity: .45; font-weight: 400; }
.oamt-seg { display: inline-flex; border: 1px solid #cbd7e2; border-radius: 7px; overflow: hidden; flex: none; }
.oamt-seg button { border: 0; padding: 0 13px; font-size: 13px; background: #fff; color: #5c6f77; cursor: pointer; }
.oamt-seg button.on { background: #0f8b8b; color: #fff; font-weight: 600; }
.op-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.op-sc { background: #f6f9fc; border: 0.5px solid #e7edf5; border-radius: 9px; padding: 9px 12px; }
.op-sc .k { font-size: 12px; color: #6b7a8d; }
.op-sc .v { font-size: 19px; font-weight: 800; color: #1a2a3a; font-variant-numeric: tabular-nums; margin-top: 1px; }
.op-sc .v small { font-size: 12px; color: #9aa7b6; font-weight: 600; }
.op-sc .v.pos { color: #0f6e56; } .op-sc .v.neg { color: #c0392b; }
.op-vbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.op-vtoggle { display: inline-flex; border: 0.5px solid #dbe3ec; border-radius: 9px; overflow: hidden; }
.op-vtoggle button { border: none; background: #fff; color: #5c6f83; font-size: 13px; padding: 6px 14px; cursor: pointer; }
.op-vtoggle button.on { background: #0f9d8f; color: #fff; }
.opd-day { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.opd-badge { flex: 0 0 62px; text-align: center; padding-top: 4px; }
.opd-badge b { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #eef4f9; color: #2a4a63; font-size: 14px; border: 0.5px solid #dbe6ef; }
.opd-badge small { display: block; font-size: 11px; color: #6b7a8d; margin-top: 5px; }
.opd-unsched .opd-badge b { width: auto; height: auto; border-radius: 9px; padding: 5px 9px; background: #fdf1dc; color: #8a5a12; border-color: #f0d6a8; font-size: 12px; }
.opd-items { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.opd-plan { font-size: 12.5px; line-height: 1.65; color: #35506a; background: #eef5fb; border: 0.5px solid #d6e6f4; border-left: 3px solid #7aa8d8; border-radius: 8px; padding: 8px 11px; }
.opd-plan .opd-hotel, .opd-plan .opd-act { display: inline-block; margin-left: 8px; font-size: 11.5px; color: #5c6f83; background: #fff; border: 0.5px solid #dbe6ef; border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.opd-empty { font-size: 12px; color: #9aa7b6; padding: 6px 2px; }
.opd-add { display: flex; gap: 6px; flex-wrap: wrap; }
.opd-addbtn { border: 0.5px dashed #cdd7e3; border-radius: 7px; background: transparent; color: #7a8aa0; font-size: 11.5px; padding: 4px 10px; cursor: pointer; }
.opd-addbtn:hover { border-color: #0f9d8f; color: #0f9d8f; }
.pkt-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 0.5px solid #e7edf5; border-radius: 9px; padding: 9px 11px; cursor: pointer; transition: 0.14s; }
.pkt-row:hover { border-color: #7fd6cc; background: #f5fbfa; }
.pkt-ric { flex: 0 0 auto; font-size: 17px; width: 22px; text-align: center; }
.pkt-rmain { flex: 1; min-width: 0; }
.pkt-rname { font-size: 14px; font-weight: 600; color: #1a2a3a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pkt-rsub { font-size: 12px; color: #5c6f83; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pkt-rsub.muted { color: #a3b0be; }
.pkt-dsel { flex: 0 0 auto; font-size: 12px; border: 0.5px solid #dbe3ec; border-radius: 6px; padding: 4px 6px; background: #fff; color: #3c4c5e; cursor: pointer; max-width: 94px; }
.pkt-rtype { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #5c6f83; background: #f2f5f9; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.pkt-rtype i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.pkt-row .pkt-pill { margin-top: 0; flex: 0 0 auto; }
.pkt-row .pkt-del { position: static; flex: 0 0 auto; color: #c2ccd8; }
.pkt-row:hover .pkt-del { color: #e2557a; }
.op-catitems { display: flex; flex-direction: column; gap: 7px; }
/* 酒店列精简：每单一行（客户 → 酒店名·订单号·€·间夜·状态），未订标红 */
.hbrow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; border: 1px solid #e7edf5; border-radius: 8px; padding: 6px 9px; margin-bottom: 6px; font-size: 12px; cursor: pointer; background: #fff; transition: .14s; }
.hbrow:hover { border-color: #7fd6cc; background: #f2fbf9; }
.hbrow .hbdot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: #0b8a5c; }
.hbrow.miss { border-style: dashed; border-color: #eecdcb; }
.hbrow.miss .hbdot { background: #c0433f; }
.hbrow.todo { border: 1px solid #efc16f; border-left: 3px solid #e08a1e; background: #fff6e6; }
.hbrow.todo .hbdot { background: #e08a1e; }
.hbrow.ok { background: #fbfdfc; border-color: #e3ebe6; border-left: 3px solid #bfe6d4; }
.hbrow.ok .hbnm { color: #6a7b71; }
.hbrow b { font-weight: 800; }
.hbrow .hbno { font-family: ui-monospace, monospace; color: #93a2a8; font-size: 11px; font-weight: 600; }
.hbrow .hbar { color: #a9b6bb; }
.hbrow .hbnm { font-weight: 700; color: #16242a; }
.hbrow .hbcf { font-family: ui-monospace, monospace; color: #5c6f77; font-size: 11px; }
.hbrow .hbamt { font-family: ui-monospace, monospace; font-weight: 800; color: #16242a; }
.hbrow .hbrn { font-size: 10px; font-weight: 800; color: #b9791a; background: #fbf1de; border-radius: 20px; padding: 0 6px; }
.hbrow .hbjoint { font-size: 10px; font-weight: 800; color: #fff; background: #6b4fd6; border-radius: 5px; padding: 1px 6px; white-space: normal; word-break: break-word; max-width: 100%; }
.hbrow .hbshare { font-family: ui-monospace, monospace; font-size: 11px; font-weight: 800; color: #6b4fd6; }
.hbrow .hbst { margin-left: auto; font-size: 10.5px; font-weight: 800; border-radius: 20px; padding: 1px 8px; white-space: nowrap; }
.hbrow .hbst.ok { color: #0b8a5c; background: #e6f5ee; }
.hbrow .hbst.wait { color: #2b6cb0; background: #eaf2fb; }
.hbrow .hbst.todo { color: #b9791a; background: #fbf1de; }
.hbrow .hbst.stale { color: #64748b; background: #eef1f5; }
.hbrow .hbmiss { margin-left: auto; font-size: 11.5px; font-weight: 800; color: #c0433f; }
/* 待预订酒店行/卡的手动删除× —— OP发现排错(退房日/客人当晚不住)可删掉这条需求 */
/* 司导住宿卡:紫色·记冰岛损益·不摊客人 */
.gdlodge { border: 1px solid #CECBF6; border-left: 3px solid #7F77DD; border-radius: 0 9px 9px 0; background: #F4F1FB; padding: 8px 10px; margin-bottom: 6px; cursor: pointer; transition: .14s; }
.gdlodge:hover { background: #ede9fe; border-color: #b79ef0; }
.gdlodge.ok { background: #faf8ff; }
.hbrow-del, .hj-del { flex: 0 0 auto; border: none; background: transparent; color: #c9b28a; font-size: 15px; line-height: 1; font-weight: 700; cursor: pointer; padding: 0 2px; border-radius: 5px; transition: .12s; }
.hbrow-del { margin-left: 4px; }
.hj-del { margin-left: 2px; }
.hbrow-del:hover, .hj-del:hover { color: #fff; background: #d0554f; }
/* 合订酒店:合并成一块(名单只出现一次) */
.hjoint { border: 1px solid #ddd0f2; border-radius: 9px; padding: 8px 10px; margin-bottom: 6px; background: #faf8ff; cursor: pointer; transition: .14s; }
.hjoint:hover { border-color: #b79ef0; background: #f5f0ff; }
.hjoint.todo { border: 1px solid #efc16f; border-left: 3px solid #e08a1e; background: #fff4e0; }
.hjoint .hj-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.hjoint .hj-nm { font-size: 12.5px; font-weight: 800; color: #16242a; }
.hjoint .hj-badge { font-size: 10px; font-weight: 800; color: #6d28d9; background: #ede9fe; border-radius: 20px; padding: 1px 8px; white-space: nowrap; }
.hjoint .hj-meta { font-family: ui-monospace, monospace; font-size: 11px; color: #5c6f77; }
.hjoint .hj-top .hbst { margin-left: auto; font-size: 10.5px; font-weight: 800; border-radius: 20px; padding: 1px 8px; white-space: nowrap; }
.hjoint .hj-top .hbst.ok { color: #0b8a5c; background: #e6f5ee; }
.hjoint .hj-top .hbst.wait { color: #2b6cb0; background: #eaf2fb; }
.hjoint .hj-top .hbst.todo { color: #b9791a; background: #fbf1de; }
.hjoint .hj-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hjoint .hjc { display: inline-flex; align-items: center; font-size: 11.5px; color: #33424c; background: #fff; border: 0.5px solid #dbe3ea; border-radius: 6px; padding: 2px 8px; }
.hjoint .hjc .hjc-no { color: #7a8a96; font-size: 10px; font-family: ui-monospace, monospace; }
.hjoint .hjc .hjc-n { margin-left: 4px; font-size: 10.5px; color: #7a5cc0; background: #f1ecfb; border-radius: 4px; padding: 0 5px; font-weight: 600; }
.hjoint .hjc .hjc-n.miss { color: #a3352e; background: #fdecec; }
/* 门票·活动列=全团级:每条标清给哪个订单(单订橙左条/合订蓝左条) */
.tkrow { border: 0.5px solid #e7edf5; border-radius: 8px; padding: 7px 10px; margin-bottom: 6px; background: #fff; cursor: pointer; transition: .14s; }
.tkrow:hover { border-color: #7fd6cc; background: #f2fbf9; }
.tkrow.solo { border-left: 3px solid #e08a1e; }
.tkrow.joint { border-left: 3px solid #2b7fd6; }
.tkrow.transfer { border-left: 3px solid #0d8b96; }
/* 状态优先(排在类型后·同权重后者生效):待预订=琥珀实心跳出来;已预订=淡化退后·不用琥珀色 */
.tkrow.todo { background: #fff6e6; border: 1px solid #efc16f; border-left: 3px solid #e08a1e; }
.tkrow.todo:hover { background: #fff0d6; border-color: #e08a1e; }
.tkrow.ok { background: #fbfdfc; border: 0.5px solid #e3ebe6; border-left: 3px solid #bfe6d4; }
.tkrow.ok:hover { background: #f4faf7; border-color: #7fd6cc; }
.tkrow.ok .tk-nm { color: #6a7b71; font-weight: 600; }
.tkrow .tk-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 6px; }
.tkrow .tk-nm { font-size: 12.5px; font-weight: 700; color: #16242a; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.tkrow .tk-top { min-width: 0; }
.tkrow .tkc { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.tkrow .tk-badge { font-size: 10px; font-weight: 800; border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.tkrow .tk-badge.sh { background: #e6f1fb; color: #185fa5; }
.tkrow .tk-badge.so { background: #faeeda; color: #854f0b; }
.tkrow .tk-top .pkt-pill { margin-left: auto; }
.tkrow .tk-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tkrow .tkc { display: inline-flex; align-items: center; font-size: 11px; color: #33424c; background: #f3f6f9; border: 0.5px solid #dbe3ea; border-radius: 6px; padding: 2px 8px; }
.tkrow .tkc .tkc-no { color: #7a8a96; font-size: 10px; font-family: ui-monospace, monospace; margin-right: 3px; }
.tkrow .tk-meta { font-family: ui-monospace, monospace; font-size: 10.5px; color: #5c6f77; background: #eef3f4; border-radius: 6px; padding: 2px 7px; }
.pkt-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 11.5px; color: #6b7a8d; align-items: center; }

/* —— 本单聚焦：选中某订单Tab时，本单卡片高亮、本单「待预订」最醒目、同团其他单调暗（都保留，只降视觉权重） —— */
.tkrow.pkt-mine, .hjoint.pkt-mine { border: 1px solid #b9a6ef; border-left: 4px solid #7f77dd; background: #f6f3fe; box-shadow: 0 0 0 1px #e5ddfb; }
.tkrow.pkt-mine:hover, .hjoint.pkt-mine:hover { border-color: #7f77dd; background: #f0ebfd; }
.tkrow.pkt-mine.todo, .hjoint.pkt-mine.todo, .hbrow.pkt-mine.todo, .hbrow.pkt-mine.miss { border: 1.5px solid #e24b4a; border-left: 4px solid #e24b4a; background: #fff3f2; box-shadow: 0 0 0 1px #f7d6d5; }
.tkrow.pkt-mine.todo:hover, .hjoint.pkt-mine.todo:hover { background: #ffeceb; border-color: #e24b4a; }
.hbrow.pkt-mine { background: #f6f3fe; border-left: 3px solid #7f77dd; }
.pkt-other { opacity: .4; filter: saturate(.6); transition: opacity .12s; }
.pkt-other:hover { opacity: 1; filter: none; }
.pkt-minetag { font-size: 10px; font-weight: 800; color: #fff; background: #7f77dd; border-radius: 20px; padding: 1px 8px; white-space: nowrap; }
.pkt-minetag.todo { background: #e24b4a; }
.tkrow .tkc.chip-mine, .hjoint .hjc.chip-mine { background: #eeedfe; border-color: #afa9ec; color: #26215c; font-weight: 700; }
.tkrow .tkc.chip-mine .tkc-no, .hjoint .hjc.chip-mine .hjc-no { color: #534ab7; }
.tkrow .tkc.chip-dim, .hjoint .hjc.chip-dim { opacity: .42; }

/* —— 票务预订：操作包列表表格 —— */
.pl-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pl-search { flex: 1 1 260px; max-width: 440px; display: flex; align-items: center; gap: 8px; height: 36px; border: 1px solid #dbe3ec; border-radius: 9px; padding: 0 12px; }
.pl-search .ti { color: #9aa7b6; font-size: 16px; }
.pl-search input { flex: 1; border: none; outline: none; font-size: 13px; background: transparent; }
.tk-past { font-size: 12.5px; color: #56616f; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; white-space: nowrap; flex: 0 0 auto; }
.tk-past-n { display: inline-flex; align-items: center; justify-content: center; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: #e5e9ef; color: #7a8794; font-size: 11px; font-weight: 700; line-height: 1; }
.pl-urgbtn { flex: 0 0 auto; border: 0.5px solid #f0c9a8; background: #fdf1e6; color: #a8560f; border-radius: 9px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.pl-urgbtn:hover { border-color: #e0a55a; }
.pl-urgbtn.on { background: #f8d9b8; border-color: #e0a55a; }
.pl-region { display: inline-block; font-size: 12px; font-weight: 600; color: #0a6b74; background: #e6f4f5; border: 0.5px solid #cdeef2; border-radius: 6px; padding: 2px 9px; white-space: nowrap; }
.pl-ty { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; border-radius: 20px; padding: 2px 9px; white-space: nowrap; }
.pl-ty.grp { color: #0a6b74; background: #e6f4f5; border: 0.5px solid #bfe3e6; }
.pl-ty.chr { color: #8a5510; background: #faeeda; border: 0.5px solid #f0d9ae; }
.pl-ty.cus { color: #2f6f2a; background: #e6f4e2; border: 0.5px solid #c4e2bb; }
.pl-ty.tkt { color: #2a55a8; background: #eef4ff; border: 0.5px solid #c3d6f5; }
.pl-tytabs { display: inline-flex; border: 1px solid #dbe3ec; border-radius: 9px; overflow: hidden; }
.pl-tysel { width: auto; min-width: 150px; height: 34px; padding: 0 30px 0 11px; border: 1px solid #dbe3ec; border-radius: 9px; background-color: #fff; color: #33424a; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.pl-tysel.on { border-color: #0e7c74; color: #0b5d57; box-shadow: 0 0 0 2px rgba(14,124,116,.12); }
.pl-tytab { padding: 7px 12px; color: #5c6f77; background: #fff; border: none; border-left: 1px solid #eef0f4; cursor: pointer; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.pl-tytab:first-child { border-left: none; }
.pl-tytab.on { background: #0f9d8f; color: #fff; }
.pl-tytab span { font-size: 10.5px; opacity: .85; margin-left: 2px; }
.pl-urg { font-size: 11px; font-weight: 800; }
.pl-urg.od { color: #c0433f; }
.pl-urg.soon { color: #b9791a; }
.pl-hb { font-size: 10px; font-weight: 800; color: #8a5510; background: #faeeda; border-radius: 20px; padding: 0 6px; }
.pl-op { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 3px 11px 3px 3px; font-size: 12.5px; font-weight: 700; color: #33465a; }
.pl-op.mine { cursor: pointer; background: #e6f4f5; color: #0a6b74; }
.pl-op .pl-av { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; flex: 0 0 auto; }
.pl-op .pl-opcx { font-size: 10px; color: #9fb6b9; }
.pl-op.mine:hover .pl-opcx { color: #c0433f; }
.pl-bysub { font-size: 10.5px; color: #98a2b3; margin-top: 3px; }
.pl-claim { font-size: 12px; color: #5c6f77; background: transparent; border: 1px dashed #cbd5e1; border-radius: 999px; padding: 5px 12px; cursor: pointer; font-weight: 600; }
.pl-claim:hover { border-color: #0f9d8f; color: #0a6b74; background: #f2fbf9; }
.pl-row.pl-minerow td { background: #f2fbf9; }
.pl-otabs { display: inline-flex; border: 1px solid #dbe3ec; border-radius: 9px; overflow: hidden; }
.pl-otab { padding: 7px 12px; color: #5c6f77; background: #fff; border: none; border-left: 1px solid #eef0f4; cursor: pointer; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.pl-otab:first-child { border-left: none; }
.pl-otab.on { background: #0a6b74; color: #fff; }
.pl-otab span { font-size: 10.5px; opacity: .85; margin-left: 2px; }
/* 操作包大盘 */
.pl-dash { margin-bottom: 12px; border: 1px solid #e6e8ee; border-radius: 12px; overflow: hidden; background: #fff; }
.pl-dashbar { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 15px; background: linear-gradient(90deg,#eef7f7,#fff); border: none; cursor: pointer; font-size: 13px; font-weight: 700; color: #0a6b74; }
.pl-dashsum { font-weight: 500; color: #5c6f77; }
.pl-dashsum b { color: #0f9d8f; font-weight: 800; }
.pl-dashcx { margin-left: auto; font-size: 12px; font-weight: 600; color: #0f9d8f; }
.pl-dashbody { padding: 14px 15px 16px; border-top: 1px solid #eef2f7; }
.pl-months { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.pl-mcard { background: #f7fafb; border: 1px solid #eef2f7; border-radius: 10px; padding: 11px 13px; text-align: left; cursor: pointer; font: inherit; transition: border-color .12s, background .12s; }
.pl-mcard:hover { border-color: #0f9d8f; background: #eefaf8; }
.pl-mcard.on { border-color: #0f9d8f; background: #e1f5ee; box-shadow: 0 0 0 1px #0f9d8f inset; }
.pl-mon { font-family: inherit; font-weight: 700; color: #0f9d8f; font-size: 11px; margin-left: 4px; }
.pl-monthclr { margin-left: 6px; border: 1px solid #0f9d8f; background: #e1f5ee; color: #0a6b60; font-size: 11.5px; font-weight: 700; border-radius: 20px; padding: 2px 9px; cursor: pointer; }
.pl-monthclr:hover { background: #cdeee5; }
.pl-ml { font-size: 12px; font-weight: 700; color: #5c6f77; } .pl-ml span { font-family: ui-monospace,monospace; color: #98a2b3; font-weight: 500; font-size: 11px; }
.pl-mn { font-size: 24px; font-weight: 800; color: #0f9d8f; font-family: ui-monospace,monospace; margin: 3px 0 1px; } .pl-mn small { font-size: 12px; color: #98a2b3; font-weight: 600; margin-left: 2px; }
.pl-mb { font-size: 11.5px; color: #6b7a8d; }
.pl-oplbl { font-size: 12px; color: #6b7a8d; margin-bottom: 7px; } .pl-oplbl b { color: #16242a; }
.pl-opbar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: #eef2f7; }
.pl-opseg { height: 100%; }
.pl-oplegend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.pl-oplg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #33465a; }
.pl-oplg b { color: #16242a; }
.pl-lgav { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 800; color: #fff; }
.pl-commbtn { font-size: 12.5px; font-weight: 700; color: #0a6b74; background: #e6f4f5; border: 1px solid #bfe3e6; border-radius: 9px; padding: 8px 14px; cursor: pointer; }
.pl-commbtn:hover { background: #d7eef0; }
.oc-ctrl { font-size: 13px; color: #5c6f77; margin-bottom: 12px; }
.oc-ctrl select, .oc-ctrl input { font-size: 13px; border: 1px solid #dbe3ec; border-radius: 8px; padding: 5px 9px; }
.oc-ctrl input { width: 64px; }
.oc-tw { overflow-x: auto; }
.oc-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.oc-tbl th { text-align: left; font-size: 11.5px; font-weight: 700; color: #6b7a8d; background: #f4f7fb; padding: 8px 11px; border-bottom: 1.5px solid #e7edf5; }
.oc-tbl td { padding: 9px 11px; border-bottom: 0.5px solid #eef2f7; }
.oc-tbl .oc-num { text-align: right; font-family: ui-monospace, monospace; font-weight: 700; }
.oc-tbl .oc-comm { color: #0f9d8f; font-weight: 800; }
.oc-tbl tfoot td { border-top: 1.5px solid #e7edf5; font-weight: 800; background: #fafcff; }
.oc-note { font-size: 12px; color: #5c6f77; line-height: 1.7; margin-top: 12px; background: #f7fafb; border-radius: 8px; padding: 10px 12px; } .oc-note b { color: #16242a; }
.pl-tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; margin-left: 5px; border-radius: 50%; background: #c3ccd6; color: #fff; font-size: 10px; font-weight: 800; cursor: help; vertical-align: middle; }
.pl-tip::after { content: attr(data-tip); position: absolute; bottom: 150%; right: -8px; width: 244px; background: #16242a; color: #fff; font-size: 11.5px; font-weight: 500; line-height: 1.6; padding: 9px 12px; border-radius: 9px; box-shadow: 0 6px 20px rgba(0,0,0,.28); opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 30; white-space: normal; text-align: left; }
.pl-tip::before { content: ""; position: absolute; bottom: 150%; right: 3px; border: 6px solid transparent; border-top-color: #16242a; transform: translateY(6px); opacity: 0; transition: opacity .15s; z-index: 31; }
.pl-tip:hover::after, .pl-tip:hover::before { opacity: 1; }
.pl-row.pl-newrow td { background: #fff6f5; }
.pl-row.pl-newrow { box-shadow: inset 3px 0 0 #e24b4a; }
.pl-stwrap { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pl-alert { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: #fff; background: #e24b4a; border-radius: 999px; padding: 4px 11px; box-shadow: 0 1px 4px rgba(200,60,60,.4); white-space: nowrap; }
.pl-adot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: plPulse 1.3s infinite; }
@keyframes plPulse { 0%,100% { opacity: .4 } 50% { opacity: 1 } }
.pl-was { font-size: 10.5px; opacity: .7; }
.pl-was .pl-st { font-size: 10.5px; padding: 1px 8px; }
.pkt-newbanner { background: #fdecea; border: 1px solid #f5c6c2; border-radius: 10px; padding: 11px 14px; margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: #7a2420; }
.pkt-newbanner b { color: #a3231f; }
/* 订单备注=红色注意卡:跟满页琥珀待办分开·左侧红图标条一眼认出·生产前必看 */
.pkt-rmkbar { display: flex; align-items: stretch; gap: 0; background: #fff; border: 1px solid #e6a6a6; border-radius: 10px; overflow: hidden; margin: 0 0 14px; }
.pkt-rmkbar-ic { flex: 0 0 auto; width: 42px; background: #FCEBEB; display: flex; align-items: center; justify-content: center; }
.pkt-rmkbar-ic i { font-size: 20px; color: #A32D2D; }
.pkt-rmkbar-body { flex: 1 1 auto; min-width: 0; padding: 9px 13px; }
.pkt-rmkbar-h { display: flex; align-items: baseline; gap: 7px; font-size: 12.5px; font-weight: 600; color: #A32D2D; margin-bottom: 6px; }
.pkt-rmkbar-hint { font-weight: 400; font-size: 11px; color: #b06a6a; }
.pkt-rmk-row { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; }
.pkt-rmk-row + .pkt-rmk-row { border-top: 0.5px solid #f4e0e0; }
.pkt-rmk-tag { flex: none; background: #f6ecec; color: #8a3a3a; font-size: 11px; font-family: ui-monospace, monospace; padding: 2px 7px; border-radius: 5px; white-space: nowrap; margin-top: 1px; }
.pkt-rmk-txt { font-size: 13px; color: #2c2c2a; line-height: 1.55; }
.pkt-rmk-hi { background: #FCEBEB; color: #A32D2D; font-weight: 600; padding: 0 4px; border-radius: 3px; }
.arf-actbtn { font-size: 11.5px; font-weight: 700; border: 1px solid #cfe0dc; background: #fff; color: #0d8b96; border-radius: 6px; padding: 4px 9px; cursor: pointer; white-space: nowrap; }
.arf-actbtn.pri { background: #0d8b96; color: #fff; border-color: #0d8b96; }
.arf-actbtn:hover { filter: brightness(1.05); }

/* ===== OP 代录出行信息表单：与渠道端(partner.css)一模一样的分模块配色卡 ===== */
.travel-form { display: grid; gap: 18px; max-width: 900px; }
.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; width: 100%; box-sizing: border-box; }
.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; }
.travel-pax-row .pax-del { background: none; border: none; color: #ef4444; font-size: 16px; font-weight: 900; cursor: pointer; }
.req-star { color: #e5484d; font-weight: 700; }
.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; width: 100%; box-sizing: border-box; }
.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; } .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; } }
/* 段团风险确认框 */
.sg-ov { position: fixed; inset: 0; background: rgba(20,40,50,.45); display: flex; align-items: center; justify-content: center; z-index: 3000; padding: 20px; }
.sg-dlg { background: #fff; border-radius: 16px; width: 520px; max-width: 100%; box-shadow: 0 24px 60px rgba(0,0,0,.3); overflow: hidden; max-height: 90vh; display: flex; flex-direction: column; }
.sg-h { display: flex; align-items: center; gap: 11px; padding: 16px 20px; background: linear-gradient(90deg,#fdecea,#fdf3f2); border-bottom: 1px solid #f5d6d2; }
.sg-hic { width: 34px; height: 34px; border-radius: 10px; background: #e24b4a; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 auto; }
.sg-tt { font-size: 16px; font-weight: 800; color: #a3231f; }
.sg-ts { font-size: 11.5px; color: #b06a67; margin-top: 1px; }
.sg-b { padding: 16px 20px; overflow-y: auto; }
.sg-lede { font-size: 13px; line-height: 1.7; margin: 0 0 13px; } .sg-lede b { color: #a3231f; }
.sg-lbl { font-size: 11.5px; font-weight: 800; color: #6b7a8d; margin: 0 0 7px; }
.sg-items { border: 1px solid #eef2f7; border-radius: 10px; overflow: hidden; margin-bottom: 13px; }
.sg-it { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid #f2f5f9; font-size: 12.5px; }
.sg-it:first-child { border-top: none; }
.sg-ic { font-size: 15px; width: 20px; text-align: center; flex: 0 0 auto; }
.sg-nm { flex: 1; font-weight: 700; } .sg-sub { font-size: 11px; color: #98a2b3; font-weight: 400; }
.sg-st { font-size: 10.5px; font-weight: 800; border-radius: 20px; padding: 2px 9px; white-space: nowrap; flex: 0 0 auto; }
.sg-st.ok { color: #0b8a5c; background: #e6f5ee; } .sg-st.wait { color: #2b6cb0; background: #eaf2fb; }
.sg-warn { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 10px 13px; font-size: 12px; line-height: 1.65; color: #7c4a12; } .sg-warn b { color: #9a3412; }
.sg-f { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid #eef2f7; }
.sg-btn { font-size: 13px; font-weight: 700; border-radius: 9px; padding: 9px 18px; cursor: pointer; border: none; }
.sg-btn.cancel { background: #fff; color: #5c6f77; border: 1px solid #dbe3ec; }
.sg-btn.go { background: #e24b4a; color: #fff; }
.pl-count { margin-left: auto; font-size: 12.5px; color: #6b7a8d; }
.pl-count b { color: #0f9d8f; }
.pl-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.pl-tbl th { text-align: left; font-size: 11.5px; font-weight: 600; color: #6b7a8d; background: #f4f7fb; padding: 9px 14px; border-top: 1px solid #e7edf5; border-bottom: 1px solid #e7edf5; }
.pl-tbl td { padding: 11px 14px; border-bottom: 0.5px solid #eef2f7; vertical-align: middle; }
/* 产品·客人列限宽 500px,超出省略(悬停看全文),右边的团期/状态列才露得出来 */
.pl-tbl th.pl-prodcol { width: 500px; }
.pl-tbl td.pl-prodtd { width: 500px; max-width: 500px; }
.pl-prod { max-width: 500px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pl-prod .pl-sub { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pl-row { cursor: pointer; transition: background 0.12s; }
.pl-row:hover { background: #f2fbf9; }
.pl-no { font-size: 14px; font-weight: 700; color: #0f9d8f; }
.pl-row:hover .pl-no { text-decoration: underline; }
.pl-sub { font-size: 11px; color: #98a2b3; margin-top: 2px; }
.pl-date { white-space: nowrap; color: #56616f; font-size: 12.5px; }
.pl-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.st-todo { background: #fceceb; color: #a32d2d; }
.st-part { background: #faeeda; color: #854f0b; }
.st-done { background: #e4f7ee; color: #0f6e56; }
.st-new { background: #f1f4f8; color: #8592a3; border: 1px solid #e3e9f0; }
.pl-bar { width: 48px; height: 6px; border-radius: 999px; background: #f0e4cf; overflow: hidden; display: inline-block; }
.pl-bar i { display: block; height: 100%; background: #d98a1a; }
.pl-foot { padding: 12px 2px 2px; font-size: 11.5px; color: #98a2b3; display: flex; align-items: center; gap: 6px; }

.product-route-link {
  padding: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-weight: 900;
}

.product-route-link:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.route-dialog-card {
  width: min(1120px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
}

.route-dialog-card footer {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.route-table-wrap {
  overflow-x: hidden;
}

.route-page-panel {
  display: grid;
  gap: 16px;
}

.route-page-title {
  align-items: center;
  margin-bottom: 8px;
}

#productDetailEdit {
  white-space: nowrap;
}

.route-detail-title {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.35;
}

.route-page-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.route-page-panel .route-table-wrap {
  overflow-x: visible;
}

.route-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #d9e3f0;
  border-radius: 6px;
  background: #f8fbff;
}

.route-summary span {
  color: #51627d;
  font-size: 13px;
  font-weight: 800;
}

.route-summary strong {
  color: var(--text);
}

.route-map {
  margin: 12px 0 16px;
}
/* 行程「预览详情」只读卡片(与客户版一致) */
.route-detail-preview { margin: 12px 0 16px; display: flex; flex-direction: column; gap: 12px; }
.rdp-list { display: flex; flex-direction: column; gap: 12px; }
.rdp-day { border: 0.5px solid #e2e7ef; border-radius: 12px; padding: 14px 16px; background: #fff; }
.rdp-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rdp-tag { background: #0e7c74; color: #fff; font-weight: 700; font-size: 13px; border-radius: 7px; padding: 3px 10px; }
.rdp-title { font-size: 15px; color: #16241f; }
.rdp-km { margin-left: auto; font-size: 12px; color: #5a6b78; background: #eef4f2; border-radius: 20px; padding: 3px 10px; }
.rdp-route { color: #b0770f; font-size: 13.5px; margin: 8px 0 0; }
.rdp-photos { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.rdp-photos figure { margin: 0; width: 140px; }
.rdp-photos img { width: 140px; height: 96px; object-fit: cover; border-radius: 8px; border: 0.5px solid #e2e7ef; display: block; }
.rdp-photos figcaption { font-size: 11.5px; color: #5a6b78; text-align: center; margin-top: 3px; }
.rdp-blurb { font-size: 13.5px; color: #2f3b4c; line-height: 1.75; margin: 10px 0 0; white-space: normal; }
.rdp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rdp-chip { font-size: 12px; color: #0c5140; background: #e6f4f0; border-radius: 7px; padding: 4px 10px; }
.rdp-note { margin-top: 10px; font-size: 12.5px; color: #8a5a06; background: #fdf3e2; border: 1px solid #f0dcb4; border-radius: 8px; padding: 8px 11px; line-height: 1.7; }

.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: var(--text);
  font-size: 18px;
}

.route-map-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.route-map-panel header > strong {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #e2f5f8;
  white-space: nowrap;
}

.route-progress-list {
  display: grid;
  gap: 10px;
}

.route-progress-day {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 170px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e0e9f5;
  border-radius: 12px;
  background: #fff;
}

/* 左栏三行：① D几·日期 ② 标题 ③ 角色 */
.route-progress-head .rp-day { font-size: 15px; }
.route-progress-head .rp-day strong { color: var(--blue); }
.route-progress-head .rp-day .route-progress-date { display: inline; margin: 0; font-size: 12px; font-weight: 500; color: var(--muted); }

.route-progress-head span {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.route-progress-date {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.rp-role { display: inline-block; margin-top: 6px; font-size: 11px; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.rp-role.role-charter { background: #e1f0ea; color: #0f6e56; }
.rp-role.role-pick, .rp-role.role-drop { background: #e6f1fb; color: #185fa5; }
.rp-role.role-free { background: #eef6df; color: #5c7a12; }
.rp-role.role-fly { background: #f1efe8; color: #5f5e5a; }
.rp-role.role-empty { background: #faeeda; color: #854f0b; }
.rp-tf { display: inline-block; margin-top: 6px; margin-left: 6px; font-size: 11px; padding: 2px 9px; border-radius: 999px; white-space: nowrap; background: #e6f1fb; color: #185fa5; }

.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: var(--muted);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-progress-points em:last-child {
  color: var(--text);
  text-align: right;
}

.route-progress-note {
  margin-top: 4px;
  color: var(--blue);
  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: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.route-progress-stay b {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-map-edit-row {
  align-items: stretch;
}

.route-map-edit-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.route-map-edit-fields label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.route-map-edit-fields input,
.route-map-edit-fields select {
  width: 100%;
  border: 1px solid #c9d8ea;
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--text);
  background: #f8fbff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.route-table {
  min-width: 0;
  width: 100%;
  table-layout: fixed;
  border: 1px solid #111827;
  border-collapse: collapse;
  background: #fff;
}

.route-table th,
.route-table td {
  padding: 10px 12px;
  border: 1px solid #111827;
  vertical-align: middle;
  white-space: normal;
  line-height: 1.55;
  word-break: break-word;
}

.route-table th {
  background: #fff;
  color: #111827;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
}

.route-table td:first-child {
  width: 16%;
  text-align: center;
  font-weight: 900;
}

.route-table td:first-child span {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 14px;
}

.route-table td:nth-child(2) strong {
  display: block;
  margin-bottom: 4px;
  color: #00a5b8;
}

.route-table td:nth-child(2) {
  width: 48%;
}

.route-table td:nth-child(3) {
  width: 18%;
  text-align: center;
}

.route-table td:nth-child(4) {
  width: 18%;
}

.route-table p {
  margin: 0;
  color: #111827;
  line-height: 1.55;
}

.route-edit-input,
.route-edit-area {
  width: 100%;
  border: 1px solid #c9d8ea;
  border-radius: 6px;
  padding: 8px 9px;
  color: var(--text);
  background: #f8fbff;
  font: inherit;
  font-weight: 800;
}

.route-edit-title {
  margin-top: 8px;
  font-weight: 700;
}

.route-edit-area {
  min-height: 92px;
  resize: vertical;
  font-weight: 600;
  line-height: 1.55;
}

.route-edit-area.compact {
  min-height: 74px;
}

.route-editing .route-table td {
  vertical-align: top;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid #eef2f8;
  text-align: left;
  white-space: nowrap;
}

th {
  color: #7689a3;
  background: #f9fbfe;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

td {
  font-size: 13.5px;
}

tbody tr {
  transition: background 0.1s ease;
}

tbody tr:hover td {
  background: #f7faff;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 6px;
  color: #00707d;
  background: #e2f5f8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
/* 账号类型：主账号(实心蓝) vs 子账号(浅灰描边) 视觉区分 */
.type-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}
.type-pill.type-owner {
  color: #fff;
  background: #0a8f8f;
}
.type-pill.type-staff {
  color: #6b7688;
  background: #f0f2f6;
  border: 1px solid #dde2ea;
  font-weight: 700;
}

.status-金牌,
.status-已确认,
.status-已结算,
.status-上架 {
  color: #087c5d;
  background: #e5f7f1;
}

/* 门票已向 Bókun 出票成功 → 订单状态显「已出票」:实心青底白字,和浅绿的「已确认」一眼区分 */
.status-已出票 {
  color: #fff;
  background: #0a6b78;
  box-shadow: inset 0 0 0 1px #085560;
}

/* 下架：黄底红字 + 边框，明显区别于「上架」 */
.status-下架 {
  color: #c0392b;
  background: #fdf3cf;
  box-shadow: inset 0 0 0 1px #f0d48a;
}

.status-银牌,
.status-待确认,
.status-待结算 {
  color: #a4550a;
  background: #fff0df;
}

.status-已完成,
.status-钻石 {
  color: #4f3cc9;
  background: #eeecff;
}

.status-启用 {
  color: #087c5d;
  background: #e5f7f1;
}

.status-禁用 {
  color: #9aa3af;
  background: #eef1f5;
}

/* API 管理调用文档 */
.api-docs {
  display: grid;
  gap: 14px;
}

.api-doc-block h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.api-doc-block p {
  margin: 4px 0;
  color: #475569;
  font-size: 13px;
}

.api-doc-block code {
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 12px;
}

.api-doc-block pre {
  margin: 6px 0 0;
  padding: 12px 14px;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

#apiTokenValue {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

button.danger {
  color: #c0392b;
}

.bonus-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 6px;
  background: #eeedfe;
  color: #3c3489;
  font-size: 11px;
  font-weight: 700;
}
.brand-badge { display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #eef4ff; color: #3f5bd6; border: 1px solid #cdd8f7; font-size: 10.5px; font-weight: 500; white-space: nowrap; }
.agr-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #fff6e6;
  color: #8a5a1c;
  border: 1px solid #f0d8a8;
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: default;
}

/* 渠道看板 */
.cb-pct { font-size: 12px; font-weight: 700; }
.cb-pct.up { color: #0e9f6e; }
.cb-pct.down { color: #d34242; }
.cb-pct.muted { color: #9aa3af; }
.cb-insights { display: grid; gap: 10px; }
.cb-tip { font-size: 13px; line-height: 1.6; padding: 10px 12px; border-radius: 8px; }
.cb-tip.warn { background: #fff7e6; color: #92600a; }
.cb-tip.danger { background: #fdeded; color: #a3261f; }
.cb-tip.ok { background: #eafaf2; color: #0e7a52; }
.cb-list { display: grid; gap: 8px; }
.cb-row { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #eef2f8; border-radius: 8px; font-size: 13px; }
.cb-row-m { color: #6b7c99; font-size: 12px; }
.cb-row em { color: #6b7c99; font-style: normal; font-size: 12px; }
.cb-trend-bars .trend-bar { display: flex; flex-direction: column; align-items: center; }
.cb-trend-bars .trend-bar-x { margin-top: 4px; font-size: 10px; color: #8a99b3; }

/* 渠道政策总览 */
.cp-global { display: grid; gap: 14px; }
.cp-block h4 { margin: 0 0 8px; font-size: 14px; color: #44546c; }
.cp-rewards { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-reward { font-size: 13px; padding: 5px 11px; border-radius: 8px; background: #f3f7fd; color: #44546c; }
.cp-reward strong { color: #102345; }
#channelPolicyRows tr.row-muted { opacity: 0.55; }
/* 激励政策方案沙盘 */
.im-planned { color: #00a5b8; }
.im-note { margin: 0; padding: 8px 12px; border-radius: 8px; background: #fff7ed; color: #9a5b1e; font-size: 13px; line-height: 1.6; }
.im-note strong { color: #7c4513; }
.im-glossary { margin-top: 10px; border: 0.5px solid #e3e8ef; border-radius: 10px; background: #fbfcfe; }
.im-glossary > summary { cursor: pointer; padding: 9px 14px; font-size: 13px; font-weight: 600; color: #00707d; list-style: none; }
.im-glossary > summary::-webkit-details-marker { display: none; }
.im-glossary[open] > summary { border-bottom: 0.5px solid #e3e8ef; }
.im-gloss-body { padding: 10px 14px; display: grid; gap: 10px; }
.im-gloss-item { font-size: 13px; color: #44546c; line-height: 1.65; }
.im-gloss-item b { color: #102345; margin-right: 4px; }
.im-gloss-item strong { color: #137a4b; }
.im-gloss-eg { margin-top: 4px; padding: 7px 10px; background: #e2f5f8; border-radius: 7px; font-size: 12.5px; color: #00707d; }
.im-gloss-eg b { color: #102345; }
.im-q { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; margin-left: 4px; border-radius: 50%; background: #d9e6f5; color: #00707d; font-size: 10px; font-style: normal; cursor: help; vertical-align: 1px; }

.im-sim-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 20px; align-items: center; }
.im-sim-controls label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #44546c; }
.im-sim-controls label strong { color: #102345; font-size: 14px; }
.im-sim-controls input[type="range"] { width: 100%; }
/* 人数滑块 + 刻度 */
.cm-people-slider { position: relative; padding: 30px 2px 36px; }
.cm-people-slider input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 6px; background: #e6ebf0; outline: none; margin: 0; position: relative; z-index: 2; }
.cm-people-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #2b7fff; box-shadow: 0 1px 4px rgba(20,60,90,.28); cursor: pointer; }
.cm-people-slider input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #2b7fff; box-shadow: 0 1px 4px rgba(20,60,90,.28); cursor: pointer; }
.cm-slider-ticks { position: absolute; left: 2px; right: 2px; top: 44px; height: 30px; }
.cm-tick { position: absolute; top: 0; transform: translateX(-50%); background: none; border: 0; padding: 0; cursor: pointer; text-align: center; }
.cm-tick i { display: block; width: 2px; height: 12px; background: #c4ccd6; margin: 0 auto; border-radius: 2px; }
.cm-tick b { display: block; font-size: 11.5px; color: #6b8189; margin-top: 3px; font-weight: 600; }
.cm-tick:hover b { color: #2b7fff; }
.cm-tick.on i { background: #2b7fff; width: 3px; height: 15px; }
.cm-tick.on b { color: #00808f; font-weight: 800; font-size: 13px; }
.cm-slider-bubble { position: absolute; top: 4px; transform: translateX(-50%); background: #0a8f8f; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; z-index: 3; }
.cm-slider-bubble::after { content: ""; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); border: 4px solid transparent; border-top-color: #0a8f8f; }
.im-verdict { font-size: 12px; padding: 3px 9px; border-radius: 7px; white-space: nowrap; }
.im-verdict.im-ok { background: #e6f6ee; color: #137a4b; }
.im-verdict.im-warn { background: #fff3da; color: #9a6a12; }
.im-verdict.im-bad { background: #fdeaea; color: #b3322f; }
#imCompareRows tr.im-row-planned { background: #f1fbfc; }
.im-chart-head { margin: 16px 0 6px; font-size: 13px; color: #44546c; }
.im-chart { width: 100%; }
.im-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: #6b7686; margin-top: 4px; }
.im-legend i { display: inline-block; width: 14px; height: 3px; vertical-align: middle; margin-right: 4px; border-radius: 2px; }
.im-legend i.im-band { height: 10px; width: 12px; background: rgba(226,75,74,0.2); border: 0.5px solid #E24B4A; }
.im-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.im-card { border: 0.5px solid #e3e8ef; border-radius: 12px; padding: 14px 16px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.im-card-planned { border: 2px solid #00a5b8; }
.im-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.im-tag { display: inline-block; background: #e2f5f8; color: #00707d; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.im-tagline { font-size: 12px; color: #8a94a6; margin-top: 3px; }
.im-planned-pill { background: #e6f6f8; color: #00808f; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 7px; white-space: nowrap; }
.im-summary { font-size: 13px; color: #44546c; margin: 0; line-height: 1.6; }
.im-mech-row { font-size: 12.5px; color: #44546c; }
.im-mech-row b { display: block; color: #102345; margin-bottom: 4px; font-weight: 600; }
.im-brackets { display: flex; flex-wrap: wrap; gap: 6px; }
.im-bk { display: inline-flex; align-items: center; gap: 3px; background: #f5f7fb; border-radius: 7px; padding: 2px 6px; font-size: 12px; color: #44546c; }
.im-bk i { font-style: normal; color: #8a94a6; }
.im-bk input { width: 46px; padding: 2px 4px; font-size: 12px; border: 0.5px solid #d7dde7; border-radius: 5px; text-align: right; }
.im-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 12.5px; }
.im-proscons b { font-size: 12px; color: #102345; }
.im-proscons ul { margin: 4px 0 0; padding-left: 16px; color: #5a6678; }
.im-proscons li { margin: 2px 0; }
.im-pros b { color: #137a4b; }
.im-cons b { color: #9a6a12; }
.im-card-actions { margin-top: auto; }
/* 季节性沙盘 */
.ss-months { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.ss-mo { padding: 3px 9px; font-size: 12px; border: 0.5px solid #d7dde7; border-radius: 7px; background: #fff; color: #44546c; cursor: pointer; }
.ss-mo-off { background: #eef1f5; color: #8a94a6; border-color: #cfd6e0; }
.ss-shape-head { margin: 14px 0 8px; font-size: 13px; color: #44546c; }
.ss-shape { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; }
.ss-bar { display: flex; flex-direction: column; align-items: center; gap: 3px; justify-content: flex-end; }
.ss-bar-fill { width: 60%; min-height: 4px; background: #7fc7d6; border-radius: 3px 3px 0 0; }
.ss-bar input { width: 100%; padding: 2px 2px; font-size: 11px; border: 0.5px solid #d7dde7; border-radius: 4px; text-align: center; }
.ss-bar i { font-style: normal; font-size: 10px; color: #8a94a6; }
/* 成本分析沙盘 */
/* 成本卡横向一排（不换行·可左右滚），让下面的分析图顶上来、能一屏对照 */
.cm-cards { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 14px; padding: 16px 2px 8px; scroll-snap-type: x proximity; }
.cm-cards > .cm-card { flex: 0 0 300px; scroll-snap-align: start; }
.cm-card-flash { box-shadow: 0 0 0 3px rgba(15, 157, 143, 0.5); transition: box-shadow 0.3s; }
/* 快捷跳转 / 只看产品 选中的成本卡：常驻高亮，其余淡化 */
.cm-card { transition: box-shadow .18s, transform .18s, opacity .18s, filter .18s; }
.cm-card.cm-card-selected { position: relative; box-shadow: 0 0 0 2px #0a8f8f, 0 10px 24px rgba(10, 143, 143, 0.20); transform: translateY(-4px); z-index: 3; }
.cm-card.cm-card-selected::before { content: "🎯 分析中"; position: absolute; top: -11px; left: 14px; background: #0a8f8f; color: #fff; font-size: 10.5px; font-weight: 800; padding: 2px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(10, 143, 143, 0.35); z-index: 4; white-space: nowrap; }
.cm-card.cm-card-dimmed { opacity: 0.45; filter: saturate(0.7); }
.cm-card.cm-card-dimmed:hover { opacity: 0.8; }

/* 节假日抽屉 */
.cm-drawer .cm-drawer-head { display: flex; align-items: center; gap: 12px; cursor: pointer; flex-wrap: wrap; }
.cm-drawer .cm-drawer-head h3 { margin: 0; font-size: 16px; }
.cm-drawer-sum { display: flex; gap: 7px; flex-wrap: wrap; }
.cm-hol-chip { background: #fff4e6; color: #c2410c; border-radius: 6px; padding: 2px 9px; font-size: 11.5px; font-weight: 600; }
.cm-hol-chip.muted-chip { background: #f1f3f9; color: #98a2b3; font-weight: 400; }
.cm-drawer-toggle { margin-left: auto; border: none; background: none; color: #66748c; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.cm-drawer-toggle:hover { color: #0f9d8f; }
.cm-caret { font-size: 12px; }

/* 快捷跳转条 */
.cm-jumpbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #f0f9fa; border: 1px solid #cbe6ec; border-radius: 11px; padding: 10px 13px; margin-top: 14px; }
.cm-jumpbar:empty { display: none; }
/* 「+ 添加产品」移到标题右侧 */
.cm-title-actions { display: flex; align-items: center; gap: 12px; }
.cm-add-product { padding: 7px 15px; font-size: 13px; white-space: nowrap; }
/* 分析表产品名超长省略号（避免整版超出） */
.cm-prod-name { display: inline-block; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
/* 结算价旁的返佣比例标签 */
.cm-comm-tag { display: inline-block; background: #eef2f9; color: #667; border-radius: 5px; padding: 1px 6px; font-size: 11px; margin-left: 4px; white-space: nowrap; }
/* 毛利为负：红底突出（每人毛利 / 整团毛利） */
td.cm-neg { background: #fdecec; color: #c0342c; font-weight: 700; }
.cm-eur2 { font-size: 11px; color: #98a2b3; font-weight: 400; margin-top: 1px; }
td.cm-neg .cm-eur2 { color: #c0342c; }
/* 报价页 */
.q-controls { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; background: #f6faf9; border: 1px solid #e3ecef; border-radius: 10px; padding: 13px 15px; }
.q-fld { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #6b7a8d; font-weight: 600; }
.q-fld-wide { flex: 1; min-width: 220px; }
.q-fld select, .q-fld input { height: 34px; border: 1px solid #cbd7e2; border-radius: 7px; padding: 0 9px; font-size: 13px; background: #fff; color: #243447; }
.q-fld input[type=number] { width: 80px; }
.q-scenarios { display: inline-flex; gap: 6px; }
.q-sc { border: 1px solid #d7dee6; background: #fff; color: #5f6b7a; height: 34px; padding: 0 12px; border-radius: 7px; cursor: pointer; font-size: 12.5px; font-weight: 600; }
.q-sc.on { background: #1D9E75; color: #fff; border-color: #1D9E75; }
.q-margin { display: flex; align-items: center; gap: 12px; margin: 18px 2px 6px; flex-wrap: wrap; }
.q-margin-lb { font-size: 13px; color: #445; font-weight: 600; white-space: nowrap; }
.q-margin input[type=range] { flex: 1; min-width: 200px; accent-color: #1D9E75; }
.q-margin-num { width: 64px; height: 32px; text-align: center; border: 1px solid #cbd7e2; border-radius: 7px; font-size: 14px; }
.q-margin-hint { font-size: 12px; color: #98a2b3; }
.q-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 12px 0 16px; }
.q-card { background: #fff; border: 0.5px solid #e3ecef; border-radius: 10px; padding: 12px 14px; }
.q-card .k { font-size: 12px; color: #6b7a8d; margin-bottom: 5px; }
.q-card .v { font-size: 22px; font-weight: 600; color: #243447; line-height: 1.1; }
.q-card .s { font-size: 11px; color: #98a2b3; margin-top: 3px; }
.q-card.hero { background: #E1F5EE; border: 1px solid #5DCAA5; }
.q-card.hero .k, .q-card.hero .v, .q-card.hero .s { color: #0f6e56; }
.q-card.hero.neg { background: #FDECEC; border-color: #f0b3b3; }
.q-card.hero.neg .k, .q-card.hero.neg .v, .q-card.hero.neg .s { color: #c0342c; }
.q-card .v.neg { color: #c0342c; }
.q-mg { color: #0f6e56; font-weight: 600; }
.q-mg.neg { color: #c0342c; }
.q-tag { font-size: 10px; background: #fff; color: #0f6e56; border-radius: 4px; padding: 0 4px; margin-left: 2px; }
.q-tag-prem { background: #FAEEDA; color: #854F0B; }
.q-ladder-wrap { overflow-x: auto; }
.q-ladder { border-collapse: collapse; width: 100%; min-width: 420px; font-size: 13px; }
.q-ladder th { text-align: left; padding: 7px 10px; color: #8593a4; font-weight: 400; border-bottom: 1px solid #e3ecef; }
.q-ladder th:not(:first-child) { text-align: right; }
.q-ladder td { padding: 7px 10px; border-bottom: 0.5px solid #eef2f7; }
.q-ladder td.r { text-align: right; font-weight: 500; }
.q-ladder td.r small { display: block; font-size: 11px; color: #98a2b3; font-weight: 400; }
.q-ladder td.r.neg { color: #c0342c; }
.q-ladder tr.on { background: #E1F5EE; }
.q-be { font-size: 10px; color: #0f6e56; background: #e1f5ee; border-radius: 4px; padding: 0 4px; }
.q-formula { font-size: 12px; color: #8593a4; margin-top: 12px; }
/* 报价页 · 成本明细 */
.q-cost { border: 1px solid #e3ecef; border-radius: 10px; padding: 12px 14px; margin: 4px 0 16px; background: #fbfdfc; }
.q-midrow { display: flex; gap: 16px; align-items: stretch; margin: 4px 0 16px; flex-wrap: wrap; }
.q-midrow .q-cost { flex: 1 1 560px; margin: 0; min-width: 0; }
.q-tips { flex: 1 1 320px; min-width: 260px; border: 1px solid #dbe7f3; border-radius: 10px; padding: 12px 14px; background: #f6faff; }
.q-tips-h { font-size: 13px; font-weight: 600; color: #185fa5; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.q-tip { margin-bottom: 11px; }
.q-tip:last-child { margin-bottom: 0; }
.q-tip-t { font-size: 12.5px; font-weight: 600; color: #34404d; margin-bottom: 3px; }
.q-tips ul { margin: 0; padding-left: 18px; }
.q-tips li { font-size: 12.5px; color: #45566e; line-height: 1.75; }
.q-tips b { color: #0f6e56; font-weight: 600; }
.q-tip-m { color: #98a2b3; }
.qc-head { font-size: 13px; font-weight: 600; color: #445; margin-bottom: 10px; }
.qc-head small { font-weight: 400; color: #98a2b3; margin-left: 6px; }
.qc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1180px; align-items: start; }
.qc-col { border-radius: 12px; padding: 10px 14px 12px; border: 1px solid #e6e8ee; background: #fff; }
.qc-col-fixed { background: #f4faf8; border-color: #d4ebe2; }
.qc-col-var { background: #fbf8f1; border-color: #ecdfc9; }
.qc-sec { font-size: 13px; font-weight: 700; color: #0f6e56; margin: 0 -14px 6px; padding: 0 14px 7px; border-bottom: 1px solid rgba(15,110,86,0.14); }
.qc-col-var .qc-sec { color: #9a6a12; border-bottom-color: rgba(154,106,18,0.16); }
.qc-sec .qc-sub { font-weight: 400; color: #98a2b3; font-size: 11px; margin-left: 4px; }
.qc-rowhd { display: flex; align-items: center; gap: 8px; padding: 2px 0 5px; font-size: 10.5px; font-weight: 700; color: #9aa7ad; letter-spacing: .02em; }
.qc-rowhd .h1 { flex: 1 1 74px; min-width: 0; }
.qc-rowhd .h1 em { font-weight: 400; font-style: normal; color: #b7c0c9; }
.qc-rowhd .h2 { flex: 1 1 74px; min-width: 0; }
.qc-rowhd .h3 { width: 160px; flex: none; }
.qc-rowhd .h4 { width: 20px; flex: none; }
/* 报价库(团队共享) */
.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; }
#qLibBody { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 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; }
.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; }
/* 报价图「客户看到什么」选择弹窗 */
.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; }
/* 报价页·客户原始需求粘贴框(成本明细右侧) */
.q-costwrap { display: flex; gap: 16px; align-items: stretch; flex-wrap: wrap; }
.q-costwrap .q-cost { flex: 1 1 560px; min-width: 0; }
.q-need { flex: 1 1 300px; display: flex; flex-direction: column; max-width: 380px; }
.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: 230px; 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; }
.qc-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 0.5px dashed #eaeef2; font-size: 13px; }
.qc-nm { color: #34404d; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qc-nm-in { flex: 1; min-width: 0; height: 28px; border: 1px solid transparent; border-radius: 6px; padding: 0 6px; font-size: 13px; color: #34404d; background: transparent; }
.qc-nm-in:hover { border-color: #dce4ec; background: #fff; }
.qc-nm-in:focus { border-color: #5DCAA5; background: #fff; outline: none; }
.qc-amt { font-weight: 500; color: #243447; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.qc-amt-in { width: 74px; height: 28px; border: 1px solid #dce4ec; border-radius: 6px; padding: 0 6px; font-size: 13px; text-align: right; color: #243447; }
.qc-amt-in:focus { border-color: #5DCAA5; outline: none; }
.qc-amt .qc-yen { color: #98a2b3; font-weight: 400; font-size: 11.5px; min-width: 56px; text-align: right; }
.qc-del { border: none; background: transparent; color: #c9d2dc; cursor: pointer; font-size: 13px; padding: 2px 4px; border-radius: 4px; }
.qc-del:hover { color: #c0342c; background: #fdecec; }
.qc-add { border: 1px dashed #cbd7e2; background: #fff; color: #0f9d8f; cursor: pointer; font-size: 12px; border-radius: 6px; padding: 4px 10px; margin-top: 6px; }
.qc-add:hover { background: #eafaf6; border-color: #5DCAA5; }
.qc-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qc-edited { font-size: 11px; color: #854F0B; background: #FAEEDA; border-radius: 4px; padding: 1px 6px; }
.qc-reset { border: 1px solid #d7dee6; background: #fff; color: #5f6b7a; cursor: pointer; font-size: 12px; border-radius: 6px; padding: 3px 10px; }
.qc-reset:hover { background: #f4f6f8; }
.qc-undo { border: 1px solid #bfe0da; background: #eafaf6; color: #0f9d8f; cursor: pointer; font-size: 12px; border-radius: 6px; padding: 3px 10px; font-weight: 600; }
.qc-undo:hover { background: #d4f2ec; }
.qc-undo.q-off, .qc-reset.q-off { opacity: .45; background: #f4f6f8; color: #98a2b3; border-color: #e3e8ee; cursor: default; }
.qc-undo.q-off:hover, .qc-reset.q-off:hover { background: #f4f6f8; }
.qc-empty { font-size: 12px; color: #b6c0cf; padding: 4px 0; }
.qc-tot { font-size: 12px; color: #5f6b7a; margin-top: 6px; padding-top: 5px; border-top: 1px solid #e3ecef; }
.qc-final { font-size: 13px; color: #243447; margin-top: 10px; padding-top: 8px; border-top: 1px solid #e3ecef; }
.qc-final b { color: #0f6e56; font-size: 15px; }
/* 成本分析表：表体上下滚动 + 表头钉住 + 只看产品筛选 */
.cm-scroll-wrap { max-height: 340px; overflow-y: auto; }
.cm-scroll-wrap thead th { position: sticky; top: 0; background: #f4f7fb; z-index: 2; }
.cm-table-filter { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cm-tf-label { font-size: 12px; color: #66748c; font-weight: 600; flex: 0 0 auto; }
.cm-tf-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.cm-tf-chip { border: 1px solid #cbe6ec; background: #fff; color: #0e2a44; border-radius: 999px; padding: 4px 11px; font-size: 11.5px; cursor: pointer; white-space: nowrap; }
.cm-tf-chip b { color: #0f9d8f; font-weight: 600; }
.cm-tf-chip:hover { background: #e2f5f8; }
.cm-tf-chip.active { background: #0f9d8f; border-color: #0f9d8f; color: #fff; }
.cm-tf-chip.active b { color: #eafffb; }
.cm-jump-label { font-size: 12px; color: #0f6e56; font-weight: 600; }
.cm-jump-btn { border: 1px solid #cbe6ec; background: #fff; color: #0e2a44; border-radius: 999px; padding: 5px 12px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.cm-jump-btn:hover { background: #e2f5f8; }
.cm-jump-btn.active { background: #e1f5ee; border-color: #0f9d8f; }
.cm-cards::-webkit-scrollbar { height: 9px; }
.cm-cards::-webkit-scrollbar-thumb { background: #cbd6e2; border-radius: 6px; }
.cm-cards::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 6px; }
.cm-card { gap: 10px; }
.cm-name { width: 100%; font-size: 15px; font-weight: 600; color: #102345; padding: 6px 8px; border: 0.5px solid #e3e8ef; border-radius: 8px; }
.cm-price-row { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; background: #e2f5f8; border-radius: 8px; }
.cm-price-top { display: flex; align-items: center; justify-content: space-between; }
.cm-price-fx { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.cm-fx-note { font-size: 12px; color: #90a0b5; }
.cm-price-row b { color: #00707d; font-size: 13px; }
.cm-comm-row { display: flex; flex-direction: column; gap: 6px; padding: 6px 10px; font-size: 13px; color: #44546c; }
.cm-comm-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cm-comm-row b { color: #102345; font-size: 13px; }
.cm-comm-val { color: #00707d; font-size: 14px; }
.cm-comm-slider { width: 100%; }
.cm-net-wrap { color: #6b7686; font-size: 12.5px; }
.cm-net { color: #137a4b; font-size: 14px; }
.cm-net-eur { font-size: 12px; color: #137a4b; background: #e6f6ee; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.cm-sec { font-size: 12.5px; }
.cm-sec-head { display: flex; justify-content: space-between; align-items: baseline; color: #102345; font-weight: 600; margin-bottom: 6px; }
.cm-sec-sum { font-size: 12px; color: #6b7686; font-weight: 400; }
.cm-lines { display: flex; flex-direction: column; gap: 5px; }
.cm-line { display: flex; align-items: center; gap: 6px; }
.cm-line-label { flex: 1; min-width: 0; padding: 4px 7px; font-size: 12.5px; border: 0.5px solid #d7dde7; border-radius: 6px; }
.cm-line-amt { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; color: #44546c; white-space: nowrap; }
.cm-line-amt input { width: 78px; padding: 4px 6px; font-size: 12.5px; border: 0.5px solid #d7dde7; border-radius: 6px; text-align: right; }
.cm-line-del { border: none; background: none; color: #c0392b; cursor: pointer; font-size: 12px; padding: 2px 4px; }
.cm-add { font-size: 12px; padding: 4px 8px; align-self: flex-start; margin-top: 2px; }
.cm-region-tabs { display: flex; gap: 8px; margin-top: 14px; }
.cm-region-tabs button { padding: 8px 18px; font-size: 14px; font-weight: 600; border: 0.5px solid #d7dde7; border-radius: 10px; background: #fff; color: #44546c; cursor: pointer; }
.cm-region-tabs button.active { background: #eaf6f8; color: #00808f; border-color: #00a5b8; }
.cm-region-tabs .tab-count { font-size: 12px; opacity: 0.7; margin-left: 2px; }
/* 二级类目：散拼 / 包车 */
.cm-type-tabs { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 12px; background: #f4f9f9; border: 1px dashed #b7dedd; border-radius: 12px; }
.cm-type-lb { font-size: 12.5px; font-weight: 800; color: #00808f; margin-right: 2px; }
.cm-type-tab { padding: 6px 15px; font-size: 13px; font-weight: 700; border: 0.5px solid #d7dde7; border-radius: 999px; background: #fff; color: #44546c; cursor: pointer; }
.cm-type-tab.active { background: #0a8f8f; color: #fff; border-color: #0a8f8f; }
.cm-type-tab .tab-count { font-size: 11.5px; opacity: 0.75; margin-left: 2px; }
.cm-type-tab.active .tab-count { opacity: 0.9; }
.cm-card-head { display: flex; align-items: center; gap: 8px; }
.cm-badge { flex: none; min-width: 38px; height: 34px; padding: 0 8px; border-radius: 9px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.cm-eur { font-size: 12px; color: #00707d; background: #e2f5f8; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.cm-del-product { flex: none; border: none; background: none; color: #c0392b; cursor: pointer; font-size: 14px; padding: 4px 6px; border-radius: 6px; }
.cm-del-product:hover { background: #fdeaea; }
.cm-desc { border: 0.5px solid #e3e8ef; border-radius: 8px; background: #fbfcfe; }
.cm-desc > summary { cursor: pointer; padding: 8px 11px; font-size: 13px; font-weight: 600; color: #00707d; list-style: none; display: flex; align-items: center; gap: 6px; }
.cm-desc > summary::-webkit-details-marker { display: none; }
.cm-desc[open] > summary { border-bottom: 0.5px solid #e3e8ef; }
.cm-desc-hint { font-size: 12px; color: #8a94a6; font-weight: 400; }
.cm-desc-dot { color: #1d9e75; font-size: 10px; }
.cm-desc-text { width: 100%; box-sizing: border-box; border: none; border-radius: 0 0 8px 8px; padding: 10px 11px; font-size: 13px; line-height: 1.6; color: #2c3a4f; resize: vertical; font-family: inherit; background: #fff; }
.cm-desc-text:focus { outline: none; }
/* 成本明细抽屉（默认收起） */
.cm-cost-drawer { border: 0.5px solid #e3e8ef; border-radius: 8px; background: #f4f9f9; }
.cm-cost-sum { cursor: pointer; padding: 9px 11px; font-size: 13px; font-weight: 700; color: #0a707d; list-style: none; display: flex; align-items: center; gap: 6px; }
.cm-cost-sum::-webkit-details-marker { display: none; }
.cm-cost-sum::after { content: "▾"; margin-left: auto; font-size: 11px; color: #6b7686; transition: transform .2s; }
.cm-cost-drawer[open] > .cm-cost-sum { border-bottom: 0.5px solid #e3e8ef; }
.cm-cost-drawer[open] > .cm-cost-sum::after { transform: rotate(180deg); }
.cm-cost-hint { font-size: 11.5px; color: #8a94a6; font-weight: 400; }
.cm-cost-body { padding: 11px; display: flex; flex-direction: column; gap: 12px; background: #fff; border-radius: 0 0 8px 8px; }
/* 成本卡翻面：正面成本 / 反面行程（淡入切换） */
.cm-face-front { display: flex; flex-direction: column; gap: 10px; }
.cm-face-back { display: none; }
.cm-card.cm-flipped .cm-face-front { display: none; }
.cm-card.cm-flipped .cm-face-back { display: flex; flex-direction: column; }
.cm-face-front, .cm-face-back { animation: cmFaceIn 0.16s ease; }
@keyframes cmFaceIn { from { opacity: 0; } to { opacity: 1; } }
.cm-flip-btn { width: 100%; margin-top: 2px; border: 1px dashed #b7dedd; background: #eef7f7; color: #0a8f8f; border-radius: 9px; padding: 9px; font-size: 12.5px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; justify-content: center; }
.cm-flip-btn:hover { background: #e2f2f2; }
.cm-flip-btn b { font-weight: 800; }
.cm-flip-dot { font-size: 10.5px; color: #0a8f5b; font-weight: 700; background: #e3f6ec; border-radius: 5px; padding: 1px 6px; }
.cm-back-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cm-flip-return { border: 1px solid #e3ecec; background: #fff; color: #0a8f8f; font-size: 12px; font-weight: 700; border-radius: 7px; padding: 5px 11px; cursor: pointer; }
.cm-flip-return:hover { background: #f2fbfb; }
.cm-back-title { font-size: 13px; font-weight: 800; color: #16333a; }
.cm-back-nm { font-size: 12px; color: #6b8189; margin-bottom: 7px; }
.cm-back-ta { flex: 1; width: 100%; box-sizing: border-box; border: 1px solid #e3ecec; border-radius: 9px; padding: 10px; font-size: 12.5px; line-height: 1.6; color: #2c3a4f; background: #fff; resize: vertical; font-family: inherit; min-height: 230px; }
.cm-back-ta:focus { outline: none; border-color: #0a8f8f; }
.cm-holiday-list { display: flex; flex-direction: column; gap: 8px; }
.cm-holiday-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cm-hol-name { width: 200px; padding: 6px 9px; font-size: 13px; border: 0.5px solid #d7dde7; border-radius: 7px; }
.cm-hol-date { width: 180px; padding: 6px 9px; font-size: 13px; border: 0.5px solid #d7dde7; border-radius: 7px; }
.cm-hol-prem { font-size: 13px; color: #44546c; display: inline-flex; align-items: center; gap: 2px; }
.cm-hol-prem input { width: 60px; padding: 6px 6px; font-size: 13px; border: 0.5px solid #d7dde7; border-radius: 7px; text-align: right; }
.cm-scenario-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.cm-people-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #44546c; padding-right: 14px; margin-right: 4px; border-right: 1px solid #e6ebf3; }
.cm-scenario-label { font-size: 13px; color: #44546c; }
.cm-scenario-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cm-chip { padding: 6px 14px; font-size: 13px; border: 0.5px solid #d7dde7; border-radius: 8px; background: #fff; color: #44546c; cursor: pointer; }
.cm-chip.active { background: #eaf6f8; color: #00808f; border-color: #00a5b8; font-weight: 600; }
.cm-chip.cm-chip-holiday.active { background: #fdecec; color: #b3322f; border-color: #e6a3a0; }
.cm-holiday-banner { display: flex; align-items: center; gap: 8px; background: #fdecec; color: #b3322f; border-radius: 10px; padding: 10px 14px; font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.cm-holiday-banner[hidden] { display: none; } /* 平日无加价时真正隐藏，不再残留空粉条 */
.cm-people-hint { color: #98a2b3; font-size: 12px; font-weight: 400; }
.cm-holiday-banner strong { color: #8f2522; }
.cm-people-input { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: #102345; font-weight: 500; }
.cm-people-input input { width: 70px; padding: 5px 8px; font-size: 15px; font-weight: 600; text-align: center; border: 0.5px solid #c7d2e0; border-radius: 7px; }

/* 政策总览：可钻取单元格按钮（继承单元格内容样式，悬停才显出可点） */
.cp-link {
  padding: 0; margin: 0; background: none; border: none; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
  border-bottom: 1px dashed transparent; transition: border-color 0.15s, color 0.15s;
}
.cp-link:hover { color: var(--blue); border-bottom-color: var(--blue); }
.cp-link:hover .status-pill, .cp-link:hover small { filter: brightness(0.92); }
/* 点击「年度返点」后高亮下方通用政策卡 */
@keyframes cpFlash { 0% { box-shadow: 0 0 0 0 rgba(37,99,235,0.45); } 100% { box-shadow: 0 0 0 8px rgba(37,99,235,0); } }
.cp-flash { animation: cpFlash 1.1s ease-out 2; border-radius: 12px; }

.line-chart,
.bar-chart {
  height: 260px;
  border: 1px solid #edf2f8;
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent 24%, #edf2f8 25%, transparent 26%, transparent 49%, #edf2f8 50%, transparent 51%, transparent 74%, #edf2f8 75%, transparent 76%),
    linear-gradient(90deg, #00909e 0 8%, transparent 8% 14%, #85aef5 14% 23%, transparent 23% 28%, #00909e 28% 41%, transparent 41% 49%, #85aef5 49% 59%, transparent 59% 66%, #00909e 66% 78%, transparent 78% 85%, #85aef5 85% 93%, transparent 93%);
  background-size: 100% 100%, 100% 60%;
  background-position: center, bottom;
  background-repeat: no-repeat;
}

.line-chart {
  background:
    linear-gradient(180deg, transparent 24%, #edf2f8 25%, transparent 26%, transparent 49%, #edf2f8 50%, transparent 51%, transparent 74%, #edf2f8 75%, transparent 76%),
    linear-gradient(135deg, transparent 0 18%, #00909e 18% 20%, transparent 20% 30%, #00909e 30% 32%, transparent 32% 44%, #00909e 44% 46%, transparent 46% 58%, #00909e 58% 60%, transparent 60% 72%, #00909e 72% 74%, transparent 74%);
}

.rank-list,
.mini-table,
.rule-list,
.strategy-list,
.reward-list,
.tag-list,
.report-metrics,
.settlement-summary,
.level-grid {
  display: grid;
  gap: 10px;
}

.rank-item,
.mini-row,
.rule-list article,
.strategy-list article,
.reward-list article,
.report-metrics article,
.settlement-summary article,
.level-grid article {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #edf2f8;
  border-radius: 8px;
  background: #fbfdff;
}

.rank-item span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.mini-row {
  grid-template-columns: 1.1fr 1fr auto auto;
}

.donut-wrap {
  display: grid;
  gap: 10px;
}

.donut-wrap div {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-radius: 8px;
  background: #f8fbff;
}

.donut-large {
  width: 240px;
  height: 240px;
  margin: 16px auto;
  border-radius: 50%;
  background: conic-gradient(#00909e 0 35%, #00a88f 35% 61%, #f59e0b 61% 80%, #7c3aed 80% 93%, #cbe6ec 93% 100%);
  box-shadow: inset 0 0 0 58px #fff;
}

.rule-list article,
.strategy-list article,
.reward-list article,
.report-metrics article,
.settlement-summary article,
.level-grid article {
  grid-template-columns: 1fr auto;
}

.rule-list p,
.strategy-list p,
.level-grid p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.strategy-list small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.policy-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff, #e2f5f8);
}

.policy-hero p {
  margin: 10px 0 0;
  color: var(--muted);
}

.policy-hero strong {
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 34px;
  box-shadow: 0 18px 38px rgba(0, 144, 158, 0.25);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
}

.tag-list span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: #e2f5f8;
  font-weight: 800;
}

.policy-note {
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 8px;
  color: #33456d;
  background: #f8fbff;
  line-height: 1.8;
}

.reward-list article {
  grid-template-columns: 1fr auto;
}

.reward-list span {
  color: var(--orange);
  font-weight: 900;
}

.announcement-dashboard {
  margin: 8px 0 14px;
}

.announcement-dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.announcement-dashboard-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  color: var(--muted);
  border: 0;
  border-radius: 8px;
  background: #f0f5fb;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.announcement-dashboard-pill:hover {
  transform: translateY(-1px);
}

.announcement-dashboard-pill.active {
  color: #fff;
  background: var(--blue);
}

.announcement-dashboard-pill strong {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-size: 12px;
}

.announcement-dashboard-pill:not(.active) strong {
  color: var(--muted);
  background: #e2eaf5;
}

.announcement-list,
.sidebar-announcement-list {
  display: grid;
  gap: 10px;
}

.announcement-card,
.sidebar-announcement-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid #edf2f8;
  border-radius: 8px;
  background: #fbfdff;
}

.announcement-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.announcement-card p,
.sidebar-announcement-list p {
  margin: 8px 0;
  color: #33456d;
  line-height: 1.6;
}

.announcement-body {
  margin: 8px 0;
  color: #33456d;
  line-height: 1.7;
}

.announcement-body h1,
.announcement-body h2,
.announcement-body h3,
.rich-editor h1,
.rich-editor h2,
.rich-editor h3 {
  margin: 18px 0 10px;
  color: var(--text);
  font-weight: 900;
  line-height: 1.3;
}

.announcement-body h1,
.rich-editor h1 {
  font-size: 28px;
}

.announcement-body h2,
.rich-editor h2 {
  font-size: 23px;
}

.announcement-body h3 {
  font-size: 19px;
}

.rich-editor h3 {
  font-size: 19px;
}

.announcement-body p,
.rich-editor p {
  margin: 10px 0;
  line-height: 1.85;
}

.announcement-body ul,
.announcement-body ol,
.rich-editor ul,
.rich-editor ol {
  margin: 10px 0 14px;
  padding-left: 24px;
}

.announcement-body li,
.rich-editor li {
  margin: 6px 0;
  line-height: 1.75;
}

.announcement-body a,
.rich-editor a {
  color: var(--blue);
  font-weight: 800;
}

.announcement-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 12px 0;
  border: 1px solid #edf2f8;
}

.announcement-print-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.announcement-print-actions button {
  padding: 9px 14px;
}

.product-doc {
  display: grid;
  gap: 18px;
}

.product-doc-hero {
  padding: 22px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #024e58, #00909e);
}

.product-doc-hero h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 28px;
  line-height: 1.25;
}

.product-doc-hero p {
  margin: 0;
  color: #e2f5f8;
}

.product-doc-chips,
.product-doc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-doc-chips span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #00808f;
  background: #e2f5f8;
  font-size: 13px;
  font-weight: 900;
}

.product-doc-section {
  padding: 18px;
  border: 1px solid #dce5f2;
  border-radius: 10px;
  background: #fff;
}

.product-doc-section h2 {
  margin: 0 0 12px;
  color: #024e58;
  font-size: 20px;
}

.product-doc-grid article {
  flex: 1 1 180px;
  padding: 14px;
  border-radius: 8px;
  background: #f8fbff;
}

.product-doc-grid strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}

.product-doc-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.product-itinerary {
  width: 100%;
  min-width: 760px;
  border: 1px solid #102345;
  border-collapse: collapse;
}

.product-itinerary th,
.product-itinerary td {
  padding: 12px;
  border: 1px solid #102345;
  vertical-align: top;
}

.product-itinerary th {
  background: #f8fbff;
  text-align: center;
}

.product-itinerary td:first-child {
  width: 120px;
  text-align: center;
  font-weight: 900;
}

.product-doc-list {
  margin: 0;
  padding-left: 20px;
}

.product-doc-list li {
  margin: 7px 0;
}

.product-doc-note {
  padding: 14px;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  color: #7a3f00;
  background: #fff7e6;
  font-weight: 800;
}

@media print {
  .announcement-print-actions {
    display: none;
  }

  body {
    background: #fff !important;
  }

  .detail-panel {
    border: 0 !important;
  }
}

.announcement-card span,
.sidebar-announcement-list span {
  color: var(--muted);
  font-size: 13px;
}

.announcement-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.announcement-date {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.announcement-badge.tag {
  color: #00808f;
  background: #e2f5f8;
}

.announcement-badge.importance {
  color: #9a5600;
  background: #fff3d8;
}

.announcement-badge.publish {
  color: #08724f;
  background: #e7f8ef;
}

.announcement-title {
  display: block;
  width: 100%;
  padding: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-size: 16px;
  font-weight: 900;
}

.announcement-title:hover {
  color: var(--blue);
}

.announcement-detail {
  margin-top: 10px;
}

.attachment-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 6px;
  border: 1px solid #cfe0fb;
  border-radius: 999px;
  color: var(--blue);
  background: #e2f5f8;
  font-size: 12px;
  font-weight: 900;
  vertical-align: middle;
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #f8fbff;
}

.rich-toolbar button {
  padding: 8px 10px;
  color: var(--blue);
  background: #e2f5f8;
}

.rich-editor {
  min-height: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: #fff;
  color: var(--text);
  line-height: 1.7;
  outline: none;
}

.rich-editor:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 144, 158, 0.12);
}

.rich-editor:empty::before {
  content: attr(data-placeholder);
  color: var(--muted);
}

.attachment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin: 16px 0 4px;
}

.attachment-item {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.attachment-preview-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 10px;
  border: 1px solid #dce5f2;
  border-radius: 8px;
  background: #f8fbff;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.attachment-preview-card:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 28px rgba(0, 144, 158, 0.12);
  transform: translateY(-1px);
}

.attachment-thumb {
  display: grid;
  place-items: center;
  width: 96px;
  height: 72px;
  overflow: hidden;
  border: 1px solid #dce5f2;
  border-radius: 8px;
  background: #e2f5f8;
}

.attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.attachment-thumb em {
  color: var(--blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.attachment-info {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.attachment-info strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.settlement-summary {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  margin-bottom: 14px;
}

.settlement-summary strong,
.report-metrics strong {
  font-size: 22px;
}

.report-metrics {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

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

/* 下单表：产品编号(窄) + 产品标题(宽) 同一行，标题占约 3/4 便于显示长标题 */
.op-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) 1.45fr;
  gap: 14px;
}

/* 弹窗说明块 + 库存返佣激励预览 */
.dialog-note { font-size: 12.5px; line-height: 1.6; color: #34465f; }
/* 分组卡片（如产品编辑器「自营团·核心档期」）：独立配色区块 + 可折叠说明 */
.fld-section { grid-column: 1 / -1; border: 1px solid #bcd7f0; border-left: 4px solid #2f7ac4; border-radius: 12px; background: #eef6fd; overflow: hidden; margin: 2px 0; }
.fld-section-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.fld-section-ic { font-size: 20px; line-height: 1; }
.fld-section-tt { flex: 1; min-width: 0; }
.fld-section-tt b { display: block; font-size: 14px; color: #175a9e; font-weight: 600; }
.fld-section-tt small { font-size: 12px; color: #3a72a8; }
.fld-section-help-btn { flex: 0 0 auto; font-size: 12px; padding: 5px 10px; border: 0.5px solid #b3d2ef; border-radius: 999px; background: #fff; color: #175a9e; cursor: pointer; white-space: nowrap; }
.fld-section-help-btn:hover { background: #e3f0fb; }
.fld-section-help { margin: 0 14px 12px; padding: 10px 12px; background: #fff; border: 0.5px solid #cfe2f5; border-radius: 8px; font-size: 12.5px; color: #46536b; line-height: 1.75; }
.fld-section-help b { color: #175a9e; }
.fld-section-body { background: #fff; border-top: 0.5px solid #cfe2f5; padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fld-section-body .wide { grid-column: 1 / -1; }
.dialog-note.accent { background: #eef7fb; border: 0.5px solid #bfe3ec; color: #0a6b78; border-radius: 8px; padding: 9px 12px; }
.dialog-note.preview { background: #f4fbfd; border: 1px solid #bfe3ec; border-radius: 8px; padding: 10px 12px; }
.dialog-note.info { background: #eef7fb; border: 0.5px solid #bfe3ec; color: #0a6b78; border-radius: 8px; padding: 9px 12px; }
.dialog-note.warn { background: #fff4e6; border: 1px solid #f3d9b8; color: #8a5a17; border-radius: 8px; padding: 9px 12px; }
.invp-title { font-size: 11.5px; color: #667085; margin-bottom: 4px; }
.invp-calc { font-size: 14px; color: #0a8f5b; }
.invp-calc b { font-size: 16px; font-weight: 700; }
.invp-note { font-size: 11.5px; color: #98a2b3; margin-top: 5px; }
/* 临期清仓 × 手动促销 叠加提醒 */
.invp-clash { font-size: 12px; line-height: 1.55; color: #b42318; background: #fff4f2; border: 1px solid #fda29b; border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }
.invp-clash b { color: #912018; font-weight: 700; }
.invp-clashmild { font-size: 11.5px; line-height: 1.55; color: #93601a; background: #fffaeb; border: 1px solid #fde68a; border-radius: 8px; padding: 7px 10px; margin-bottom: 8px; }
.invp-clashmild b { color: #7a4d10; font-weight: 700; }
/* 开关+百分比行（团期返佣激励） */
.pct-row { display: flex; align-items: center; gap: 12px; border: 0.5px solid #e6e8ee; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.pct-row.on { border-color: #a9ded0; background: #eefaf4; }
.pct-sw { width: 40px; height: 23px; border-radius: 20px; background: #cfd6e0; border: none; position: relative; flex: none; cursor: pointer; padding: 0; transition: background .15s; }
.pct-sw.on { background: #0a8f5b; }
.pct-sw i { position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: left .15s; }
.pct-sw.on i { left: 19px; }
.pct-main { flex: 1; min-width: 0; }
.pct-t { font-size: 13px; font-weight: 600; color: #1a2233; }
.pct-d { font-size: 11.5px; color: #98a2b3; margin-top: 2px; }
.pct-num { display: flex; align-items: center; gap: 4px; flex: none; }
.pct-num .pct-plus { color: #0a8f5b; font-weight: 700; }
.pct-num input { width: 58px; height: 34px; border: 0.5px solid #cfd6e0; border-radius: 8px; text-align: center; font-size: 15px; font-weight: 600; }
.pct-num input:disabled { background: #f4f6f9; color: #b6c2d0; }
.pct-num .pct-sign { color: #667085; }
.field-help {
  display: block;
  margin-top: 4px;
  color: #6b7c99;
  font-size: 12px;
}

/* 批量库存·手挑日期（多选日历） */
.multidate-field { display: flex; flex-direction: column; gap: 8px; }
.multidate-field .field-label { font-size: 13px; color: #34465f; font-weight: 600; }
.multidate-field .md-cal-input { display: none; }
.md-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.md-chips button { font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 0.5px solid #bfe3ec; background: #eef7fb; color: #0a6b78; cursor: pointer; }
.md-chips button:hover { background: #dceef4; }
.md-chips button[data-md-quick="clear"] { border-color: #f0c9c9; background: #fdf0f0; color: #b23b3b; }
.md-count { font-size: 12.5px; color: #0a6b78; }
.md-count b { font-weight: 700; }
.multidate-field .flatpickr-calendar.inline { box-shadow: none; border: 0.5px solid #e6e8ee; border-radius: 10px; }

.route-image-preview .field-label {
  display: block;
  margin-bottom: 6px;
  color: #33415c;
  font-weight: 700;
  font-size: 13px;
}

.route-image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.route-image-grid figure {
  width: 110px;
  margin: 0;
  text-align: center;
}

.route-image-grid img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #cbe6ec;
  border-radius: 8px;
}

.link-danger {
  margin-top: 4px;
  padding: 0;
  border: none;
  background: none;
  color: #e5484d;
  font-size: 12px;
  cursor: pointer;
}

.paste-zone {
  margin-top: 6px;
  padding: 16px;
  border: 2px dashed #b8cbe6;
  border-radius: 10px;
  background: #f6f9fd;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.paste-zone:focus,
.paste-zone:hover {
  border-color: #00808f;
  background: #e2f5f8;
  outline: none;
}

.paste-zone.dragover {
  border-color: #00808f;
  background: #e2f5f8;
}

.paste-zone-hint {
  margin: 0;
  color: #5c6f8e;
  font-size: 13px;
  text-align: center;
}

.paste-zone .route-image-grid:empty {
  display: none;
}

.paste-zone .route-image-grid {
  margin-top: 12px;
}

.route-pricing-panel {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed #cbe6ec;
}

.route-pricing-panel .pricing-meta {
  margin: 8px 0 0;
  color: #00808f;
  font-size: 13px;
  font-weight: 700;
}

.route-pricing-panel .pricing-note {
  margin: 6px 0 0;
  color: #5c6f8e;
  font-size: 13px;
  line-height: 1.6;
}

.pricing-input-card {
  padding: 16px;
  border: 1px solid #cbe6ec;
  border-radius: 12px;
  background: #f8fbff;
}

.pricing-ref-label {
  display: block;
  margin-bottom: 12px;
  color: #33415c;
  font-weight: 700;
  font-size: 13px;
}

.pricing-ref-label textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid #cdddf0;
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
  resize: vertical;
  box-sizing: border-box;
}

.pricing-people-label {
  display: block;
  margin-bottom: 12px;
  color: #33415c;
  font-weight: 700;
  font-size: 13px;
}

.pricing-people-label input {
  display: block;
  width: 160px;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid #cdddf0;
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
  box-sizing: border-box;
}

.pricing-actions {
  margin-top: 14px;
  text-align: right;
}

.inventory-day {
  position: relative;
}

.inventory-promo {
  display: inline-block;
  margin-top: 2px;
  padding: 0 5px;
  border-radius: 5px;
  background: #e6f7ec;
  color: #15794b;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .2px;
}

/* 促销日：返佣直升,徽章转红 + 淡红描边 */
.inventory-day.has-promo .inventory-promo { background: #fdecec; color: #d62f34; }
.inventory-day.has-promo {
  outline: 1.5px solid #f3b0b2;
  outline-offset: -1.5px;
}

.route-travel-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 10px 0 4px;
  padding: 10px 14px;
  border: 1px solid #bcd4f5;
  border-radius: 10px;
  background: #e2f5f8;
  font-size: 14px;
  color: #33415c;
}

.route-travel-info strong {
  color: #00808f;
}

.pricing-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.pricing-field .field-label {
  display: block;
  margin-bottom: 6px;
}

.vehicle-options {
  display: flex;
  gap: 16px;
  align-items: center;
}

.vehicle-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #33415c;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}

.pricing-result {
  margin-top: 18px;
}

.pricing-breakdown-label {
  font-weight: 700;
  color: #33415c;
}

.quote-card {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1.2fr);
  gap: 18px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #cbe6ec;
  border-radius: 12px;
  background: #fff;
}

.quote-detail-table {
  width: 100%;
  border-collapse: collapse;
  align-self: start;
}

.quote-detail-table th,
.quote-detail-table td {
  padding: 10px 12px;
  border: 1px solid #e0e9f5;
  text-align: left;
  font-size: 14px;
}

.quote-detail-table th {
  width: 46%;
  background: #f6f9fd;
  color: #33415c;
  font-weight: 700;
}

.quote-detail-table td {
  color: #071b42;
  font-weight: 700;
}

.quote-price {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f6f9fd;
}

.quote-price-row span {
  color: #5c6f8e;
  font-weight: 700;
  font-size: 14px;
}

.quote-price-row strong {
  color: #071b42;
  font-size: 18px;
  font-weight: 900;
}

.quote-price-row strong em {
  color: #5c6f8e;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.quote-price-row.highlight {
  background: #e2f5f8;
  border: 1px solid #bcd4f5;
}

.quote-price-row.highlight strong {
  color: #00808f;
}

.quote-breakdown {
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fafcff;
  border: 1px dashed #cbe6ec;
  color: #5c6f8e;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .quote-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .metric-grid,
  .dashboard-grid,
  .dashboard-grid.two,
  .settlement-summary,
  .report-metrics,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .top-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .announcement-card,
  .announcement-main,
  .announcement-meta {
    align-items: flex-start;
    grid-template-columns: 1fr;
    justify-content: flex-start;
    white-space: normal;
  }

  .announcement-card {
    flex-direction: column;
  }

  .announcement-meta {
    flex-wrap: wrap;
  }

  .attachment-list {
    grid-template-columns: 1fr;
  }

  .attachment-preview-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .attachment-thumb {
    width: 84px;
    height: 64px;
  }

  .route-summary {
    grid-template-columns: 1fr;
  }

  .route-map-panel header,
  .route-progress-day {
    grid-template-columns: 1fr;
  }

  .route-map-panel header {
    flex-direction: column;
  }

  .route-map-edit-fields {
    grid-template-columns: 1fr;
  }
}

/* ===== 规则中心 ===== */
.rule-search {
  flex: 1;
  min-width: 200px;
  margin: 0 12px;
  padding: 8px 12px;
  border: 1px solid #cdddf0;
  border-radius: 8px;
  font: inherit;
}
.rc-tabs { display: flex; gap: 8px; margin: 4px 0 16px; border-bottom: 1px solid var(--line, #e6e8ee); }
.rc-tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 4px; margin-bottom: -1px; font-size: 14px; color: #667085; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.rc-tab:hover { color: #16333a; }
.rc-tab.active { color: #0e7c74; border-bottom-color: #0e7c74; font-weight: 600; }
.rc-lock { font-size: 10.5px; background: #eef4f2; color: #8593a4; padding: 1px 7px; border-radius: 999px; font-weight: 400; }
.rc-tabs[hidden] { display: none !important; }
.rule-center { display: flex; flex-direction: column; gap: 22px; }
/* 规则中心：最近调整 + 可调参数（实时值） */
.rule-recent { background: #fff8e6; border: 1px solid #ffe0a3; border-radius: 12px; padding: 12px 16px; }
.rule-recent.empty { color: #8a6d3b; font-size: 13px; }
.rule-recent.empty i { font-style: normal; margin-right: 6px; }
.rule-recent-h { font-size: 13px; font-weight: 700; color: #8a5a00; margin-bottom: 8px; }
.rule-recent ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rule-recent li { font-size: 13px; color: #334; }
.rule-recent .rc-new { color: #00808f; }
.rule-recent .rc-meta { color: #98a2b3; font-size: 11.5px; margin-left: 8px; }
.rule-live-list { display: flex; flex-direction: column; gap: 10px; }
.rule-live-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e4e9f2; border-radius: 10px; padding: 12px 14px; }
.rlr-main { flex: 1; min-width: 0; }
.rlr-main .rlr-dom { font-size: 11px; color: #667085; background: #f1f5fb; border-radius: 5px; padding: 1px 7px; margin-right: 8px; }
.rlr-main b { font-size: 14px; color: #102345; }
.rlr-main p { margin: 4px 0 0; font-size: 12px; color: #667085; line-height: 1.6; }
.rlr-val { font-size: 16px; font-weight: 700; color: #00808f; white-space: nowrap; }
.rlr-edit { flex: 0 0 auto; font-size: 12px; padding: 5px 14px; }
.rl-switch { flex: 0 0 auto; width: 48px; height: 26px; border-radius: 999px; border: 0; padding: 0; position: relative; cursor: pointer; transition: background .18s; background: #cbd5e1; }
.rl-switch.on { background: #16a34a; }
.rl-switch .rl-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .18s; }
.rl-switch.on .rl-knob { left: 25px; }
.idle-sync { display: flex; align-items: center; gap: 14px; background: #e2f5f8; border: 1px solid #b3e0e8; border-radius: 10px; padding: 12px 14px; }
.idle-sync.warn { background: #fff7ed; border-color: #fed7aa; }
.idle-sync-main { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.idle-sync-main b { font-size: 13px; color: #102345; }
.idle-sync-main span { font-size: 12px; color: #475467; }
.idle-sync-main .idle-sync-sub { font-size: 11.5px; color: #98a2b3; }
.idle-sync button { flex: 0 0 auto; }
/* 包车闪购管理 */
.flash-row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0.5px solid #e4e9f2; border-radius: 10px; margin-bottom: 8px; }
.flash-row.on { border-color: #f6c560; background: #fffaf0; }
.flash-row.off, .flash-row.exp { opacity: 0.6; }
.flash-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.flash-main b { font-size: 13.5px; color: #102345; }
.flash-sub { font-size: 12px; color: #667085; }
.flash-pitch { font-size: 12px; color: #b8690a; }
.flash-acts { display: flex; gap: 6px; flex: 0 0 auto; }
.flash-acts button { font-size: 12px; padding: 5px 12px; }
/* 节假日/特殊日期调价 */
.da-row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0.5px solid #e4e9f2; border-radius: 10px; margin-bottom: 8px; }
.da-row.off, .da-row.exp { opacity: 0.6; }
.da-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.da-main b { font-size: 13.5px; color: #102345; }
.da-sub { font-size: 12px; color: #667085; }
.da-badge { font-size: 12.5px; font-weight: 600; padding: 3px 11px; border-radius: 20px; white-space: nowrap; }
.da-badge.up { color: #993c1d; background: #faece7; }
.da-badge.down { color: #00707d; background: #e2f5f8; }
.da-acts { display: flex; gap: 6px; }
.da-acts button { font-size: 12px; padding: 5px 12px; }
#charterDateAdjForm { border: 0.5px solid #e4e9f2; border-radius: 10px; padding: 14px; margin-top: 10px; background: #fbfcfe; }
#charterDateAdjForm[hidden] { display: none; }
.da-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.da-form-grid > label { display: flex; flex-direction: column; font-size: 12px; color: #5a6678; gap: 5px; }
.da-form-grid .da-f-name, .da-form-grid .da-f-region { grid-column: 1 / -1; }
.da-f-dir { font-size: 12px; color: #5a6678; display: flex; flex-direction: column; gap: 5px; }
.da-dir-btns { display: flex; gap: 8px; }
.da-dir { flex: 1; padding: 8px; border: 0.5px solid #d7dde7; border-radius: 8px; background: #fff; font-size: 13px; color: #667085; cursor: pointer; }
.da-dir.on[data-da-dir="up"] { border: 2px solid #d85a30; background: #faece7; color: #4a1b0c; font-weight: 600; }
.da-dir.on[data-da-dir="down"] { border: 2px solid #378add; background: #e2f5f8; color: #042c53; font-weight: 600; }
.da-form-acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
#charterDateAdjForm .flatpickr-calendar.static { position: static; box-shadow: none; }
/* 包车询价管理页：状态标签 + 状态徽章 */
.ci-status-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.ci-tab { font-size: 12.5px; padding: 6px 14px; border-radius: 20px; border: 0.5px solid #e0e6ef; background: #fff; color: #5a6678; cursor: pointer; }
.ci-tab:hover { background: #f4f6fb; }
.ci-tab.active { background: #00909e; color: #fff; border-color: #00909e; font-weight: 600; }
.ci-tab.active.s-wait { background: #e6a700; border-color: #e6a700; }
.ci-tab.active.s-quoted { background: #00909e; border-color: #00909e; }
.ci-tab.active.s-done { background: #16a34a; border-color: #16a34a; }
.ci-tab.active.s-cancel { background: #98a2b3; border-color: #98a2b3; }
.ci-tab.active.s-draft { background: #7c6f9c; border-color: #7c6f9c; }
.ci-badge { font-size: 11px; padding: 2px 9px; border-radius: 20px; white-space: nowrap; }
.ci-badge.s-draft { background: #efeaf6; color: #5b4a86; }
.ci-badge.s-wait { background: #fff4e0; color: #92600a; }
.ci-badge.s-quoted { background: #e2f5f8; color: #00707d; }
.ci-badge.s-done { background: #e6f7ee; color: #15803d; }
.ci-badge.s-cancel { background: #f1f3f7; color: #98a2b3; }
/* 就地提醒条（💡 这页相关规则） */
.rule-reminder { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; background: #fff8e6; border: 1px solid #ffe0a3; border-radius: 10px; padding: 9px 14px; margin: 0 0 14px; }
.rule-reminder[hidden] { display: none; }
.rule-reminder .rr-bulb { font-style: normal; font-size: 16px; }
.rule-reminder .rr-label { font-size: 12.5px; font-weight: 700; color: #8a5a00; }
.rule-reminder .rr-chip { font-size: 12px; color: #334; background: #fff; border: 1px solid #ecd9a8; border-radius: 20px; padding: 2px 10px; }
.rule-reminder .rr-chip.live b { color: #b8690a; }
.rule-reminder .rr-more { font-size: 11.5px; color: #00808f; margin-left: auto; white-space: nowrap; cursor: pointer; }
.rule-cat h4 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0e9f5;
  font-size: 16px;
  color: #071b42;
}
.rule-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}
.rule-item {
  padding: 14px;
  border: 1px solid #e0e9f5;
  border-radius: 12px;
  background: #fff;
}
.rule-item-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.rule-item-head strong { font-size: 15px; color: #00808f; }
.rule-item-head span { color: #5c6f8e; font-size: 13px; }
.rule-detail { margin: 0 0 6px; color: #33415c; font-size: 13px; line-height: 1.7; }
.rule-example { margin: 0 0 4px; color: #1f9d57; font-size: 12px; }
.rule-fields { margin: 0; color: #97a6bd; font-size: 12px; }
/* 重点突出的规则（如散拼团返佣） */
.rule-item.rule-hot { border: 2px solid #f2b84b; background: #fffaf0; box-shadow: 0 1px 6px rgba(242,184,75,0.18); }
.rule-item.rule-hot .rule-item-head strong { color: #b5791a; font-size: 16px; }
.rule-formula { margin: 2px 0 8px; padding: 9px 12px; background: #fff3d6; border: 0.5px solid #f0d69a; border-radius: 8px; color: #7a531a; font-size: 13.5px; font-weight: 500; line-height: 1.6; }
.rule-empty { color: #9aa3b2; }

/* 通用：表格内长文本定宽省略，悬停看全文，避免撑破布局 */
.cell-ellipsis {
  display: inline-block;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  cursor: help;
}

/* 产品资料库 */
/* 产品资料：左右主从布局 */
.material-split {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  margin-top: 12px;
  align-items: start;
}
.material-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 12px;
}
.material-search {
  width: 100%;
}
.material-product-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 2px;
}
/* 折叠树:区域 / 类型 */
.mtree-region {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.mtree-region > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  list-style: none;
  cursor: pointer;
  font-weight: 900;
  font-size: 14px;
  color: var(--text);
  background: #e2f5f8;
}
.mtree-region > summary::-webkit-details-marker {
  display: none;
}
.mtree-region > summary::before,
.mtree-type > summary::before {
  content: "›";
  flex: none;
  color: var(--blue);
  font-weight: 900;
  transition: transform 0.15s ease;
}
.mtree-region[open] > summary::before,
.mtree-type[open] > summary::before {
  transform: rotate(90deg);
}
.mtree-type {
  border-top: 1px solid var(--line);
}
.mtree-type > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px 8px 16px;
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
}
.mtree-type > summary::-webkit-details-marker {
  display: none;
}
.mtree-count {
  margin-left: auto;
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #d8e3f5;
  color: #00707d;
  font-size: 11px;
  font-weight: 900;
}
.mtree-type .material-product-item {
  border: none;
  border-radius: 0;
  border-top: 1px solid #eef2f8;
  padding-left: 30px;
}
.mtree-type .material-product-item.active {
  border-radius: 0;
}

.material-product-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.material-product-item:hover {
  border-color: var(--blue);
  background: #f6f9fe;
}
.material-product-item.active {
  border-color: var(--blue);
  background: #e2f5f8;
  box-shadow: inset 3px 0 0 var(--blue);
}
.material-product-item .mp-code {
  font-weight: 800;
  font-size: 12px;
  color: var(--blue);
}
.material-product-item .mp-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--text);
}
.material-product-item .mp-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.material-product-item .mp-count.zero {
  background: #e2eaf5;
  color: var(--muted);
}
.material-detail {
  min-width: 0;
}
.material-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.material-detail-head strong {
  font-size: 15px;
}
@media (max-width: 820px) {
  .material-split {
    grid-template-columns: 1fr;
  }
  .material-aside {
    position: static;
  }
  .material-product-list {
    max-height: 220px;
  }
}

.material-library {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}
/* grid 子项默认 min-width:auto 会被宽内容(如行程表)撑爆容器；置 0 后超宽内容改为在 .table-wrap 内横向滚动 */
.material-library > * {
  min-width: 0;
}
.material-cat {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.material-hl { padding: 12px 14px 14px; }
.mhl-text { width: 100%; box-sizing: border-box; border: 0.5px solid #d7dde7; border-radius: 8px; padding: 9px 11px; font-size: 13px; line-height: 1.7; font-family: inherit; color: #2c3a4f; resize: vertical; margin-top: 4px; }
.mhl-text:focus { outline: none; border-color: #00a5b8; }
.mhl-row { display: flex; align-items: center; gap: 12px; margin-top: 9px; }
.mhl-hint { font-size: 11.5px; color: #8a94a6; }
.mfee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mfee-col { display: flex; flex-direction: column; }
.mfee-label { font-size: 12.5px; font-weight: 700; color: #46536b; }
@media (max-width: 720px) { .mfee-grid { grid-template-columns: 1fr; } }
.material-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #f6f9fe;
  border-bottom: 1px solid var(--line);
}
.material-cat-head h4 {
  margin: 0;
  font-size: 15px;
}
.material-cat-head h4 span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e2eaf5;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.material-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  padding: 14px;
}
.material-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
}
.material-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
/* 文件卡片可拖拽排序 */
.material-card.file[draggable="true"] {
  position: relative;
  cursor: grab;
}
.material-card.file[draggable="true"]:active {
  cursor: grabbing;
}
.material-grip {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -2px;
  color: #fff;
  background: rgba(4, 16, 40, 0.5);
  cursor: grab;
  user-select: none;
}
.material-card.dragging {
  opacity: 0.4;
  outline: 2px dashed var(--blue);
  outline-offset: -2px;
}
.material-card.faq {
  grid-column: 1 / -1;
  padding: 0;
  background: #fbfdff;
}
.material-card.faq summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
}
.material-card.faq summary::-webkit-details-marker {
  display: none;
}
.material-card.faq summary::before {
  content: "›";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
  transition: transform 0.15s ease;
}
.material-card.faq details[open] summary::before {
  transform: rotate(90deg);
}
.material-card.faq summary .faq-q-text {
  flex: 1;
  min-width: 0;
}
.material-card.faq summary .material-date {
  margin-left: 0;
}
.material-faq-q {
  font-weight: 800;
  color: var(--text);
}
.material-faq-a {
  padding: 0 14px 14px 42px;
  color: #475569;
  line-height: 1.7;
  white-space: pre-wrap;
}
.material-cat-actions {
  display: flex;
  gap: 8px;
}
.material-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #f1f5fb;
  overflow: hidden;
}
.material-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: rgba(15, 23, 42, 0.7);
}
.material-tag.tag-poster {
  background: rgba(217, 119, 6, 0.92);
}
.material-tag.tag-hotel {
  background: rgba(124, 58, 237, 0.92);
}
.material-tag.tag-pdf {
  background: rgba(220, 38, 38, 0.92);
}
.material-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.material-thumb em {
  font-style: normal;
  font-size: 22px;
  font-weight: 900;
  color: #6b7a90;
}

/* 文件封面（PDF / 其他非图片） */
.material-thumb.doc-cover {
  gap: 8px;
  padding: 12px;
  background: linear-gradient(135deg, #475569, #64748b 70%);
}
.material-thumb.pdf-cover {
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(135deg, #00808f, #00909e 65%, #38bdf8);
}
.doc-cover-badge {
  padding: 5px 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.95);
  color: #334155;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}
.material-thumb.pdf-cover .doc-cover-badge {
  color: #00909e;
}
.doc-cover-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 92%;
  color: rgba(255, 255, 255, 0.96);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.material-info {
  display: grid;
  gap: 2px;
  padding: 9px 11px 4px;
}
.material-info strong {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.material-info small {
  color: var(--muted);
  font-size: 12px;
}
.material-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px 11px;
}
.material-date {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.material-card.faq .material-actions {
  padding: 4px 0 0;
}
.material-actions .ghost,
.material-card .material-del {
  padding: 6px 10px;
  font-size: 13px;
  text-decoration: none;
}
.material-card.faq .material-del {
  align-self: flex-start;
}
/* 资料卡下载/删除：小图标按钮 */
.material-actions .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  text-decoration: none;
}
.material-actions .icon-btn.danger {
  color: #dc2626;
  border-color: #f0c9c6;
}
.material-actions .icon-btn.danger:hover {
  background: #fdecea;
}

/* 本季推荐落地页 */
.rec-landing {
  padding: 16px 18px;
  border: 1px solid #ffe1b3;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8ec, #fffdf8);
}
.rec-landing-head {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 900;
  color: #b45309;
}
.rec-landing-head small {
  margin-left: 8px;
  color: #b08642;
  font-size: 12px;
  font-weight: 700;
}
.rec-landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.rec-landing-empty {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
}
.rec-landing-empty-icon {
  font-size: 40px;
}
.rec-landing-empty p {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.rec-landing-empty small {
  max-width: 420px;
  line-height: 1.6;
}
.material-back {
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--blue);
  background: #e2f5f8;
  font-weight: 800;
}
/* 海报式推荐卡：整张铺满，文字压在底部 */
.rec-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 4px 14px rgba(4, 22, 61, 0.12);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.rec-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(4, 22, 61, 0.22);
}
/* 无图时的品牌蓝渐变底色（热门稍深 / 上新稍亮，统一蓝色系） */
.rec-card.no-img.hot {
  background: linear-gradient(140deg, #00909e 0%, #00808f 100%);
}
.rec-card.no-img.new {
  background: linear-gradient(140deg, #38bdf8 0%, #00909e 100%);
}
.rec-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 无图时的大号产品编号水印 */
.rec-watermark {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.22);
}
/* 底部暗色渐变，保证文字清晰 */
.rec-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 16, 40, 0.82) 0%, rgba(4, 16, 40, 0.3) 42%, rgba(4, 16, 40, 0) 72%);
}
.rec-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.rec-badge.hot {
  background: #dc2626;
}
.rec-badge.new {
  background: #16a34a;
}
.rec-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
}
.rec-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.rec-code {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* 价格档期编辑（产品弹窗） */
.price-periods {
  display: grid;
  gap: 8px;
}
.price-periods .field-label {
  font-weight: 800;
  color: #304569;
}
.price-period-rows {
  display: grid;
  gap: 8px;
}
.price-period-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr auto;
  align-items: center;
  gap: 8px;
}
.price-period-row input {
  width: 100%;
}
.price-period-row .period-sep {
  color: var(--muted);
  font-size: 13px;
}
.price-periods [data-add-period] {
  justify-self: start;
}
.route-seg-rows {
  display: grid;
  gap: 8px;
}
.route-seg-row {
  display: grid;
  grid-template-columns: auto 1.3fr 76px 1.1fr auto auto;
  align-items: center;
  gap: 8px;
}
.route-seg-row .seg-move {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}
.route-seg-row .seg-move button {
  border: 1px solid var(--border, #d8e0e3);
  background: #fff;
  color: #5b6b72;
  border-radius: 4px;
  width: 22px;
  height: 15px;
  line-height: 1;
  font-size: 9px;
  padding: 0;
  cursor: pointer;
}
.route-seg-row .seg-move button:hover {
  background: #f1f5f6;
  color: #16242a;
}
.route-seg-row select,
.route-seg-row input[type="number"] {
  width: 100%;
}
.route-seg-row .seg-indiv {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.route-seg-row .seg-indiv input {
  width: auto;
}
.route-segs [data-add-seg] {
  justify-self: start;
}
.link-danger {
  padding: 6px 10px;
  color: var(--red);
  background: #fdeaea;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

/* 渠道商启用/禁用状态切换 */
.status-toggle {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.status-toggle:hover { filter: brightness(0.96); }
.status-toggle.on {
  background: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}
.status-toggle.off {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

/* 自费活动批量添加弹窗 */
.batch-dialog { width: min(720px, 94vw); }
.batch-act-table {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.batch-act-head,
.batch-act-row {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 34px;
  gap: 10px;
  align-items: center;
}
.batch-act-head {
  padding: 9px 12px;
  background: #f6f9ff;
  font-size: 12px;
  font-weight: 800;
  color: #5c6f8e;
}
.batch-act-row {
  padding: 8px 12px;
  border-top: 1px solid var(--line);
}
.batch-act-row input {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}
.batch-act-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 144, 158,0.12); }
.ba-remove {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}
#batchActivityAddRow { margin-top: 10px; }

.batch-act-row.ba-locked .ba-price {
  background: #f1f5fb;
  color: var(--muted);
  cursor: not-allowed;
}

/* 当季推荐：表格内联标记 + 管理弹窗 */
.feature-tag-select {
  width: auto;
  min-width: 96px;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  color: var(--muted);
}
.feature-tag-select.feature-热门 { border-color: #fca5a5; background: #fef2f2; color: #b91c1c; }
.feature-tag-select.feature-上新 { border-color: #93c5fd; background: #e2f5f8; color: #00808f; }
.recommend-manage-list {
  max-height: 52vh;
  overflow-y: auto;
  display: grid;
  gap: 8px;
}
.recommend-manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.recommend-manage-row .rm-name { display: grid; gap: 2px; min-width: 0; }
.recommend-manage-row .rm-name span { color: var(--muted); font-size: 12px; }
.recommend-manage-row .feature-tag-select { width: auto; min-width: 130px; }

/* 产品资料 AI 营销助手弹窗 */
.ai-dialog { width: min(680px, calc(100vw - 24px)); }
.ai-dialog textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  resize: vertical;
}
.ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ai-actions button { flex: 1; min-width: 130px; }
.ai-actions button:disabled { opacity: 0.55; cursor: not-allowed; }
.ai-output {
  max-height: 46vh;
  overflow-y: auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbff;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

/* 产品详情页（导航中心） */
.detail-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.detail-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(4, 22, 61, 0.05);
}
.detail-card-wide { grid-column: 1 / -1; }
.detail-card-head h4 { margin: 0 0 3px; font-size: 16px; }
.detail-card-head span { color: var(--muted); font-size: 12px; }
.detail-card > button { align-self: flex-start; }
.detail-refund-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.detail-refund-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: #304569; }
.detail-refund-form small { color: var(--muted); font-weight: 500; }
.detail-refund-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.refund-policy { margin-top: 6px; }
.refund-policy h4 { margin: 0 0 8px; font-size: 14px; }
.refund-policy ul { margin: 0; padding-left: 18px; line-height: 1.9; font-size: 13px; }
.refund-policy em { font-style: normal; font-weight: 800; }
.refund-policy em.ok { color: var(--green); }
.refund-policy em.warn { color: var(--orange); }
.refund-policy em.danger { color: var(--red); }
@media (max-width: 820px) {
  .detail-cards { grid-template-columns: 1fr; }
  .detail-refund-form { grid-template-columns: 1fr; }
}

/* 产品详情页·标签 */
.detail-tabs {
  display: flex;
  gap: 4px;
  margin: 6px 0 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.detail-tab {
  position: relative;
  padding: 10px 18px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
}
.detail-tab:hover { color: var(--blue); background: #f4f8ff; }
.detail-tab.active { color: var(--blue); }
.detail-tab.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--blue);
}
.detail-tab[hidden] { display: none; }
.detail-panel { display: none; }
.detail-panel.active { display: block; }

/* 订单付款/出行状态徽章 */
.life-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.life-pill.urgent { background: #fee2e2; color: #b91c1c; }
.life-pill.held { background: #fef3c7; color: #92600a; }
.life-pill.paid { background: #e2f5f8; color: #00808f; }
.life-pill.traveling { background: #dcfce7; color: #15803d; }
.life-pill.ticketed { background: #0a6b78; color: #fff; }
.life-pill.effective { background: #e2f5ee; color: #0f7a52; }
.life-pill.done { background: #eef1f6; color: #5c6f8e; }
.life-pill.cancelled { background: #f1f5f9; color: #94a3b8; }

/* 订单趋势图（真实数据柱状） */
.line-chart.has-data {
  background: none;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
}
.trend-head { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.trend-head strong { color: var(--blue); font-size: 15px; }
.trend-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  min-height: 150px;
}
.trend-bar { flex: 1; display: flex; align-items: flex-end; height: 100%; }
.trend-bar i {
  display: block;
  width: 100%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #38bdf8, #00909e);
  transition: height 0.2s ease, filter 0.15s ease;
}
.trend-bar:hover i { filter: brightness(1.12); }
.trend-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}
.chart-empty { display: grid; place-items: center; height: 100%; color: var(--muted); }

/* 紧急催款大屏（卡片网格） */
.dunning-board {
  margin-bottom: 16px;
  background: linear-gradient(120deg, #fff5f5, #fff8f1);
  border: 1px solid #fecaca;
}
.dunning-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  user-select: none;
}
.dunning-head h3 { margin: 0; font-size: 16px; color: #b91c1c; }
.dunning-head .dunning-count { font-size: 13px; font-weight: 800; color: #b45309; }
.dunning-head .dunning-caret { margin-left: auto; font-size: 12px; font-weight: 700; color: #b91c1c; background: #fff; border: 1px solid #f0c4b3; border-radius: 20px; padding: 2px 10px; }
.dunning-board.collapsed { margin-bottom: 12px; }
.dunning-board.collapsed .dunning-head { margin-bottom: 0; }
.dunning-board.collapsed .dunning-grid { display: none; }
.dunning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  max-height: 340px;
  overflow-y: auto;
}
.dun-card {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #f1d4d4;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(180, 40, 40, 0.06);
}
.dun-card.hot { border-left-color: #dc2626; }
.dun-card.warn { border-left-color: #f97316; }
.dun-card.soon { border-left-color: #eab308; }
.dun-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dun-ch { font-weight: 900; color: #9a3412; font-size: 14px; }
.dun-days {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #f59e0b;
  white-space: nowrap;
}
.dun-card.hot .dun-days { background: #dc2626; }
.dun-card.warn .dun-days { background: #f97316; }
.dun-card.soon .dun-days { background: #ca8a04; }
.dun-cust { font-weight: 800; color: var(--text); font-size: 14px; }
.dun-meta { font-size: 12px; color: var(--muted); }
.dun-amt { font-size: 13px; color: #7c2d12; }
.dun-amt strong { font-size: 18px; font-weight: 900; color: #b91c1c; }
/* 催收看板·三页签(收起时页签仍显示,点页签自动展开) */
.dun-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.dunning-board.collapsed .dun-tabs { margin: 10px 0 0; }
.dunning-board.collapsed .dun-body { display: none; }
.dun-tab { display: inline-flex !important; align-items: center; gap: 7px; width: auto !important; height: auto !important; min-height: 0 !important; padding: 6px 12px !important; margin: 0 !important; border: 1px solid #f0d2c4 !important; background: #fff !important; border-radius: 10px !important; font: inherit; font-size: 13px !important; font-weight: 700; color: #6b3a1f !important; cursor: pointer; box-shadow: none !important; }
.dun-tab:disabled { opacity: .5; cursor: default; }
.dun-tab .dun-n { font-size: 12px; font-weight: 900; color: #fff; border-radius: 999px; padding: 0 7px; min-width: 20px; text-align: center; }
.dun-tab .dun-m { font-size: 12px; font-weight: 800; color: #9a3412; }
.dun-tab.t-week .dun-n { background: #f97316; }
.dun-tab.t-trip .dun-n { background: #d97706; }
.dun-tab.t-ended .dun-n { background: #991b1b; }
.dun-tab.on.t-week { color: #c2410c !important; background: #fff7ed !important; box-shadow: 0 0 0 2px #c2410c inset !important; }
.dun-tab.on.t-trip { color: #b45309 !important; background: #fffbeb !important; box-shadow: 0 0 0 2px #b45309 inset !important; }
.dun-tab.on.t-ended { color: #991b1b !important; background: #fef2f2 !important; box-shadow: 0 0 0 2px #991b1b inset !important; }
.dun-tip { font-size: 12px; color: #8a5a3c; margin: 0 0 10px; }
.dun-ppl { font-weight: 600; color: var(--muted); font-size: 12.5px; }
.dun-bar { height: 5px; background: #f3e3dc; border-radius: 3px; overflow: hidden; }
.dun-bar i { display: block; height: 100%; background: #16a34a; }
.dun-amt { display: flex; align-items: baseline; gap: 4px; }
.dun-go { margin-left: auto; color: #0e7c86; font-weight: 700; font-size: 12px; }
.dun-card.trip { border-left-color: #d97706; }
.dun-card.trip .dun-days { background: #d97706; }
.dun-card.trip.hot { border-left-color: #dc2626; }
.dun-card.trip.hot .dun-days { background: #dc2626; }
.dun-card.ended { border-left-color: #dc2626; background: #fffafa; }
.dun-card.ended .dun-days { background: #b91c1c; }
.dun-card.ended.old { border-left-color: #7f1d1d; }
.dun-card.ended.old .dun-days { background: #7f1d1d; }
/* 订单列表:出行中/已结束仍欠款的小标 */
.owe-tag { display: inline-block; margin-left: 4px; font-size: 11px; font-weight: 800; color: #fff; background: #b91c1c; border-radius: 4px; padding: 0 5px; white-space: nowrap; vertical-align: middle; }
.owe-tag.trip { background: #d97706; }

/* 订单统一检索 */
/* 「我的订单」快捷筛选:做成清晰的切换按钮(默认浅底描边·选中墨绿实心),一眼看出可点 */
.orders-mine-btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; user-select: none; font-size: 13.5px; font-weight: 600; color: #3a5568; background: #eef4f6; border: 1px solid #cfe0e4; border-radius: 9px; padding: 8px 14px; margin: 0; white-space: nowrap; transition: .14s; font-family: inherit; }
.orders-mine-btn .omb-ic { font-size: 14px; }
.orders-mine-btn:hover { border-color: #0d8b96; color: #0d8b96; background: #e6f4f5; }
.orders-mine-btn.on { background: #0d8b96; color: #fff; border-color: #0d8b96; box-shadow: 0 0 0 3px rgba(13,139,150,.14); }
.order-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
}
.order-search input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}
.order-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 144, 158, 0.12); }
.order-search button { white-space: nowrap; }
.order-search select {
  flex: 0 0 auto;
  width: auto;
  min-width: 150px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.table-empty { text-align: center; color: var(--muted); padding: 22px; }
.cell-link {
  padding: 0;
  background: none;
  border: none;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.cell-link:hover { text-decoration: underline; }

/* 行操作「⋯」下拉菜单（一个按钮收纳 确认/编辑/删除，省宽度） */
.row-menu { display: inline-block; }
.row-menu > summary {
  list-style: none; cursor: pointer; width: 32px; height: 30px; line-height: 28px;
  text-align: center; border: 0.5px solid #d7dde7; border-radius: 8px; background: #fff;
  color: #5f6b7e; font-size: 18px; font-weight: 700; user-select: none;
}
.row-menu > summary::-webkit-details-marker { display: none; }
.row-menu > summary:hover { background: #f3f6fb; border-color: #c2cad6; }
.row-menu[open] > summary { background: #e2f5f8; border-color: var(--blue); color: var(--blue); }
.row-menu-list {
  display: flex; flex-direction: column; gap: 2px; margin-top: 4px; padding: 4px;
  border: 0.5px solid #e3e8ef; border-radius: 9px; background: #fff;
  box-shadow: 0 6px 18px rgba(20, 35, 69, 0.1); min-width: 96px;
}
.row-menu-item {
  border: none; background: none; cursor: pointer; text-align: left;
  padding: 7px 10px; border-radius: 6px; font-size: 13px; color: #2c3a4f; white-space: nowrap;
}
.row-menu-item:hover { background: #f1f5fb; }
.row-menu-item.danger { color: #c0392b; }
.row-menu-item.danger:hover { background: #fdeaea; }

/* 行内链接式按钮（编辑/改密/删除） */
.link-btn {
  background: none;
  border: none;
  padding: 0 2px;
  margin-right: 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.link-btn:last-child { margin-right: 0; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: #c0392b; }

/* 分段标签页（用户 / 角色权限） */
.seg-tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 16px;
  background: #eef2f8;
  padding: 4px;
  border-radius: 10px;
}
.seg-tab {
  border: none;
  background: transparent;
  padding: 7px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  color: #4b5563;
  cursor: pointer;
}
.seg-tab.active {
  background: var(--blue);
  color: #fff;
}

/* 角色卡片 */
.role-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.role-card {
  border: 1px solid #e7edf5;
  border-radius: 12px;
  padding: 16px;
  background: #fbfdff;
}
.role-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.role-card header strong { font-size: 15px; }
.role-card header span {
  font-size: 12px;
  color: #6b7280;
  background: #eef2f8;
  padding: 2px 9px;
  border-radius: 999px;
}
.role-card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}
.role-card footer {
  font-size: 12px;
  color: #6b7280;
  border-top: 1px dashed #e2e8f0;
  padding-top: 8px;
}

/* 数据字典：左右两栏 */
.dict-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: start;
}
.dict-side { padding: 14px; }
.dict-side-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 10px;
  border-bottom: 1px solid #eef2f8;
  margin-bottom: 8px;
}
.icon-btn {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid #cbe6ec;
  background: #fff;
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.icon-btn:hover { background: #e2f5f8; }
.dict-group-list { list-style: none; margin: 0; padding: 0; }
.dict-group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
}
.dict-group-item:hover { background: #f3f7fd; }
.dict-group-item.active {
  background: #e2f5f8;
  color: var(--blue);
  font-weight: 700;
}
.dg-name { display: inline-flex; align-items: center; gap: 6px; }
.dg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  display: inline-block;
}
.dg-count {
  font-size: 12px;
  color: #6b7280;
  background: #eef2f8;
  min-width: 22px;
  text-align: center;
  padding: 1px 7px;
  border-radius: 999px;
}
.dict-group-item.active .dg-count { background: #e2f5f8; color: var(--blue); }
.dict-main { padding: 18px; }
.dict-main-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}
.dict-main-head h3 { margin: 0; }
.dict-group-meta { font-size: 12px; color: #6b7280; }
.dict-group-meta code {
  background: #f1f5f9;
  padding: 1px 7px;
  border-radius: 5px;
  font-size: 12px;
}
.dict-main-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.drag-handle {
  cursor: grab;
  color: #b6c2d2;
  user-select: none;
  font-size: 16px;
}
#dictItemRows tr.drag-over td { box-shadow: inset 0 2px 0 var(--blue); }
#dictItemRows tr[draggable="true"]:hover .drag-handle { color: #7c8aa0; }

@media (max-width: 900px) {
  .dict-layout { grid-template-columns: 1fr; }
}

/* 账号凭证 */
.cred-urls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.cred-url-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #e8eef6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 42, 90, 0.04);
}
.cred-url-card span { font-size: 12px; color: var(--muted); }
.cred-url-card a {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  word-break: break-all;
}
.cred-url-card a:hover { text-decoration: underline; }
.cred-note { margin-top: 14px; font-size: 12.5px; }

/* 首页功能模块导航 */
.module-hub { margin-top: 22px; }
.module-hub-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.module-hub-title h3 { font-size: 17px; }
.module-hub-title span { font-size: 12px; color: var(--muted); }

/* 订单中心核心大卡 */
.oms-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  margin-bottom: 18px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(120deg, #00909e 0%, #024e58 100%);
  box-shadow: 0 12px 30px rgba(0, 144, 158, 0.22);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.oms-hero:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0, 144, 158, 0.3); }
.oms-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.oms-hero-left strong { display: block; margin: 10px 0 6px; font-size: 22px; }
.oms-hero-left p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.82); max-width: 560px; line-height: 1.6; }
.oms-hero-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.oms-quick {
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
}
.oms-quick:hover { filter: brightness(0.97); }
.oms-enter { font-size: 13px; font-weight: 700; opacity: 0.92; }

/* 分组模块卡片 */
.module-group { margin-bottom: 18px; }
.module-group h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #44546c;
  font-weight: 800;
}
.module-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.module-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #e8eef6;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(16, 42, 90, 0.04);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.module-card:hover {
  transform: translateY(-2px);
  border-color: #c9dcfb;
  box-shadow: 0 10px 24px rgba(16, 42, 90, 0.1);
}
.mc-ico {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e2f5f8;
  font-size: 20px;
}
.module-card strong { font-size: 14px; }
.module-card small { color: var(--muted); font-size: 12px; line-height: 1.45; }

@media (max-width: 700px) {
  .oms-hero { flex-direction: column; align-items: flex-start; }
  .oms-hero-right { align-items: flex-start; }
}

.seat-tag { display:inline-block; background:#eef2ff; color:#3c3489; font-size:11px; font-weight:700; padding:1px 7px; border-radius:7px; white-space:nowrap; margin-left:2px; }
.urgent-badge { display:inline-block; background:#fdecec; color:#c0392b; font-size:11px; font-weight:600; padding:1px 7px; border-radius:7px; white-space:nowrap; }
.dispatch-badge { display:inline-block; font-size:11px; font-weight:600; padding:1px 7px; border-radius:7px; white-space:nowrap; margin-left:2px; }
/* 订单列表:调度状态(已派调度/车辆已确认+车牌/司导)单独占产品名下面一行,别跟长产品名挤一行被截 */
.ord-disp-line { display:block; margin-top:3px; line-height:18px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ord-disp-line .dispatch-badge:first-child { margin-left:0; }
.dispatch-badge small { font-weight:500; opacity:.8; margin-left:3px; }
.dispatch-badge.ok { background:#e6f7ed; color:#1a7a43; }
.dispatch-badge.sent { background:#e2f5f8; color:#00707d; }
.dispatch-badge.fail { background:#fdecec; color:#c0392b; }
.dispatch-badge.none { background:#f0f1f3; color:#888; }

.cc-routeblock { margin-bottom: 8px; }
.cc-route-itin { width: 100%; margin-top: 4px; padding: 6px 8px; border: 0.5px solid #d7dde7; border-radius: 6px; font-size: 12px; font-family: inherit; resize: vertical; }

/* 包车询价单·分段报价器 */
.cq-meta { font-size: 13px; color: #44546c; margin-bottom: 8px; }
/* 报价页·需求摘要（渠道提交信息 + 要素 + 预估 + 备注一屏铺开）*/
.cq-summary { margin-bottom: 12px; }
.cq-sum-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cq-sum-chip { font-size: 12px; padding: 4px 11px; border-radius: 999px; background: #f1f3f7; color: #5a6678; }
.cq-sum-chip b { font-weight: 700; }
.cq-sum-chip.charter { background: #e1f0ea; color: #0f6e56; }
.cq-sum-chip.pick { background: #e6f1fb; color: #185fa5; }
.cq-sum-chip.free { background: #eef6df; color: #5c7a12; }
.cq-sum-chip.empty { background: #faeeda; color: #854f0b; }
.cq-remark-box { font-size: 12.5px; color: #7a5b12; background: #fff8e6; border: 1px solid #fde9b8; border-radius: 8px; padding: 8px 12px; margin-top: 10px; }
.cq-est-title { font-size: 12.5px; color: #5a6678; margin: 12px 0 6px; }
.cq-est-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.cq-est-card { position: relative; border: 0.5px solid #e0e6ef; border-radius: 12px; padding: 14px; background: #fff; }
.cq-est-card.rec { border: 2px solid #00a5b8; }
.cq-est-rec { position: absolute; top: -9px; left: 14px; font-size: 11px; padding: 2px 9px; border-radius: 6px; background: #e2f5f8; color: #00707d; }
.cq-est-vt { font-size: 13.5px; font-weight: 600; color: #1a2233; }
.cq-est-vt small { font-weight: 400; color: #98a2b3; margin-left: 5px; }
.cq-est-total { font-size: 23px; font-weight: 700; color: #00808f; margin-top: 6px; }
.cq-est-per { font-size: 12px; color: #667085; margin: 1px 0 8px; }
.cq-est-total .cq-cny { font-size: 13px; font-weight: 400; color: #98a2b3; }
.cq-est-per .cq-cny { color: #98a2b3; }
.cq-est-lines { font-size: 11.5px; color: #98a2b3; line-height: 1.9; border-top: 0.5px solid #eef0f4; padding-top: 8px; }
.cq-est-note { font-size: 11.5px; color: #98a2b3; margin-top: 10px; line-height: 1.6; }
/* 报价规则模版：醒目区块 */
.cq-ruletpl { font-size: 14px !important; font-weight: 700; color: #1a2233 !important; }
.cq-ruletpl-tag { font-size: 11px; font-weight: 500; padding: 2px 9px; border-radius: 5px; background: #e6f7ee; color: #15803d; margin-left: 4px; }
.cq-need { font-size: 12.5px; color: #036676; background: #e2f5f8; border-radius: 8px; padding: 7px 11px; margin-bottom: 8px; }
/* ===== 渠道档案页（渠道 360） ===== */
.primary-ghost { color: #00808f; border-color: #9fd8e2; font-weight: 600; }
.cp-head { margin-bottom: 10px; }
.cp-hero { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: linear-gradient(180deg,#f7fdfd,#fff); border: 0.5px solid #cbe6ec; border-radius: 12px; }
.cp-avatar { width: 46px; height: 46px; border-radius: 50%; background: #e2f5f8; color: #00707d; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; flex: 0 0 auto; }
.cp-hero-main { flex: 1; min-width: 0; }
.cp-hero-title { font-size: 18px; font-weight: 700; color: #102345; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cp-hero-sub { font-size: 13px; color: #667085; margin-top: 3px; }
.cp-hero-acts { display: flex; gap: 8px; flex: 0 0 auto; }
.cp-status { font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.cp-status.on { background: #e6f7ee; color: #15803d; }
.cp-status.off { background: #f1f3f7; color: #98a2b3; }
.cp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-top: 12px; }
.cp-card { border: 0.5px solid #e6e8ee; border-radius: 12px; padding: 14px 16px; background: #fff; }
.cp-card-wide { grid-column: 1 / -1; }
.cp-card-h { font-size: 14px; font-weight: 600; color: #1a2233; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cp-card-note { font-size: 11.5px; font-weight: 400; color: #98a2b3; }
.cp-edit { margin-left: auto; font-size: 12.5px; padding: 4px 12px; border: 0.5px solid #cdeef2; background: #f2fafb; color: #00808f; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.cp-edit:hover { background: #e2f5f8; }
.cp-kv { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: #667085; padding: 5px 0; }
.cp-kv b { color: #1a2233; font-weight: 600; text-align: right; word-break: break-all; }
.cp-kv b.cp-mono { font-family: ui-monospace, Consolas, monospace; }
.cp-card-note.cp-must { background: #fdecec; color: #c0392b; padding: 1px 7px; border-radius: 20px; }
.cp-acc { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 12.5px; border-bottom: 0.5px solid #f0f2f6; }
.cp-acc:last-of-type { border-bottom: none; }
.cp-acc-lb { font-family: ui-monospace, Consolas, monospace; color: #0a6b78; background: #e6f4f1; padding: 1px 7px; border-radius: 6px; font-size: 11.5px; }
.cp-acc-nm { color: #1a2233; }
.cp-acc-role { margin-left: auto; font-size: 11px; color: #98a2b3; }
.cp-quals { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-qual-item { display: inline-flex; align-items: center; gap: 2px; }
.cp-qual { font-size: 12.5px; padding: 6px 11px; border: 0.5px solid #e6e8ee; border-radius: 8px; color: #0a6b78; text-decoration: none; background: #f7fbfc; }
.cp-qual:hover { border-color: #0a6b78; }
.cp-qual-del { border: none; background: none; color: #b23b3b; cursor: pointer; font-size: 13px; font-weight: 700; padding: 2px 4px; line-height: 1; }
/* 门票套餐卡（后台展示，与渠道端一致，无橱窗图） */
.pb-card { display: flex; flex-direction: column; border: 1px solid #cdeee6; border-radius: 12px; background: #fff; overflow: hidden; }
.pb-card.ticket-card-off { opacity: .6; }
.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; }
/* 门票套餐编辑器 */
.tb-tag { font-size: 11px; background: #e6fcf5; color: #0b7285; border-radius: 6px; padding: 1px 7px; font-weight: 700; }
.tb-leg { display: grid; grid-template-columns: 30px 1fr 130px 74px 28px; gap: 8px; align-items: center; margin-bottom: 6px; }
.tb-leg .tb-day { font-size: 12px; font-weight: 700; color: #0b7285; }
.tb-leg select, .tb-leg input { height: 34px; border: 1px solid #d4ddec; border-radius: 8px; padding: 0 9px; font-size: 12.5px; }
.tb-disc-wrap { display: flex; align-items: center; gap: 3px; }
.tb-disc-wrap input { width: 52px; text-align: center; }
.tb-disc-wrap small { font-size: 11px; color: #66707f; }
.tb-del { border: none; background: none; color: #b23b3b; cursor: pointer; font-size: 14px; font-weight: 700; }
.tb-total { margin-top: 10px; font-size: 13px; color: #334; }
.tb-total b { font-size: 16px; color: #b5510f; }
@media (max-width: 640px) { .tb-leg { grid-template-columns: 24px 1fr 60px 24px; } .tb-leg .tb-acc { grid-column: 2 / -1; } }
.cp-yes { color: #15803d !important; }
.cp-no, .cp-warn { color: #b54708 !important; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-chip { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: #e6f1fb; color: #185fa5; }
.cp-agr-list { display: flex; flex-direction: column; gap: 8px; }
.cp-agr-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0.5px solid #eef1f6; border-radius: 10px; padding: 10px 12px; }
.cp-agr-main { min-width: 0; font-size: 13.5px; color: #1a2233; }
.cp-agr-sub { font-size: 12px; color: #98a2b3; font-weight: 400; margin-left: 4px; }
.cp-agr-prices { font-size: 12px; color: #667085; margin-top: 3px; }
.cp-agr-acts { display: flex; gap: 6px; flex: 0 0 auto; }
.cp-agr-acts .ghost { font-size: 12px; padding: 4px 10px; }
/* ===== 订单对账（收款/退款/水单）===== */
.ta-r { text-align: right; }
.ta-c { text-align: center; }
.recon-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 14px; }
.recon-metrics .rm { background: #f6f8fc; border-radius: 10px; padding: 10px 12px; }
.recon-metrics .rm span { font-size: 12px; color: #98a2b3; }
.recon-metrics .rm b { display: block; font-size: 20px; font-weight: 700; color: #1a2233; margin-top: 2px; }
.recon-metrics .rm.ok { background: #e6f7ee; } .recon-metrics .rm.ok b, .recon-metrics .rm.ok span { color: #15803d; }
.recon-metrics .rm.warn { background: #fff4e0; } .recon-metrics .rm.warn b, .recon-metrics .rm.warn span { color: #92600a; }
.recon-metrics .rm.danger { background: #fdeceb; } .recon-metrics .rm.danger b, .recon-metrics .rm.danger span { color: #b42318; }
.recon-metrics .rm.clickable { cursor: pointer; transition: box-shadow .12s; }
.recon-metrics .rm.clickable:hover { box-shadow: 0 0 0 2px #cbd5e6 inset; }
.recon-tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.recon-tab { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 0.5px solid #d7dde7; background: #fff; color: #5a6678; cursor: pointer; }
.recon-tab.on { background: #00909e; color: #fff; border-color: #00909e; font-weight: 600; }
.recon-export { margin-left: auto; font-size: 12.5px; padding: 5px 12px; border-radius: 8px; border: 0.5px solid #cbd2dc; background: #fff; color: #344054; cursor: pointer; }
.recon-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.recon-tbl thead th { text-align: left; color: #98a2b3; font-weight: 600; padding: 8px 10px; background: #f6f8fc; white-space: nowrap; }
.recon-tbl thead th.ta-r { text-align: right; }
.recon-tbl thead th.ta-c { text-align: center; }
.recon-tbl tbody td { border-top: 0.5px solid #eef0f4; padding: 9px 10px; vertical-align: middle; }
.recon-tbl tbody tr { cursor: pointer; } .recon-tbl tbody tr:hover td { background: #f8fbfc; }
.recon-tbl td.ok { color: #15803d; } .recon-tbl td.warn { color: #92600a; } .recon-tbl td.danger { color: #b42318; }
.recon-sub { font-size: 11.5px; color: #98a2b3; margin-top: 2px; }
.recon-bar { display: inline-block; width: 54px; height: 6px; border-radius: 999px; background: #eef0f4; overflow: hidden; vertical-align: middle; margin-right: 5px; }
.recon-bar span { display: block; height: 100%; background: #00a5b8; }
.recon-slip.ok { color: #15803d; } .recon-slip.miss { color: #b42318; font-size: 11.5px; }
.recon-badge { font-size: 11px; padding: 1px 9px; border-radius: 999px; background: #f1f3f7; color: #5a6678; white-space: nowrap; }
.recon-badge.ok { background: #e6f7ee; color: #15803d; }
.recon-badge.warn { background: #fff4e0; color: #92600a; }
.recon-badge.danger { background: #fdeceb; color: #b42318; }
.recon-badge.accent { background: #e7f1ff; color: #1d4ed8; }
.recon-badge.success { background: #e6f7ee; color: #15803d; }
.recon-stat { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.recon-tag { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 5px; white-space: nowrap; }
.recon-tag.over { background: #fdeceb; color: #c0392b; }
.recon-tag.unrec { background: #eef2f8; color: #5b6472; }
.recon-dun { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; border: 1px solid #f0b8b0; background: #fdecea; color: #c0392b; cursor: pointer; }
.recon-dun:hover { background: #fbdcd8; }
.acct-off { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: #f1f3f7; color: #98a2b3; margin-left: 4px; }
/* 供应商预付金 · 预存账户 */
.pp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 10px; }
.pp-top-t { font-size: 14px; font-weight: 500; color: #1f2a3d; }
.pp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.pp-card { background: var(--surface-2, #fff); border: 0.5px solid var(--line, #e6e8ee); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pp-card:hover { border-color: #bcd3ea; }
.pp-card.on { border: 1.5px solid #0e7c74; }
.pp-card.low { border-color: #f3c88f; }
.pp-card-h { display: flex; align-items: center; gap: 8px; }
.pp-card-h b { font-size: 14px; }
.pp-plat { font-size: 11px; color: #8a93a3; margin-left: auto; }
.pp-bal { font-size: 22px; font-weight: 600; color: #1f2a3d; margin: 8px 0 2px; }
.pp-bal.low { color: #c2410c; }
.pp-bar { height: 6px; border-radius: 999px; background: #eef1f6; overflow: hidden; margin: 6px 0; }
.pp-bar i { display: block; height: 100%; background: #0e7c74; }
.pp-card.low .pp-bar i { background: #e0a04a; }
.pp-warn { font-size: 12px; color: #6b7a90; }
.pp-warn.low { color: #c2410c; }
.pp-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pp-acts button { font-size: 12px; padding: 5px 10px; white-space: nowrap; }
.pp-tag { font-size: 11px; padding: 2px 8px; border-radius: var(--radius, 8px); }
.pp-tag.up { background: #e6f6ef; color: #0a8060; }
.pp-tag.down { background: #eaf2fd; color: #185fa5; }
.pp-rqst { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.pp-rqst.todo { background: #fbf1de; color: #b9791a; }
.pp-rqst.ok { background: #e6f5ee; color: #0b8a5c; }
.pp-rqst.cancel { background: #eef1f5; color: #64748b; }
.pp-ord { color: #185fa5; font-weight: 500; }
/* 收款日报 · 到账对账 */
.dr-toolbar .dr-dt { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #65748b; flex: 0 0 auto; margin: 0; }
.dr-toolbar .dr-dt input[type="date"] { width: auto; }
.dr-h { margin: 16px 0 8px; font-size: 14px; color: #1f2a3d; }
.dr-h .muted { font-weight: 400; font-size: 12px; }
.dr-ok { color: #1d9e75; font-size: 12px; }
.dr-wait { color: #c2410c; font-weight: 600; }
tr.dr-unrec { background: #fff8f1; }
/* 资金账户收款码 */
.acct-qr-btn { font-size: 11px; padding: 1px 8px; border-radius: 999px; border: 0.5px solid #bfe3d9; background: #edf9f5; color: #0a8060; cursor: pointer; margin-left: 6px; }
.acct-qr-btn:hover { background: #d9f2ea; }
.acct-qr-cur { margin: 6px 0; }
.acct-qr-cur img { max-width: 140px; max-height: 140px; border: 1px solid #e6e8ee; border-radius: 8px; display: block; }
/* 收款码：粘贴/拖入区 */
.qr-drop { margin: 6px 0; border: 1.5px dashed #bcd3ea; border-radius: 10px; background: #f6faff; padding: 12px; text-align: center; cursor: pointer; outline: none; transition: border-color .15s, background .15s; }
.qr-drop:focus, .qr-drop:hover { border-color: #00808f; background: #eef8fb; }
.qr-drop.drag { border-color: #00808f; background: #e1f3f6; }
.qr-drop-hint { display: block; font-size: 12.5px; color: #6b7a90; font-weight: 400; }
.qr-drop-prev { max-width: 160px; max-height: 160px; border: 1px solid #e6e8ee; border-radius: 8px; margin-top: 10px; display: inline-block; }
.acct-qr-clear { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #c0392b; cursor: pointer; margin-top: 5px; }
.acct-qr-clear input { width: auto !important; }
/* 收款明细弹窗 */
.rc-summary { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.rc-summary .rc-m { flex: 1; min-width: 90px; background: #f6f8fc; border-radius: 8px; padding: 8px 12px; }
.rc-summary .rc-m span { font-size: 12px; color: #98a2b3; }
.rc-summary .rc-m b { display: block; font-size: 17px; font-weight: 700; color: #1a2233; }
.rc-summary .rc-m.ok b { color: #15803d; } .rc-summary .rc-m.warn b { color: #92600a; } .rc-summary .rc-m.danger b { color: #b42318; }
.rc-list { border: 0.5px solid #eef0f4; border-radius: 8px; margin-bottom: 12px; }
.rc-row { display: grid; grid-template-columns: 92px 1fr 100px 60px 32px; gap: 8px; align-items: center; padding: 8px 12px; font-size: 13px; }
.rc-row + .rc-row { border-top: 0.5px solid #eef0f4; }
.rc-row.refund { background: #fdf4f3; }
.rc-del { border: none; background: transparent; color: #c0392b; cursor: pointer; }
.rc-form { border: 0.5px dashed #cbd2dc; border-radius: 8px; padding: 10px 12px; }
.rc-form-title { font-size: 12.5px; color: #5a6678; margin-bottom: 8px; }
.rc-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.rc-form-grid label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; color: #98a2b3; }
.rc-form-actions { display: flex; gap: 8px; margin-top: 10px; }
.rc-form-actions input { flex: 1; }
/* 账户报表卡 + 筛选 + 国家前置 + 批量收款 + 账户管理 */
.recon-accts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; align-items: stretch; }
.recon-acct { flex: 1; min-width: 130px; background: #f6f8fc; border-radius: 10px; padding: 10px 12px; }
.recon-acct-h { font-size: 13px; font-weight: 600; color: #1a2233; }
.recon-acct-m { font-size: 11px; color: #98a2b3; margin: 3px 0 0; }
.recon-acct-v { font-size: 18px; font-weight: 700; color: #00808f; }
.recon-acct-t { font-size: 11px; color: #98a2b3; }
.recon-acct-manage { align-self: center; font-size: 12.5px; padding: 6px 12px; border: 0.5px dashed #c3ccda; background: transparent; color: #667085; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.recon-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; align-items: center; }
.recon-filters input, .recon-filters select { font-size: 13px; height: 38px; box-sizing: border-box; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; vertical-align: middle; }
.recon-filters #reconSearch { flex: 1 1 240px; min-width: 200px; }
.recon-filters select { flex: 0 1 auto; width: auto; min-width: 150px; }
/* 收款账户页工具条：一行排布 + 收窄勾选框 + 右对齐新增按钮 */
.acct-toolbar { background: #f7fbfa; border: 0.5px solid #e4eeeb; border-radius: 12px; padding: 10px 12px; gap: 10px; margin-bottom: 12px; }
.acct-toolbar #acctSearch { flex: 1 1 240px; min-width: 200px; }
.acct-toolbar #acctKind { flex: 0 0 auto; min-width: 150px; }
.acct-toolbar input[type="checkbox"] { width: 16px; height: 16px; accent-color: #00808f; flex: 0 0 auto; margin: 0; cursor: pointer; }
.acct-toolbar .acct-toggle { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 13px; color: #65748b; flex: 0 0 auto; margin: 0; cursor: pointer; }
.acct-toolbar [data-acctp-new] { margin-left: auto; flex: 0 0 auto; height: 38px; }
.recon-cell { display: flex; align-items: center; gap: 12px; }
.recon-country { font-size: 16px; font-weight: 700; color: #00808f; min-width: 42px; flex: 0 0 auto; }
.recon-cell-main { min-width: 0; }
.recon-ck { width: 34px; }
.recon-batch { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding: 10px 14px; background: #e2f5f8; border-radius: 10px; }
.recon-batch b { color: #00707d; }
.recon-batch-acts { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.recon-batch-acts select, .recon-batch-acts input { font-size: 13px; }
.acct-list { display: flex; flex-direction: column; gap: 8px; }
.acct-row { display: flex; align-items: center; gap: 12px; border: 0.5px solid #eef1f6; border-radius: 10px; padding: 10px 12px; }
.acct-ic { font-size: 20px; }
.acct-main { flex: 1; min-width: 0; }
.acct-main b { display: block; font-size: 14px; }
.acct-main small { color: #98a2b3; font-size: 12px; }
.acct-acts { display: flex; gap: 6px; }
.acct-acts .ghost { font-size: 12px; padding: 4px 10px; }
/* ===== 核价·回价 工作台（渠道预估直接带入可改） ===== */
.cq-demand-bar { margin-bottom: 12px; }
.cq-quote-sec { border-color: #bfe3e8; background: linear-gradient(180deg,#f7fdfd,#fff); }
.cq-quote-hint { font-size: 11.5px; font-weight: 400; color: #98a2b3; margin-left: 8px; }
.cq-veh-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.cq-veh-tab { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 14px; border-radius: 10px; border: 0.5px solid #d7dde7; background: #fff; cursor: pointer; }
.cq-veh-tab .cq-veh-tab-name { font-size: 13px; color: #344054; }
.cq-veh-tab .cq-veh-tab-tot { font-size: 12px; color: #98a2b3; }
.cq-veh-tab.on { border: 2px solid #00a5b8; background: #f2fafb; }
.cq-veh-tab.on .cq-veh-tab-name { color: #00707d; font-weight: 600; }
.cq-veh-tab.on .cq-veh-tab-tot { color: #00808f; }
.cq-quote-card { border: 2px solid #00a5b8; border-radius: 12px; padding: 14px 16px; background: #fff; }
.cq-quote-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.cq-quote-vt { font-size: 15px; font-weight: 600; color: #1a2233; }
.cq-quote-vt small { font-weight: 400; color: #98a2b3; }
.cq-agr-tag { font-size: 11px; font-weight: 500; padding: 1px 8px; border-radius: 5px; background: #eef6df; color: #5c7a12; }
.cq-quote-base { font-size: 12px; color: #00808f; }
/* 计费项：单行（名称+数量 | 渠道基线 | 单价 | 金额），行间收紧 */
.cq-ql-list { display: flex; flex-direction: column; }
.cq-ql { display: grid; grid-template-columns: 1fr 58px 74px 88px 74px; align-items: center; gap: 10px; padding: 6px 0; border-top: 0.5px solid #eef0f4; }
.cq-ql-head { border-top: 0 !important; padding: 2px 0 4px; font-size: 11px; color: #98a2b3; }
.cq-ql-head > div { text-align: center; }
.cq-ql-head > div:first-child { text-align: left; }
.cq-ql-head .cq-ql-amth { text-align: right; font-weight: 400; color: #98a2b3; }
.cq-ql-qh, .cq-ql-uh { text-align: center; }
.cq-ql-qty { display: flex; align-items: center; gap: 3px; justify-content: center; }
.cq-ql-qin { width: 46px; box-sizing: border-box; text-align: center; font-size: 13.5px; height: 32px; padding: 4px 4px; border: 1px solid #00a5b8; border-radius: 7px; }
.cq-ql-qu { font-size: 12px; color: #667085; }
.cq-ql-qty-empty { display: block; }
.cq-ql-list > .cq-ql:first-child { border-top: 0; }
.cq-ql-l { font-size: 14px; color: #1a2233; min-width: 0; }
.cq-ql-q { font-size: 12.5px; color: #98a2b3; }
.cq-ql-unit { width: 100%; box-sizing: border-box; text-align: right; font-size: 13.5px; height: 32px; padding: 4px 8px; border: 0.5px solid #d7dde7; border-radius: 7px; }
.cq-ql-unit.changed { border-color: #00a5b8; background: #f2fafb; color: #00707d; font-weight: 600; }
.cq-ql-base { font-size: 11px; color: #b0b7c3; text-align: right; white-space: nowrap; }
.cq-ql-derived { grid-column: 2 / 5; font-size: 11.5px; color: #b0b7c3; text-align: right; }
.cq-ql-amt { text-align: right; font-size: 14px; font-weight: 600; color: #1a2233; }
.cq-ql-xlabel { width: 100%; box-sizing: border-box; font-size: 13px; height: 32px; padding: 4px 8px; border: 0.5px solid #d7dde7; border-radius: 7px; }
.cq-ql-del { justify-self: end; border: none; background: transparent; color: #c0392b; cursor: pointer; font-size: 14px; padding: 2px 6px; }
/* 需求速览分组 + 回价操作条 */
.cq-chip-grp { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.cq-grp-label { font-size: 11.5px; color: #98a2b3; flex: 0 0 52px; padding-top: 4px; }
.cq-sum-chip.warn { background: #fff4e0; color: #92600a; }
.cq-actionbar { display: flex; align-items: center; gap: 12px; margin: 14px 0; padding: 10px 14px; background: #e2f5f8; border-radius: 12px; }
.cq-actionbar-hint { margin-right: auto; font-size: 12.5px; color: #00808f; }
.cq-ql-del:hover { background: #fdeceb; border-radius: 6px; }
.cq-addline { margin-top: 12px; font-size: 12.5px; padding: 6px 12px; border: 0.5px dashed #c3ccda; background: transparent; color: #667085; border-radius: 8px; cursor: pointer; }
.cq-addline:hover { border-color: #00a5b8; color: #00808f; }
.cq-ticket-tip { font-size: 12px; color: #92600a; background: #fff7e6; border-radius: 8px; padding: 7px 11px; margin-top: 10px; }
.cq-quote-foot { display: flex; align-items: flex-end; justify-content: space-between; border-top: 0.5px solid #eef0f4; margin-top: 14px; padding-top: 12px; }
.cq-quote-per { font-size: 13px; color: #667085; }
.cq-quote-per b { color: #1a2233; font-weight: 600; }
.cq-quote-tot { text-align: right; font-size: 13px; color: #667085; }
.cq-quote-tot b { font-size: 22px; font-weight: 700; color: #00808f; }
.cq-quote-tot .cq-cny, .cq-quote-per .cq-cny { color: #98a2b3; font-size: 12px; margin-left: 3px; }
.cq-quote-diff { font-size: 11.5px; margin-top: 3px; color: #98a2b3; }
.cq-quote-diff.up { color: #b54708; }
.cq-quote-diff.down { color: #027a48; }
/* 折叠区：渠道原始需求 / AI 工作台 */
.cq-src-details, .cq-ai-details { margin-top: 14px; border: 0.5px solid #e7ebf1; border-radius: 10px; padding: 0; overflow: hidden; }
.cq-src-details > summary, .cq-ai-details > summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: #102345; padding: 11px 14px; list-style: none; user-select: none; }
.cq-src-details > summary::-webkit-details-marker, .cq-ai-details > summary::-webkit-details-marker { display: none; }
.cq-src-details > summary::before, .cq-ai-details > summary::before { content: "▸ "; color: #98a2b3; }
.cq-src-details[open] > summary::before, .cq-ai-details[open] > summary::before { content: "▾ "; }
.cq-ai-details > summary { color: #667085; font-weight: 500; }
.cq-src-details > *:not(summary), .cq-ai-inner { padding: 0 14px 14px; }
.cq-ai-note { font-size: 11.5px; color: #98a2b3; margin: 10px 0; line-height: 1.6; }
@media (max-width: 640px) { .cq-ql { grid-template-columns: 1fr 44px 66px 74px 60px; gap: 6px; } .cq-ql-qin { width: 38px; } .cq-chip-grp { flex-direction: column; gap: 3px; } }
/* 团期库存入口提示 + 操作列库存按钮 */
.inv-hint { font-size: 12.5px; color: #036676; background: #e2f5f8; border: 0.5px solid #b3e0e8; border-radius: 10px; padding: 9px 14px; margin: 0 0 12px; }
.inv-hint[hidden] { display: none; }
/* 散拼团返佣说明框 */
.commission-hint { background: #fff8ec; border: 0.5px solid #f2d9a6; border-radius: 10px; padding: 10px 14px; margin: 0 0 12px; color: #7a531a; }
.commission-hint[hidden] { display: none; }
.commission-hint .ch-head { font-size: 13px; font-weight: 600; color: #8a5a12; margin-bottom: 6px; }
.commission-hint .ch-formula { font-size: 12.5px; background: #fffdf7; border: 0.5px solid #f0e0bf; border-radius: 7px; padding: 7px 10px; margin-bottom: 7px; color: #6b4a15; line-height: 1.6; }
.commission-hint .ch-list { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.75; }
.commission-hint .ch-list b { color: #8a5a12; }
.inv-btn.ghost { color: #00808f; border-color: #9fd8e2; }
/* 报价整页 */
.cq-page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cq-page-head h3 { margin: 0; font-size: 17px; }
.cq-req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cq-req-label { font-size: 11.5px; color: #98a2b3; margin-bottom: 5px; }
.cq-ref-label { display: block; font-size: 12px; color: #5a6678; margin-bottom: 10px; }
.cq-tpl-btn { float: right; font-size: 12px; padding: 3px 10px; border: 0.5px solid #cdeef2; background: #f2fafb; color: #00808f; border-radius: 6px; cursor: pointer; }
.cq-tpl-btn:hover { background: #e2f5f8; }
.cq-ref-label textarea { width: 100%; box-sizing: border-box; margin-top: 5px; font-size: 12.5px; }
.cq-inline2 { display: flex; gap: 24px; align-items: flex-end; margin-bottom: 10px; flex-wrap: wrap; }
.cq-vehopts { display: flex; gap: 14px; margin-top: 6px; flex-wrap: wrap; }
.cq-vehopts label { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #344054; white-space: nowrap; flex: 0 0 auto; }
.cq-inline2 > div:first-child { flex: 0 0 auto; }
.cq-people { font-size: 12px; color: #5a6678; display: flex; flex-direction: column; gap: 5px; }
.cq-people input { width: 90px; }
.cq-page-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 0.5px solid #e0e6ef; }
@media (max-width: 760px) { .cq-req-grid { grid-template-columns: 1fr; } }
.cq-itin { font-size: 12.5px; color: #475467; line-height: 1.8; background: #f9fafb; border-radius: 8px; padding: 10px 12px; max-height: 160px; overflow-y: auto; white-space: pre-wrap; }
.cq-attach { margin: 8px 0; }
.cq-attach-h { font-size: 12px; color: #5a6678; margin-bottom: 6px; }
.cq-attach-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cq-att { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 8px; border: 0.5px solid #e4e9f2; overflow: hidden; text-decoration: none; }
.cq-att img { width: 100%; height: 100%; object-fit: cover; }
.cq-att-pdf { font-size: 12px; color: #b42318; background: #fdeceb; }
.cq-seg { border: 0.5px solid #eef1f6; border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }
.cq-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.7fr 0.9fr 0.3fr; gap: 6px; align-items: center; }
.cq-row input, .cq-veh { padding: 6px 8px; border: 0.5px solid #d7dde7; border-radius: 6px; font-size: 12.5px; min-width: 0; }
.cq-row .cq-inline { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; color: #667085; }
.cq-veh { width: 100%; margin-top: 6px; }
.cq-total { text-align: right; margin-top: 8px; font-size: 14px; color: #102345; }
.cq-total b { color: #00707d; font-size: 16px; }

/* 应收清单 + Invoice */
.rcv-hint { font-size: 12px; color: #6b7686; margin-bottom: 10px; }
.rcv-overdue { background: #fdecec; }
.rcv-thismonth { background: #fff8e6; }
.inv-doc { padding: 8px 4px; }
.inv-h { font-size: 22px; font-weight: 700; color: #102345; margin-bottom: 14px; }
.inv-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 0.5px solid #eef1f6; font-size: 14px; }
.inv-row span { color: #6b7686; }
.inv-total b { font-size: 18px; color: #00707d; }

/* 包车开发文档页 */
.doc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; border-bottom: 0.5px solid #e3e8ef; padding-bottom: 10px; }
.doc-tabs button { padding: 7px 16px; font-size: 14px; border: 0.5px solid #d7dde7; border-radius: 8px; background: #fff; color: #44546c; cursor: pointer; }
.doc-tabs button.active { background: #00707d; color: #fff; border-color: #00707d; }
.doc-panel { display: none; }
.doc-panel.active { display: block; }
.doc-lead { font-size: 14px; color: #44546c; margin: 0 0 14px; }
.doc-note { font-size: 12.5px; color: #8a94a6; margin-top: 12px; line-height: 1.7; }
.doc-card { border: 0.5px solid #e6e8ee; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.doc-card h4 { margin: 0 0 10px; font-size: 14px; color: #102345; }
.doc-flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.doc-flow > span { background: #e2f5f8; color: #00707d; font-size: 12.5px; padding: 8px 12px; border-radius: 8px; display: flex; align-items: center; }
.doc-flow > i { color: #98a2b3; font-style: normal; display: flex; align-items: center; }
.doc-flow-v { flex-direction: column; align-items: stretch; }
.doc-flow-v > span { background: #f6f8fc; color: #344054; }
.doc-flow-v > i { justify-content: center; }
.doc-ul { margin: 0; padding-left: 18px; }
.doc-ul li { font-size: 13px; color: #44546c; line-height: 2; }
.doc-chart { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.doc-node { background: #f1f5f9; border: 0.5px solid #d7dde7; border-radius: 10px; padding: 10px 18px; font-size: 13.5px; font-weight: 500; color: #1a2233; min-width: 240px; text-align: center; }
.doc-node.alt { background: #fff7e6; border-color: #f3e2b0; color: #92600a; }
.doc-node.ok { background: #eef7f1; border-color: #bfe0cf; color: #137a4b; }
.doc-arrow { font-size: 12px; color: #98a2b3; }
.doc-code { display: block; background: #0f1b2d; color: #cdd9ea; font-family: var(--font-mono, monospace); font-size: 12px; line-height: 1.8; padding: 10px 12px; border-radius: 8px; overflow-x: auto; }
.doc-check { margin: 0; padding-left: 0; list-style: none; }
.doc-check li { font-size: 13px; color: #2c3e50; line-height: 1.9; padding-left: 24px; position: relative; }
.doc-check li::before { content: "✅"; position: absolute; left: 0; }

.cq-ref { width: 100%; padding: 8px 10px; border: 0.5px solid #d7dde7; border-radius: 8px; font-size: 12.5px; font-family: inherit; resize: vertical; }

/* 后台轻量提示条（新询价通知等，非阻塞、右下角） */
#adminToastBox { position: fixed; right: 18px; bottom: 18px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.admin-toast { background: #102345; color: #fff; padding: 11px 16px; border-radius: 10px; font-size: 13px; line-height: 1.5; max-width: 320px; box-shadow: 0 6px 20px rgba(16,35,69,.28); cursor: pointer; animation: adminToastIn .25s ease; }
.admin-toast.out { opacity: 0; transform: translateY(6px); transition: .3s; }
.admin-toast--success { background: #0f7a52; box-shadow: 0 6px 20px rgba(15,122,82,.32); font-weight: 600; padding-left: 40px; }
.admin-toast--success::before { content: "✓"; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.admin-toast--success { position: relative; }
@keyframes adminToastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 站内确认弹窗（替代原生 confirm） */
#uiConfirmDialog { border: none; border-radius: 16px; padding: 0; background: transparent; }
#uiConfirmDialog::backdrop { background: rgba(10,20,40,.5); }
.uic-card { background: #fff; border-radius: 16px; padding: 22px 22px 18px; width: 360px; max-width: 92vw; box-shadow: 0 18px 50px rgba(10,20,40,.28); animation: adminToastIn .18s ease; }
.uic-title { font-size: 16px; font-weight: 700; color: #0e2a44; margin-bottom: 8px; }
.uic-msg { font-size: 13.5px; color: #46536b; line-height: 1.6; margin-bottom: 20px; }
.uic-btns { display: flex; justify-content: flex-end; gap: 10px; }
.uic-btns button { border-radius: 9px; padding: 8px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.uic-cancel { background: #f1f4f9; color: #46536b; }
.uic-cancel:hover { background: #e6ebf3; }
.uic-ok { background: #0a8c7d; color: #fff; }
.uic-ok:hover { background: #097a6d; }
.uic-ok.danger { background: #e5484d; }
.uic-ok.danger:hover { background: #cf3b40; }

/* 核价页·逐日行程距离图（显眼，与渠道端一致） */
.cq-itin-details { border: 1px solid #dbe6ee; border-radius: 12px; background: #f6fbfd; margin: 12px 0; }
.cq-itin-details > summary { cursor: pointer; list-style: none; padding: 11px 14px; font-size: 13.5px; font-weight: 700; color: #0a6b78; }
.cq-itin-details > summary::-webkit-details-marker { display: none; }
.cq-itin-details > summary::before { content: "▸ "; color: #7fb3bf; }
.cq-itin-details[open] > summary::before { content: "▾ "; }
.cq-itin-details[open] > summary { border-bottom: 1px solid #e4eef3; }
.cq-itin-inner { padding: 12px 14px; }

/* ===== 后台包车询价向导（从渠道端移植）===== */
#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; }
/* 近期团期·余位 列 */
.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; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; 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-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; }
/* 下单成功页·加订门票入口 */
.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; gap: 10px; margin-top: 14px; }

/* 逐日行程 · 每天两行卡片（标题行 + 距离条 + 起止/里程），不挤不重叠 */
.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; }


/* ===== 渠道看板：口径开关 ===== */
.cb-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cb-basis { display: inline-flex; background: #eef4f4; border-radius: 999px; padding: 3px; gap: 2px; }
.cb-basis-btn { border: 0; background: transparent; color: #5a7078; font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 999px; cursor: pointer; }
.cb-basis-btn.on { background: #00909e; color: #fff; box-shadow: 0 1px 3px rgba(0,144,158,.3); }
.cb-basis-note { font-size: 12.5px; color: #8a94a6; }
.cb-ch-row { cursor: pointer; transition: background .12s; }
.cb-ch-row:hover { background: #f2fbfb; }
.cb-ch-row:hover .cb-ch-name { color: #00808f; text-decoration: underline; }

/* ===== 渠道详情下钻页 ===== */
.cd2-loading { padding: 60px; text-align: center; color: #8a94a6; font-size: 14px; }
.cd2-wrap { --cd2-c1:#0a9396; --cd2-track:#eef4f4; display: flex; flex-direction: column; gap: 14px; color: #16333a; font-family: inherit; }
.cd2-wrap * { box-sizing: border-box; }
.cd2-topbar { margin-bottom: 2px; }
.cd2-back { border: 1px solid #e3ecec; background: #fff; color: #0a8f8f; border-radius: 8px; padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.cd2-back:hover { background: #f2fbfb; }

.cd2-head { display: flex; align-items: center; gap: 14px; }
.cd2-avatar { width: 46px; height: 46px; border-radius: 12px; background: #0a8f8f; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 800; flex: 0 0 auto; }
.cd2-id { flex: 1; min-width: 0; }
.cd2-name { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.cd2-sub { font-size: 12.5px; color: #6b8189; margin-top: 3px; }
.cd2-hk { text-align: right; }
.cd2-hk-l { font-size: 11.5px; color: #6b8189; }
.cd2-hk-v { font-size: 19px; font-weight: 800; color: #0a8f8f; }

.cd2-monthbar { font-size: 12.5px; color: #4a6068; background: #f3f9f9; border-radius: 8px; padding: 8px 12px; }
.cd2-monthbar .muted { color: #97a4ab; margin-left: 4px; }

.cd2-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.cd2-kpi { background: #fff; border: 1px solid #e7eeee; border-radius: 12px; padding: 12px 13px; }
.cd2-k-l { font-size: 11.5px; color: #6b8189; }
.cd2-k-v { font-size: 21px; font-weight: 800; margin: 4px 0 5px; }
.cd2-k-u { font-size: 12px; font-weight: 600; color: #6b8189; }
.cd2-d { font-size: 11px; font-weight: 600; }
.cd2-d.up { color: #0a8f5b; } .cd2-d.down { color: #d1495b; } .cd2-d.mut { color: #97a4ab; }

.cd2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.cd2-card { background: #fff; border: 1px solid #e7eeee; border-radius: 13px; padding: 15px; }
.cd2-card-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; }
.cd2-card-h span { font-size: 14.5px; font-weight: 800; } .cd2-card-h small { font-size: 11.5px; color: #97a4ab; }

.cd2-cat { display: flex; align-items: center; gap: 15px; }
.cd2-donut { width: 128px; height: 128px; flex: 0 0 auto; }
.cd2-donut-v { font-size: 14px; font-weight: 800; fill: #16333a; } .cd2-donut-l { font-size: 9px; fill: #97a4ab; }
.cd2-legend { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.cd2-lg { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.cd2-dot { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 auto; display: inline-block; }
.cd2-lg-n { flex: 1; font-weight: 600; } .cd2-lg-v { font-weight: 700; } .cd2-lg-p { color: #97a4ab; width: 42px; text-align: right; }

.cd2-tbl { width: 100%; border-collapse: collapse; margin-top: 13px; font-size: 12px; }
.cd2-tbl th { text-align: right; color: #97a4ab; font-weight: 600; padding: 6px 4px; border-bottom: 1px solid #eef2f2; }
.cd2-tbl th:first-child { text-align: left; }
.cd2-tbl td { text-align: right; padding: 7px 4px; border-bottom: 1px solid #f5f8f8; }
.cd2-tbl td:first-child { text-align: left; font-weight: 600; }
.cd2-tbl td .cd2-dot { margin-right: 6px; vertical-align: middle; }

.cd2-chart { padding-top: 4px; }
.cd2-bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 9px; height: 150px; }
.cd2-bar { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 5px; }
.cd2-bar i { width: 62%; max-width: 32px; background: #cfe6e6; border-radius: 6px 6px 0 0; position: relative; display: block; min-height: 5px; }
.cd2-bar.on i { background: #00909e; }
.cd2-bar i b { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); font-size: 9.5px; font-weight: 700; color: #16333a; white-space: nowrap; }
.cd2-bar em { font-size: 10px; color: #97a4ab; font-style: normal; } .cd2-bar span { font-size: 10px; color: #97a4ab; }
.cd2-insight { display: flex; gap: 9px; align-items: flex-start; background: #f3f9f9; border-radius: 10px; padding: 10px 11px; margin-top: 12px; font-size: 12.5px; line-height: 1.5; }

.cd2-otbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cd2-otbl th { text-align: left; color: #97a4ab; font-weight: 600; padding: 7px 8px; border-bottom: 1px solid #eef2f2; white-space: nowrap; }
.cd2-otbl td { padding: 8px 8px; border-bottom: 1px solid #f5f8f8; white-space: nowrap; }
.cd2-pill { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 8px; color: #fff; }

@media (max-width: 720px) {
  .cd2-kpis { grid-template-columns: repeat(2, 1fr); }
  .cd2-grid { grid-template-columns: 1fr; }
}

/* ===== 分享卡「对外价格」控制（不显示价/原价/加价%） ===== */
.sp-dialog { width: min(400px, 94vw); }
#shareCtrlBox, #sharePosterImg { width: 100%; }
#sharePosterImg { display: flex; flex-direction: column; align-items: center; }
.sp-ctrl { background: #f3f9f9; border-radius: 12px; padding: 11px 12px; margin-bottom: 12px; text-align: left; }
.sp-ctrl-lb { font-size: 12px; font-weight: 800; color: #6b8189; margin-bottom: 8px; }
.sp-seg { display: flex; background: #fff; border: 1px solid #e3ecec; border-radius: 999px; padding: 3px; gap: 2px; }
.sp-seg-b { flex: 1; border: 0; background: transparent; color: #6b8189; font-size: 12.5px; font-weight: 600; padding: 7px 4px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.sp-seg-b.on { background: #0a8f8f; color: #fff; }
.sp-mk { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sp-mk-lb { font-size: 12px; color: #6b8189; }
.sp-chip { border: 1px solid #e3ecec; background: #fff; color: #16333a; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 8px; cursor: pointer; }
.sp-chip.on { background: #e8901a; color: #fff; border-color: #e8901a; }
.sp-mk-in { width: 88px; height: 30px; border: 1px solid #e3ecec; border-radius: 8px; padding: 0 8px; font-size: 12.5px; }
.sp-note { font-size: 11px; color: #6b8189; line-height: 1.6; margin-top: 10px; }
.sp-note b { color: #16333a; }
.sp-earn { color: #0a8f5b; font-weight: 700; }

/* 行程框架编辑器·逐日景点简介+图 */
.route-edit-area.rt-blurb { margin-top: 6px; min-height: 46px; background: #fbfdff; }
.rt-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; align-items: flex-start; }
.rt-photo { position: relative; display: inline-flex; flex-direction: column; gap: 3px; width: 76px; }
.rt-photo img { width: 76px; height: 56px; object-fit: cover; border-radius: 6px; border: 0.5px solid #e6e8ee; display: block; cursor: text; }
.rt-photocap { width: 76px; font-size: 11px; padding: 2px 5px; border: 0.5px solid #e6e8ee; border-radius: 5px; text-align: center; box-sizing: border-box; }
.rt-photocap:focus { border-color: #0a6b78; outline: none; }
.rt-photocap::placeholder { color: #b6c2d0; }
.rt-delphoto { position: absolute; top: -6px; right: -6px; width: 17px; height: 17px; border-radius: 50%; border: none; background: #c0392b; color: #fff; font-size: 11px; line-height: 1; cursor: pointer; padding: 0; z-index: 1; }
.rt-addphoto { font-size: 11.5px; padding: 5px 9px; border-radius: 6px; border: 0.5px dashed #b6c2d0; background: #fff; color: #4a5568; cursor: pointer; }
.rt-addphoto:hover { border-color: #0a6b78; color: #0a6b78; }

/* 行程编辑器·卡片式(编辑态) */
.route-editing .route-table thead { display: none; }
.route-editing .route-table, .route-editing .route-table td { border: none; background: transparent; }
.route-editing .route-table td { padding: 0; }
.rt-cardrow > td { padding: 0 0 12px !important; }
.rt-card { border: 1px solid #dbe6f2; border-radius: 12px; padding: 14px 16px; background: #fff; box-shadow: 0 1px 3px rgba(20,49,92,.05); }
.rt-card-head { display: flex; gap: 10px; margin-bottom: 4px; }
.rt-day { width: 74px; flex: none; font-size: 14px; font-weight: 700; color: #00808f; text-align: center; padding: 7px 6px; border: 1px solid #cfe0ff; border-radius: 8px; background: #f2f8ff; }
.rt-title { flex: 1; font-size: 14px; font-weight: 600; padding: 7px 10px; border: 1px solid #e0e9f5; border-radius: 8px; }
.rt-flabel { display: block; font-size: 12px; color: #5c6f8e; margin: 10px 0 4px; font-weight: 600; }
.rt-flabel small { color: #98a2b3; font-weight: 400; }
.rt-area { width: 100%; box-sizing: border-box; min-height: 44px; font-size: 13px; line-height: 1.7; padding: 8px 10px; border: 1px solid #e0e9f5; border-radius: 8px; resize: none; overflow-y: hidden; }
.rt-area.rt-blurb { background: #fbfdff; }
.rt-mini { display: flex; gap: 12px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #eef2f7; }
.rt-mini label { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #5c6f8e; font-weight: 600; }
.rt-mini-in { width: 100%; box-sizing: border-box; font-size: 13px; font-weight: 400; padding: 7px 9px; border: 1px solid #e0e9f5; border-radius: 8px; }

/* 行程编辑卡·右侧距离面板 */
.rt-card { display: flex; gap: 0; }
.rt-card-main { flex: 1; min-width: 0; }
.rt-dist { flex: none; width: 150px; border-left: 1px solid #eef2f7; margin-left: 14px; padding-left: 14px; display: flex; flex-direction: column; gap: 5px; }
.rt-dist-auto { font-size: 10.5px; color: #98a2b3; }
.rt-dist-route { font-size: 11.5px; color: #5c6f8e; line-height: 1.4; }
.rt-dist-km { font-size: 22px; font-weight: 700; color: #1a2233; line-height: 1.1; }
.rt-dist-km small { font-size: 12px; font-weight: 400; color: #98a2b3; }
.rt-dist-tone { align-self: flex-start; font-size: 11.5px; padding: 3px 10px; border-radius: 20px; }
.rt-dist-tone.tone-long { background: #FAECE7; color: #993C1D; }
.rt-dist-tone.tone-mid { background: #FAEEDA; color: #854F0B; }
.rt-dist-tone.tone-short { background: #E1F5EE; color: #0F6E56; }
.rt-dist-none { justify-content: center; font-size: 11.5px; color: #b0b6c0; text-align: center; }

/* 行程框架页底部：费用 + 常见问题 */
.route-feefaq { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.route-feefaq .route-sec { border: 1px solid #e6e8ee; border-radius: 12px; padding: 14px 16px; background: #fff; }
.route-feefaq .route-sec-h { font-size: 15px; font-weight: 700; color: #1a2233; margin-bottom: 10px; }
.route-feefaq .rf-cnt { font-size: 12px; color: #98a2b3; font-weight: 400; }
.rf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rf-col { border-radius: 10px; padding: 11px 14px; }
.rf-col.inc { background: #f0faf5; border: 1px solid #cdeeda; }
.rf-col.exc { background: #fdf2f2; border: 1px solid #f5d2d2; }
.rf-h { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.rf-col.inc .rf-h { color: #0a8f5b; }
.rf-col.exc .rf-h { color: #c0392b; }
.rf-col ol { margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.9; color: #384656; }
.rf-faqs { display: flex; flex-direction: column; gap: 8px; }
.rf-faq { border: 0.5px solid #e6e8ee; border-radius: 8px; padding: 8px 12px; }
.rf-faq summary { cursor: pointer; font-size: 13px; font-weight: 600; color: #1a2233; }
.rf-faq-a { font-size: 12.5px; color: #566173; line-height: 1.8; margin-top: 6px; }
@media (max-width: 720px) { .rf-grid { grid-template-columns: 1fr; } }

/* 每天「重要提醒」黄色突出框 */
.itin-note { font-size: 12.5px; color: #8a6d1a; line-height: 1.8; margin-top: 8px; padding: 9px 12px; background: #fdf6e3; border-left: 3px solid #e6b422; border-radius: 0 8px 8px 0; }
.itin-note b { color: #7a5f16; font-weight: 600; }
/* 编辑器里的提醒框：黄底暗示这是突出提醒 */
.rt-area.rt-note { background: #fdf9ec; border-color: #e9d8a6; }

/* 营销账号角色徽章 */
.sa-role { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 10px; margin-right: 4px; }
.sa-role-sell { background: #e6f1fb; color: #185fa5; }
.sa-role-ops { background: #e1f5ee; color: #0f6e56; }

/* 财务真实成本卡(后台订单详情) */
.om-truecost { border: 2px solid #d6b45e; background: #fffdf6; border-radius: 12px; padding: 12px 16px; margin: 12px 0; }
/* 计调中心·成本回填工作台 */
.cb-layout { display: grid; grid-template-columns: 340px 1fr; gap: 16px; align-items: start; }
.cb-list { display: flex; flex-direction: column; gap: 6px; max-height: 72vh; overflow-y: auto; padding-right: 4px; }
.cb-sec-h { font-size: 12px; color: #8a94a6; font-weight: 600; padding: 4px 6px; display: flex; gap: 6px; align-items: center; }
.cb-sec-h span { background: #eef2f7; border-radius: 20px; padding: 0 8px; font-size: 11px; }
.cb-item { text-align: left; width: 100%; border: 0.5px solid #e0e6ed; background: #fff; border-radius: 10px; padding: 9px 11px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; }
.cb-item:hover { border-color: #b9c4d4; background: #f8fafc; }
.cb-item.on { border-color: #0f9d8f; background: #f0faf8; box-shadow: 0 0 0 1px #0f9d8f inset; }
.cb-item-h { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; }
.cb-item-s { font-size: 11.5px; color: #8593a4; }
.cb-item-m { font-size: 12px; color: #4a5b70; display: flex; justify-content: space-between; gap: 8px; }
.cb-badge { font-size: 10.5px; padding: 1px 8px; border-radius: 20px; font-weight: 600; }
.cb-badge.pending { background: #fef6e0; color: #b45309; }
.cb-badge.done { background: #dcf1e8; color: #0b7355; }
.cb-detail { min-width: 0; }
.tc-editnote { font-size: 12px; }
@media (max-width: 820px) { .cb-layout { grid-template-columns: 1fr; } }
/* 成本回填·整表列表 + 行内下展抽屉 */
.cbf-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.cbf-search { flex: 1; min-width: 180px; height: 34px; border: 0.5px solid #d6dfe3; border-radius: 8px; padding: 0 11px; font-size: 13px; }
.cbf-grp { display: flex; gap: 4px; align-items: center; }
.cbf-date { font-size: 12.5px; color: #5c6f77; gap: 6px; }
.cbf-date input[type=date] { height: 34px; border: 0.5px solid #d6dfe3; border-radius: 8px; padding: 0 8px; font-size: 12.5px; width: auto; }
.cbf-chip { font-size: 12px; padding: 6px 11px; border-radius: 8px; border: 0.5px solid #d6dfe3; background: #fff; color: #5c6f77; cursor: pointer; white-space: nowrap; }
.cbf-chip:hover { border-color: #b9c4d4; }
.cbf-chip.on { background: #0d8b96; border-color: #0d8b96; color: #fff; font-weight: 600; }
.cbt-wrap { border: 0.5px solid #e2e9ec; border-radius: 12px; overflow: hidden; background: #fff; }
.cbt-head, .cbt-row { display: grid; grid-template-columns: 58px 1fr 88px 90px 96px 26px; gap: 0; align-items: center; }
.cbt-head { background: #f6f8fb; color: #8a94a6; font-size: 11px; padding: 9px 12px; }
.cbt-row { padding: 10px 12px; border-top: 0.5px solid #eef2f6; font-size: 12.5px; cursor: pointer; }
.cbt-row:hover { background: #f8fafc; }
.cbt-row.open { background: #eef6ff; }
.cbt-row.urg { border-left: 3px solid #e2726b; }
.cbt-row b { font-weight: 700; }
.cbt-c { min-width: 0; }
.cbt-chev { font-size: 10px; }
.cbt-detail { border-top: 0.5px solid #cfe0f5; background: #f7fafe; padding: 14px 16px; }
/* 计调中心·自营公寓管理 */
.apt-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.apt-toolbar select { height: 34px; }
.apt-viewtog { display: inline-flex; border: 1px solid #bfe0da; border-radius: 8px; overflow: hidden; }
.apt-viewtog button { border: none; background: #fff; color: #0f9d8f; height: 30px; padding: 0 14px; cursor: pointer; font-size: 13px; font-weight: 600; }
.apt-viewtog button.on { background: #1D9E75; color: #fff; }
.apt-viewtog button:not(.on):hover { background: #eafaf6; }
.apt-mon .apt-today { background: #fff; color: #6b7a8d; border-color: #d7dee6; }
.apt-mon { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.apt-mon button { border: 0.5px solid #bfe0da; background: #eafaf6; color: #0f9d8f; height: 30px; padding: 0 10px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; line-height: 1; display: inline-flex; align-items: center; justify-content: center; gap: 2px; }
.apt-mon button:hover { background: #d4f2ec; }
.apt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 14px; }
.apt-stat { background: #f6f9fc; border-radius: 9px; padding: 10px 12px; }
.apt-stat span { display: block; font-size: 12px; color: #8593a4; }
.apt-stat b { font-size: 20px; }
.apt-stat.saved { background: #dcf1e8; } .apt-stat.saved span, .apt-stat.saved b { color: #0b7355; }
.apt-gantt-wrap { overflow-x: auto; }
.apt-gantt { min-width: 640px; }
.apt-roomblock { border-bottom: 1px solid #eef2f7; padding-bottom: 3px; margin-bottom: 3px; }
.apt-roomblock:last-child { border-bottom: none; }
.apt-row { display: grid; gap: 3px; margin-bottom: 3px; align-items: stretch; }
.apt-roomblock .apt-row { margin-bottom: 2px; }
.apt-head .apt-daynum { text-align: center; font-size: 11px; color: #8593a4; line-height: 1.1; padding: 2px 0; }
.apt-head .apt-daynum small { display: block; font-size: 9px; color: #b6c0cf; }
.apt-daynum.we { color: #c0392b; }
.apt-label { font-size: 12.5px; font-weight: 500; display: flex; align-items: center; padding-right: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apt-label small { color: #98a2b3; font-weight: 400; font-size: 10px; margin-left: 4px; }
.apt-head .apt-label { color: #8593a4; font-weight: 400; }
.apt-bar { min-height: 28px; border: none; border-radius: 6px; font-size: 11px; font-weight: 500; padding: 3px 6px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.apt-bar.guest { background: #d6e9fb; color: #0c447c; } .apt-bar.guest:hover { background: #c2ddf7; }
.apt-bar.driver { background: #d7f0e5; color: #0f6e56; } .apt-bar.driver:hover { background: #c3e8d6; }
.apt-bar.pending { background: #fef3d6; color: #92610a; border: 1px dashed #e0a94a; } .apt-bar.pending:hover { background: #fceac0; }
.apt-pend { background: #fff8e6; border: 1px solid #f2d99a; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.apt-pend-h { font-size: 13px; font-weight: 600; color: #92610a; margin-bottom: 6px; }
.apt-pend-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 5px 0; gap: 10px; flex-wrap: wrap; border-top: 0.5px dashed #f0dca8; }
.apt-pend-row:first-of-type { border-top: none; }
.apt-pend-row .primary, .apt-pend-row .ghost { padding: 4px 12px; font-size: 12px; }
.apt-empty { min-height: 28px; border: 0.5px solid #eef2f7; background: #fafcfe; border-radius: 6px; cursor: pointer; }
.apt-empty:hover { background: #eef6ff; border-color: #bcd8f5; }
/* 周视图:格子宽,色条文字整段显示(可换行),行更高 */
.apt-gantt.week .apt-bar { white-space: normal; min-height: 42px; font-size: 12px; line-height: 1.35; padding: 5px 8px; }
.apt-gantt.week .apt-empty { min-height: 42px; }
.apt-gantt.week .apt-daynum { font-size: 13px; padding: 4px 0; }
.apt-gantt.week .apt-daynum small { font-size: 11px; }
.apt-gantt.week .apt-daycell { min-height: 30px; }
.apt-foot { margin-top: 3px; }
.apt-foot-top { margin-top: 8px; border-top: 1px dashed #dbe3ee; padding-top: 6px; }
.apt-daycell { border: none; border-radius: 6px; font-size: 13px; font-weight: 600; padding: 5px 0; text-align: center; cursor: pointer; line-height: 1.1; }
.apt-daycell:hover { outline: 1.5px solid #94a6bd; }
.apt-daycell.empty { background: #f5f8fc; box-shadow: none; }
.apt-tag { font-size: 11px; padding: 1px 8px; border-radius: 20px; font-weight: 600; }
.apt-tag.guest { background: #e6f1fb; color: #185fa5; } .apt-tag.driver { background: #e1f5ee; color: #0f6e56; }
.apt-room-list { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.apt-room-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; background: #f6f9fc; border-radius: 8px; font-size: 13px; }
.apt-ph-sec { margin-bottom: 14px; }
.apt-ph-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.apt-ph-up { color: #0a6b78; font-size: 12px; cursor: pointer; border: 0.5px solid #b9dde2; border-radius: 6px; padding: 3px 10px; }
.apt-ph-up:hover { background: #eef8fa; }
.apt-ph-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.apt-ph { position: relative; width: 104px; height: 78px; border-radius: 8px; overflow: hidden; border: 0.5px solid #e0e6ed; }
.apt-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apt-ph-del { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border: none; border-radius: 50%; background: rgba(0,0,0,0.55); color: #fff; font-size: 13px; line-height: 1; cursor: pointer; }
.apt-ph-del:hover { background: #c0392b; }
.tc-head { font-size: 14px; font-weight: 600; color: #7a5b12; margin-bottom: 8px; }
.tc-owner { font-size: 11px; font-weight: 400; color: #a98b3a; background: #fbf1d6; padding: 1px 8px; border-radius: 10px; margin-left: 6px; }
.tc-body { font-size: 13px; }
.tc-line, .tc-adj { display: flex; justify-content: space-between; padding: 4px 0; }
.tc-adj { color: #7a5b12; border-bottom: 0.5px dashed #e6d9b0; }
.tc-sum { border-top: 0.5px solid #e6d9b0; margin-top: 4px; padding-top: 6px; }
.tc-profit b { font-size: 15px; }
.tc-add { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
/* 包车成本明细·OP只读 */
.cco { margin: 8px 0 6px; border: 1px solid #dbe7e6; border-radius: 10px; background: #f8fcfc; overflow: hidden; }
.cco-h { display: flex; align-items: center; gap: 8px; padding: 7px 12px; font-size: 12px; font-weight: 700; color: #0e6a72; background: #eaf6f6; }
.cco-tag { margin-left: auto; font-size: 10px; font-weight: 700; color: #0e7c86; background: #d9f0f2; border-radius: 999px; padding: 1px 8px; }
.cco-sec { padding: 6px 12px 2px; font-size: 12px; font-weight: 700; color: #3f4c5f; }
.cco-r { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 8px; padding: 3px 12px; font-size: 12px; align-items: baseline; }
.cco-nm { color: #334155; overflow: hidden; text-overflow: ellipsis; }
.cco-d { color: #8a97a8; text-align: right; white-space: nowrap; }
.cco-v { text-align: right; font-weight: 700; color: #0e6a72; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cco-sub { padding: 3px 12px 6px; text-align: right; font-size: 11px; font-weight: 700; color: #5a6b7a; border-bottom: 1px dashed #e0ecec; }
.cco-tot { padding: 7px 12px; text-align: right; font-size: 12px; font-weight: 700; color: #3f4c5f; background: #eef7f7; }
.cco-tot b { color: #0e6a72; font-size: 14px; }
/* 财务 · 供应商付款队列 */
.spay-segs { display: inline-flex; border: 1px solid #dce6e3; border-radius: 8px; overflow: hidden; }
.spay-seg { font: inherit; font-size: 13px; font-weight: 600; border: 0; background: #fff; color: #566963; padding: 6px 14px; cursor: pointer; border-left: 1px solid #eef2f0; }
.spay-seg:first-child { border-left: 0; }
.spay-seg.on { background: #0e7c74; color: #fff; }
.spay-sum { font-size: 14px; color: #3f4c47; margin: 8px 0 14px; }
.spay-sum b { color: #0e6a72; font-variant-numeric: tabular-nums; }
.spay-list { display: grid; gap: 12px; }
.spay-card { display: flex; gap: 16px; border: 1px solid #e3ebe9; border-radius: 12px; padding: 14px 16px; background: #fff; align-items: center; }
.spay-card.paid { background: #f7faf9; border-color: #dfeae7; }
.spay-c-main { flex: 1; min-width: 0; }
.spay-c-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.spay-no { font-size: 14px; color: #16241f; }
.spay-cust { font-size: 13px; color: #566963; }
.spay-custpay { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.spay-custpay.ok { background: #e6f7ef; color: #0f7a4f; }
.spay-custpay.no { background: #fdeeee; color: #c0392b; }
/* 资金账户台账 */
.fund-sum { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: #3f4c47; margin: 6px 0 16px; }
.fund-sum b { font-variant-numeric: tabular-nums; }
.fund-sec-h { font-size: 13px; font-weight: 800; color: #2a3a48; margin: 6px 0 10px; display: flex; align-items: center; gap: 7px; }
.fund-sec-h span { font-size: 11px; font-weight: 700; color: #7a8aa0; background: #eef2f6; border-radius: 999px; padding: 1px 9px; }
.fund-sec-h + .fund-cards { margin-bottom: 20px; }
.fund-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-bottom: 18px; align-items: start; }
.fund-card { border: 1px solid #e3ebe9; border-radius: 12px; padding: 14px 16px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.fund-card:hover { border-color: #b7d8d2; }
.fund-card.active { border-color: #0e7c74; box-shadow: 0 0 0 3px rgba(14, 124, 116, .12); }
.fund-c-h { display: flex; align-items: flex-start; gap: 8px; }
.fund-c-h b { font-size: 14px; color: #16241f; flex: 1; min-width: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fund-cur { font-size: 11px; font-weight: 700; color: #5a49c9; background: #eae7fb; border-radius: 6px; padding: 1px 7px; }
.fund-bal { font-size: 24px; font-weight: 800; color: #0e6a72; font-variant-numeric: tabular-nums; margin: 8px 0 5px; }
.fund-mo { font-size: 12px; color: #8593a4; font-variant-numeric: tabular-nums; }
.fund-mo small { color: #b0bcc5; }
.fund-c-h .fund-edit { margin-left: auto; border: none; background: transparent; color: #b0bcc5; font-size: 13px; cursor: pointer; padding: 0 2px; }
.fund-c-h .fund-edit:hover { color: #0e7c74; }
.fund-c-h .fund-del { border: none; background: transparent; color: #c9c2c2; font-size: 12.5px; cursor: pointer; padding: 0 2px; }
.fund-c-h .fund-del:hover { color: #c0392b; }
.fund-bank { margin: 9px 0 4px; padding: 8px 11px; background: #f6f9fb; border: 0.5px solid #e6edf2; border-radius: 8px; }
.fund-bk-line { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 2.5px 0; }
.fund-bk-line > span { flex: 0 0 52px; color: #93a2b0; }
.fund-bk-line > b { flex: 1; min-width: 0; color: #2a3a48; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fund-bk-line .fund-acctno { font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.fund-copy { margin-left: 4px; flex: 0 0 auto; border: 0.5px solid #d7e0e8; background: #fff; border-radius: 6px; font-size: 11px; padding: 1px 6px; cursor: pointer; color: #5c6f83; }
.fund-copy:hover { border-color: #0e7c74; color: #0e7c74; }
.fund-ledger { border: 1px solid #e6ede9; border-radius: 12px; overflow: hidden; }
.fund-l-h { padding: 11px 15px; font-weight: 700; font-size: 13px; color: #3f4c47; background: #f6faf9; border-bottom: 1px solid #eef2f0; }
.fund-reg-sum { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 14px; }
.fund-reg-chip { font-size: 12px; color: #5a6678; background: #f4f7fb; border: 1px solid #e6ebf2; border-radius: 8px; padding: 5px 11px; }
.fund-reg-chip b { color: #2f3b4c; }
.fund-c-reg { margin-top: 9px; }
.fund-reg-pick { width: 100%; height: 30px; font-size: 12px; border: 1px solid #e6e8ee; border-radius: 7px; padding: 0 7px; background: #fff; color: #566963; cursor: pointer; }
.fund-l-row { display: grid; grid-template-columns: 26px 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 15px; border-bottom: 1px solid #f2f5f4; font-size: 13px; }
.fund-l-row.reconciled { background: #f6faf9; }
.fund-l-ck { display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fund-l-ck input { cursor: pointer; }
.fund-l-row:last-child { border-bottom: 0; }
.fund-l-date { color: #8593a4; font-variant-numeric: tabular-nums; }
.fund-l-desc { color: #3f4c47; min-width: 0; }
.fund-l-src { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 5px; margin-right: 5px; }
.fund-l-src.receipt { background: #e6f7ef; color: #0f7a4f; }
.fund-l-src.suppay { background: #fdeeee; color: #c0392b; }
.fund-l-src.manual { background: #eef2f7; color: #5a6678; }
.fund-l-amt { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fund-l-amt.in { color: #0f7a4f; }
.fund-l-amt.out { color: #c0392b; }
.spay-c-info { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: #8593a4; }
.spay-c-info b { color: #2f3b4c; font-weight: 700; }
.spay-c-info .spay-acct { flex-basis: 100%; word-break: break-all; }
.spay-c-info .spay-req { flex-basis: 100%; color: #c26a12; font-weight: 600; }
.spay-card.paid .spay-req { color: #8593a4; }
.spay-c-side { flex: none; width: 176px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.spay-amt { font-size: 20px; font-weight: 800; color: #0e6a72; font-variant-numeric: tabular-nums; }
.spay-paid { font-size: 11.5px; color: #157f56; font-weight: 600; line-height: 1.4; text-align: right; }
.spay-btn { font-size: 13px; padding: 8px 16px; }
@media (max-width: 640px) { .spay-card { flex-direction: column; align-items: stretch; } .spay-c-side { width: auto; flex-direction: row; justify-content: space-between; align-items: center; } }
.tc-add select, .tc-add input { height: 32px; font-size: 12.5px; border: 0.5px solid #e6e8ee; border-radius: 8px; padding: 0 8px; }
.recon-tbl .recon-od { color: #5b6472; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cost-line .oa-orig { color: #16a34a; font-size: 11.5px; background: #eafaf0; border-radius: 5px; padding: 0 6px; margin-left: 2px; white-space: nowrap; }
/* 订单管理·业务线切换 + 统计条 */
.biz-tabs { display:inline-flex; gap:4px; background:#eef2f8; border-radius:999px; padding:4px; margin-bottom:10px; }
.biz-tabs button { border:none; background:transparent; color:#5b6472; font-size:13px; font-weight:600; padding:6px 16px; border-radius:999px; cursor:pointer; }
.biz-tabs button b { font-weight:800; opacity:.7; margin-left:2px; }
.biz-tabs button.active { background:#00808f; color:#fff; }
.biz-tabs button.active b { opacity:.9; }
.order-search select { max-width:180px; }
.order-search .date-range-input { min-width:150px; max-width:180px; padding:7px 10px; border:1px solid #dce5f2; border-radius:8px; font-size:13px; background:#fff; cursor:pointer; }
.order-stats { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:2px 0 10px; font-size:12.5px; color:#5b6472; }
.order-stats .os-chips { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.order-stats .os-chip { background:#e7f1ff; color:#1d4ed8; border-radius:999px; padding:2px 10px; font-weight:600; }
.order-stats .os-total { margin-left:auto; }
.order-stats .os-total b { color:#16203a; }
.order-stats .os-chip { cursor:pointer; }
.order-stats .os-chip .os-chip-x { color:#1d4ed8; opacity:.65; font-weight:700; margin-left:2px; }
.order-stats .os-chip:hover { background:#d7e6ff; }
.order-stats .os-chip:hover .os-chip-x { opacity:1; }
.order-stats .os-clear { border:none; background:none; color:#c0392b; font-size:12px; cursor:pointer; padding:2px 6px; }
/* 订单大盘分析 */
.dash-top { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.dash-biztabs { display:inline-flex; background:#eef2f8; border-radius:999px; padding:3px; }
.dash-biztabs button { border:none; background:transparent; color:#5b6472; font-size:13px; font-weight:600; padding:7px 18px; border-radius:999px; cursor:pointer; }
.dash-biztabs button.on { background:#00808f; color:#fff; }
.dash-gran { margin-left:auto; display:inline-flex; background:#f5f8fc; border:1px solid #e6e8ee; border-radius:8px; padding:2px; }
.dash-gran button { border:none; background:transparent; color:#5b6472; font-size:12px; padding:5px 15px; border-radius:6px; cursor:pointer; font-weight:600; }
.dash-gran button.on { background:#00808f; color:#fff; }
.dash-kpis { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; margin-bottom:14px; }
.dash-kpis .dk { background:#f6f8fc; border:1px solid #e6e8ee; border-radius:10px; padding:11px 13px; }
.dash-kpis .dk-l { font-size:11px; color:#98a2b3; }
.dash-kpis .dk-v { font-size:21px; font-weight:700; color:#16203a; margin:2px 0; }
.dash-kpis .dk-v.ok { color:#15803d; } .dash-kpis .dk-v.warn { color:#c2410c; }
.dash-kpis .dk-mom { font-size:11px; color:#98a2b3; } .dash-kpis .dk-mom.up { color:#15803d; } .dash-kpis .dk-mom.down { color:#c0392b; }
.dash-grid2 { display:grid; grid-template-columns:1.6fr 1fr; gap:12px; margin-bottom:12px; }
.dash-grid3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; }
.dash-card { background:#fbfcfe; border:1px solid #e6e8ee; border-radius:10px; padding:13px; }
.dash-ct { font-size:13px; font-weight:700; color:#16203a; margin-bottom:12px; }
.dash-brow { display:flex; align-items:center; gap:8px; margin-bottom:8px; font-size:12px; }
.dash-brow .dash-bl { width:96px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#3a4356; }
.dash-brow .dash-bt { flex:1; height:8px; background:#eef1f6; border-radius:999px; overflow:hidden; }
.dash-brow .dash-bt i { display:block; height:100%; background:#00808f; border-radius:999px; }
.dash-brow .dash-bv { white-space:nowrap; font-weight:700; color:#16203a; }
.dash-funnel > div { display:flex; justify-content:space-between; font-size:12px; padding:6px 0; border-bottom:1px solid #eef1f6; }
.dash-funnel > div:last-child { border-bottom:none; }
.dash-funnel b.ok { color:#15803d; } .dash-funnel b.warn { color:#c2410c; } .dash-funnel b.danger { color:#c0392b; }
@media (max-width:900px){ .dash-kpis,.dash-grid2,.dash-grid3 { grid-template-columns:1fr 1fr; } }
/* 订单状态说明·收款规则块 */
.osh-rule { margin-top:12px; padding:11px 13px; background:#f0f7ff; border:1px solid #cfe2fb; border-radius:9px; }
.osh-rule-h { font-size:12.5px; font-weight:800; color:#16203a; margin-bottom:7px; }
.osh-rule ul { margin:0; padding-left:18px; }
.osh-rule li { font-size:12px; color:#3a4356; line-height:1.9; }
.osh-rule li.muted { color:#98a2b3; }
.osh-rule b { color:#1d4ed8; }
/* 订单管理·业务线+筛选同一行 */
.order-topbar { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:10px; }
.order-topbar .biz-tabs { margin-bottom:0; flex:0 0 auto; }
.order-topbar .order-search { flex:1 1 480px; margin-bottom:0; }
/* 大盘·各期日期清单 */
.dash-legend { margin-top:6px; }
.dash-legend > summary { cursor:pointer; font-size:11.5px; color:#00808f; font-weight:600; list-style:none; }
.dash-legend > summary::-webkit-details-marker { display:none; }
.dash-legend-body { display:flex; flex-wrap:wrap; gap:6px 14px; margin-top:8px; }
.dash-legend .dash-lg { font-size:11px; color:#5b6472; }
.dash-legend .dash-lg b { color:#16203a; }
/* 订单状态说明移入标题行 → 下拉浮层（展开不撑高标题行） */
.panel-title { position: relative; flex-wrap: nowrap; align-items: center; }
.panel-title > h3 { flex: 0 0 auto; margin: 0; }
.panel-title .order-status-help { margin: 0 0 0 auto; flex: 0 0 auto; align-self: center; position: relative; border: 0; background: transparent; }
/* 展开时浮层下拉，不撑高工具行、不影响按钮对齐 */
.panel-title .order-status-help[open] > .osh-body { position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; width: min(720px, 88vw); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(20,40,70,.16); padding: 14px; text-align: left; }
.panel-title .row-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; flex-wrap: nowrap; align-self: center; }
.panel-title .row-actions button { display: inline-flex; align-items: center; }
.panel-title .order-status-help > summary { display: inline-flex; align-items: center; white-space: nowrap; cursor: pointer; font-size: 12.5px; color: #00808f; font-weight: 600; list-style: none; padding: 8px 12px; border: 1px solid #cfe2fb; border-radius: 8px; background: #f0f7ff; }
.panel-title .order-status-help > summary::-webkit-details-marker { display: none; }
.panel-title .order-status-help[open] > .osh-body { position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; width: min(720px, 92vw); background: #fff; border: 1px solid #e6e8ee; border-radius: 10px; box-shadow: 0 12px 34px rgba(0,0,0,.14); padding: 14px; text-align: left; }
.order-status-tabs { margin: 4px 0 8px; }
/* 大盘·趋势卡翻转周历 */
.dash-flip-btn { margin-left:8px; font-size:11px; color:#00808f; background:#e6f6f2; border-radius:6px; padding:2px 8px; font-weight:600; }
.dash-trend.flippable { cursor:pointer; }
.dcal { display:flex; flex-direction:column; }
.dcal-headrow, .dcal-row { display:grid; grid-template-columns:44px 84px repeat(7,1fr) 92px; align-items:center; gap:4px; font-size:11.5px; }
.dcal-headrow { color:#98a2b3; font-weight:700; padding:5px 0; border-bottom:1px solid #eef1f6; }
.dcal-row { padding:7px 0; border-bottom:1px solid #f5f8fc; }
.dcal-wk { font-weight:800; color:#00808f; }
.dcal-range { color:#8a94a6; white-space:nowrap; }
.dcal-d { text-align:center; color:#3a4356; }
.dcal-d.we { color:#c0392b; }
.dcal-amt { text-align:right; font-weight:700; color:#0e7c74; white-space:nowrap; }
/* 订单管理·状态标签与统计同行对齐 */
.order-tabline { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:4px 0 8px; }
.order-tabline .order-status-tabs { margin:0; }
.order-tabline .order-stats { margin:0; }
.order-tabline-search { flex:1 1 300px; min-width:240px; max-width:460px; padding:8px 13px; border:1px solid var(--line); border-radius:8px; font-size:13.5px; background:#fff; text-overflow:ellipsis; }
.order-tabline-search:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(0,144,158,0.12); }
/* 订单管理·「🤝 拼房」快速筛选开关 */
.order-rm-toggle { flex:0 0 auto; height:32px; padding:0 12px; border:1px solid var(--line); background:#fff; color:#64748b; border-radius:8px; font-size:13px; font-weight:700; cursor:pointer; white-space:nowrap; transition:all .12s; }
.order-rm-toggle:hover { border-color:#e879c7; color:#be185d; }
.order-rm-toggle.active { background:#fdf2f8; border-color:#ec4899; color:#be185d; box-shadow:0 0 0 2px rgba(236,72,153,0.12); }
@media (max-width:760px){ .order-tabline-search { flex:1 1 100%; max-width:none; order:3; } .order-tabline .order-stats { order:2; } }
/* 退改管理 nav 待处理角标 */
.nav-count { display:inline-block; margin-left:6px; background:#e5484d; color:#fff; font-size:10.5px; font-weight:700; min-width:16px; height:16px; line-height:16px; text-align:center; border-radius:999px; padding:0 4px; vertical-align:middle; }
.nav-count[hidden] { display:none; }
/* ===== 管理端·自费活动 OP 退改(2026-09) ===== */
.cost-line.act-line { grid-template-columns: minmax(0,1fr) auto minmax(72px,auto) auto; } /* 第4列放行内退改按钮 */
.om-arf-btn { justify-self: end; font-size: 11px; border: 0.5px solid #d8c3c1; color: #a2564f; background: #fff; border-radius: 6px; padding: 3px 10px; cursor: pointer; white-space: nowrap; }
.om-arf-btn:hover { background: #fbeceb; border-color: #d8b5b2; color: #b04a42; }
.om-arf-badge { justify-self: end; font-size: 10.5px; color: #b4680f; background: #fbeedd; border-radius: 20px; padding: 2px 9px; white-space: nowrap; }
#opArfDialog { border: none; border-radius: 14px; padding: 0; box-shadow: 0 20px 60px rgba(0,0,0,.25); max-width: 92vw; }
#opArfDialog::backdrop { background: rgba(15,25,35,.4); }
#opArfDialog .oparf-form { padding: 20px 22px; max-width: 420px; }
.oparf-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; }
.oparf-svc { background: #e8f0fe; color: #2a55a8; border: 0.5px solid #c3d5f2; border-radius: 9px; padding: 9px 11px; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.arf-svc-tag2 { font-size: 10.5px; font-weight: 700; color: #2a55a8; background: #e8f0fe; border-radius: 20px; padding: 1px 7px; white-space: nowrap; }
/* 退款单弹窗(截图发老板打款) */
#refundNoteHost { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; }
#refundNoteHost .rn-mask { position: absolute; inset: 0; background: rgba(15,25,35,.45); }
#refundNoteHost .rn-card { position: relative; z-index: 2001; width: 420px; max-width: 92vw; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
#refundNoteHost .rn-cap { background: #fff; padding: 0; border: 1px solid #e6edf2; border-radius: 11px; overflow: hidden; }
#refundNoteHost .rn-h { color: #fff; padding: 15px 20px; background: linear-gradient(135deg, #12a294, #0c7d78); }
#refundNoteHost .rn-eyebrow { font-size: 11.5px; opacity: .85; letter-spacing: 1px; }
#refundNoteHost .rn-title { font-size: 19px; font-weight: 800; margin-top: 6px; }
#refundNoteHost .rn-body { padding: 14px 16px; }
#refundNoteHost .rn-amt { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 14px; }
#refundNoteHost .rn-amt span { font-size: 13px; color: #5c6f77; }
#refundNoteHost .rn-amt b { font-size: 28px; font-weight: 800; color: #c0392b; font-variant-numeric: tabular-nums; }
#refundNoteHost .rn-kv { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
#refundNoteHost .rn-kv td { padding: 5px 0; vertical-align: top; word-break: break-word; overflow-wrap: anywhere; }
#refundNoteHost .rn-kv td:first-child { color: #93a2b0; width: 84px; white-space: nowrap; padding-right: 8px; }
#refundNoteHost .rn-kv td:last-child { color: #2a3a48; font-weight: 600; min-width: 0; word-break: break-word; overflow-wrap: anywhere; }
/* 第2步:卡片明细用 flex 行(不用 table,长账号靠 min-width:0+word-break 稳稳换行) */
#refundNoteHost .rn-kv2 { font-size: 13px; }
/* 生成微信图(html2canvas):flex+baseline+break-all/anywhere 会让折行文字叠在一起 → 用 grid + 普通断行 */
#refundNoteHost .rn-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 8px; padding: 5px 0; align-items: start; }
#refundNoteHost .rn-row-k { color: #93a2b0; white-space: nowrap; line-height: 1.5; }
#refundNoteHost .rn-row-v { min-width: 0; color: #2a3a48; font-weight: 600; word-break: normal; overflow-wrap: break-word; line-height: 1.5; }
#refundNoteHost .rn-row-v.rn-to-text { font-weight: 700; color: #12313d; }
/* 第1步:退至账户录入块 */
#refundNoteHost .rn-to-block { margin: 6px 0 14px; }
#refundNoteHost .rn-to-lb { display: block; font-size: 13px; font-weight: 800; color: #12313d; margin-bottom: 6px; }
#refundNoteHost .rn-to-lb small { display: block; font-size: 11px; font-weight: 500; color: #93a2b0; margin-top: 2px; }
#refundNoteHost .rn-to { box-sizing: border-box; width: 100%; max-width: 100%; border: 1px solid #cdd8e0; border-radius: 8px; padding: 8px 10px; font-size: 13px; color: #2a3a48; font-weight: 600; background: #fbfdff; line-height: 1.5; resize: vertical; min-height: 46px; font-family: inherit; }
#refundNoteHost .rn-to:focus { outline: none; border-color: #0f9d8f; box-shadow: 0 0 0 2px rgba(15,157,143,.12); }
#refundNoteHost .rn-to-quick { margin-top: 6px; }
#refundNoteHost .rn-to-chip { border: 0.5px solid #cdd8e0; background: #fff; color: #5c6f83; border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 600; cursor: pointer; }
#refundNoteHost .rn-to-chip:hover { background: #f1f5f9; }
#refundNoteHost .rn-note { font-size: 11.5px; color: #8695a6; line-height: 1.6; margin: 14px 0 12px; padding: 9px 11px; background: #f6f9fb; border-radius: 8px; }
/* 退至账户确认闸:确认后才解锁生成 */
#refundNoteHost .rn-gate { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; background: #fff7ed; border: 1px solid #f4d9b0; border-radius: 9px; padding: 9px 12px; }
#refundNoteHost .rn-gate-tip { flex: 1; min-width: 180px; font-size: 12px; font-weight: 600; color: #b4741a; line-height: 1.4; }
#refundNoteHost .rn-gate-ok { flex: 0 0 auto; border: 0; background: #b4741a; color: #fff; border-radius: 8px; padding: 7px 13px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
#refundNoteHost .rn-gate-ok:hover { background: #9c6316; }
#refundNoteHost .rn-gate-done { font-size: 12.5px; font-weight: 700; color: #0b7a3e; }
#refundNoteHost .rn-gate-done b { color: #075c2e; }
#refundNoteHost .rn-acts { display: flex; gap: 8px; margin-top: 10px; }
#refundNoteHost .rn-copy { flex: 1; border: 0; background: #0f9d8f; color: #fff; border-radius: 9px; padding: 9px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
#refundNoteHost .rn-copy:disabled { background: #c3ccd4; cursor: not-allowed; }
#refundNoteHost .rn-img { flex: 0 0 auto; border: 0.5px solid #0f9d8f; background: #eafaf7; color: #0b7a70; border-radius: 9px; padding: 9px 12px; font-size: 13px; cursor: pointer; white-space: nowrap; }
#refundNoteHost .rn-close { flex: 0 0 auto; border: 0.5px solid #dbe3ec; background: #fff; color: #5c6f83; border-radius: 9px; padding: 9px 14px; font-size: 13px; cursor: pointer; }
#refundNoteHost .rn-preview { margin-top: 12px; text-align: center; }
#refundNoteHost .rn-preview .rn-pv-hint { font-size: 12px; color: #0b7a70; margin-bottom: 8px; line-height: 1.5; }
/* 预览图缩略(限高),避免生成后弹窗被撑很长;点「复制/下载」即可,不需大图 */
#refundNoteHost .rn-preview { margin-top: 10px; border-top: 1px dashed #e0e7ea; padding-top: 10px; }
#refundNoteHost .rn-preview img { max-width: 60%; max-height: 150px; width: auto; object-fit: contain; border: 1px solid #e6edf2; border-radius: 8px; box-shadow: 0 3px 12px rgba(0,0,0,.1); }
#refundNoteHost .rn-pv-btns { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 10px; flex-wrap: wrap; }
#refundNoteHost .rn-copy-img { background: #0f9d8f; color: #fff; border: 0; border-radius: 9px; padding: 9px 22px; font-size: 14px; font-weight: 600; cursor: pointer; }
#refundNoteHost .rn-copy-img:hover { filter: brightness(1.06); }
#refundNoteHost .rn-dl { display: inline-block; background: #07c160; color: #fff; border-radius: 9px; padding: 9px 24px; font-size: 14px; font-weight: 600; text-decoration: none; }
.oparf-no { background: #fbeceb; color: #b0392f; border: 0.5px solid #edc4c0; border-radius: 9px; padding: 9px 11px; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.oparf-ov { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: #8a4a12; background: #fef6e6; border: 0.5px solid #f0d9a8; border-radius: 8px; padding: 9px 12px; margin-bottom: 12px; cursor: pointer; text-align: left; }
.oparf-ov input { flex: none; margin: 2px 0 0; }
.oparf-ov-t { flex: 1; line-height: 1.5; }
.oparf-ov-t b { color: #b0392f; }
.oparf-lb { display: block; font-size: 12.5px; color: #5c6b7a; margin-bottom: 10px; }
.oparf-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; }
.oparf-acts { display: flex; justify-content: flex-end; gap: 10px; }
#opArfDialog #opArfGo.disabled, #opArfDialog #opArfGo:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(0.4); }

/* ===== 酒店日历 ===== */
.hc-top { display: flex; align-items: center; margin-bottom: 12px; }
.hc-nav { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.hc-nav b { min-width: 110px; text-align: center; }
.hc-nav button { padding: 5px 11px; }
.hc-kpis { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.hc-kpi { background: #f4f8fa; border: 1px solid #e3ecef; border-radius: 10px; padding: 9px 16px; min-width: 92px; }
.hc-kpi-n { font-size: 22px; font-weight: 800; color: #16323a; }
.hc-kpi-l { font-size: 12px; color: #7a8a96; margin-top: 1px; }
.hc-kpi.on { background: #e6f4f5; border-color: #bfe0e2; }
.hc-kpi.warn { background: #fdecec; border-color: #f5c9c6; }
.hc-kpi.warn .hc-kpi-n { color: #c0392b; }
.hc-kpi.clickable { cursor: pointer; }
.hc-kpi.clickable:hover { filter: brightness(0.98); box-shadow: 0 0 0 2px rgba(192,57,43,.15) inset; }
.hc-kpi.warn.active { box-shadow: 0 0 0 2px #c0392b inset; }
.hc-filterbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.hc-hbtn { border: 1px solid #dde7ee; background: #fff; color: #45566e; border-radius: 999px; padding: 4px 12px; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.hc-hbtn:hover { background: #e2f5f8; border-color: #bfe6ea; color: #00808f; }
.hc-hbtn.on { background: #0d8b96; border-color: #0d8b96; color: #fff; }
.hc-hcount { font-size: 11px; background: rgba(0,0,0,.08); border-radius: 999px; padding: 0 6px; }
.hc-hbtn.on .hc-hcount { background: rgba(255,255,255,.25); }
.hc-grp { border: 1px solid #cbd7e2; background: #eef4f7; color: #34404d; border-radius: 999px; padding: 4px 13px; font-size: 12.5px; cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.hc-grp:hover { background: #e2f5f8; border-color: #bfe6ea; }
.hc-grp.on { background: #0d8b96; border-color: #0d8b96; color: #fff; }
.hc-grp.on .hc-hcount { background: rgba(255,255,255,.25); }
.hc-grp i { font-style: normal; font-size: 10px; opacity: .8; }
.hc-clear { color: #c0342c; border-color: #f0b3b3; background: #fff; }
.hc-clear:hover { background: #fdecec; }
.hc-legend { display: flex; gap: 16px; margin-bottom: 10px; font-size: 12px; color: #6b7a8d; align-items: center; }
.hc-lg-tip { color: #98a2b3; margin-left: auto; }
.hbp-sum { font-size: 13px; margin-bottom: 10px; }
.hbp-tbl { width: 100%; min-width: 0; border-collapse: collapse; font-size: 13px; }
.hbp-tbl th { text-align: left; padding: 7px 9px; color: #7a8a96; font-weight: 600; border-bottom: 1px solid #e3ecef; white-space: nowrap; }
.hbp-tbl td { padding: 7px 9px; border-bottom: 0.5px solid #eef2f7; white-space: nowrap; }
.hbp-tbl tr.hbp-miss { background: #fdf4f4; }
.hbp-price { font-weight: 500; color: #16323a; }
.hbp-price small { color: #98a2b3; font-weight: 400; margin-left: 4px; }
.hbp-code { font-size: 12px; border-radius: 5px; padding: 1px 7px; }
.hbp-code.ok { background: #e6f4f5; color: #0a6b74; }
.hbp-code.miss { background: #fdecec; color: #c0342c; }
.hbp-src { font-size: 11px; border-radius: 5px; padding: 1px 7px; }
.hbp-src.team { background: #eaf3de; color: #3b6d11; }
.hbp-src.order { background: #e6f1fb; color: #185fa5; }
.hc-lg::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.hc-lg.ok::before { background: #dbeafe; border: 1px solid #4a94e0; }
.hc-lg.miss::before { background: #fdecec; border: 1px dashed #e24b4a; }
.hc-cal { border: 1px solid #e3ecef; border-radius: 10px; overflow: hidden; }
.hc-wds { display: grid; grid-template-columns: repeat(7, 1fr); background: #f4f8fa; border-bottom: 1px solid #e3ecef; }
.hc-wd { padding: 7px 0; text-align: center; font-size: 12px; font-weight: 700; color: #7a8a96; }
.hc-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.hc-cell { border-right: 1px solid #eef3f4; border-bottom: 1px solid #eef3f4; padding: 5px 5px 6px; min-height: 94px; overflow: hidden; }
.hc-cell.other { background: #fafbfc; }
.hc-cell.today { background: #f0faf9; box-shadow: inset 0 0 0 2px #0f9d8f; }
.hc-dnum { font-size: 12px; color: #8a97a4; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; }
.hc-cnt { margin-left: auto; background: #0f9d8f; color: #fff; border-radius: 20px; font-size: 10.5px; padding: 0 7px; line-height: 16px; font-weight: 800; }
.hc-chips { display: flex; flex-direction: column; gap: 3px; }
.hc-chip { font-size: 11px; line-height: 1.35; border-radius: 5px; padding: 2px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: default; }
.hc-chip b { font-weight: 700; }
.hc-chip.ok { background: #dbeafe; color: #14417a; border-left: 3px solid #2f7fd6; }
.hc-chip.miss { background: #fdecec; color: #a3352f; border-left: 3px dashed #e24b4a; }

/* ===== 自费活动拖拽排期 ===== */
.pkt-tray-item[draggable="true"] { cursor: grab; }
.pkt-tray-item.dragging { opacity: .45; cursor: grabbing; }
.pkt-tkcell { transition: background .12s, box-shadow .12s; }
.pkt-tkcell.tk-drop-ok { background: #e6f4f0 !important; box-shadow: inset 0 0 0 2px #0d8b96; border-radius: 6px; }
.pkt-tkcell.tk-drop-no { background: #fdecec !important; box-shadow: inset 0 0 0 2px #e24b4a; border-radius: 6px; cursor: no-drop; }

/* ===== 控房酒店 ===== */
.hh-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hh-filters { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; background: #f6faf9; border: 1px solid #e3ecef; border-radius: 10px; padding: 11px 13px; margin-bottom: 12px; }
.hh-filters label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; color: #6b7a8d; font-weight: 600; }
.hh-filters input, .hh-filters select { height: 32px; border: 1px solid #cbd7e2; border-radius: 7px; padding: 0 9px; font-size: 12.5px; background: #fff; }
.hh-filters button { height: 32px; }
.hh-filters input.hh-range { width: 168px; cursor: pointer; background: #fff; }
.hh-filters label.hh-void { flex-direction: row; align-items: center; gap: 5px; height: 32px; border: 1px solid #cbd7e2; border-radius: 7px; padding: 0 12px; background: #fff; color: #6b7a8d; cursor: pointer; font-weight: 600; white-space: nowrap; align-self: flex-end; }
.hh-filters label.hh-void input { height: auto; border: 0; padding: 0; cursor: pointer; }
.hh-filters label.hh-void.on { background: #fdecec; border-color: #f0b3b3; color: #c0342c; }
.hh-tblwrap { overflow-x: auto; border: 1px solid #e3ecef; border-radius: 10px; }
.hh-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; white-space: nowrap; }
.hh-tbl th { background: #f4f8fa; text-align: left; font-size: 11px; color: #7a8a96; font-weight: 700; padding: 8px 10px; border-bottom: 1px solid #e3ecef; position: sticky; top: 0; }
.hh-tbl td { padding: 8px 10px; border-bottom: 1px solid #eef3f4; }
.hh-tbl td.hh-clip { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
/* 操作列钉在最右,横滚时始终可见 */
.hh-tbl th:last-child, .hh-tbl td.hh-ops { position: sticky; right: 0; background: #fff; box-shadow: -6px 0 8px -6px rgba(0,0,0,.12); }
.hh-tbl th:last-child { background: #f4f8fa; z-index: 2; }
.hh-tbl tr.hh-off td.hh-ops { background: #fbfbfb; }
.hh-tbl tr.hh-off td { opacity: .5; text-decoration: line-through; }
.hh-mono { font-family: ui-monospace, monospace; font-size: 11.5px; color: #5c6f77; }
.hh-num { font-variant-numeric: tabular-nums; text-align: right; }
.hh-kind { background: #fde7d6; color: #b45309; border-radius: 5px; padding: 1px 7px; font-size: 11px; font-weight: 700; }
.hh-badge { border-radius: 20px; padding: 1px 9px; font-size: 11px; font-weight: 700; }
.hh-badge.on { background: #e1f5ee; color: #0f6e56; }
.hh-badge.off { background: #f1f0ee; color: #8a8a86; }
.hh-ops { white-space: nowrap; } .hh-ops button { padding: 3px 8px; font-size: 11.5px; margin-left: 4px; }
.hh-cx { color: #c0392b; }

/* ===== 自费活动托盘 → 卡片网格 ===== */
.pkt-tray-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pkt-tray-item.ac-card { display: block; align-items: initial; gap: 0; padding: 9px 10px 10px; margin: 0; border-left: 3px solid #f0a020; box-shadow: 0 1px 3px rgba(120,80,20,.08); cursor: grab; }
.pkt-tray-item.ac-card.done { border-left-color: #1d9e75; opacity: .95; }
.ac-card .ac-top { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.ac-card .ac-grip { color: #c9b48a; font-size: 15px; letter-spacing: -2px; cursor: grab; }
.ac-card .ac-st { border-radius: 5px; padding: 1px 7px; font-size: 10.5px; font-weight: 700; }
.ac-card .ac-st.pend { background: #fce6c8; color: #b45309; }
.ac-card .ac-st.done { background: #e1f5ee; color: #0f6e56; }
.ac-card .ac-pax { margin-left: auto; font-size: 10.5px; color: #7a8a96; background: #f1f5f6; border-radius: 20px; padding: 1px 7px; font-weight: 600; white-space: nowrap; }
.ac-card .ac-nm { font-size: 12.5px; font-weight: 600; color: #16323a; line-height: 1.35; margin-bottom: 6px; }
.ac-card .ac-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.ac-card .ac-chip { font-size: 10px; color: #5c6f77; background: #f4f8fa; border: 1px solid #e6edef; border-radius: 5px; padding: 1px 6px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ac-card .ac-chip .no { color: #93a2a8; font-family: ui-monospace, monospace; }
.ac-card .ac-day { display: flex; align-items: center; gap: 6px; font-size: 11px; margin-top: 8px; }
.ac-card .ac-day b { color: #0f6e56; }
.ac-card .ac-change { margin-left: auto; font-size: 11px; border: 1px solid #cdd7d4; border-radius: 6px; padding: 3px 6px; background: #fff; color: #5c6f77; max-width: 86px; }
.ac-card .ac-pendsel { width: 100%; margin-top: 8px; border: 1px solid #f0c98a; border-radius: 7px; padding: 5px 8px; font-size: 12px; background: #fffaf0; color: #8a5a12; font-weight: 600; }

/* ===== 水单/凭证 粘贴区(openSimpleDialog pasteImage) ===== */
.slip-paste-zone { margin-top: 6px; border: 1.5px dashed #bcd3cf; border-radius: 9px; padding: 14px; text-align: center; cursor: pointer; background: #f7fbfa; color: #7a8a96; font-size: 12.5px; outline: none; }
.slip-paste-zone .slip-hint b { color: #0e7c74; }
.slip-paste-zone:focus-within, .slip-paste-zone:focus { border-color: #0e7c74; }
.recon-batch-slip { border-style: solid !important; border-color: #cbd7e2 !important; background: #fff !important; color: #5c6f77 !important; }
.recon-batch-slip [data-slip-prev] img { max-height: 26px !important; max-width: 40px !important; border-radius: 4px; margin-left: 4px; display: inline-block !important; }

/* 报价·成本项「对客类型+备注」同一行(后台) */
.qc-row { flex-wrap: wrap; }
.qc-nm-in { flex: 1 1 74px; }
.qc-disp-in { flex: 1 1 74px; min-width: 0; height: 28px; box-sizing: border-box; padding: 0 7px; border: 1px solid #cfe0d9; border-radius: 6px; font-size: 13px; color: #0a6b57; background: #f4fbf8; }
.qc-disp-in::placeholder { color: #8bb8ab; }
.qc-disp-in:focus { border-color: #5DCAA5; background: #fff; outline: none; }
.qc-noteck { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: #6b7280; white-space: nowrap; cursor: pointer; flex: none; }
.qc-noteck input { width: 14px; height: 14px; }
/* 经验分享挪到成本明细下面·横排 */
.q-tips-wide { width: 100%; box-sizing: border-box; margin: 0 0 16px; }
.q-tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px 18px; }

/* 账单明细·订单状态里「状态/已付款」卡可点→付款明细 */
.od-paycard { transition: background .12s, box-shadow .12s; border-radius: 8px; }
.od-paycard:hover { background: #eef7f6; box-shadow: inset 0 0 0 1px #bfe0dd; }

/* 我的佣金·团期奖励日历翻月加载态：遮罩 + 转圈 */
@keyframes ccSpin { to { transform: rotate(360deg); } }
.cc-loading-ov { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(1px); border-radius: 12px; color: #0b7355; font-size: 13.5px; font-weight: 700; }
.cc-spin { width: 20px; height: 20px; border: 2.5px solid #cfe7df; border-top-color: #0b7355; border-radius: 50%; animation: ccSpin .7s linear infinite; }
.cc-mth button[disabled] { opacity: .4; cursor: default; }

/* 订单列表:「待确认」药丸可点 = 确认接单入口(操作列不再重复出按钮)·做成一眼可点的按钮:实心琥珀边框+呼吸圆点+常驻 › */
.status-click { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 999px; }
.status-click .status-pill.status-待确认 { display: inline-flex; align-items: center; gap: 5px; background: #fff3df; color: #a35a00; border: 1px solid #e9a94c; font-weight: 700; padding: 3px 10px 3px 8px; box-shadow: 0 1px 0 rgba(163, 90, 0, .12); transition: background .15s, color .15s, box-shadow .15s, transform .15s; }
.status-click .status-pill.status-待确认::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e8890c; box-shadow: 0 0 0 0 rgba(232, 137, 12, .55); animation: pendPulse 1.8s ease-out infinite; flex: none; }
.status-click .status-pill.status-待确认::after { content: "›"; font-weight: 800; margin-left: 1px; }
.status-click:hover .status-pill.status-待确认 { background: #e8890c; color: #fff; border-color: #e8890c; box-shadow: 0 3px 10px rgba(232, 137, 12, .35); transform: translateY(-1px); }
.status-click:hover .status-pill.status-待确认::before { background: #fff; animation: none; }
.status-click:focus-visible { outline: 2px solid #0e7c74; outline-offset: 2px; }
@keyframes pendPulse { 0% { box-shadow: 0 0 0 0 rgba(232, 137, 12, .55); } 70% { box-shadow: 0 0 0 6px rgba(232, 137, 12, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 137, 12, 0); } }
@media (prefers-reduced-motion: reduce) { .status-click .status-pill.status-待确认::before { animation: none; } }

/* 订单管理分页条(每页 20/50/100) */
.order-pager { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 14px 4px 4px; font-size: 13px; color: #5a6678; }
.order-pager .op-total { font-variant-numeric: tabular-nums; }
.order-pager .op-size { display: inline-flex; align-items: center; gap: 4px; }
.order-pager .op-nav { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.order-pager button { font: inherit; font-size: 12.5px; font-weight: 600; min-width: 32px; height: 30px; padding: 0 10px; border: 1px solid #d6e2e6; border-radius: 7px; background: #fff; color: #35505a; cursor: pointer; }
.order-pager button:hover:not(:disabled) { border-color: #0e7c74; color: #0e7c74; }
.order-pager button.on { background: #0e7c74; border-color: #0e7c74; color: #fff; }
.order-pager button:disabled { opacity: .45; cursor: default; }
.order-pager .op-gap { color: #9aa7ad; padding: 0 2px; }

/* ===== 订单详情·🎫 电子票录入 ===== */
.et-wrap { display: flex; flex-direction: column; gap: 12px; }
.et-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 11px 14px; border-radius: 10px; }
.et-status.draft { background: #fff6e5; border: 1px solid #f1dcaa; }
.et-status.pub { background: #e8f6ef; border: 1px solid #b9e3cd; }
.et-st-t { font-weight: 700; font-size: 13.5px; color: #1a2233; }
.et-st-s { font-size: 12px; color: #6b7a82; }
.et-acts { margin-left: auto; display: inline-flex; gap: 6px; flex-wrap: wrap; }
.et-btn { font: inherit; font-size: 12.5px; font-weight: 600; border-radius: 8px; padding: 6px 12px; cursor: pointer; border: 1px solid #d6e2e6; background: #fff; color: #35505a; display: inline-flex; align-items: center; gap: 4px; }
.et-btn:hover { border-color: #0e7c74; color: #0e7c74; }
.et-btn.primary { background: #0e7c74; border-color: #0e7c74; color: #fff; }
.et-btn.primary:hover { background: #0b6b64; color: #fff; }
.et-link { width: 100%; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #35505a; }
.et-link input { flex: 1; min-width: 0; font-size: 12.5px; padding: 6px 8px; }
.et-sec { border: 1px solid #e3e9ee; border-radius: 12px; padding: 12px 14px; background: #fff; }
.et-sh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 700; font-size: 13.5px; color: #1a2233; margin-bottom: 8px; }
.et-sh select { width: auto; padding: 5px 8px; font-size: 12.5px; }
.et-link-btn { font: inherit; font-size: 12px; border: 0; background: none; color: #0e7c74; text-decoration: underline; cursor: pointer; padding: 0; }
.et-tips { margin: 0 0 8px; padding-left: 20px; font-size: 13px; color: #5b6670; line-height: 1.7; }
.et-extra, .et-note { width: 100%; font-size: 13px; line-height: 1.55; resize: vertical; }
.et-day { border-top: 1px solid #eef2f4; padding: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.et-day:first-of-type { border-top: 0; padding-top: 2px; }
.et-dh { display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: #6b7a82; }
.et-dh b { color: #0e7c74; font-size: 13.5px; }
.et-area { font-size: 12px; }
.et-plan { font-size: 13px; color: #304569; white-space: pre-wrap; }
.et-bks, .et-files { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.et-bk { font-size: 12px; background: #f4f6f8; color: #5b6670; border-radius: 7px; padding: 3px 8px; }
.et-bk.ok { background: #e8f6ef; color: #135e44; }
.et-bk i { font-style: normal; font-weight: 700; margin-left: 2px; }
.et-file { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; background: #f7fafa; border: 1px solid #e3e9ee; border-radius: 8px; padding: 3px 4px 3px 4px; max-width: 100%; }
.et-file a { color: #0e7c74; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.et-kind { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 1px 6px; background: #eef1f4; color: #55626d; }
.et-k-hotel { background: #f0ebfb; color: #6b46c1; }
.et-k-ticket { background: #e3f3f7; color: #0a6b78; }
.et-k-transfer { background: #fff1e0; color: #a35a00; }
.et-x { border: 0; background: none; color: #9aa7ad; cursor: pointer; font-size: 12px; padding: 0 4px; }
.et-x:hover { color: #c0392b; }
.et-up { display: inline-flex; align-items: center; gap: 4px; }
.et-up select { width: auto; padding: 4px 6px; font-size: 12px; }
/* 电子票台 */
.etb-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.etb-seg { display: inline-flex; border: 1px solid #d6e2e6; border-radius: 8px; overflow: hidden; }
.etb-seg button { font: inherit; font-size: 12.5px; font-weight: 600; border: 0; background: #fff; color: #5b6670; padding: 6px 11px; cursor: pointer; border-right: 1px solid #e3e9ee; }
.etb-seg button:last-child { border-right: 0; }
.etb-seg button.on { background: #0e7c74; color: #fff; }
.etb-alert { font-size: 12.5px; font-weight: 700; color: #c0392b; }
.etb-t { min-width: 0 !important; }
.etb-t tr.etb-hot td { background: #fff6f4; }
.etb-st { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px; margin-right: 4px; white-space: nowrap; }
.etb-st.pub { background: #e8f6ef; color: #157f56; }
.etb-st.draft { background: #fff3df; color: #a35a00; }
.etb-st.none { background: #f1f3f5; color: #8b9a95; }
.etb-st.warn { background: #fdecea; color: #c0392b; }
/* 尾款逾期·待 OP 确认 */
.life-pill.overdue-review { background: #fdecea; color: #c0392b; font-weight: 700; border: 1px solid #f3b7aa; }
.om-overdue { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fdf0ec; border: 1px solid #f3b7aa; border-left: 4px solid #d84a3a; border-radius: 10px; padding: 11px 14px; margin: 10px 0; }
.om-overdue .om-od-t { font-size: 13.5px; font-weight: 800; color: #b02a1a; }
.om-overdue .om-od-s { font-size: 12.5px; color: #8a5a4a; margin-top: 2px; }
.om-overdue .om-od-acts { display: inline-flex; gap: 8px; flex-wrap: wrap; }
/* 地接确认件·报价币种切换(默认欧元) */
.oc-cur { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #667085; margin: -2px 0 10px; }
.oc-cur-seg { display: inline-flex; border: 1px solid #cfdcdc; border-radius: 8px; overflow: hidden; }
.oc-cur-seg button { border: 0; background: #fff; color: #475467; font-size: 12.5px; font-weight: 600; padding: 5px 14px; cursor: pointer; border-radius: 0; box-shadow: none; }
.oc-cur-seg button + button { border-left: 1px solid #cfdcdc; }
.oc-cur-seg button.on { background: #0e7c86; color: #fff; }
.oc-cur-tip { font-size: 11px; color: #98a2b3; }
/* 费用核价·团费卡内的销售报价明细(包车/定制) */
.cost-line.om-qh { background:#f7fafb; padding-top:8px; padding-bottom:8px; }
.cost-line.om-qh .cost-label { font-size:13px; color:#0a6b78; font-weight:800; }
.cost-line.om-qh strong { font-size:13.5px; color:#2c3a45; }
.cost-line.om-qi .cost-calc { font-size:12.5px; }
.cost-line.om-qi strong { font-size:14px; font-weight:600; color:#4a5a66; }
.cost-line.om-qsum { border-top:1px dashed #d6e2f4; }
.cost-line.om-qsum .cost-label { font-weight:800; color:#2c3a45; }
.cost-line.om-qsum strong { font-size:15px; color:#2c3a45; }
.om-qfx { font-size:11px; font-weight:500; color:#8a97a8; }
/* 订单中心·旅行合同(OP只读) */
.ac-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}
.ac-chip{height:30px;padding:0 12px;border:1px solid #d9e3e8;border-radius:15px;background:#fff;color:#5a6b72;font-size:12.5px;cursor:pointer;display:inline-flex;align-items:center;gap:5px}
.ac-chip b{font-weight:700;color:#8a97a0;font-size:11.5px}
.ac-chip.on{background:#0d8b96;border-color:#0d8b96;color:#fff}.ac-chip.on b{color:#d8f1f2}
#acSearch{flex:0 1 280px;margin-left:auto;height:32px;border:1px solid #d9e3e8;border-radius:8px;padding:0 12px;font-size:13px}
.ac-tb{width:100%;border-collapse:collapse;table-layout:fixed;min-width:0}
.ac-tb th{font-size:12px;color:#8a97a8;font-weight:500;text-align:left;padding:8px 6px;border-bottom:1px solid #eef2f5}
.ac-tb td{padding:10px 6px;border-bottom:1px solid #f2f5f7;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-tb .r{text-align:right}
.ac-ord{color:#0a6b78;text-decoration:underline;font-weight:600}
.ac-pill{display:inline-block;font-size:11.5px;font-weight:700;border-radius:10px;padding:1px 8px}
.ac-pill.s{background:#e1f5ee;color:#0f6e56}.ac-pill.p{background:#fdf0d8;color:#8a5a00}.ac-pill.d{background:#eef1f4;color:#5a6b72}.ac-pill.u{background:#ffe9e1;color:#b8461d}
.ac-btn{height:28px;padding:0 10px;border:1px solid #cfe2e4;border-radius:7px;background:#f2fafa;color:#0a6b78;font-size:12px;font-weight:600;cursor:pointer}
.ac-ov{position:fixed;inset:0;z-index:4500;background:rgba(15,23,32,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.ac-dlg{background:#fff;border-radius:14px;width:100%;max-width:860px;max-height:94vh;display:flex;flex-direction:column;overflow:hidden}
.ac-hd{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 18px;border-bottom:1px solid #eef2f5;font-size:14px}
.ac-ro{margin-left:auto;font-size:11.5px;color:#8a97a0}
.ac-x{width:30px;height:30px;padding:0}
.ac-signed{padding:12px 18px;background:#f7fafb;border-bottom:1px solid #eef2f5}
.ac-signed-h{font-weight:700;color:#0a6b78;font-size:13px;margin-bottom:6px}.ac-signed-h small{font-weight:400;color:#8a97a0;margin-left:6px}
.ac-meta{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:12px;color:#5a6b72;margin-bottom:8px}.ac-meta b{color:#26343a}
.ac-imgs{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ac-imgs img{display:block;max-width:100%;max-height:150px;border-radius:8px;border:1px solid #e3eaee;background:#fff}
.ac-lab{font-size:11.5px;color:#8a97a0;margin-bottom:4px}
.ac-dl{font-size:11.5px;color:#0a6b78;margin-top:3px;display:inline-block}
.ac-noimg{color:#b0bcc2}
.ac-frame{flex:1;min-height:52vh;border:0;width:100%;background:#f6f8fa}
.ac-ft{display:flex;gap:8px;justify-content:flex-end;padding:10px 18px;border-top:1px solid #eef2f5}
.ac-open{display:inline-flex;align-items:center;text-decoration:none;padding:0 12px;height:34px;border-radius:8px}
.om-ct-badge{height:34px;padding:0 12px;border-radius:9px;font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap}
.om-ct-badge.s{background:#e9f7f0;color:#0f6e56;border:1px solid #b8e2cc}
.om-ct-badge.p{background:#fff6e5;color:#9a6200;border:1px solid #f0d49a}
/* 出行日前「二销」按钮置灰(点击提示) */
[data-md-locked]{border-color:#d9dfe4!important;color:#b3bdc5!important;background:#f5f7f8!important;cursor:not-allowed!important;font-weight:500!important}
/* 订单详情顶部按钮(合同/售后/去操作包)统一高度对齐 */
.om-hbtn{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;width:auto!important;height:36px;margin:0!important;padding:0 14px!important;font-size:13px!important;font-weight:700!important;border-width:1px!important;border-style:solid;border-radius:9px!important;white-space:nowrap;line-height:1;box-sizing:border-box;vertical-align:middle}
/* ===== 订单详情顶部重排(2026-11-12):标题卡 + 4 个关键指标 + 信息卡 + 内部讨论便签 ===== */
.om-hd2 { padding: 14px 16px; }
.om-hd2 .om-hd-t { margin-bottom: 12px; }
.om-hd-chip.om-hd-ch { background: #e6f3f4; color: #0a6b78; }
.om-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .om-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.om-kpi { background: #f7fafb; border: 1px solid #edf2f4; border-radius: 10px; padding: 9px 12px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.om-kpi .l { font-size: 11.5px; color: #7d8c93; }
.om-kpi b { font-size: 16px; font-weight: 700; color: #1b2a30; font-variant-numeric: tabular-nums; }
.om-kpi b.ok { color: #0f7a55; } .om-kpi b.warn { color: #b45309; }
.om-kpi small { font-size: 11.5px; color: #7d8c93; }
/* 地接确认卡:「下一步」放卡片底部(确认接单主按钮 + 退回补录;已承接后=按需小链接) */
.om-kpi.om-kpi-cf.hot { border: 1.5px solid #f1cf8f; background: #fffaf1; }
.om-kgo { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.om-kgo-btn { background: #0d8b96; color: #fff; border: 0; border-radius: 9px; height: 32px; padding: 0 16px; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 3px 10px rgba(13,139,150,.22); white-space: nowrap; }
.om-kgo-btn:hover { background: #0a7680; }
.om-kgo-link { background: none; border: 0; padding: 0; font-size: 12px; font-weight: 600; color: #7a8a96; cursor: pointer; white-space: nowrap; }
.om-kgo-link:hover { color: #b4701c; text-decoration: underline; }
.om-kgo-link.act { color: #0b6f78; }
.om-kpi-cf > .l { display: flex; align-items: center; gap: 6px; }
.om-kgo-top { margin-left: auto; font-size: 11.5px; border: 1px solid #b6dbe0; background: #fff; border-radius: 999px; padding: 2px 10px; }
.om-kgo-top:hover { background: #eaf6f7; text-decoration: none; }
.om-kgo-link.act:hover { color: #0a5d65; }
/* 成本毛利·收款明细:车费下面展开报价明细(用车€明细 → 汇率 → 成交价调整) */
.omc-quote-sub { margin: 0 0 6px 14px; padding: 6px 10px 8px; background: #f7fafb; border: 1px dashed #dde8ea; border-radius: 8px; }
.omc-quote-sub .om-qf { margin: 2px 0; }
/* 内部承接/地接确认卡:承接 OP + 管家(原「人员分工」卡并入) */
.om-kpi .om-kpi-li { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-top: 3px; min-height: 22px; }
.om-kpi .om-kpi-li > span { color: #7d8c93; width: 50px; flex: none; }
.om-kpi .om-kpi-li b { font-size: 12.5px; font-weight: 700; color: #1b2a30; }
.om-kpi .om-kpi-li em { font-style: normal; font-size: 11.5px; color: #9aa6ad; }
.om-kpi .om-kpi-sel { height: 24px; padding: 0 6px; font-size: 12px; border: 1px dashed #b9cfd3; border-radius: 6px; background: #fff; color: #0a6b78; font-weight: 600; max-width: 150px; }
/* B2B 包车单:管家 OP 位置显示「无需管家」(和「承接 OP」同一行式样:名字位写灰字,后面小字说明·不给下拉) */
.om-kpi .om-kpi-li b.om-nobutler { color: #7d8c93; }
.om-kbar { height: 5px; background: #e3ebee; border-radius: 3px; overflow: hidden; margin: 3px 0 1px; }
.om-kbar i { display: block; height: 100%; background: #0d8b96; border-radius: 3px; }
.om-ic { background: #fff; border: 1px solid #e6e8ee; border-radius: 12px; padding: 11px 15px; }
.om-ic-h { font-size: 13px; font-weight: 700; color: #0a6b78; margin-bottom: 8px; }
.om-ic-g2 { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 7px 12px; font-size: 13px; align-items: center; }
.om-ic-k { color: #7d8c93; font-size: 12.5px; align-self: start; padding-top: 1px; }
.om-ic-v { color: #1b2a30; min-width: 0; line-height: 1.55; }
.om-ic-g { color: #8a97a0; font-size: 12px; }
.om-ic .om-op-sel { font-weight: 600; border: 1px solid #d7dde7; border-radius: 7px; padding: 4px 8px; min-width: 160px; font-size: 13px; background: #fff; }
/* 内部讨论:浅黄便签 + 虚线边,与白色业务卡片区分 */
#omDisc.om-disc-card { background: #fffaf0; border: 1px dashed #e3c27a; }
#omDisc .odd-head { color: #8a5a00; border-bottom-color: #f3e3bd; }
#omDisc .odd-count, #omDisc .odd-hint { color: #b39a68; }
#omDisc .odd-tag { background: #fdeec9; color: #8a5a00; }
#omDisc .odd-chev { color: #b39a68; }
#omDisc .odd-msg .odd-body { background: #fff; border: 1px solid #f0dfb8; border-radius: 4px 10px 10px 10px; padding: 6px 10px; }
#omDisc .odd-pin { background: #fff3d6; border-color: #ecd08f; }
#omDisc .odd-compose { background: #fff6e3; border-top-color: #f3e3bd; }
#omDisc .odd-compose textarea { border-color: #ead5a6; background: #fff; }
#omDisc .odd-compose-foot button.primary, #omDisc .odd-compose-foot button:last-child { background: #c98a1a; border-color: #c98a1a; color: #fff; }
/* 订单详情「下一步」按钮放进页签行最右(替代原整条横幅) */
.om-tabs { align-items: center; }
.om-tabs button.om-tab-next { margin-left: auto; flex: none; background: #0d8b96; color: #fff; border: 0; border-radius: 9px; padding: 0 16px; height: 34px; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.om-tabs button.om-tab-next:hover { background: #0a7680; }
.om-tabs button.om-tab-next.opt { background: #fff; color: #0d8b96; border: 1px solid #b6dbe0; font-weight: 600; } /* 按需操作(出确认件):弱化,不当成必做下一步 */
.om-tabs button.om-tab-next.opt:hover { background: #eaf6f7; }
/* 代售·付供应商块:统一「左标签 · 右值」两列,值/按钮全部右对齐 */
.cost-line.sp-kv { grid-template-columns: minmax(0, 1fr) auto; }
.cost-line.sp-kv > strong, .cost-line.sp-kv > button, .cost-line.sp-kv > .sp-src { justify-self: end; text-align: right; }
.cost-line.sp-kv > strong { font-size: 14px; font-weight: 600; }
.cost-line.sp-kv > button { height: 32px; padding: 0 14px; border-radius: 8px; }
.cost-line.sp-kv .sp-tag { display: inline-block; font-size: 11px; font-weight: 500; color: #5a6b72; background: #eef2f4; border-radius: 6px; padding: 1px 7px; margin-right: 6px; vertical-align: 1px; }
.cost-line.sp-kv .sp-src { font-size: 12px; color: #8a97a0; }
/* 门票卡角标(2026-11-12·方案A):折扣 + NEW 并排一行,NEW 黑底白字 */
.tc-img-tags { position: absolute; top: 8px; left: 8px; display: flex; gap: 6px; align-items: center; z-index: 4; }
.tc-img-tags .tc-img-sale, .tc-img-tags .tc-img-new { position: static; border-radius: 4px; padding: 2px 7px; line-height: 1.35; }
.tc-img-tags .tc-img-new { background: #14181b; color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; }
/* ===== 逐日服务类型(包车/参团/自由行/接送)·后台+营销端共用 ===== */
.dt-c { background: #e3f1fb; color: #185fa5; } .dt-t { background: #efe9fb; color: #5a3ea8; }
.dt-f { background: #eef2ee; color: #4f6b52; } .dt-a { background: #fdf0dd; color: #8a5a00; } .dt-o { background: #f1f3f6; color: #5b6676; }
.dt-none { background: #fff1f0; color: #c0392b; }
.dtb { margin-top: 2px; }
.dtb-h { font-size: 11.5px; color: #7d8c93; margin-bottom: 5px; } .dtb-h span { margin-left: 6px; color: #4a5b62; }
.dtb-row { display: grid; gap: 4px; }
.dtb-cell { border-radius: 7px; padding: 5px 4px; text-align: center; font-size: 11.5px; line-height: 1.3; min-width: 0; }
.dtb-cell b { font-weight: 700; } .dtb-cell small { display: block; font-size: 10.5px; opacity: .9; margin-top: 1px; }
select.oi-ty { width: 100%; height: 30px; border-radius: 15px; border: 1px solid transparent; padding: 0 6px; font-size: 12px; font-weight: 600; cursor: pointer; }
select.oi-ty.dt-c { border-color: #b8d5ef; } select.oi-ty.dt-t { border-color: #d4c6f2; } select.oi-ty.dt-f { border-color: #d3dfd3; } select.oi-ty.dt-a { border-color: #f0d49a; } select.oi-ty.dt-none { border-color: #f3c6c2; }
.oi-tybulk { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 400; color: #5a6b72; }
.oi-tybulk input { width: 46px; height: 26px; border: 1px solid #d6dfe3; border-radius: 6px; padding: 0 5px; font-size: 12px; }
.oi-tybulk select { height: 26px; border: 1px solid #d6dfe3; border-radius: 6px; font-size: 12px; }
.oi-tybulk button { height: 26px; padding: 0 10px; border: 0; border-radius: 6px; background: #0d8b96; color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; }
.cc-days { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: -2px 0 8px 2px; }
.cc-days-l { font-size: 11px; color: #8a97a0; margin-right: 2px; }
.cc-dchip { height: 22px; min-width: 30px; padding: 0 6px; border-radius: 11px; border: 1px solid #d6dfe3; background: #fff; color: #8a97a0; font-size: 11px; cursor: pointer; }
.cc-dchip.on { font-weight: 700; border-color: transparent; }
.cc-days-sum { font-size: 11px; color: #4a5b62; margin-left: 4px; }
.cc-daychk { margin-top: 6px; font-size: 12px; padding: 6px 10px; border-radius: 8px; background: #f7fafb; }
.omt { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid #f1f4f6; font-size: 12.5px; }
.omt:last-child { border-bottom: 0; }
.omt-ic { width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex: none; font-size: 12px; }
.omt-g { font-size: 11.5px; color: #8a97a0; margin-left: 4px; } .omt-g.warn { color: #b45309; }
.omt-btn { margin-left: auto; flex: none; height: 26px; padding: 0 10px; border: 1px solid #cfe2e4; border-radius: 7px; background: #f2fafa; color: #0a6b78; font-size: 12px; font-weight: 600; cursor: pointer; }
.om-qd { display: inline-block; font-size: 10.5px; font-weight: 600; color: #185fa5; background: #e3f1fb; border-radius: 9px; padding: 0 7px; margin-left: 4px; vertical-align: 1px; }
/* 报价项「这项对应哪几天」:选中=实心青色+✓,未选=白底边框,一眼分清 */
.cc-days { gap: 5px; margin: 0 0 10px 2px; }
.cc-days-l { font-size: 11.5px; color: #5a6b72; margin-right: 4px; cursor: help; }
.cc-dchip { height: 24px; padding: 0 8px; border-radius: 12px; border: 1px solid #cfd9de; background: #fff; color: #5a6b72; font-size: 11.5px; font-weight: 500; }
.cc-dchip i { font-style: normal; font-size: 10px; margin-left: 2px; opacity: .75; }
.cc-dchip:hover { border-color: #0d8b96; color: #0a6b78; }
.cc-dchip.on { background: #0d8b96; border-color: #0d8b96; color: #fff; font-weight: 700; }
.cc-dchip.on i { opacity: 1; }
.cc-days-sum { font-size: 11.5px; color: #0a6b78; margin-left: 6px; font-weight: 600; }
.cc-days-warn { font-size: 11.5px; color: #b45309; background: #fff4e0; border-radius: 6px; padding: 1px 7px; }
.cc-days-quick { height: 24px; padding: 0 10px; border: 1px dashed #0d8b96; border-radius: 12px; background: #f2fafa; color: #0a6b78; font-size: 11.5px; cursor: pointer; }
/* 内部讨论留言气泡:去白底,统一浅黄(与便签同色),只保留细线框 */
#omDisc .odd-msg .odd-body { background: transparent; border: 1px solid #f0dfb8; }
#omDisc .odd-pin { background: transparent; }
/* 代售付供应商·定金+尾款(后台订单详情/财务供商付款页) */
.spay-card { flex-wrap: wrap; }
.spi-arows { flex-basis: 100%; border-top: 1px dashed #dfe8e5; margin-top: 8px; padding-top: 6px; }
.spi-arow { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; }
.spi-arow > span { flex: 1; min-width: 0; }
.spi-arow button { flex: none; }
.spi-k { font-size: 10.5px; color: #8a97a0; background: #eef2f4; border-radius: 5px; padding: 0 5px; }

/* 后台团费卡·报价公式(与销售端同款·2026-11-16) */
.om-qf { padding: 9px 14px 7px; border-top: 1px solid #edf3f2; }
.om-qf-h { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: #12302c; }
.om-qf-h b { font-size: 15px; }
.om-qf-hsum { font-weight: 600; color: #7a8d88; font-size: 12.5px; }
.om-qf-l, .om-qf-ht { 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; }
.om-qf-l .n, .om-qf-ht .d { color: #7a8d88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.om-qf-ht .d { font-weight: 600; }
.om-qf-l .e, .om-qf-ht .e { text-align: right; font-weight: 700; color: #2f4a45; white-space: nowrap; }
.om-qf-l.tot { border-top: 1px dashed #dfe9e7; padding-top: 4px; margin-top: 5px; }
.om-qf-l.tot .e { color: #0f7f78; }
.om-qf-l b { color: #12302c; }
.om-qf-ht + .om-qf-ht { border-top: 1px dotted #e6eeec; padding-top: 4px; }
.om-qf-ht .m b { color: #12302c; margin-right: 2px; }
.om-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; }
.om-qf-room.gray { background: #f3f4f6; color: #6b7280; }
.om-qf-off { font-size: 11px; color: #b45309; background: #fef3c7; border-radius: 4px; padding: 0 5px; margin-left: 4px; }
.om-qf-adj { background: #fffbeb; }
.om-qf-adj .cost-label { color: #92400e; }
.om-qf-adj strong { color: #b45309 !important; }
.om-qf-adj .cost-calc { color: #8a6a3a; }
.om-qf-tag { display: inline-block; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 0 8px; margin-left: 4px; }
.om-qf-tag.down { background: #fef3c7; color: #92400e; }
.om-qf-tag.up { background: #dcfce7; color: #166534; }
.om-qf-low { display: inline-block; font-size: 11px; font-weight: 800; color: #b91c1c; background: #fee2e2; border-radius: 4px; padding: 0 5px; margin-left: 4px; }

/* ===== 后台·行程明细 → 报价明细(订单拆解)·样式与销售端一致,限定在 #omItinBody 内避免与其他 cc-* 冲突 ===== */
#omItinBody .cc-panel { margin: 16px 0 8px; border: 1px solid #e3ebf6; border-radius: 12px; background: #fbfdff; overflow: hidden; }
#omItinBody .cc-h { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 800; color: #334155; background: #f2f7fd; border-bottom: 1px solid #e6eef8; }
#omItinBody .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; }
#omItinBody .cc-hint { padding: 8px 14px; font-size: 12px; line-height: 1.6; color: #64748b; }
#omItinBody .cc-sub { padding: 4px 12px 12px; }
#omItinBody .cc-sub-hotel, #omItinBody .cc-sub-other { border-top: 1px dashed #e6eef8; }
#omItinBody .cc-sub-h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; color: #3f4c5f; padding: 8px 2px 6px; }
#omItinBody .cc-st { margin-left: auto; font-size: 12px; font-weight: 800; color: #0e7c86; font-variant-numeric: tabular-nums; }
#omItinBody .cc-curtog { display: inline-flex; border: 1px solid #cfe0dc; border-radius: 7px; overflow: hidden; }
#omItinBody .cc-curbtn { border: 0; background: #fff; color: #7c8aa3; font-size: 12px; font-weight: 700; padding: 3px 10px; cursor: pointer; }
#omItinBody .cc-curbtn.on { background: #0d8b96; color: #fff; }
#omItinBody .cc-r { display: grid; gap: 6px; align-items: center; margin-bottom: 6px; }
#omItinBody .cc-r.cc-car { grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1fr) 26px; }
#omItinBody .cc-r.cc-other { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr) minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1fr) 26px; }
#omItinBody .cc-dsel { cursor: pointer; border-color: #9fd0d6; background: #f0f9f9; color: #0a6b78; }
#omItinBody .cc-dsel.cc-dneed { border-color: #f2d6a6; background: #fffaf0; color: #a8650b; }
#omItinBody .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; }
#omItinBody .cc-r.cc-head { margin-bottom: 4px; font-size: 11px; font-weight: 700; color: #94a3b8; }
#omItinBody .cc-r.cc-head span { padding: 0 4px; }
#omItinBody .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; }
#omItinBody .cc-ro-area, #omItinBody .cc-ro-room { color: #0e6a72; font-weight: 600; }
#omItinBody .cc-in { width: 100%; box-sizing: border-box; padding: 7px 9px; border: 1px solid #dbe4f0; border-radius: 8px; font-size: 13px; background: #fff; color: #16241f; }
#omItinBody .cc-in:focus { outline: none; border-color: #6fb3bb; box-shadow: 0 0 0 3px rgba(14,124,134,.12); }
#omItinBody .cc-in.num { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; background: #f6fbfc; }
#omItinBody .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; padding: 0; }
#omItinBody .cc-empty { padding: 8px 4px; font-size: 12px; color: #94a3b8; }
#omItinBody .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; }
#omItinBody .cc-quote-cmp { margin: 6px 12px 12px; padding: 9px 12px; border-radius: 8px; background: #f3f6f8; color: #5b6670; font-size: 12.5px; }
#omItinBody .cc-quote-cmp b { color: #1a2233; font-variant-numeric: tabular-nums; }
#omItinBody .cc-quote-cmp.ok { background: #e8f6ef; color: #157f56; }
#omItinBody .cc-quote-cmp.warn { background: #fdf3e2; color: #8a5a08; }
/* 「待拆解」标签(B2B 已确认但报价明细未拆) */
.om-todo-split { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: #b96a12; background: #fff3e0; border: 1px solid #f0d3a4; border-radius: 6px; padding: 1px 8px; cursor: pointer; white-space: nowrap; }

/* 超收如实显示(已付>应付):红色,不再显示「已付清 100%」 */
.overpay-tag { display: inline-block; margin-left: 4px; font-size: 11px; font-weight: 800; color: #fff; background: #dc2626; border-radius: 4px; padding: 0 5px; white-space: nowrap; vertical-align: middle; font-variant-numeric: tabular-nums; }
.pay-summary.over { background: #b91c1c; }
.pay-summary.over .ps-row.over { border-top: 1px solid rgba(255,255,255,.22); margin-top: 4px; padding-top: 8px; }
.pay-summary.over .ps-row.over b { font-size: 16px; }
.pay-summary.over .ps-row.over:first-child { border-top: none; margin-top: 0; padding-top: 4px; }
.pay-summary .ps-done .overpay-tag { background: #fff; color: #b91c1c; font-size: 12.5px; padding: 1px 8px; margin: 0; white-space: normal; }
.paid-seal.over { border-color: #fff; color: #fff; letter-spacing: 3px; }
.om-rcpt-sum.over { background: #fef2f2; border-color: #fecaca; }
.om-rcpt-sum b.bad { color: #b91c1c; }
.om-rcpt-sum .om-rcpt-prog.over i { background: #dc2626; }
.om-kpi.over { background: #fef2f2; border-color: #fecaca; }
.om-kpi b.bad { color: #b91c1c; }
.om-kbar.over i { background: #dc2626; }
.omc-line.omc-paid.over .omc-amt { color: #b91c1c; }
.omc-line.omc-due.over .omc-lbl, .omc-line.omc-due.over .omc-amt { color: #b91c1c; }
.dun-over { margin: 10px 0 0; padding: 9px 12px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 9px; font-size: 12.5px; color: #7f1d1d; }
.dun-over-h { font-weight: 700; color: #b91c1c; margin-bottom: 6px; }
.dun-over-list { display: flex; flex-wrap: wrap; gap: 6px; }
.dun-over-item { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #fecaca; border-radius: 7px; padding: 3px 9px; cursor: pointer; font-size: 12px; color: #374151; }
.dun-over-item:hover { border-color: #dc2626; }
.dun-over-item .overpay-tag { margin-left: 0; }

/* 报价明细醒目标题:深色标题条 + 四张大卡(用车/酒店/其他/合计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; }
.ord-qlow { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 1px 7px; margin: 2px 0 0 5px; background: #fdf3e2; color: #a8650b; border: 1px solid #f2d6a6; white-space: nowrap; vertical-align: middle; }
.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-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; }

/* 订单详情·应付构成:费用块编号 + 右卡构成框 */
.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: 6px; vertical-align: 1px; line-height: 1; }
.om-no-1 { background: #2f7fd0; } .om-no-2 { background: #d0892f; } .om-no-3 { background: #8b5cf6; }
.cost-line strong .om-no { margin-right: 7px; vertical-align: 2px; }
.pay-summary .ps-comp { background: rgba(255,255,255,.1); border-radius: 10px; padding: 7px 12px; margin: -4px 0 12px; font-size: 12.5px; }
.pay-summary .ps-comp-r { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; font-variant-numeric: tabular-nums; }
.pay-summary .ps-comp-r small { opacity: .7; margin-left: 5px; font-size: 11px; }
.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); }
/* OP 加项:项目名一行,备注/日期/谁加的·时间 第二行灰字 */
.cost-group-extra .ec-nm { font-weight: 800; color: var(--text); }
.cost-group-extra .ec-meta { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: #8a989d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cost-group-extra .ec-meta .sep { font-style: normal; margin: 0 6px; color: #c6d0d3; }

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

.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; }
.pay-summary .ps-comp-zero { opacity: .65; }

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

.om-no-4 { background: #1aa37a; } .om-no-5 { background: #c2410c; } .om-no-6 { background: #64748b; }
.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; }
.om-qf-h .om-no { vertical-align: 1px; }

/* 包车含酒店:类型标签旁的 🏨 小标(不写字) */
.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; }

/* 报价明细:标题栏汇率小标 + 底部比对行汇率说明 */
.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; }

/* 报价明细·用车:对应天放在项目名同一格右边(自动 / 手动 / 没选) + 数量核对 */
.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-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-days { margin: 6px 2px 0; }
.cc-lbw2 .cc-in { border: 0 !important; box-shadow: none !important; background: transparent !important; }

/* 后台费用核价:空块收成一行 + 右侧小「＋ 加订」;有内容时按钮在块标题右侧(同营销端) */
.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 { margin-left: auto; }

/* 订单详情·出行卡里的团期编号 */
.om-kpi .om-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; }
.om-kpi .om-team.ok { background: #0e7f86; color: #fff; cursor: pointer; }
.om-kpi .om-team.ok:hover { background: #0a6b72; }
.om-kpi .om-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: 4px; 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; }

/* 操作包顶部:返回 / 团期日历 / 关闭 同一行,标题在下 */
.pkt-head-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pkt-head-top .pkt-back, .pkt-head-top .pkt-x { position: static; }
.pkt-acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pkt-cal { border: none; background: rgba(255,255,255,0.2); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.pkt-cal:hover { background: rgba(255,255,255,0.34); }
.pkt-head-top .pkt-x { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; }
.pkt-head-top + .pkt-title { margin-top: 0; }

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

/* 核对到账 · 一笔收款分多个账户 */
.rcs-dlg { border: none; border-radius: 16px; padding: 0; width: min(760px, 96vw); box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.rcs-f { padding: 20px 22px; margin: 0; }
.rcs-h { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.rcs-x { margin-left: auto; border: 0; background: #eef6f7; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; color: #456; }
.rcs-meta { color: #7a8a96; font-size: 12px; margin: 4px 0 14px; }
.rcs-lab { font-weight: 600; font-size: 13px; margin: 0 0 7px; }
.rcs-seg { display: inline-flex; border: 1px solid #cfdde0; border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.rcs-seg button { border: 0; padding: 8px 16px; font-size: 13px; font-weight: 600; color: #5c6f77; background: #fff; cursor: pointer; }
.rcs-seg button + button { border-left: 1px solid #cfdde0; }
.rcs-seg button.on { background: #0d8b96; color: #fff; }
.rcs-sel { width: 100%; height: 38px; border: 1px solid #d7dde7; border-radius: 9px; padding: 0 10px; font-size: 13px; background: #fff; min-width: 0; }
.rcs-rows { border: 1px solid #e3eaec; border-radius: 12px; overflow: hidden; }
.rcs-rh, .rcs-rr { display: grid; grid-template-columns: 26px minmax(0,1.4fr) 110px minmax(0,1.2fr) 26px; gap: 10px; align-items: center; padding: 9px 12px; }
.rcs-rh { background: #f6f9fa; color: #7a8a96; font-size: 12px; font-weight: 600; }
.rcs-rr { border-top: 1px solid #e3eaec; }
.rcs-no { width: 22px; height: 22px; border-radius: 6px; background: #e6f4f1; color: #0a6b78; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.rcs-amt { height: 38px; border: 1px solid #d7dde7; border-radius: 9px; padding: 0 10px; font-weight: 700; font-size: 13.5px; width: 100%; box-sizing: border-box; font-variant-numeric: tabular-nums; }
.rcs-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.rcs-chip { border: 1px solid #cfe3e0; border-radius: 8px; padding: 5px 10px; font-size: 12px; color: #5c6f77; background: #fff; cursor: pointer; }
.rcs-chip.on { background: #e3f4f0; border-color: #8fcdc2; color: #0a6b78; font-weight: 700; }
.rcs-chip.on::before { content: "✓ "; }
.rcs-del { border: 0; background: none; color: #b8c4c7; font-size: 15px; cursor: pointer; }
.rcs-del:hover { color: #c0392b; }
.rcs-add { display: block; width: 100%; text-align: left; border: 0; border-top: 1px dashed #e3eaec; background: #fff; color: #0d8b96; font-weight: 600; font-size: 12.5px; padding: 10px 12px; cursor: pointer; }
.rcs-sum { margin-top: 12px; padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 1.6; }
.rcs-sum.ok { background: #e8f6f1; border: 1px solid #bfe3d6; color: #0c5140; }
.rcs-sum.bad { background: #fdeeee; border: 1px solid #f3c7c7; color: #a3312f; }
.rcs-tip { font-size: 12px; color: #8a6410; background: #fff6e6; border: 1px solid #f0d9a8; border-radius: 9px; padding: 9px 12px; margin-top: 10px; line-height: 1.6; }
.rcs-err { color: #c0392b; font-size: 12.5px; margin-top: 10px; }
.rcs-ft { display: flex; justify-content: space-between; margin-top: 16px; }
.rcs-ft .primary:disabled { opacity: .5; cursor: not-allowed; }
.rcl-splittag { display: inline-block; font-size: 11px; background: #eef1fb; color: #4b5bb5; border-radius: 5px; padding: 0 6px; font-weight: 600; vertical-align: 1px; }
.rcl-split { font-size: 11.5px; color: #9a7b2f; margin-top: 3px; }
.rcl-unsplit { display: block; margin-top: 6px; border: 0; background: none; color: #7a8a96; font-size: 11.5px; cursor: pointer; padding: 0; }
.rcl-unsplit:hover { color: #0d8b96; text-decoration: underline; }

/* 规则中心 · 用车内部结算价 */
.ir-wrap { padding: 4px 2px; }
.ir-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.ir-head b { font-size: 15px; }
.ir-note { font-size: 12.5px; color: #40525a; background: #f3faf8; border: 1px solid #cfe7e3; border-radius: 10px; padding: 9px 12px; line-height: 1.7; margin-bottom: 10px; }
.ir-warn { font-size: 12.5px; color: #8a6410; background: #fff6e6; border: 1px solid #f0d9a8; border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; }
.ir-season { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ir-seg { display: inline-flex; border: 1px solid #cfdde0; border-radius: 9px; overflow: hidden; }
.ir-seg button { border: 0; background: #fff; padding: 7px 16px; font-weight: 600; color: #5c6f77; cursor: pointer; }
.ir-seg button + button { border-left: 1px solid #cfdde0; }
.ir-seg button.on { background: #0d8b96; color: #fff; }
.ir-months { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.ir-months label { border: 1px solid #d6e2e5; border-radius: 7px; padding: 2px 8px; font-size: 12px; cursor: pointer; color: #5c6f77; user-select: none; }
.ir-months label.on { background: #e3f4f2; border-color: #8fcdc2; color: #0a6b78; font-weight: 700; }
.ir-months input { display: none; }
.ir-tw { border: 1px solid #e3eaec; border-radius: 12px; overflow-x: auto; }
.ir-tbl { width: 100%; min-width: 0; border-collapse: collapse; }
.ir-tbl th { background: #f6f9fa; color: #7a8a96; font-size: 12px; font-weight: 600; padding: 9px 10px; text-align: center; }
.ir-tbl th:first-child, .ir-tbl td:first-child { text-align: left; }
.ir-tbl td { padding: 10px; border-top: 1px solid #e3eaec; text-align: center; }
.ir-in { display: inline-flex; align-items: center; gap: 3px; border: 1px solid #d7dde7; border-radius: 8px; padding: 0 8px; background: #fff; color: #7a8a96; font-weight: 600; }
.ir-in input { width: 70px; border: 0; outline: none; height: 32px; font-weight: 700; font-size: 14px; text-align: right; background: transparent; }
.ir-foot { font-size: 12px; margin-top: 10px; line-height: 1.7; }
.ir-err { color: #c0392b; font-size: 12.5px; margin-top: 8px; }
.ir-regions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ir-regions button { border: 1px solid #cfdde0; background: #fff; border-radius: 10px; padding: 8px 16px; font-weight: 700; color: #33474d; cursor: pointer; font-size: 13.5px; }
.ir-regions button.on { background: #0f6f78; border-color: #0f6f78; color: #fff; box-shadow: 0 3px 10px rgba(15,111,120,.25); }
.ir-regions .ir-empty { font-style: normal; font-size: 11px; font-weight: 600; background: #fff1e3; color: #c25a17; border-radius: 6px; padding: 0 5px; margin-left: 4px; }
.ir-regions button.on .ir-empty { background: rgba(255,255,255,.2); color: #fff; }
.ir-sec { border: 1px solid #e3eaec; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; background: #fff; }
.ir-sec-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; font-size: 12.5px; }
.ir-sec-h b { font-size: 13.5px; }
.ir-prow { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px dashed #e8eef0; flex-wrap: wrap; }
.ir-prow:first-of-type { border-top: 0; }
.ir-prow input[type=date] { height: 34px; border: 1px solid #d7dde7; border-radius: 8px; padding: 0 8px; }
.ir-ptier { height: 34px; border-radius: 8px; border: 1px solid #d7dde7; font-weight: 700; padding: 0 8px; }
.ir-ptier.t-holiday { background: #fdeeee; color: #c0392b; border-color: #f3c7c7; }
.ir-ptier.t-peak { background: #fff1e3; color: #b9650e; border-color: #f0d3a4; }
.ir-ptier.t-low { background: #eef2f4; color: #5c6f77; }
.ir-yearly { font-size: 12.5px; color: #40525a; display: inline-flex; align-items: center; gap: 4px; }
.ir-pnote { flex: 1; min-width: 160px; height: 34px; border: 1px solid #d7dde7; border-radius: 8px; padding: 0 10px; }
.ir-pdel { border: 0; background: none; color: #b8c4c7; font-size: 15px; cursor: pointer; }
.ir-pdel:hover { color: #c0392b; }
.ir-seg button small { font-size: 11px; opacity: .8; font-weight: 600; }
.ir-seg button.t-holiday.on { background: #c0392b; } .ir-seg button.t-peak.on { background: #d48a1a; } .ir-seg button.t-low.on { background: #5c6f77; }
.ir-cls small { display: block; font-weight: 500; font-size: 11px; color: #7a8a96; }
.ir-prow { flex-wrap: nowrap; }
.ir-prow > select, .ir-prow > input, .ir-prow .ir-yearly input { width: auto; min-width: 0; margin: 0; }
.ir-prow > .ir-ptier { width: 96px; flex: 0 0 96px; }
.ir-prow > input[type=date] { width: 150px; flex: 0 0 150px; }
.ir-prow > .ir-pnote { flex: 1 1 auto; width: auto; }
.ir-prow .ir-yearly { white-space: nowrap; flex: 0 0 auto; }
.ir-bottom { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e3eaec; font-size: 12.5px; }
.ir-ref { font-size: 11px; color: #8a98a3; margin-bottom: 3px; white-space: nowrap; }
.ir-ref .ir-ref-holiday { color: #c0392b; } .ir-ref .ir-ref-peak { color: #b9650e; } .ir-ref .ir-ref-mid { color: #0a6b78; } .ir-ref .ir-ref-low { color: #5c6f77; }

/* 订单 · 🧾 履约页签 */
#omFulBody { padding: 4px 0 10px; }
.ful-warn { font-size: 12.5px; color: #8a6410; background: #fff6e6; border: 1px solid #f0d9a8; border-radius: 10px; padding: 9px 12px; margin-bottom: 12px; }
.ful-note { font-size: 12.5px; color: #8a6410; background: #fffaf0; border: 1px solid #f0dfb5; border-radius: 9px; padding: 7px 12px; margin: -4px 0 12px; }
.ful-prog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.ful-pg { border: 1px solid #e3eaec; border-radius: 12px; padding: 10px 12px; background: #fff; }
.ful-pg .l { font-size: 12px; color: #7a8a96; display: flex; justify-content: space-between; }
.ful-pg b { display: block; font-size: 18px; margin: 3px 0 5px; }
.ful-pg b.ok { color: #14915f; } .ful-pg b.warn { color: #c25a17; } .ful-pg b.muted { color: #9aa7ae; }
.ful-pb { height: 5px; border-radius: 9px; background: #e8eef0; overflow: hidden; } .ful-pb i { display: block; height: 100%; background: #0d8b96; }
.ful-sec { border: 1px solid #e3eaec; border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.ful-sec-h { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f8fafb; border-bottom: 1px solid #e3eaec; flex-wrap: wrap; font-size: 12.5px; }
.ful-sec-h b { font-size: 14px; }
.ful-sec.car .ful-sec-h { border-left: 4px solid #2f6fd6; } .ful-sec.htl .ful-sec-h { border-left: 4px solid #7b52d6; } .ful-sec.oth .ful-sec-h { border-left: 4px solid #d48a1a; }
.ful-tw { overflow-x: auto; }
.ful-tbl { width: 100%; min-width: 0; border-collapse: collapse; font-size: 13px; }
.ful-tbl th { color: #7a8a96; font-weight: 600; font-size: 12px; text-align: left; padding: 8px 12px; background: #fff; border-bottom: 1px solid #eef2f4; }
.ful-tbl td { padding: 10px 12px; border-top: 1px solid #eef2f4; vertical-align: middle; }
.ful-tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.ful-tbl .x { font-size: 11.5px; color: #7a8a96; margin-top: 2px; }
.ful-tbl .x.warn, .ful-tbl .warn { color: #c25a17; }
.ful-tbl b.ok { color: #14915f; } .ful-tbl b.bad { color: #c0392b; }
.ful-tbl tr.ful-sub td { background: #fbfcfc; color: #5c6f77; font-size: 12.5px; }
.ful-tbl tr.ful-pend td { background: #fffbf4; }
.ful-day { display: inline-block; background: #e8f0fd; color: #2459b0; border-radius: 6px; padding: 1px 8px; font-weight: 700; font-size: 12px; }
.ful-day.t { background: #fff1dc; color: #a8650c; }
.ful-st { display: inline-block; border-radius: 7px; padding: 2px 9px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ful-st.ok { background: #e3f4ec; color: #14915f; } .ful-st.blue { background: #e8f0fd; color: #2f6fd6; } .ful-st.warn { background: #fff1e3; color: #c25a17; } .ful-st.bad { background: #fdeeee; color: #c0392b; } .ful-st.mu { background: #eef2f4; color: #5c6f77; }
tr.ful-grp td { border-top: 1px solid #dfe8ea; }
tr.ful-bk td { border-top: 1px dashed #e8eef0; background: #f9fbfb; padding-top: 6px; padding-bottom: 6px; font-size: 12.5px; color: #4d5d63; }
tr.ful-bk td:first-child { padding-left: 26px; }
.ful-tree { color: #a7c9cc; margin-right: 6px; font-family: Consolas, monospace; }
.ful-bkcnt { display: inline-block; font-size: 12px; font-weight: 600; color: #0a6b78; background: #eaf5f6; border: 1px solid #cfe6e8; border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.ful-bkcnt.warn { color: #a8650b; background: #fdf3e2; border-color: #f2d6a6; }
.ful-btn.ful-sm { padding: 2px 8px; font-size: 11.5px; }
.bk-blk.bk-stay { border: 2px solid #0d8b96; background: #f0f9f9; }
.bk-ck { display: flex; align-items: center; justify-content: flex-start; gap: 10px; font-size: 13.5px; font-weight: 600; color: #16242a; text-align: left; padding: 9px 12px; border-radius: 9px; background: #fff; border: 1px solid #e3eaec; margin-bottom: 6px; cursor: pointer; }
.bk-dlg .bk-ck input[type="checkbox"] { width: 17px; height: 17px; flex: 0 0 17px; margin: 0; padding: 0; accent-color: #0a6b78; cursor: pointer; }
.bk-ck > span { flex: 0 1 auto; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-ck:has(input:checked:not(:disabled)) { border-color: #9fd0d6; background: #f7fcfc; }
.bk-h b { flex: 1; min-width: 0; }
.bk-ck em { font-style: normal; font-size: 11.5px; color: #0a6b78; background: #e6f4f5; border-radius: 5px; padding: 0 6px; margin-left: auto; }
.bk-ck.on { color: #5a6b72; font-weight: 400; cursor: default; background: #f4f8f9; }
.bk-staysum { font-size: 12.5px; color: #0a6b78; margin-top: 2px; }
tr.ful-stay td { background: #f6fbfb; }
.bk-splitno { display: inline-block; background: #0a6b78; color: #fff; border-radius: 6px; padding: 0 8px; font-size: 13px; }
.bk-splitnote { background: #eaf5f6; border: 1px solid #cfe6e8; color: #0a6b78; border-radius: 9px; padding: 8px 12px; font-size: 13px; margin-bottom: 12px; }
.bk-split { margin-left: auto; flex: none; background: #e6f4f5; color: #0a6b78; border: 1px solid #9fd0d6; border-radius: 8px; padding: 6px 14px; font-size: 13.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.bk-split:hover { background: #0a6b78; color: #fff; }
.bk-split + .bk-x { margin-left: 0; }
.ful-cfm { font-family: Consolas, monospace; font-size: 12px; background: #f3f6f7; border-radius: 6px; padding: 1px 6px; }
.ful-btn { border: 1px solid #b9dcd6; background: #f0f9f7; color: #0b7a72; border-radius: 7px; padding: 4px 10px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ful-empty { padding: 12px 14px; font-size: 12.5px; }
@media (max-width: 900px) { .ful-prog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 履约页签 · 三表同列 + 手改标记 + 本单销售毛利条 */
.ful-tbl.fixed { table-layout: fixed; }
.ful-tbl.fixed td, .ful-tbl.fixed th { overflow: hidden; text-overflow: ellipsis; }
.ful-tbl.fixed td:first-child b { word-break: break-word; }
.ful-man { display: inline-block; font-size: 10.5px; font-weight: 700; color: #8a5a00; background: #fff3d6; border: 1px solid #f0d58f; border-radius: 5px; padding: 0 5px; margin-left: 3px; vertical-align: 1px; }
.ful-margin { background: #fff; border: 1px solid #dbe7ea; border-radius: 12px; padding: 14px 18px; margin: 4px 0 12px; }
.ful-margin.legacy { background: #fafbfc; }
.ful-mt { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ful-mt b { font-size: 14px; color: #12303a; }
.ful-mt .muted { font-size: 12px; }
.ful-mf { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.ful-mf > span { display: flex; flex-direction: column; min-width: 92px; }
.ful-mf i { font-style: normal; font-size: 11.5px; color: #7a8a96; }
.ful-mf b { font-size: 17px; font-weight: 700; color: #12303a; font-variant-numeric: tabular-nums; }
.ful-mf small { font-size: 11px; color: #7a8a96; }
.ful-mf small.warn { color: #c25a17; }
.ful-mf em { font-style: normal; color: #a3b1ba; font-size: 18px; }
.ful-mf .tot { background: #effaf5; border: 1px solid #c4ebd8; border-radius: 9px; padding: 6px 12px; }
.ful-mf .tot b { color: #14915f; font-size: 19px; }
.ful-mf .tot.neg { background: #fdf0ee; border-color: #f2c7c0; }
.ful-mf .tot.neg b { color: #c0392b; }
/* 内部结算价页 · 历史重算 */
.ir-recalc { margin-top: 16px; background: #fff; border: 1px solid #dbe7ea; border-radius: 14px; padding: 14px 18px; }
.ir-rh { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.ir-rh b { font-size: 14px; color: #12303a; }
.ir-rh .muted { font-size: 12px; }
.ir-rrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.ir-rrow label { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ir-rrow input[type="month"] { width: auto; min-width: 150px; }
.ir-rrow .muted { font-size: 12px; }
.ir-rres { margin-top: 12px; border-top: 1px dashed #dbe7ea; padding-top: 12px; }
.ir-rsum { font-size: 13px; color: #12303a; margin-bottom: 8px; line-height: 1.6; }
.ful-tbl.fixed td:last-child, .ful-tbl.fixed th:last-child { overflow: visible; text-overflow: clip; }
.ec-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: 5px; vertical-align: 1px; white-space: nowrap; }
.ec-cat.none { color: #8a96a0; background: #f3f5f7; border-color: #e1e6ea; font-weight: 600; }
.ful-tbl tr.ful-xtra td { background: #fbfaf5; }
.ful-x { border: 0; background: none; color: #b8c2c9; font-size: 13px; cursor: pointer; padding: 2px 4px; margin-left: 2px; }
.ful-x:hover { color: #c0392b; }
/* 回填住宿 / 门票弹窗(操作包 + 履约页共用):币种 → 价格 → 折人民币 · 付款账户 */
dialog.bk-dlg { border: none; border-radius: 16px; padding: 0; width: min(720px, 95vw); box-shadow: 0 24px 70px rgba(0,0,0,.3); }
dialog.bk-dlg::backdrop { background: rgba(20,40,50,.45); }
.bk-form { padding: 20px 24px; margin: 0; font-family: inherit; }
.bk-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.bk-h b { font-size: 16px; color: #12303a; }
.bk-x { margin-left: auto; border: 0; background: #e7f4f6; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; color: #2b4a55; flex: 0 0 auto; }
.bk-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.bk-full { grid-column: 1 / -1; }
.bk-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bk-f > span { font-size: 12.5px; font-weight: 700; color: #2b3d47; }
.bk-f input, .bk-f select, .bk-f textarea, select.bk-pay { width: 100%; min-width: 0; height: 40px; border: 1px solid #d7dde7; border-radius: 9px; padding: 0 12px; font-size: 13.5px; box-sizing: border-box; background: #fff; font-family: inherit; }
.bk-f textarea { height: auto; padding: 8px 12px; resize: vertical; }
.bk-blk { border: 1px solid #cfe5e8; background: #f5fbfc; border-radius: 12px; padding: 12px 14px; margin-top: 14px; }
.bk-bt { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13.5px; color: #12303a; margin-bottom: 10px; }
.bk-bt i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: #0d8b96; color: #fff; font-size: 11px; display: grid; place-items: center; }
.bk-bt small { font-weight: 400; color: #7a8a96; font-size: 12px; }
.bk-seg { display: inline-flex; border: 1px solid #cfdde2; border-radius: 9px; overflow: hidden; background: #fff; flex-wrap: wrap; }
.bk-seg button { border: 0; border-left: 1px solid #cfdde2; background: #fff; color: #5c6f77; font-weight: 600; font-size: 12.5px; padding: 8px 14px; cursor: pointer; font-family: inherit; }
.bk-seg button:first-child { border-left: 0; }
.bk-seg button.on { background: #0d8b96; color: #fff; }
.bk-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-top: 10px; max-width: 520px; }
.bk-pre { display: flex; align-items: center; height: 40px; border: 1.5px solid #0d8b96; border-radius: 9px; background: #fff; overflow: hidden; }
.bk-pre em { font-style: normal; padding: 0 11px; color: #0b6f78; font-weight: 800; background: #e6f4f5; height: 100%; display: grid; place-items: center; min-width: 36px; }
.bk-pre input { border: 0 !important; height: 100% !important; border-radius: 0 !important; font-size: 15px !important; font-weight: 700; outline: none; }
.bk-cny { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; background: #e6f4f0; border: 1px solid #bfe0d5; border-radius: 9px; padding: 9px 12px; margin-top: 10px; color: #0c5140; font-size: 12.5px; }
.bk-cny b { font-size: 19px; color: #0f6e56; font-variant-numeric: tabular-nums; }
.bk-rate { margin-left: auto; color: #4d8a78; font-size: 12px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.bk-rate input { width: 78px; height: 26px; border: 1px dashed #8cc2b2; border-radius: 6px; padding: 0 6px; font-size: 12px; background: #fff; color: #0c5140; }
select.bk-pay { border: 1.5px solid #0d8b96; font-weight: 600; }
.bk-tip { margin-top: 10px; font-size: 12.5px; line-height: 1.6; color: #2b4a55; background: #fff; border: 1px dashed #9fd0d5; border-radius: 9px; padding: 8px 12px; }
.bk-tip b { color: #0b6f78; } .bk-tip b.neg { color: #c0392b; }
.bk-err { margin-top: 10px; color: #c0392b; background: #fdf0ee; border: 1px solid #f2c7c0; border-radius: 8px; padding: 7px 10px; font-size: 12.5px; }
.bk-ft { display: flex; align-items: center; margin-top: 16px; }
.bk-cancel { border: 0; background: #e7f4f6; color: #0b6f78; border-radius: 9px; padding: 9px 16px; font-weight: 700; cursor: pointer; font-family: inherit; }
.bk-save { margin-left: auto; border: 0; background: #0d8b96; color: #fff; border-radius: 9px; padding: 10px 22px; font-weight: 800; cursor: pointer; font-family: inherit; }
.bk-save:disabled { opacity: .6; cursor: default; }
.ful-pay { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: #eef2fb; color: #2659a8; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.ful-pay.unpaid { background: #fff4e5; color: #a35a12; }
@media (max-width: 640px) { .bk-g2, .bk-row { grid-template-columns: 1fr; } }
/* 回填弹窗排版:✕ 居中(盖掉全局 button padding)· 标题栏和底部按钮固定、中间滚动 · 间距收紧 */
/* body 有 zoom:1.1 → 弹窗里的 100vh 会被放大 10%,超出屏幕把标题栏顶出去;按缩放除回来 */
dialog.bk-dlg { max-height: calc((100vh - 32px) / 1.1); overflow: hidden; }
dialog.bk-dlg .bk-form { display: flex; flex-direction: column; max-height: calc((100vh - 32px) / 1.1); padding: 0; }
dialog.bk-dlg .bk-h { flex: 0 0 auto; margin: 0; padding: 16px 22px 12px; border-bottom: 1px solid #eef2f4; }
dialog.bk-dlg .bk-h b { flex: 1 1 auto; min-width: 0; line-height: 1.4; }
dialog.bk-dlg .bk-x { padding: 0 !important; margin: 0 !important; width: 30px; height: 30px; min-width: 30px; display: grid; place-items: center; font-size: 14px; line-height: 1; box-sizing: border-box; }
dialog.bk-dlg .bk-x:hover { background: #d6edf0; }
dialog.bk-dlg .bk-g2, dialog.bk-dlg .bk-blk, dialog.bk-dlg .bk-scroll > label.bk-full, dialog.bk-dlg .bk-err { margin-left: 22px; margin-right: 22px; }
dialog.bk-dlg .bk-g2 { margin-top: 14px; gap: 10px 14px; }
dialog.bk-dlg .bk-blk { margin-top: 12px; padding: 11px 14px; }
dialog.bk-dlg .bk-scroll > label.bk-full { margin-top: 12px !important; }
dialog.bk-dlg .bk-f input, dialog.bk-dlg .bk-f select, dialog.bk-dlg select.bk-pay { height: 38px; }
dialog.bk-dlg .bk-cny { margin-top: 8px; padding: 8px 12px; }
dialog.bk-dlg .bk-tip { margin-top: 8px; padding: 7px 12px; }
dialog.bk-dlg .bk-ft { flex: 0 0 auto; margin: 0; padding: 12px 22px 16px; border-top: 1px solid #eef2f4; background: #fff; }
/* 中间可滚动区:除标题栏 / 底部外的内容 */
dialog.bk-dlg .bk-scroll { flex: 1 1 auto; overflow-y: auto; padding-bottom: 14px; }
/* 订单详情指标卡:出行 / 金额·付款 / 地接确认 / 排团(涉及排团才有第 4 格) */
/* 出行 / 金额·付款 内容少 → 窄;地接确认(承接OP+管家+确认件)内容多 → 宽 */
.om-kpis.k4 { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.5fr); } /* 地接确认收窄·排团加宽(2026-11-27) */
.om-kpi-team .om-tname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 四张卡等高:左边三张内容少的不再挤在左上角 —— 上下撑开,主数字放大一点 */
.om-kpis.k4 > .om-kpi:not(.om-kpi-team), .om-kpis.k3 > .om-kpi { justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.om-kpis.k4 > .om-kpi:not(.om-kpi-team) > b, .om-kpis.k3 > .om-kpi > b { font-size: 19px; }
.om-kpis.k4 .om-pay-row > b { font-size: 20px; }
.om-tdrv { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #e3eaec; font-size: 12px; min-width: 0; flex-wrap: wrap; }
.om-trow { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.om-trow .om-tname { flex: 0 1 auto; min-width: 0; }
.om-trow .om-tuse { flex: none; color: #8593a4; font-size: 12px; white-space: nowrap; }
.om-tdrv .dl { color: #7d8c93; }
.om-tdrv .dst { font-style: normal; font-weight: 700; padding: 1px 8px; border-radius: 6px; font-size: 11.5px; }
.om-tdrv.ok .dst { background: #e5f5ec; color: #0b7a52; } .om-tdrv.wait .dst { background: #fdf3e2; color: #a8650b; }
.om-tdrv small { color: #8593a4; font-size: 11px; }
.om-dname { display: inline-block; background: #fff; border: 1px solid #b9e2c9; color: #16242a; font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 12px; white-space: nowrap; }
.om-kpis.k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* 没排团卡时三张等宽(2026-11-27) */
@media (max-width: 900px) { .om-kpis.k4, .om-kpis.k3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.om-pay-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.om-pay-row > b { font-size: 18px; }
.om-ps { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.om-ps::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.om-ps.warn { background: #fdf3e1; color: #a8650d; } .om-ps.blue { background: #ecf1fa; color: #3b5f9c; }
.om-ps.ok { background: #e9f6ef; color: #16805a; } .om-ps.bad { background: #fdecea; color: #b91c1c; } .om-ps.mu { background: #f1f4f6; color: #7a8a96; }
.om-kpi-pay .om-kbar { margin-top: 6px; }
.om-pay-pl { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: #7d8c93; }
.om-pay-pl b { font-size: 12px; font-weight: 700; color: #1b2a30; }
.om-pay-pl .due b { color: #b45309; }
/* 排团卡:同其他指标卡白底,状态只靠右上小标签 */
.om-kpi-team .l { display: flex; align-items: center; gap: 6px; }
.om-ttag { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.om-ttag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.om-ttag.auto { background: #fdf3e1; color: #a8650d; } .om-ttag.ok { background: #e9f6ef; color: #16805a; }
.om-ttag.man { background: #ecf1fa; color: #3b5f9c; } .om-ttag.pend { background: #f1f4f6; color: #7a8a96; }
.om-kpi-team .om-tname { font-size: 16px; }
.om-kpi-team .om-tname.pend { font-size: 14px; color: #8a96a0; font-weight: 600; }
.om-kpi-team.ok .om-tname, .om-kpi-team.man .om-tname { color: #0f7a55; } /* 已确认/人工调整 = 和「地接已确认」同一个绿 */
.om-kpi-team.pend { border-style: dashed; }
.om-twho b { color: #1b2a30; font-weight: 600; }
.om-twarn { color: #b45309; font-weight: 600; }
.om-tbtns { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.om-tbtn { border: 1px solid #d7e3e6; background: #fff; color: #2b4a55; border-radius: 7px; padding: 4px 10px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.om-tbtn.go { background: #0d8b96; border-color: #0d8b96; color: #fff; }
.om-tlink { border: 0; background: none; color: #7a8a96; font-size: 12px; font-weight: 600; cursor: pointer; padding: 4px 2px; white-space: nowrap; }
.om-tlink:hover { color: #0b6f78; }
/* 订单列表 · 排团筛选 + 排团列 */
.ot-grp { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ot-grp:empty { display: none; }
.ot-l { font-size: 12px; color: #7a8a96; font-weight: 700; }
.ot-pill { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #d6dfe3; background: #fff; color: #4f6470; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ot-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
.ot-pill.auto { color: #a8650d; } .ot-pill.ok { color: #16805a; } .ot-pill.man { color: #3b5f9c; }
.ot-pill.on { background: currentColor; }
.ot-pill.on, .ot-pill.on b { color: #fff !important; }
.ot-pill.auto.on { background: #b46a0e; border-color: #b46a0e; } .ot-pill.ok.on { background: #16805a; border-color: #16805a; } .ot-pill.man.on { background: #3b5f9c; border-color: #3b5f9c; }
.ot-pill b { color: #12303a; }
.ot-batch { border: 0; background: #0d8b96; color: #fff; border-radius: 8px; padding: 5px 12px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ord-team { white-space: nowrap; }
.ot-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.ot-chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
.ot-chip.auto { background: #fdf3e1; color: #a8650d; } .ot-chip.ok { background: #e9f6ef; color: #16805a; }
.ot-chip.man { background: #ecf1fa; color: #3b5f9c; } .ot-chip.pend { background: #f1f4f6; color: #7a8a96; font-weight: 600; }
.ot-who { display: block; font-size: 11px; color: #8a96a0; margin-top: 2px; }
.ot-who.warn { color: #b45309; }
.ot-none { color: #c2cbd1; }
.ot-cb { width: 14px; height: 14px; margin: 0 5px 0 0; vertical-align: middle; cursor: pointer; }
.om-kpi-team .om-twho { display: block; font-size: 11.5px; color: #7d8c93; margin-top: 2px; }
.om-kpi-team .om-twho b { font-size: 11.5px; font-weight: 700; color: #1b2a30; }
.om-kpi-team small .om-twarn { font-size: 11.5px; }
/* 金额·付款卡 · 已付清:收款小结代替进度条 */
.om-paid-done { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 9px; background: #f3faf6; border: 1px solid #d3eedf; border-radius: 9px; font-size: 11.5px; color: #2f5f4a; line-height: 1.5; }
.om-paid-done b { font-size: 12px; font-weight: 700; color: #12303a; }
.om-paid-ck { width: 17px; height: 17px; border-radius: 50%; background: #16805a; color: #fff; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; flex: 0 0 auto; }
.om-paid-pend { color: #a8650d; font-weight: 700; }
.om-paid-link { margin-left: auto; border: 0; background: none; color: #0b6f78; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; padding: 2px 0; }
.om-paid-link:hover { text-decoration: underline; }
/* 订单列表:勾选列只在「自动·待确认」批量时出现 */
#orderTable .ot-cbcol { display: none; width: 28px; padding-right: 0; }
#orderTable.team-batch .ot-cbcol { display: table-cell; }
#orderTable .ot-cbcol input { width: 15px; height: 15px; cursor: pointer; margin: 0; }
.ord-date .ot-chip { margin-top: 3px; font-size: 11px; padding: 1px 7px; }
.ot-chip.chg { box-shadow: inset 0 0 0 1px #f0b429; }
/* 付款列:短标签 + 第二行小字金额,列宽固定 */
#orderTable td.ord-pay { width: 112px; min-width: 104px; max-width: 132px; white-space: nowrap; }
.opay-tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.opay-tag.warn { background: #fdf3e1; color: #a8650d; } .opay-tag.blue { background: #ecf1fa; color: #3b5f9c; }
.opay-tag.ok { background: #e9f6ef; color: #16805a; } .opay-tag.bad { background: #fdecea; color: #b91c1c; }
.opay-sub { display: block; font-size: 11px; color: #8a96a0; margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opay-sub.bad { color: #b91c1c; font-weight: 600; }
#orderTable td.ord-pay .life-pill { white-space: nowrap; }
/* 状态列新增的进度字 */
.status-待出行 { color: #0f7a55; background: #e6f6ee; }
.status-出行中 { color: #2659a8; background: #e8effb; }
.status-行程结束 { color: #8a6a3a; background: #f6efe2; }
/* 订单列表:出行日期 + 团号一行 */
.ord-date { white-space: nowrap; }
.ord-date .ot-chip { margin: 0 0 0 5px; vertical-align: 1px; }
.ot-chip.diff { box-shadow: inset 0 0 0 1px #e0a43b; }
.status-pill.status-已失效 { background: #f1f3f5 !important; color: #98a2ab !important; border-color: #e1e5e9 !important; }
/* 排团卡「待确认 ›」:和订单状态「待确认 ›」一样的橙色可点按钮(别用绿底勾,看着像已确认) */
.om-tbtn.pend { display: inline-flex; align-items: center; gap: 5px; background: #fff3df; color: #a35a00; border: 1px solid #e9a94c; }
.om-tbtn.pend::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e8890c; flex: none; }
.om-tbtn.pend:hover { background: #e8890c; color: #fff; border-color: #e8890c; }
.om-tbtn.pend:hover::before { background: #fff; }
/* 排团筛选挪到「全部 / B2B / B2C」右边;下拉筛选另起一行 */
.order-topbar > .ot-grp { flex: 0 1 auto; background: #f6f9fa; border: 1px solid #e3eaee; border-radius: 999px; padding: 4px 6px 4px 12px; }
.order-topbar > .ot-grp .ot-pill { padding: 4px 11px; }
.order-topbar .order-search { flex-basis: 100%; }
/* 列表「待确认」:和「待出行」同宽,去掉圆点和 ›(橙色边框 + 悬停变色照样能看出可以点) */
.status-click .status-pill.status-待确认 { padding: 3px 10px; gap: 0; box-shadow: none; }
.status-click .status-pill.status-待确认::before, .status-click .status-pill.status-待确认::after { content: none; display: none; }

/* 订单列表:「⚠ 跨国待拆」没单时真正隐藏(.tabs button 的 display 会盖掉 hidden) */
#orderStatusTabs [hidden] { display: none !important; }
#orderStatusTabs button.active[data-order-status="跨国待拆"] { box-shadow: 0 0 0 2px #e0a43b inset; }
#orderLifecycleFilter.on, #orderPayFilter.on { border-color: #0d8b96; background: #f3fbfb; color: #0b6f78; font-weight: 700; }

/* 订单管理:自动探测到新单/有更新的提示条(点一下刷新) */
.order-pulse-bar { display: block; width: 100%; margin: 0 0 10px; padding: 9px 14px; border: 1.5px solid #9fd3d8; background: #eaf7f8; color: #0b6f78; border-radius: 10px; font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; animation: opbIn .3s ease-out; }
.order-pulse-bar:hover { background: #dff2f4; }
.order-pulse-bar b { color: #0d8b96; font-size: 14px; }
@keyframes opbIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .order-pulse-bar { animation: none; } }

/* 核价明细·已确认(2026-11-23):预估 → 地接核价上调/下调 → 地接确认价 + 核价说明(和渠道端同口径) */
.om-pd.om-pd-done { background: #f6fbf8; border-color: #cfe9da; }
.om-pd-done .om-pd-h { color: #16805a; }
.om-pd-row.om-pd-est b { color: #8a96a0; font-weight: 600; }
.om-pd-row.om-pd-adj { background: #fff6e6; border-radius: 6px; padding-left: 6px; padding-right: 6px; }
.om-pd-row.om-pd-adj span, .om-pd-row.om-pd-adj b { color: #b4680f; font-weight: 700; }
.om-pd-done .om-pd-total span, .om-pd-done .om-pd-total b { color: #16805a; }
.om-pd-note { margin-top: 8px; background: #f4f8ff; border: 1px solid #d3def2; border-radius: 8px; padding: 7px 10px; font-size: 12.5px; color: #2b4a7a; line-height: 1.6; }
.om-pd-note b { color: #1b3a6b; }

/* 包车费用卡·核价合一(2026-11-23):待核价=预估逐项+确认价/说明/按钮;确认后=核价结果 */
.cost-group.om-cf-pend { border: 1.5px solid #f1cf8f; }
.cost-group.om-cf-pend .cost-group-head { background: #fff8ea; }
.om-cf-st { order: 9; margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; align-self: center; }
.om-cf-st.pend { background: #fff1dc; color: #9a5b0c; }
.om-cf-st.ok { background: #e9f6ef; color: #16805a; }
.cost-line.om-cf-sum { background: #fafcfc; }
.cost-line.om-cf-sum .cost-label { color: #5d7380; }
.om-cf-dim { color: #9aa6ad !important; font-weight: 600 !important; }
.cost-line.om-cf-adj { background: #fff6e6; }
.cost-line.om-cf-adj .cost-label, .cost-line.om-cf-adj strong { color: #b4680f; font-weight: 800; }
.om-cf-conf { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 10px; align-items: end; padding: 12px 16px; border-top: 1.5px dashed #f1d9a8; background: #fffdf7; }
.om-cf-f span { display: block; font-size: 11.5px; color: #7d8c93; margin-bottom: 4px; font-weight: 600; }
.om-cf-f input { width: 100%; height: 38px; border: 1.5px solid #d7dde7; border-radius: 9px; padding: 0 12px; font-size: 14px; box-sizing: border-box; background: #fff; }
.om-cf-f input#omReviewAmt { font-weight: 800; color: #0b6f78; }
.om-cf-btn { height: 38px; padding: 0 18px; border-radius: 9px; font-weight: 800; white-space: nowrap; }
.om-cf-diff { grid-column: 1 / -1; font-size: 12px; color: #9a5b0c; min-height: 16px; }
.om-cf-note { margin: 8px 16px 12px; background: #f4f8ff; border: 1px solid #d3def2; border-radius: 10px; padding: 8px 12px; font-size: 12.5px; color: #2b4a7a; }
.om-cf-note b { color: #1b3a6b; }
@media (max-width: 900px) { .om-cf-conf { grid-template-columns: 1fr; } }

/* 订单列表·渠道门票出票方式小标签(按入口定价) */
.tk-issue { display: inline-block; margin-left: 4px; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 999px; white-space: nowrap; vertical-align: 1px; cursor: help; }
.tk-issue.self { background: #e9f6ef; color: #16805a; }
.tk-issue.svc { background: #e8f1fb; color: #2a62a8; }
/* 需 OP 出票但还没出的门票(2026-12-03) */
.tk-unissued { display: inline-block; margin-left: 4px; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 999px; white-space: nowrap; vertical-align: 1px; cursor: help; background: #fbe9e8; color: #c0392b; border: 1px solid #f0c4c0; }
.om-kpi-li b.om-tk-unissued { color: #c0392b; }

/* 本行程关联·金额算法(2026-11-23):金额下灰字算法 / 包车车型天数标签 + 预估逐项 / 合计相加过程 */
.om-rel-amt { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.om-rel-calc { display: block; font-size: 11px; font-weight: 400; color: #9aa6ad; white-space: nowrap; font-variant-numeric: tabular-nums; }
.om-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; }
.om-rel-detail { display: block; margin-top: 2px; font-size: 11.5px; color: #7d8c93; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.om-rel-eq { margin-left: auto; font-size: 12px; font-weight: 400; color: #7d8c93; font-variant-numeric: tabular-nums; }
.om-rel-eq + .om-rel-total { margin-left: 8px; }
.om-rel > summary:has(.om-rel-eq)::after { margin-left: 10px; }

/* ===== 内部公告(2026-11-24):置顶条 / 受众标签 / 可发公告开关 / 已读名单 ===== */
.notice-pin { display: flex; align-items: center; gap: 12px; background: linear-gradient(90deg, #fff6e8, #fffaf3); border: 1.5px solid #f3cf93; border-radius: 12px; padding: 10px 14px; margin: 0 0 14px; }
.notice-pin .np-ic { font-size: 20px; flex: none; }
.notice-pin .np-tx { min-width: 0; flex: 1; }
.notice-pin .np-tx b { display: block; font-size: 14px; color: #1b2a30; }
.notice-pin .np-tx small { display: block; font-size: 12px; color: #7a5410; margin-top: 2px; }
.notice-pin .np-go, .notice-pin .np-ok { border: 0; border-radius: 9px; padding: 7px 14px; font-weight: 800; white-space: nowrap; cursor: pointer; height: auto; width: auto; }
.notice-pin .np-go { background: #f59e0b; color: #fff; }
.notice-pin .np-ok { background: #0d8b96; color: #fff; }
.nt-tag { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 6px; padding: 1px 8px; margin-right: 4px; white-space: nowrap; }
.nt-tag.in { background: #e9f7f8; color: #0b6f78; }
.nt-tag.ex { background: #fff4e0; color: #a35a12; }
.nt-tag.must { background: #fde8e8; color: #b42318; }
.nt-tag.pin { background: #fde8e8; color: #b42318; margin-right: 6px; }
.nt-read-ok { font-size: 12.5px; font-weight: 700; color: #1a7a43; white-space: nowrap; }
.nt-reads { white-space: nowrap; color: #0b6f78; font-weight: 700; }
.nav-unread { display: inline-block; margin-left: 6px; min-width: 18px; padding: 0 5px; border-radius: 999px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
button.notice-sw { width: 36px; height: 20px; min-height: 0; padding: 0; border: 0; border-radius: 999px; background: #cfd8dc; position: relative; cursor: pointer; vertical-align: middle; }
button.notice-sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
button.notice-sw.on { background: #0d8b96; }
button.notice-sw.on::after { left: 18px; }
dialog.notice-reads { border: 0; border-radius: 16px; padding: 18px 20px; width: min(560px, calc(100vw - 32px)); box-shadow: 0 16px 40px rgba(20,40,50,.22); }
dialog.notice-reads h4 { margin: 0 0 10px; font-size: 16px; }
dialog.notice-reads .nr-sec { margin-top: 10px; }
dialog.notice-reads .nr-sec b { display: block; font-size: 12.5px; margin-bottom: 6px; }
dialog.notice-reads .nr-chip { display: inline-block; font-size: 12px; border-radius: 999px; padding: 2px 10px; margin: 0 6px 6px 0; background: #e1f3e9; color: #1a7a43; }
dialog.notice-reads .nr-chip.no { background: #f1f3f5; color: #7d8c93; }

/* ===== 顶部日期 · 星期 · 四地时间 · 雷市天气 · 节假日(2026-11-24) ===== */
.hdc-wrap { display: flex; align-items: flex-start; gap: 14px; margin-left: auto; }
.hd-clock { text-align: right; min-width: 0; }
.hd-clock .hdc-d { font-size: 18px; font-weight: 900; letter-spacing: .3px; color: #1b2a30; line-height: 1.3; }
.hd-clock .hdc-d span { font-size: 13px; font-weight: 700; color: #0b6f78; margin-left: 6px; background: #e3f3f5; border-radius: 999px; padding: 1px 9px; vertical-align: 2px; }
.hd-clock .hdc-tz { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; margin-top: 5px; }
.hd-clock .hdc-tz span { font-size: 11.5px; background: #fff; border: 1px solid #e3eaee; border-radius: 7px; padding: 1px 7px; color: #4f6470; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hd-clock .hdc-tz b { color: #1b2a30; }
.hd-clock .hdc-wx { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; background: #fff; border: 1px solid #d6e6ef; border-radius: 10px; padding: 3px 10px; font-size: 12px; color: #4f6470; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.hd-clock .hdc-wx-ic { font-size: 16px; }
.hd-clock .hdc-wx b { font-size: 14px; color: #1b2a30; }
.hd-clock .hdc-wx em { font-style: normal; color: #9aa6ad; }
.hd-clock .hdc-hol { margin-top: 6px; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.hd-clock .hdc-h { font-size: 11.5px; font-weight: 700; border-radius: 7px; padding: 2px 9px; white-space: nowrap; }
.hd-clock .hdc-h.cn { background: #fdecec; color: #b42318; }
.hd-clock .hdc-h.is { background: #e8f0fb; color: #1b5fa8; }
.top-actions .hd-clock { margin-right: 4px; }
@media (max-width: 900px) { .hd-clock .hdc-wx em { display: none; } }
@media (max-width: 640px) { .hd-clock .hdc-tz, .hd-clock .hdc-hol { display: none; } }

/* 工作台:🔔 + ⟳ 刷新(2026-11-24) */
.hub-acts { display: inline-flex; align-items: center; gap: 8px; }
.hub-acts:empty { display: none; }
button.icon-refresh { width: 38px; height: 38px; min-height: 0; padding: 0; border-radius: 10px; font-size: 19px; line-height: 1; font-weight: 700; color: #0b6f78; background: #e2f5f8; display: inline-grid; place-items: center; }
button.icon-refresh:hover { background: #cfeef2; }
.hub-acts #mentionBell { height: 38px; }

/* 操作包 · 用车行的派单号小标签(2026-11-24) */
.rq-chip { display: inline-flex; align-items: center; gap: 4px; width: max-content; font-size: 11px; font-weight: 700; color: #0b6f78; background: #e9f7f8; border: 1px solid #bfe3e6; border-radius: 6px; padding: 0 7px; margin-top: 4px; font-variant-numeric: tabular-nums; cursor: pointer; white-space: nowrap; }
.rq-chip:hover { background: #d9f0f2; }
.rq-chip.none { color: #9aa6ad; background: #f4f6f7; border-color: #e3eaee; cursor: default; }
td > b + .rq-chip, td > .x + .rq-chip, td > div + .rq-chip { display: flex; }

/* 公告详情 · 页内弹窗(2026-11-24) */
dialog.ann-detail { border: 0; border-radius: 16px; padding: 0; width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 18px 48px rgba(20,40,50,.25); overflow: hidden; }
dialog.ann-detail[open] { display: flex; flex-direction: column; }
dialog.ann-detail::backdrop { background: rgba(15,30,40,.45); }
.ann-detail .ad-h { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #eef2f4; }
.ann-detail .ad-h h3 { margin: 0; font-size: 18px; }
.ann-detail .ad-h small { display: block; color: #7d8c93; margin-top: 4px; }
.ann-detail .ad-x { margin-left: auto; width: 34px; height: 34px; min-height: 0; padding: 0; border: 0; border-radius: 9px; background: #e2f5f8; color: #0b6f78; font-size: 20px; cursor: pointer; flex: none; }
.ann-detail .ad-b { padding: 16px 20px; overflow-y: auto; line-height: 1.75; }
.ann-detail .ad-b table { width: 100%; min-width: 0 !important; border-collapse: collapse; font-size: 13px; }
.ann-detail .ad-b th, .ann-detail .ad-b td { border: 1px solid #e3eaee; padding: 7px 9px; text-align: left; vertical-align: top; white-space: normal !important; }
.ann-detail .ad-b th { background: #f7fafb; }
.ann-detail .ad-b h3 { font-size: 15px; margin: 16px 0 6px; }
.ann-detail .ad-f { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid #eef2f4; background: #fbfdfd; }

/* 工作台「重要公告 / 内部提醒」卡 · 有才显示(2026-11-24) */
.hub-alert-card, .pwb-card.pwb-alert { display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: left; cursor: default; }
.hub-alert-card.notice, .pwb-card.pwb-alert.notice { background: linear-gradient(180deg, #fff6e8, #fffaf3) !important; border: 1.5px solid #f3cf93 !important; }
.hub-alert-card.mention, .pwb-card.pwb-alert.mention { background: linear-gradient(180deg, #eef6ff, #f7fbff) !important; border: 1.5px solid #c7dcf5 !important; }
.hub-alert-card .hac-h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: #1b2a30; }
.hac-n, .pwb-alert-n { margin-left: auto; background: #e5484d; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; padding: 0 7px; line-height: 18px; }
.hub-alert-card .hac-it, .pwb-alert .pwa-it { display: block; background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 10px; padding: 8px 10px; }
.hub-alert-card.mention .hac-it, .pwb-alert .pwa-it.clk { cursor: pointer; }
.hub-alert-card.mention .hac-it:hover, .pwb-alert .pwa-it.clk:hover { border-color: #9cc3ec; }
.hub-alert-card .hac-it b, .pwb-alert .pwa-it b { display: block; font-size: 13px; color: #1b2a30; line-height: 1.45; }
.hub-alert-card .hac-it small, .pwb-alert .pwa-it small { display: block; font-size: 11.5px; color: #7d8c93; margin-top: 3px; }
.hac-tg { font-style: normal; font-size: 10.5px; font-weight: 800; border-radius: 5px; padding: 0 6px; margin-right: 5px; vertical-align: 1px; }
.hac-tg.must { background: #fde8e8; color: #b42318; }
.hac-tg.pin { background: #fff0d6; color: #a35a12; }
.hac-acts { display: flex; gap: 6px; margin-top: 6px; }
button.hac-go, button.hac-ok { border: 0; border-radius: 7px; padding: 3px 10px; font-size: 12px; font-weight: 700; cursor: pointer; height: auto; width: auto; min-height: 0; line-height: 1.5; }
button.hac-go { background: #f59e0b; color: #fff; }
button.hac-ok { background: #0d8b96; color: #fff; }
.hac-more, button.pwa-more { font-size: 12px; font-weight: 700; color: #0b6f78; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; height: auto; }
.hub-alert-card[hidden] { display: none !important; }
#hubCardMentions[hidden], #hubCardNotices[hidden] { display: none !important; }
.hub-acts[hidden] { display: none !important; }

/* 渠道月度阶梯奖励结算表:收款账户换行,不压住操作列(2026-11-24) */
.rbs-tbl td.rbs-acct { font-size: 12px; white-space: normal !important; word-break: break-all; min-width: 240px; max-width: 360px; line-height: 1.55; color: #33464f; }
.rbs-tbl td.rbs-act { white-space: nowrap; }
.rbs-tbl td.rbs-act > span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ===== 渠道经营看板(B2B业务) ===== */
.cho { display: grid; gap: 14px; min-width: 0; }
.cho .mut { color: #7d8c93; font-size: 12px; }
.cho .up { color: #1a7a43; font-weight: 700; }
.cho .down { color: #c0392b; font-weight: 700; }
.cho-sub { color: #7d8c93; font-size: 12px; }
.cho-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.cho-k { background: #fff; border: 1px solid #e3eaee; border-radius: 12px; padding: 11px 13px; min-width: 0; }
.cho-k small { color: #7d8c93; font-size: 11.5px; }
.cho-k b { display: block; font-size: 21px; margin-top: 3px; font-variant-numeric: tabular-nums; color: #1b2a30; }
.cho-k em { font-style: normal; font-size: 11.5px; color: #7d8c93; }
.cho-k.warn b { color: #b9631a; }
.cho-k.bad b { color: #c0392b; }
.cho-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 14px; }
.cho-side { display: grid; gap: 14px; align-content: start; }
.cho-card { background: #fff; border: 1px solid #e3eaee; border-radius: 14px; overflow: hidden; min-width: 0; }
.cho-ch { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid #eef2f4; flex-wrap: wrap; }
.cho-ch b { font-size: 14px; }
.cho-chips { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.cho-chip { padding: 4px 11px; border-radius: 999px; border: 1px solid #e3eaee; font-size: 12px; font-weight: 700; color: #4b5d66; background: #fff; cursor: pointer; }
.cho-chip.on { background: #0d8b96; border-color: #0d8b96; color: #fff; }
table.cho-tb { width: 100%; min-width: 0; border-collapse: collapse; }
.cho-tb th { font-size: 11.5px; color: #5d7380; text-align: left; font-weight: 700; padding: 8px 10px; background: #f7fafb; white-space: nowrap; }
.cho-tb td { padding: 7px 10px; border-top: 1px solid #f0f4f6; vertical-align: middle; font-variant-numeric: tabular-nums; font-size: 13px; }
.cho-tb td small { display: block; color: #9aa6ad; font-size: 11px; margin-top: 2px; }
.cho-tb td small.bad { color: #c0392b; font-weight: 700; }
.cho-tb td small.warn { color: #b9631a; font-weight: 700; }
.cho-tb .num { text-align: right; }
.cho-tb .rk { color: #9aa6ad; font-weight: 800; width: 26px; }
.cho-name { font-weight: 700; color: #1b2a30; text-decoration: none; }
.cho-name:hover { color: #0b6f78; text-decoration: underline; }
.cho-tier { font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.cho-tier.key { background: #fde8d4; color: #a4520c; }
.cho-tier.grow { background: #e1f3e9; color: #1a7a43; }
.cho-tier.norm { background: #eef2f5; color: #5d6d75; }
.cho-tier.sleep { background: #ecebf8; color: #5b55a8; }
.cho-tier.zero { background: #fbe6e5; color: #a32d2d; }
.cho-pay { display: flex; align-items: center; gap: 6px; }
.cho-bar { width: 70px; height: 6px; border-radius: 3px; background: #eef2f4; overflow: hidden; }
.cho-bar i { display: block; height: 100%; background: #0d8b96; }
.cho-chart { width: 100%; height: auto; display: block; }
.cho-ax { font-size: 11px; fill: #7d8c93; }
.cho-lg { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 0 14px 12px; font-size: 11.5px; color: #4b5d66; }
.cho-lg i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 4px; }
.cho-zl { padding: 4px 14px 10px; }
.cho-zr { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #eef2f4; font-size: 12.5px; }
.cho-zr small { color: #7d8c93; }
.cho-zr a { font-size: 11.5px; color: #0b6f78; font-weight: 700; white-space: nowrap; text-decoration: none; }
.cho-note { background: #f7fafb; border: 1px solid #e3eaee; border-radius: 12px; padding: 10px 14px; font-size: 12px; line-height: 1.8; color: #5d6d75; }
@media (max-width: 1200px) { .cho-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cho-grid { grid-template-columns: minmax(0, 1fr); } }
.cho-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cho-basis { margin-left: auto; display: inline-flex; border: 1px solid #d6e2e6; border-radius: 9px; overflow: hidden; background: #fff; }
.cho-basis button { border: 0; background: transparent; padding: 6px 13px; font-size: 12.5px; font-weight: 700; color: #4b5d66; cursor: pointer; }
.cho-basis button.on { background: #0d8b96; color: #fff; }
.cho-zr .cho-tp { font-size: 11.5px; color: #4b5d66; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cho-zr .cho-tpn { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.5; }

/* 本行程关联·改版(2026-11-26):对齐的表 + 顶/底合计 */
.om-rel2 { background: #fff; border-color: #d4e7ea; }
.om-rel2 > summary { background: #f4fbfd; border-bottom: 1px solid #e3eff1; flex-wrap: wrap; }
.om-rel2 .om-rel-sub { font-size: 12px; font-weight: 400; color: #7d8c93; }
.om-rel2 .om-rel-sum { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 400; color: #4b5d66; font-variant-numeric: tabular-nums; }
.om-rel2 .om-rel-sum b { font-size: 14px; font-weight: 800; color: #1b2a30; }
.om-rel2 .om-rel-paid { background: #fdf0dc; color: #9a5a08; font-weight: 800; border-radius: 999px; padding: 2px 9px; font-size: 11.5px; }
.om-rel2 > summary::after { margin-left: 10px; }
.om-rel-tw { overflow-x: auto; }
table.om-rel-tb { width: 100%; min-width: 0; border-collapse: collapse; }
.om-rel-tb th { font-size: 11.5px; color: #5d7380; text-align: left; font-weight: 700; padding: 7px 12px; background: #f9fbfc; white-space: nowrap; }
.om-rel-tb td { padding: 8px 12px; border-top: 1px solid #f0f4f6; vertical-align: middle; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.om-rel-tb .num { text-align: right; }
.om-rel-tb tr[data-om-child] { cursor: pointer; }
.om-rel-tb tr[data-om-child]:hover td { background: #f3fafb; }
.om-rel-tb tr.root td { background: #f6fbfb; }
.om-rel-tb tr.cur td:first-child { box-shadow: inset 3px 0 0 #0a6b78; }
.om-rel-tb .om-rel-item { max-width: 460px; }
.om-rel-tb .om-rel-item b { display: block; font-weight: 700; color: #1b2a30; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.om-rel-tb .om-rel-item small { display: block; font-size: 11px; color: #9aa6ad; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.om-rel-tb .om-rel-date { white-space: nowrap; color: #4b5d66; }
.om-rel-tb .om-rel-amt2 { white-space: nowrap; }
.om-rel-tb .om-rel-amt2 b { color: #1b2a30; }
.om-rel-tb .om-rel-amt2 .om-rel-calc { display: block; }
.om-rel-tb tr.inc .om-rel-orig { color: #9aa6ad; }
.om-rel-how { border: 1px solid #d6e2e6; background: #fff; color: #4b5d66; font-size: 11.5px; font-weight: 700; border-radius: 7px; padding: 2px 8px; cursor: pointer; white-space: nowrap; }
.om-rel-how:hover { border-color: #0a6b78; color: #0a6b78; }
.om-rel-how.inc { background: #f2f4f6; border-style: dashed; color: #5d6d75; }
.om-rel-mut { color: #9aa6ad; }
.om-rel-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 18px; padding: 9px 14px; background: #fafcfc; border-top: 1px solid #eef2f4; font-size: 12.5px; color: #4b5d66; font-variant-numeric: tabular-nums; }
.om-rel-foot b { font-size: 14px; color: #1b2a30; }
.om-rel-foot b.owe { color: #b9631a; }
/* 渠道账号·进入渠道端(只读查看) */
.row-actions .viewas-btn { background: #0d8b96; border-color: #0d8b96; color: #fff; font-weight: 700; white-space: nowrap; }
.row-actions .viewas-btn:hover { background: #0b7680; }
/* 老板「一键进入」员工后台:顶部只读黄条 */
#staffViewBar { position: sticky; top: 0; z-index: 3000; 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; }
#staffViewBar b { color: #3d2c00; }
#staffViewBar 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; }
.link-btn.staff-viewas, .link-btn.sa-viewas { color: #0b6f78; font-weight: 800; }
body.staffview-on .sidebar { top: 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; }

.myoc-row:hover { background: #f2f9fa; }

.ful-bkby { font-size: 11px; color: #8593a4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ful-stline { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; white-space: nowrap; }
div.ful-bkby { margin-top: 3px; }

/* 司导住补:行本身和包车同级;「谁订司导房」开关弱化成小字 */
.ful-gtogw { margin-top: 3px; }
.ful-gtog { display: inline-flex; gap: 2px; border: 0; vertical-align: middle; }
.ful-gtog button { border: 0; background: none; color: #a7b1bb; font-size: 11px; padding: 0 6px 0 0; cursor: pointer; font-family: inherit; }
.ful-gtog button + button { border-left: 1px solid #e3eaec; padding-left: 6px; }
.ful-gtog button:hover { color: #0a6b78; }
.ful-gtog button.on { color: #5a6b72; font-weight: 600; cursor: default; }

/* ===== 团期日历配色(2026-11-27):浅底深字 + 左侧 4px 色条 —— 不压抑、字清楚 ===== */
.pt-cbar, .pt-split .pts-car { background: #efedfb; color: #3f3585; box-shadow: inset 4px 0 0 #8b82c4, inset 0 0 0 1px #ddd8f6; font-weight: 600; }
.pt-cbar.v5 { background: #e8f1fb; color: #1b4a80; box-shadow: inset 4px 0 0 #5a86b8, inset 0 0 0 1px #cfe0f4; }
.pt-cbar.v9 { background: #fdf1e1; color: #7f4b06; box-shadow: inset 4px 0 0 #e0a052, inset 0 0 0 1px #f3dcb8; }
.pt-cbar.v5.full { box-shadow: inset 4px 0 0 #5a86b8, inset 0 0 0 1.5px #1b4a80; }
.pt-cbar.v9.full { box-shadow: inset 4px 0 0 #e0a052, inset 0 0 0 1.5px #7f4b06; }
.pt-cbar:hover, .pt-split .pts-car:hover { filter: brightness(.97); }
.pt-cbar-t .pt-seat { background: rgba(0, 0, 0, .06); color: inherit; font-weight: 600; }
.pt-cbar-t .pt-seat.ok { color: inherit; }
.pt-cbar-t .pt-seat.few { background: rgba(224, 160, 82, .32); color: #7f4b06; }
.pt-cbar-t .pt-seat.full { background: rgba(0, 0, 0, .05); color: inherit; opacity: .6; }
.pt-cbar-t .pt-recv, .pt-cbar-t .pt-line { color: inherit; opacity: .8; }
.pt-cbar-t .pt-src { display: inline; margin-left: 14px; padding: 0; background: none; border: 0; border-radius: 0; font-weight: 400; font-size: 11px; color: inherit; opacity: .72; }
.pt-cbar-t .pt-who { display: inline; margin-left: 8px; padding: 0 0 0 7px; background: none; border: 0; border-left: 1px solid rgba(0, 0, 0, .18); border-radius: 0; font-weight: 700; font-size: 11px; color: inherit; }
.pt-cbar-t .pt-who.nosep { border-left: 0; padding-left: 0; margin-left: 6px; }
.pt-colornote .pcn-i.v5 { background: #e8f1fb; box-shadow: inset 4px 0 0 #5a86b8, inset 0 0 0 1px #cfe0f4; }
.pt-colornote .pcn-i.v9 { background: #fdf1e1; box-shadow: inset 4px 0 0 #e0a052, inset 0 0 0 1px #f3dcb8; }
.pt-colornote .pcn-i.full { background: #e8f1fb; box-shadow: inset 4px 0 0 #5a86b8, inset 0 0 0 1.5px #1b4a80; }

/* 管家名:不要图标、不加粗,浅色底小胶囊区分(司导仍是 🧑‍✈️ 加粗) */
.pt-cbar-t .pt-who.pt-bt, .pt-cbar-t .pt-who.pt-bt.nosep { font-weight: 400; background: rgba(0, 0, 0, .06); border-left: 0; padding: 0 8px; margin-left: 8px; border-radius: 999px; }
/* 操作包·用车:推送前 OP 核对 */
.ful-tbl td .ful-btn + .ful-btn { margin-left: 4px; }
.ful-btn.del { border-color: #f1c4c0; background: #fff; color: #c0392b; }
.ful-btn.go { border-color: #cfe0f4; background: #fff; color: #2459b0; }
.ful-flag { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: #b42318; background: #fdecea; border: 1px solid #f3c2bd; border-radius: 6px; padding: 1px 7px; line-height: 1.5; }
.ful-tbl tr.ful-bad td { background: #fffaf9; }
.ful-review { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff8e6; border-bottom: 1px solid #f0d699; color: #7a4f06; font-size: 12.5px; line-height: 1.6; }
.ful-review.ok { background: #f2faf6; border-bottom-color: #cfe9dc; color: #2c6b4f; }
.ful-review b { font-weight: 700; }
.ful-rv-btn { flex: none; border: 0; background: #0a6b78; color: #fff; border-radius: 8px; padding: 6px 14px; font-weight: 700; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.ful-rv-btn:hover { background: #085a65; }
.ful-rv-done { flex: none; font-weight: 700; white-space: nowrap; }
.ful-tr-hint { grid-column: 1 / -1; background: #e8f0fd; color: #2459b0; border-radius: 8px; padding: 7px 10px; font-size: 12px; }
.ful-flag { white-space: normal; max-width: 100%; box-sizing: border-box; }
.ful-sec-h button.primary:disabled { background: #c9d6da; border-color: #c9d6da; color: #fff; cursor: not-allowed; box-shadow: none; }

/* 填好的格子带浅绿底(全站弹窗/表单·fill-mark.js 打 .fx-filled):有内容=已填好;空着=白底待填 */
input.fx-filled, select.fx-filled, textarea.fx-filled {
  background-color: #e9f6ef !important;
  border-color: #bfe3cd !important;
}
input.fx-filled:focus, select.fx-filled:focus, textarea.fx-filled:focus { border-color: #5fbf8c !important; }

/* 订单详情:页签行(费用核价/收款对账/行程明细…)往下滚时吸顶固定。外层 .panel 原本 overflow:hidden 会让 sticky 失效 → 改 clip(照样裁圆角,但不挡吸顶) */
#orderManagePage > .panel { overflow: clip; }
/* 页签行·方案A′:浅灰底条 + 当前页签白色凸起·青字·底部青线(深青实心留给内容里的重点,不跟「报价明细」撞色);去掉图标·只留文字和状态小标签 */
#orderManageBody .om-tabs { position: sticky; top: 0; z-index: 30; gap: 3px; padding: 4px; margin-bottom: 14px; background: #eef1f4; border: 1px solid #e0e5ea; border-radius: 12px; box-shadow: 0 0 0 6px #fff; }
#orderManageBody .om-tabs button { padding: 8px 15px; font-size: 14px; font-weight: 600; color: #4a5a66; border: 0; border-radius: 9px; display: inline-flex; align-items: center; gap: 4px; transition: background .12s; }
#orderManageBody .om-tabs button:hover { background: #f8fafb; color: #0a6b78; }
#orderManageBody .om-tabs button.active { background: #fff; color: #0a6b78; font-weight: 800; box-shadow: 0 1px 4px rgba(16, 42, 67, 0.16), inset 0 -2.5px 0 #0a6b78; }
#orderManageBody .om-tabs .om-tabbadge { font-weight: 700; font-size: 11px; border-radius: 6px; padding: 1px 6px; }

/* 行前交付复核·按天交付:一天一行(左 Day+日期 · 中 行程+住宿+参考航班+谁录 · 右 附件) */
.omd-rows { border: 1px solid #e6edf0; border-radius: 12px; overflow: hidden; }
.omd-row { display: grid; grid-template-columns: 118px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 9px 14px; border-top: 1px solid #eef2f4; }
.omd-row:first-child { border-top: 0; }
.omd-row:nth-child(even) { background: #fafcfc; }
.omd-row-d { display: inline-flex; gap: 6px; align-items: baseline; font-weight: 800; color: #0a6b78; font-size: 12.5px; white-space: nowrap; }
.omd-row-d i { font-style: normal; font-weight: 600; color: #5a6b72; }
.omd-row-t { font-size: 13px; line-height: 1.6; color: #1f2f36; min-width: 0; }
.omd-row-t .omd-daynote { color: #c25a17; font-size: 12px; margin: 0 0 0 10px; white-space: nowrap; }
.omd-who { color: #98a5b0; font-size: 11.5px; margin-left: 10px; white-space: nowrap; }
.omd-row-a { justify-self: end; max-width: 440px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.omd-row-a .omd-file { padding: 2px 8px; border-color: #cfe0f4; background: #f3f8fe; color: #2459b0; border-radius: 6px; white-space: nowrap; display: inline-flex; align-items: baseline; gap: 6px; }
.omd-row-a .omd-file small { color: #8a9ab0; font-size: 10.5px; }
.omd-row-a .omd-miss { background: #fdf0ee; border: 1px solid #f6d3ce; border-radius: 6px; padding: 1px 8px; white-space: nowrap; }
.omd-dlall { border: 0; background: none; color: #0a6b78; font-weight: 600; font-size: 12px; cursor: pointer; padding: 2px 4px; }
.omd-dlall:hover { text-decoration: underline; }
/* 接送机人工闸门:没可疑项也要核对(蓝) / 核对后渠道有变更(红) */
.ful-review.info { background: #eef5ff; border-bottom-color: #cfe0f4; color: #1f4fb8; }
.ful-review.stale { background: #fdf1ef; border-bottom-color: #f3c2bd; color: #9b2c1f; }
/* 接送机调度:待操作包核对 */
.td-gate { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 7px; padding: 2px 8px; background: #fff4d6; color: #9a6b00; border: 1px dashed #e8c766; white-space: nowrap; }
.td-gate-go { border: 1px solid #cfe0f4; background: #fff; color: #2459b0; border-radius: 7px; padding: 4px 10px; font-weight: 700; font-size: 12px; cursor: pointer; white-space: nowrap; }
tr.td-gated td, .td-gated { background: #fffdf6; }

/* 渠道经营看板·区域销售占比 + 各区域业务构成(2026-11-29) */
.cho-seg { margin-left: auto; display: inline-flex; background: #f1f5f8; border-radius: 8px; padding: 2px; }
.cho-seg button { border: 0; background: transparent; padding: 3px 10px; border-radius: 6px; font-size: 11.5px; color: #5d6b7a; cursor: pointer; font-weight: 600; }
.cho-seg button.on { background: #0d8b96; color: #fff; }
.cho-rb { padding: 10px 14px 12px; }
.cho-rtop { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.cho-rtop svg { flex: none; }
.cho-dk1 { font-size: 10.5px; fill: #8593a4; }
.cho-dk2 { font-size: 14px; font-weight: 800; fill: #1b2a30; }
.cho-rlead { font-size: 12px; line-height: 1.75; color: #5d6b7a; }
.cho-rlead b { color: #1b2a30; }
.cho-rlead .up, .cho-rg .up { color: #14804a; } .cho-rlead .down, .cho-rg .down { color: #c0392b; }
.cho-rg { display: grid; grid-template-columns: 70px minmax(0, 1fr) 58px 42px; align-items: center; gap: 6px; padding: 6px 0; border-top: 1px solid #f0f4f6; font-size: 12.5px; }
.cho-rg .nm { display: flex; align-items: center; gap: 5px; font-weight: 600; white-space: nowrap; }
.cho-rg .nm i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.cho-rg .bar { height: 6px; background: #eef3f6; border-radius: 4px; overflow: hidden; }
.cho-rg .bar i { display: block; height: 100%; border-radius: 4px; }
.cho-rg .amt { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.cho-rg .pct { text-align: right; color: #5d6b7a; font-variant-numeric: tabular-nums; }
.cho-rg .sub { grid-column: 1 / -1; font-size: 11px; color: #8593a4; margin-top: -3px; padding-left: 13px; }
.cho-rg.unk { color: #8593a4; } .cho-rg.unk .nm { font-weight: 500; }
.cho-rtip { margin-top: 8px; font-size: 11.5px; background: #fff8ec; border: 1px solid #f3dfb8; color: #8a6116; border-radius: 8px; padding: 6px 9px; line-height: 1.6; }
.cho-rtip a { color: #0b6f78; font-weight: 700; text-decoration: none; }
.cho-mlg { display: flex; gap: 12px; font-size: 11.5px; color: #5d6b7a; margin-bottom: 6px; }
.cho-mlg i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.cho-mx { padding: 8px 0; border-top: 1px solid #f0f4f6; }
.cho-mx.all { background: #f7fafb; border-radius: 8px; padding: 8px; border-top: 0; margin-bottom: 2px; }
.cho-mx.unk { opacity: .7; }
.cho-mx .mh { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; }
.cho-mx .mh span { color: #8593a4; font-variant-numeric: tabular-nums; }
.cho-mx .st { display: flex; height: 14px; border-radius: 5px; overflow: hidden; background: #eef3f6; }
.cho-mx .st i { display: block; height: 100%; }
.cho-mx .nums { display: flex; flex-wrap: wrap; gap: 4px 9px; font-size: 11px; color: #5d6b7a; margin-top: 4px; font-variant-numeric: tabular-nums; }
.cho-mx .nums em { font-style: normal; font-weight: 700; color: #1b2a30; }
.cho-mins { margin-top: 8px; font-size: 11.5px; line-height: 1.7; color: #5d6b7a; background: #f4fbfb; border-radius: 8px; padding: 6px 9px; }
.cho-mins b { color: #0b6f78; }
.cho-unl table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 12.5px; }
.cho-unl th { text-align: left; font-size: 11.5px; color: #5d7380; padding: 6px 8px; background: #f7fafb; }
.cho-unl td { padding: 6px 8px; border-top: 1px solid #f0f4f6; vertical-align: middle; }
.cho-unl td small { display: block; color: #8593a4; font-size: 11px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cho-unl .num { text-align: right; font-variant-numeric: tabular-nums; }
.cho-unl select { padding: 4px 6px; font-size: 12.5px; }
.cho-unl a { color: #0b6f78; font-weight: 700; text-decoration: none; }
/* 后台改合同 */
.ac-edit{margin-left:auto;height:30px;padding:0 12px;border-radius:8px;border:1px solid #9fd6d2;background:#e6f5f4;color:#0a6b78;font-size:12.5px;font-weight:700;cursor:pointer}
.ac-edit:hover{background:#d6efed}
.ac-elog{padding:7px 18px;font-size:11.5px;color:#7a6a3a;background:#fffaf0;border-bottom:1px solid #f3ead6}
.ac-ef{flex:1;overflow:auto;padding:4px 18px 12px}
.ac-ef-tip{margin-top:12px;padding:9px 12px;border-radius:9px;background:#f4f8fa;font-size:12px;color:#5a6b72;line-height:1.6}
.ac-ef-warn{margin-top:10px;padding:9px 12px;border-radius:9px;background:#fff7ea;border:1px solid #f0d9b0;font-size:12px;color:#8a5a12;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ac-ef-warn button{margin-left:auto;height:28px;padding:0 11px;border-radius:7px;border:1px solid #e8c88f;background:#fff;color:#8a5a12;font-size:12px;cursor:pointer}
.ac-ef-l{display:block;font-size:12px;color:#6b7280;margin:12px 0 5px;font-weight:600}
.ac-ef textarea,.ac-ef input{width:100%;box-sizing:border-box;border:1px solid #d9e1e6;border-radius:9px;padding:8px 11px;font-size:13px;line-height:1.6;font-family:inherit;color:#1c2b33;resize:vertical}
.ac-ef input{height:38px}
.ac-ef-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ac-ef-row>div{min-width:0}
.ac-ef-err{color:#c0392b;font-size:12.5px;margin-top:10px}
@media (max-width:640px){.ac-ef-row{grid-template-columns:1fr}}
.ac-seg{display:inline-flex;border:1px solid #cfe3e1;border-radius:9px;overflow:hidden}
.ac-seg button{border:0;background:#fff;padding:7px 16px;font-size:13px;color:#44515d;cursor:pointer;font-family:inherit}
.ac-seg button.on{background:#0d8b96;color:#fff;font-weight:700}
.ac-ef-l .ac-ef-tag{font-size:10.5px;padding:1px 7px;border-radius:8px;background:#fff1dc;color:#a8620c;font-weight:700;margin-left:6px}
.ac-ef-l .ac-ef-reset{float:right;font-size:11.5px;color:#0a6b78;font-weight:400;text-decoration:none}
.ac-ef-hint{font-size:11.5px;color:#8a97a0;margin-top:6px;line-height:1.6}

/* 收款对账·一起收款逐单金额弹窗(2026-12-03) */
.bp-ov { position: fixed; inset: 0; z-index: 9000; background: rgba(15, 30, 40, .38); display: flex; align-items: center; justify-content: center; padding: 16px; }
.bp-card { background: #fff; border-radius: 14px; width: min(620px, 100%); max-height: 86vh; display: flex; flex-direction: column; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
.bp-h { padding: 16px 20px 10px; display: flex; flex-direction: column; gap: 4px; }
.bp-h b { font-size: 16px; color: #1a2233; }
.bp-h .muted { font-size: 12.5px; }
.bp-list { overflow: auto; padding: 0 20px; display: flex; flex-direction: column; gap: 6px; }
.bp-row { display: flex; align-items: center; gap: 12px; border: 1px solid #e6edf0; border-radius: 10px; padding: 9px 12px; }
.bp-nm { flex: 1; min-width: 0; font-size: 13px; color: #1a2233; }
.bp-nm small { display: block; font-size: 11.5px; color: #8593a4; margin-top: 2px; }
.bp-amt { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 13px; color: #5c6f77; }
.bp-amt input { width: 120px; text-align: right; font-variant-numeric: tabular-nums; }
.bp-fill { display: flex; gap: 14px; justify-content: flex-end; padding: 8px 20px 0; font-size: 12px; }
.bp-fill a { color: #0a6b78; }
.bp-err { margin: 8px 20px 0; color: #c0392b; font-size: 12.5px; }
.bp-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px 16px; border-top: 1px solid #eef2f4; margin-top: 10px; font-size: 13px; }
.bp-f b { font-size: 15px; color: #0b7355; font-variant-numeric: tabular-nums; }
.bp-warn { color: #b9791a; }

/* 收款流水·待核对标识 + 核对备注(2026-12-03) */
.rcl-rec.rcl-pend { font-weight: 700; color: #b9791a; background: #fff4df; border: 1px solid #f0d8a8; white-space: nowrap; cursor: pointer; }
.rcl-rec.rcl-pend:hover { background: #ffe9c2; }
.rcl-rcnote { display: inline-block; max-width: 220px; color: #5c6f77; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.rcs-note { width: 100%; box-sizing: border-box; border: 1px solid #d7dde7; border-radius: 9px; padding: 8px 10px; font: inherit; font-size: 13px; resize: vertical; min-height: 56px; }

/* 核对到账弹窗:「一个账户/分多个账户」和到账账户下拉放同一行(2026-12-03) */
.rcs-top { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.rcs-top .rcs-seg { margin-bottom: 0; height: 38px; box-sizing: border-box; }
.rcs-topl { flex: none; }
.rcs-topr { flex: 1; min-width: 220px; }

/* 收款流水·付款方 + 渠道档案·对公打款账户(2026-12-03) */
.rcl-payer { font-size: 11.5px; color: #3d5560; background: #f1f7f8; border-radius: 6px; padding: 3px 7px; margin-top: 4px; display: inline-block; line-height: 1.5; }
.rcl-payer-sub { color: #7d8c93; font-variant-numeric: tabular-nums; }
.rcs-payer { margin: -2px 0 12px; }
.cp-payer-list { display: flex; flex-direction: column; gap: 6px; }
.cp-payer-row { display: flex; align-items: center; gap: 12px; border: 1px solid #e6edf0; border-radius: 10px; padding: 8px 12px; flex-wrap: wrap; }
.cp-payer-main { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; font-size: 13px; }
.cp-payer-bank { color: #5c6f77; font-size: 12.5px; }
.cp-payer-used { font-size: 11.5px; color: #8593a4; white-space: nowrap; }

/* B2C 销售兼接渠道单:后台顶部「回营销端」提示条 + 销售端账号「兼OP」徽章(2026-12-04) */
.sales-op-bar { position: sticky; top: 0; z-index: 3000; display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 7px 16px; background: #eaf3fd; border-bottom: 1.5px solid #a9c8ec; color: #24507f; font-size: 13px; }
.sales-op-bar b { color: #173a61; }
.sales-op-bar a { margin-left: auto; flex: none; background: #0e7f86; color: #fff; font-weight: 800; font-size: 12.5px; border-radius: 8px; padding: 5px 14px; text-decoration: none; }
.sa-role.sa-role-op { background: #e8f1fb; color: #2a62a8; }
