*{margin:0;padding:0;box-sizing:border-box;}
@font-face {
  font-family: 'HarmonyOS Sans SC';
  src: local('HarmonyOS Sans SC'), local('HarmonyOS Sans');
  font-weight: 100 900;
}

:root{
  --font:'HarmonyOS Sans SC','Noto Sans SC',-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
  --text:#111827;--text2:#6b7280;--text3:#9ca3af;
  --border:#e5e7eb;--bg:#f0f1f8;--white:#f4f5fc;
  --blue:#3b82f6;--blue-l:#eff6ff;
  --sidebar:220px;
  --topbar:130px;    /* ← 修改这里调整顶栏高度 */
  --filterbar:58px; /* ← 修改这里调整筛选栏高度 */
  --max-w:1720px;   /* ← 修改这里调整整体最大宽度 */
}
html,body{height:100%;overflow:hidden;font-family:var(--font);background:#1a1a2e;}body{padding:36px;box-sizing:border-box;background:#1a1a2e url('/bg/beijngtu1.jfif?v=5') no-repeat center center;background-size:cover;}
/* ===== 专注模式：低饱和深灰蓝背景，阅读优先 ===== */
html:not(.theme-soft):not(.theme-dark){
  --text:#1f2937;
  --text2:#4b5563;
  --text3:#6b7280;
  --border:#d8dee6;
  --bg:rgba(255,255,255,0.94);
  --white:rgba(255,255,255,0.96);
  --blue:#334155;
  --blue-l:rgba(226,232,240,0.72);
}
html.auth-has-session:not(.theme-soft):not(.theme-dark) body{
  background:#eef2f7 url('/bg/beijngtu1.jfif?v=5') no-repeat center center;
  background-size:cover;
}
html:not(.theme-soft):not(.theme-dark) .app-wrap{
  background:rgba(255,255,255,0.95);
  border:1px solid var(--border);
  box-shadow:0 22px 56px rgba(11,21,35,0.22);
  z-index:1;
}
html:not(.theme-soft):not(.theme-dark) .sidebar,
html:not(.theme-soft):not(.theme-dark) .topbar,
html:not(.theme-soft):not(.theme-dark) .filterbar,
html:not(.theme-soft):not(.theme-dark) .table-area,
html:not(.theme-soft):not(.theme-dark) .table-area > .inner,
html:not(.theme-soft):not(.theme-dark) .sb-bottom{
  background:rgba(255,255,255,0.93) !important;
  border-color:var(--border) !important;
  box-shadow:none;
}
html:not(.theme-soft):not(.theme-dark) .nav-item:hover,
html:not(.theme-soft):not(.theme-dark) .nav-item.active,
html:not(.theme-soft):not(.theme-dark) .sb-user:hover,
html:not(.theme-soft):not(.theme-dark) .t-icon:hover,
html:not(.theme-soft):not(.theme-dark) .f-reset:hover{
  background:rgba(0,0,0,0.13) !important;
}
html:not(.theme-soft):not(.theme-dark) .t-icon,
html:not(.theme-soft):not(.theme-dark) .f-sel,
html:not(.theme-soft):not(.theme-dark) .f-reset,
html:not(.theme-soft):not(.theme-dark) #search-pool{
  background:rgba(255,255,255,0.96);
  border-color:var(--border);
}
html:not(.theme-soft):not(.theme-dark) .app-wrap input:not(.login-box input):not(.register-box input),
html:not(.theme-soft):not(.theme-dark) .app-wrap select:not(.fo-stage-pill-select),
html:not(.theme-soft):not(.theme-dark) .app-wrap textarea{
  background:rgba(255,255,255,0.96);
  border-color:var(--border);
}
html:not(.theme-soft):not(.theme-dark) .app-wrap table,
html:not(.theme-soft):not(.theme-dark) .app-wrap th,
html:not(.theme-soft):not(.theme-dark) .app-wrap td{
  border-color:#e5e7eb !important;
  color:#111827 !important;
}
html:not(.theme-soft):not(.theme-dark) #order-table thead th,
html:not(.theme-soft):not(.theme-dark) #followup-list-tbl thead th,
html:not(.theme-soft):not(.theme-dark) #sample-table thead th,
html:not(.theme-soft):not(.theme-dark) #fo-table thead th,
html:not(.theme-soft):not(.theme-dark) thead th{
  background:#fafafa !important;
  color:#111827 !important;
  border-bottom-color:#e5e7eb !important;
}
html:not(.theme-soft):not(.theme-dark) #order-table tbody tr,
html:not(.theme-soft):not(.theme-dark) #sample-table tbody tr,
html:not(.theme-soft):not(.theme-dark) #followup-list-tbl tbody tr,
html:not(.theme-soft):not(.theme-dark) #fo-table tbody tr,
html:not(.theme-soft):not(.theme-dark) tbody tr{
  border-bottom-color:#e5e7eb !important;
}
html:not(.theme-soft):not(.theme-dark) #order-table tbody tr:hover,
html:not(.theme-soft):not(.theme-dark) #sample-table tbody tr:hover,
html:not(.theme-soft):not(.theme-dark) #followup-list-tbl tbody tr:hover,
html:not(.theme-soft):not(.theme-dark) #fo-table tbody tr:hover,
html:not(.theme-soft):not(.theme-dark) #tbl-shares tbody tr:hover,
html:not(.theme-soft):not(.theme-dark) tbody tr:hover{
  background:#e5e7eb !important;
}

/* 电话重复闪烁动画 */
@keyframes phone-dup-blink {
  0%,100% { background:transparent; }
  50% { background:#fef2f2; }
}
.phone-dup {
  animation: phone-dup-blink 1.5s ease-in-out infinite;
  color: #dc2626 !important;
  font-weight: 600 !important;
  cursor: help;
  position: relative;
}
.phone-dup-badge {
  display:inline-flex;align-items:center;gap:3px;
  font-size:10px;color:#dc2626;font-weight:600;
  background:#fef2f2;border:1px solid #fecaca;border-radius:4px;
  padding:1px 5px;margin-left:4px;white-space:nowrap;
  vertical-align:middle;
}

/* 整体居中包裹 */
.app-wrap{
  max-width:var(--max-w);
  margin:0 auto;
  height:calc(100vh - 72px);
  position:relative;
  background:var(--white);
  box-shadow:0 4px 32px rgba(0,0,0,0.10);
  border-radius:20px;
  overflow:hidden;
  border-left:none;
  border-right:none;
}

/* 侧边栏 — 相对于 app-wrap 定位 */
.sidebar{
  position:absolute;left:0;top:0;bottom:0;width:var(--sidebar);
  background:var(--white);border-right:1px solid var(--border);
  display:flex;flex-direction:column;z-index:10;
  user-select:none;-webkit-user-select:none;
}
.sb-logo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:0 16px;height:var(--topbar);border-bottom:1px solid var(--border);flex-shrink:0;}
.sb-logo-icon{width:32px;height:32px;border-radius:8px;background:#111827;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.sb-logo-icon img{width:100%;height:100%;object-fit:contain;display:block;transform:scale(1.22);filter:drop-shadow(0 20px 38px rgba(124,58,237,0.18));}
.sb-logo-icon svg{width:18px;height:18px;}
.sb-logo-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;}
.sb-logo-fallback svg{width:18px;height:18px;}
.sb-logo-name{font-size:14px;font-weight:700;color:var(--text);}
.app-version-badge{
  display:inline-flex;
  align-items:center;
  height:16px;
  padding:0 6px;
  border-radius:999px;
  background:#f3f4f6;
  color:#6b7280;
  font-size:10px;
  font-weight:700;
  letter-spacing:0;
  white-space:nowrap;
}
.sb-div{height:1px;background:var(--border);}
.sb-nav{padding:8px 10px;flex:1;overflow-y:auto;}
.nav-section{font-size:11px;font-weight:700;color:#9ca3af;letter-spacing:0.08em;text-transform:uppercase;padding:14px 12px 6px;}
.nav-item{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:9999px;font-size:15px;font-weight:400;color:var(--text);cursor:pointer;transition:all .15s;margin-bottom:2px;user-select:none;-webkit-user-select:none;}
.nav-item:hover{background:rgba(0,0,0,0.13);}
.nav-item.active{background:rgba(0,0,0,0.13);font-weight:700;}
.nav-item.is-disabled{
  opacity:.45;
  cursor:not-allowed;
  pointer-events:none;
}
.nav-item.is-disabled:hover{
  background:transparent;
}
.nav-icon{width:18px;height:18px;flex-shrink:0;display:flex;align-items:center;justify-content:center;}
.nav-icon svg{width:16px;height:16px;}
.nav-badge{margin-left:auto;background:var(--text3);color:white;font-size:11px;font-weight:600;padding:1px 7px;border-radius:10px;}
.sb-div2{height:1px;background:var(--border);margin:6px 0;}
.mode-toggle{
  display:flex;
  padding:0;
  margin:6px 0 0;
}
.mode-toggle__btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  font-size:15px;
  font-weight:400;
  padding:8px 12px;
  border-radius:9999px;
  border:1px solid var(--border);
  background:transparent;
  color:var(--text);
  cursor:pointer;
  transition:all 0.15s ease;
  user-select:none;
  outline:none;
  font-family:inherit;
  white-space:nowrap;
}
.mode-toggle__btn:hover{
  background:rgba(0,0,0,0.06);
}
.mode-toggle__btn.active{
  background:transparent;
  border-color:var(--border);
  color:var(--text);
}
.mode-toggle__btn:active{
  background:rgba(0,0,0,0.13);
}
.mode-toggle__btn svg{
  width:16px;
  height:16px;
  flex-shrink:0;
}
.mode-toggle__hint{
  margin-left:auto;
  font-size:10px;
  color:#9ca3af;
  font-weight:500;
  letter-spacing:0;
}
.mode-toggle__btn:hover .mode-toggle__hint{
  color:#6b7280;
}
.ocean-nav-badge{display:none;margin-left:auto;min-width:18px;height:18px;padding:0 6px;border-radius:999px;background:#16a34a;color:#fff;font-size:11px;font-weight:800;line-height:1;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(22,163,74,.22);}
.ocean-refresh-notice{display:none;align-items:center;height:26px;padding:0 10px;border:1px solid #bbf7d0;border-radius:999px;background:#f0fdf4;color:#15803d;font-size:12px;font-weight:800;line-height:1;white-space:nowrap;cursor:pointer;font-family:var(--font);transition:all .15s;}
.ocean-refresh-notice:hover{background:#dcfce7;border-color:#86efac;color:#166534;}
.academy-nav-badge{display:none;margin-left:auto;color:#16a34a;font-size:12px;font-weight:800;line-height:1;white-space:nowrap;}
.product-demand-nav-badge{display:none;margin-left:auto;color:#16a34a;font-size:12px;font-weight:800;line-height:1;white-space:nowrap;}
.shares-nav-item{gap:8px;}
.shares-nav-label{flex-shrink:0;white-space:nowrap;}
.shares-nav-badges{min-width:0;max-width:96px;margin-left:auto;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap;line-height:1;}
.shares-nav-status-badge{display:none;flex-shrink:0;align-items:center;justify-content:center;gap:1px;min-height:18px;padding:0 6px;border-radius:999px;color:#fff;font-size:11px;font-weight:800;line-height:1;white-space:nowrap;}
.shares-nav-status-badge-approved,.shares-nav-status-badge-good-feedback{background:#16a34a;box-shadow:0 4px 10px rgba(22,163,74,.22);}
.shares-nav-status-badge-offline{background:#d97706;box-shadow:0 4px 10px rgba(217,119,6,.20);}
.shares-nav-status-badge-rejected,.shares-nav-status-badge-bad-feedback{background:#dc2626;box-shadow:0 4px 10px rgba(220,38,38,.20);}
.shares-nav-badge-num{display:inline-block;min-width:7px;text-align:center;animation:sharesNoticeBlink 1.15s ease-in-out infinite;transform-origin:center;}
@keyframes sharesNoticeBlink{
  0%,100%{opacity:1;transform:scale(1);}
  50%{opacity:.35;transform:scale(1.14);}
}
.product-demand-notice-modal{display:none;position:fixed;inset:0;z-index:9999;background:rgba(17,24,39,.38);align-items:center;justify-content:center;padding:20px;}
.product-demand-notice-modal.show{display:flex;}
.product-demand-panel{width:min(900px,96vw);max-height:86vh;background:#fff;border-radius:14px;box-shadow:0 24px 70px rgba(15,23,42,.22);display:flex;flex-direction:column;overflow:hidden;}
.product-demand-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #e5e7eb;background:#fff;}
.product-demand-kicker{font-size:12px;font-weight:800;color:#16a34a;margin-bottom:2px;}
.product-demand-title{font-size:20px;font-weight:900;color:#111827;line-height:1.25;}
.product-demand-close{width:34px;height:34px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#6b7280;font-size:22px;line-height:1;cursor:pointer;}
.product-demand-close:hover{background:#f8fafc;color:#111827;}
.product-demand-body{padding:18px 22px 22px;overflow:auto;}
.product-demand-empty{padding:42px 20px;text-align:center;color:#9ca3af;font-size:14px;}
.product-demand-table-wrap{overflow:auto;border:1px solid #e5e7eb;border-radius:10px;}
.product-demand-table{width:100%;min-width:900px;border-collapse:collapse;table-layout:fixed;}
.product-demand-table th{position:static;height:40px;padding:0 10px;background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#374151;font-size:13px;font-weight:800;text-align:left;white-space:nowrap;}
.product-demand-table td{height:auto;padding:12px 10px;border-bottom:1px solid #eef2f7;color:#111827;font-size:13px;line-height:1.6;text-align:left;white-space:normal;word-break:break-word;overflow:visible;}
.product-demand-table tr:last-child td{border-bottom:none;}
.theme-dark .product-demand-panel,
.theme-dark .product-demand-head{background:#0f172a;border-color:#243041;}
.theme-dark .product-demand-title,
.theme-dark .product-demand-table td{color:#e5eefc;}
.theme-dark .product-demand-table-wrap,
.theme-dark .product-demand-close{border-color:#334155;}
.theme-dark .product-demand-close,
.theme-dark .product-demand-table th{background:#111827;color:#cbd5e1;}
.sb-bottom{padding:10px;border-top:1px solid var(--border);}
.sb-user{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;cursor:pointer;}
.sb-user:hover{background:var(--bg);}
.sb-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 4px 14px rgba(124,58,237,0.35);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;color:white;flex-shrink:0;}
.sb-uname{font-size:11.5px;font-weight:300;color:var(--text);line-height:1.4;}
.sb-uemail{font-size:11px;color:var(--text3);}
.sb-chev{margin-left:auto;color:var(--text3);}

/* 侧边栏底部用户卡片 */
.sb-card-row{display:flex;align-items:center;gap:10px;padding:8px 12px 4px;}
.sb-av-ring{
  width:40px;height:40px;border-radius:50%;flex-shrink:0;
  background:linear-gradient(135deg,#7c3aed,#6d28d9);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 3px 12px rgba(124,58,237,0.30);
}
.sb-av-inner{font-size:17px;font-weight:700;color:#fff;line-height:1;}
.sb-info{flex:1;min-width:0;}
.sb-info-name{font-size:12px;font-weight:500;color:#374151;line-height:1.4;white-space:normal;word-break:break-all;}
.sb-info-anon{font-size:11px;color:#374151;font-weight:500;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sb-rank-bar-wrap{padding:6px 12px 10px;}
.sb-rank-labels{font-size:11px;font-weight:600;color:#374151;margin-bottom:4px;text-align:center;}
.sb-rank-track{height:6px;background:#eeecf5;border-radius:3px;overflow:hidden;}
.sb-rank-fill{height:100%;border-radius:3px;background:linear-gradient(90deg,#7c3aed,#a78bfa);transition:width .6s ease;}

/* 顶栏 - 第一行 */
/* 内容居中容器 */
.inner{
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  height: 100%;
  gap: inherit;
  padding: inherit;
}
.topbar{
  position:absolute;left:var(--sidebar);right:0;top:0;height:var(--topbar);
  background:var(--white);border-bottom:1px solid var(--border);
  display:flex;align-items:center;
  padding:0;
  z-index:9;
}
.topbar .inner{ padding:0 48px; gap:16px; }
.topbar-demand-visual{
  display:none;position:absolute;left:50%;top:calc(50% + 20px);transform:translate(-50%,-50%);
  width:min(720px,53vw);height:auto;object-fit:contain;pointer-events:none;z-index:1;
}
html[data-current-page="demand"] .topbar-demand-visual,
html.auth-has-session[data-boot-page="demand"] .topbar-demand-visual{display:block;}
html[data-current-page="demand"] .topbar,
html.auth-has-session[data-boot-page="demand"] .topbar{height:260px;border-bottom:0 !important;background:#f4f5fc;overflow:hidden;}
.topbar-title{font-size:26px;font-weight:700;color:var(--text);}
.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:8px;position:relative;z-index:2;}
.t-icon{width:44px;height:44px;border-radius:8px;border:1px solid var(--border);background:var(--white);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text2);}
.t-icon:hover{background:var(--bg);}
.t-icon svg{width:18px;height:18px;}
.t-pri{display:flex;align-items:center;gap:6px;padding:12px 28px;border-radius:8px;color:white;border:none;font-size:14px;font-weight:600;cursor:pointer;font-family:var(--font);white-space:nowrap;}
.t-pri:hover{background:#6d28d9;}
.topbar-share-btn{
  width:176px;height:58px;padding:0 18px !important;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  line-height:1;text-align:center;font-weight:800;
}
.topbar-share-btn span{font-size:15px;line-height:1;color:#fff;}
.topbar-share-btn small{display:block;font-size:11px;line-height:1;color:rgba(255,255,255,.86);font-weight:650;}
@media (max-width: 1180px){
  .topbar-share-btn{width:148px;height:50px;}
  .topbar-share-btn small{display:none;}
}

/* 筛选栏 */
.filterbar{
  position:absolute;left:var(--sidebar);right:0;top:var(--topbar);height:var(--filterbar);
  background:var(--white);border-bottom:1px solid var(--border);
  display:flex;align-items:center;
  padding:0;
  z-index:9;
}
.filterbar .inner{ padding:0 20px 0 28px; gap:12px; min-width:0; }
.filterbar-title{display:flex;align-items:center;gap:6px;flex:0 0 auto;min-width:118px;white-space:nowrap;}
.filterbar-controls{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;flex:1 1 auto;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;}
.filterbar-controls::-webkit-scrollbar{display:none;}
.filterbar-title #page-title-sub{font-size:23px;font-weight:700;color:var(--text);white-space:nowrap;}
.filterbar-title #title-count-sub{font-size:16px;font-weight:700;color:#111827;margin-left:6px;white-space:nowrap;flex-shrink:0;}
.filterbar-title #private-tip{display:none;font-size:14px;color:#9ca3af;margin-left:10px;font-weight:400;white-space:nowrap;}
.filterbar-search-wrap{position:relative;display:flex;align-items:center;flex:0 1 176px;width:176px;min-width:132px;max-width:188px;height:36px;}
.filterbar-search{width:100%;height:36px;min-width:0;padding:6px 10px;border:1px solid var(--border);border-radius:7px;font-size:13px;font-family:var(--font);outline:none;color:var(--text);box-sizing:border-box;}
.filterbar-search:focus{border-color:var(--blue);box-shadow:0 0 0 2px rgba(37,99,235,0.08);}
.f-sel{flex:0 0 auto;min-width:0;padding:6px 22px 6px 10px;border:1px solid var(--border);border-radius:6px;background:white;font-size:13px;color:var(--text);font-family:var(--font);cursor:pointer;outline:none;height:36px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#sel-ind{width:132px;max-width:132px;}
#sel-customer-type{width:170px;min-width:170px;max-width:none;}
#sel-province{width:132px;max-width:132px;}
#sel-source{width:112px;max-width:112px;}
#sel-q{width:176px;min-width:176px;max-width:none;}
#sel-s{width:120px;max-width:120px;}
.f-sel:focus{border-color:var(--blue);}
.f-reset{display:inline-flex;align-items:center;justify-content:center;gap:0;width:38px;min-width:38px;padding:0;height:36px;border-radius:6px;border:1px solid var(--border);background:white;font-size:0;font-weight:500;color:var(--text2);cursor:pointer;font-family:var(--font);}
.f-reset:hover{background:var(--bg);}
.f-reset svg{width:14px;height:14px;}
.f-count{margin-left:auto;font-size:12.5px;color:var(--text3);}
.ocean-already-mine-contact{font-size:13px;font-weight:600;color:#15803d;white-space:nowrap;}
.province-multi{flex:0 0 132px;width:132px;}
.province-multi-trigger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:0 10px;
  text-align:left;
}
.province-multi-trigger > span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.province-multi-trigger svg{width:14px;height:14px;flex:0 0 auto;transition:transform .15s ease;}
.province-multi-trigger.is-open svg{transform:rotate(180deg);}
.province-multi-panel{
  position:fixed;
  z-index:1600;
  width:312px;
  max-width:calc(100vw - 24px);
  padding:12px;
  border:1px solid var(--border);
  border-radius:8px;
  background:var(--white);
  color:var(--text);
  box-shadow:0 12px 28px rgba(15,23,42,.14);
  box-sizing:border-box;
}
.province-multi-panel[hidden]{display:none !important;}
.province-multi-head,.province-multi-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.province-multi-head{padding:1px 2px 10px;border-bottom:1px solid var(--border);font-size:13px;}
.province-multi-head strong{font-size:14px;}
.province-multi-head button{
  padding:3px 0;
  border:0;
  background:transparent;
  color:var(--text3);
  font-size:12px;
  cursor:pointer;
}
.province-multi-head button:hover{color:var(--text);}
.province-multi-options{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:4px;
  max-height:252px;
  margin:10px -2px;
  overflow:auto;
  scrollbar-width:thin;
}
.province-multi-option{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  padding:7px 6px;
  border-radius:5px;
  color:var(--text2);
  font-size:13px;
  cursor:pointer;
  user-select:none;
}
.province-multi-option:hover{background:var(--bg);color:var(--text);}
.province-multi-option input{width:14px;height:14px;margin:0;accent-color:#2563eb;flex:0 0 auto;}
.province-multi-option span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.province-multi-actions{padding:10px 2px 1px;border-top:1px solid var(--border);}
.province-multi-actions > span{font-size:12px;color:var(--text3);}
.province-multi-actions > div{display:flex;gap:7px;}
.province-multi-actions button{
  min-width:54px;
  height:30px;
  padding:0 12px;
  border:1px solid var(--border);
  border-radius:6px;
  background:var(--white);
  color:var(--text2);
  font-family:var(--font);
  font-size:12px;
  cursor:pointer;
}
.province-multi-actions .province-multi-apply{background:#111827;border-color:#111827;color:#fff;}
.province-multi-actions .province-multi-cancel:hover{background:var(--bg);}
.province-multi-actions .province-multi-apply:hover{background:#1f2937;}

/* 表格区域 */
.table-area{
  position:absolute;
  left:var(--sidebar);right:0;
  top:calc(var(--topbar) + var(--filterbar));
  bottom:46px;
  overflow:auto;
  background:var(--white);
}
.table-area > .inner{
  max-width:var(--max-w);
  margin:0 auto;
  min-height:100%;
  padding:0;
  box-sizing:border-box;
}
table{width:100%;border-collapse:collapse;table-layout:fixed;}
#tbl-mine{min-width:1480px;}
col.c-seq{width:55px;}
col.c-co{width:240px;}
col.c-ind{width:128px;}
col.c-contact{width:78px;}
col.c-phone{width:112px;}
col.c-wechat{width:168px;}
col.c-pos{width:74px;}
col.c-q{width:96px;}
col.c-trend{width:96px;}
col.c-op{width:112px;}
col.c-date{width:150px;}
col.c-src{width:76px;}
#tbl-ocean col.c-add{width:128px;}
col.c-add{width:88px;}
#tbl-mine col.c-op{width:96px;}
#tbl-mine col.c-add{width:112px;}
#tbl-ocean{width:100%;max-width:1400px;margin:0 auto;}
#tbl-ocean col.c-co{width:280px;}
#tbl-ocean col.c-ind{width:125px;}
#tbl-ocean col.c-contact{width:86px;}
#tbl-ocean col.c-pos{width:80px;}
#tbl-ocean col.c-phone{width:112px;}
#tbl-ocean col.c-q{width:100px;}
#tbl-ocean col.c-trend{width:102px;}
#tbl-ocean col.c-date{width:154px;}
#tbl-ocean col.c-src{width:84px;}
#tbl-ocean col.c-op{width:96px;}
#tbl-ocean col.c-add{width:124px;}
#tbl-ocean th:nth-child(12),
#tbl-ocean td:nth-child(12){text-align:center;padding-left:8px;padding-right:8px;}
#tbl-mine th:nth-child(13),
#tbl-mine td:nth-child(13){text-align:center;padding-left:8px;padding-right:8px;}
thead th{
  padding:0 8px;height:42px;text-align:center;
  font-size:14px;font-weight:600;color:var(--text);
  border-bottom:1px solid var(--border);background:white;
  white-space:nowrap;position:sticky;top:0;z-index:1;
  overflow:hidden;
}
thead th:first-child{padding:0 8px 0 24px;text-align:center;}
thead th:last-child{padding:0 24px 0 8px;}
tbody tr{border-bottom:1px solid var(--border);cursor:pointer;transition:background .08s;}
tbody tr:last-child{border-bottom:none;}
tbody tr:hover{background:#f8faff;}
#tbl-ocean tbody tr:hover,
#tbl-mine tbody tr:hover,
#tbl-ocean tbody tr.table-row-hover-active,
#tbl-mine tbody tr.table-row-hover-active{background:#e5e7eb !important;}
td{padding:0 8px;height:50px;font-size:14px;color:var(--text);white-space:nowrap;text-align:center;overflow:hidden;}
td:first-child{padding:0 8px 0 24px;}
td:last-child{padding:0 24px 0 8px;}
#tbl-ocean td:nth-child(2),
#tbl-mine td:nth-child(2),
#tbl-shares td:nth-child(2){white-space:normal;text-align:left;overflow:visible;}
#tbl-mine tbody td{height:49px;}
#tbl-mine td:nth-child(6),
#tbl-mine td:nth-child(7){white-space:normal;overflow:visible;line-height:1.25;height:auto;min-height:41px;padding-top:4px;padding-bottom:4px;vertical-align:middle;}
#tbl-mine th:nth-child(7),
#tbl-mine td:nth-child(7){text-align:center;}
.mine-phone-copy{display:inline-block;max-width:100%;white-space:normal;word-break:break-all;overflow-wrap:anywhere;line-height:1.35;cursor:pointer;user-select:text;}
.mine-phone-copy:hover{color:#2563eb;}
.mine-wechat-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;width:100%;line-height:1.25;text-align:center;}
.mine-wechat-state{display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:100%;min-height:22px;padding:2px 8px;border:1px solid #d9e0e8;border-radius:999px;background:#f8fafc;color:#64748b;font-size:11px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--font);transition:all .15s;}
.mine-wechat-state:hover{background:#eff6ff;border-color:#93c5fd;color:#2563eb;box-shadow:0 2px 6px rgba(37,99,235,.14);transform:translateY(-1px);}
.mine-wechat-state.added{color:#fff;background:#16a34a;border-color:#16a34a;font-weight:700;box-shadow:0 2px 5px rgba(22,163,74,.2);cursor:pointer;}
.mine-wechat-state.added:hover{background:#15803d;border-color:#15803d;color:#fff;box-shadow:0 3px 8px rgba(22,163,74,.24);transform:translateY(-1px);}
.mine-wechat-state .dot{width:6px;height:6px;border-radius:50%;background:#aeb9c6;flex:0 0 auto;}
.mine-wechat-state.added .dot{background:#fff;}
.mine-wechat-nickname,.mine-wechat-empty{display:block;max-width:124px;padding:3px 4px;border:0;border-radius:6px;background:transparent;color:#64748b;font-size:12px;font-family:var(--font);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;cursor:pointer;text-decoration:none;transition:all .15s;}
.mine-wechat-nickname:hover,.mine-wechat-empty:hover{color:#475569;background:#f1f5f9;box-shadow:0 2px 6px rgba(15,23,42,.08);text-decoration:none;transform:translateY(-1px);}
.mine-wechat-empty{color:#64748b;}

.wechat-status-modal-panel{background:#fff;border-radius:10px;width:390px;max-width:calc(100vw - 32px);box-shadow:0 20px 50px rgba(15,23,42,.22);overflow:hidden;}
.wechat-status-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 14px;border-bottom:1px solid #edf0f4;}
.wechat-status-modal-head h2{margin:0;color:#111827;font-size:16px;font-weight:700;line-height:1.4;}
.wechat-status-modal-head p{margin:4px 0 0;color:#6b7280;font-size:12px;line-height:1.5;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.wechat-status-head-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;}
.wechat-status-close{width:28px;height:28px;padding:0;border:0;background:transparent;color:#6b7280;font-size:22px;line-height:1;cursor:pointer;border-radius:6px;}
.wechat-status-close:hover{background:#f3f4f6;color:#111827;}
.wechat-status-modal-body{padding:18px 20px 16px;}
.wechat-status-label,.wechat-status-name-label{display:block;color:#374151;font-size:13px;font-weight:600;margin-bottom:8px;}
.wechat-status-choices{display:flex;gap:8px;}
.wechat-status-choice{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid #d7dee8;border-radius:6px;color:#4b5563;font-size:13px;cursor:pointer;}
.wechat-status-choice:has(input:checked){border-color:#86efac;background:#f0fdf4;color:#166534;}
.wechat-status-choice input{margin:0;accent-color:#16a34a;}
.wechat-status-name-label{margin-top:0;}
.wechat-status-name-input{box-sizing:border-box;width:100%;height:36px;padding:0 10px;border:1px solid #d7dee8;border-radius:6px;color:#111827;font-size:13px;font-family:var(--font);outline:none;}
.wechat-status-name-input:focus{border-color:#60a5fa;box-shadow:0 0 0 2px rgba(96,165,250,.14);}
.wechat-status-name-input:disabled{background:#f8fafc;color:#9ca3af;cursor:not-allowed;}
.wechat-status-hint{margin-top:8px;color:#9ca3af;font-size:11px;line-height:1.5;}
.wechat-status-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 20px 16px;border-top:1px solid #edf0f4;}
.wechat-status-cancel,.wechat-status-save{height:32px;padding:0 14px;border-radius:6px;font-size:13px;font-family:var(--font);cursor:pointer;}
.wechat-status-cancel{border:1px solid #d7dee8;background:#fff;color:#4b5563;}
.wechat-status-cancel:hover{background:#f8fafc;}
.wechat-status-reject{display:none;align-items:center;justify-content:center;width:112px;height:36px;padding:0 10px;border:1.5px solid #111827;border-radius:6px;background:#fff;color:#111827;font-size:13px;font-family:var(--font);line-height:1;text-align:center;white-space:nowrap;cursor:pointer;}
.wechat-status-reject:hover{background:#f8fafc;border-color:#111827;color:#111827;transform:translateY(-1px);}
.wechat-status-save{border:1px solid #16a34a;background:#16a34a;color:#fff;}
.wechat-status-save:hover{background:#15803d;border-color:#15803d;}

/* 订单表格 */
#order-table{width:calc(100% - 30px);border-collapse:collapse;table-layout:fixed;}
#order-table thead th{font-size:13px;font-weight:500;color:#000;padding:8px 10px;border-bottom:1px solid #e5e7eb;white-space:nowrap;background:#fafafa;position:sticky;top:58px;z-index:2;height:auto;text-align:left;}
#order-table thead th:first-child{padding-left:24px;text-align:left;}
#order-table thead th:nth-child(2){padding-left:16px;}
#order-table thead th:last-child{padding:8px 10px;}
#order-table tbody tr{border-bottom:1px solid #e5e7eb;transition:background .1s;cursor:default;}
#order-table tbody tr:last-child{border-bottom:none;}
#order-table tbody tr:hover{background:#e5e7eb;}
#order-table td{font-size:14px;color:var(--text);padding:11px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:auto;text-align:left;font-weight:400;}
#order-table td:first-child{padding-left:24px;text-align:left;}
#order-table td:nth-child(2){padding-left:16px;}
#order-table td:last-child{padding:11px 10px;}
#order-table thead th.left{text-align:left;}
#order-table thead th.right{text-align:left;}
#order-table td.right{text-align:left;}
#order-table tbody tr{border-bottom:1px solid #e5e7eb;transition:background .1s;cursor:default;}
#order-table tbody tr:last-child{border-bottom:none;}
#order-table tbody tr:hover{background:#e5e7eb;}
#order-table td{font-size:14px;color:var(--text);padding:11px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#order-table td:first-child{padding-left:24px;}
#order-table td:nth-child(2){padding-left:16px;}
#order-table td.left{text-align:left;}
#order-table td.right{text-align:left;}
#followup-list-tbl{width:100%;border-collapse:collapse;table-layout:fixed;}
#followup-list-tbl thead th{font-size:13px;font-weight:700;color:#111827;padding:8px 10px;border-bottom:1px solid #d1d5db;white-space:nowrap;background:white;text-align:left;}
#followup-list-tbl thead th:first-child{padding-left:20px;}
#followup-list-tbl thead th.cur{cursor:pointer;}
#followup-list-tbl tbody tr{border-bottom:1px solid #e5e7eb;transition:background .1s;cursor:default;}
#followup-list-tbl tbody tr:last-child{border-bottom:none;}
#followup-list-tbl tbody tr:hover{background:#e5e7eb;}
#followup-list-tbl td{font-size:13px;color:#374151;padding:11px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;}
#followup-list-tbl td:first-child{padding-left:20px;}
#followup-list-tbl td:nth-child(2){padding-left:10px;}
#sample-table{width:calc(100% - 30px);border-collapse:collapse;table-layout:fixed;}
#sample-table thead th{font-size:13px;font-weight:500;color:#000;padding:8px 10px;border-bottom:1px solid #e5e7eb;white-space:nowrap;background:#fafafa;text-align:left;position:sticky;top:58px;z-index:2;height:auto;}
#sample-table thead th:first-child{padding-left:24px;text-align:left;}
#sample-table thead th:nth-child(2){padding-left:16px;}
#sample-table tbody tr{border-bottom:1px solid #e5e7eb;transition:background .1s;cursor:default;}
#sample-table tbody tr:last-child{border-bottom:none;}
#sample-table tbody tr:hover{background:#e5e7eb;}
#sample-table td{font-size:14px;color:var(--text);padding:11px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;height:auto;font-weight:400;}
#sample-table td:first-child{padding-left:24px;text-align:left;}
#sample-table thead th.left{text-align:left;}
#sample-table thead th.right{text-align:left;}
#sample-table td.left{text-align:left;}
#sample-table td.right{text-align:left;}
#page-samples #smp-manager-list{overflow-x:auto;}
#page-samples #smp-manager-list #sample-table{width:100%;min-width:1490px;}
#page-samples #smp-manager-list #sample-table col:nth-child(2){width:280px;}

/* ===== 客户跟进 · v3重设计 ===== */
.fo-header{background:var(--white);border-bottom:1px solid var(--border);padding:0 28px;height:58px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10;}
.fo-title{font-size:23px;font-weight:700;color:#000;}
.fo-view-toggle{display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden;}
.fo-view-toggle span{padding:7px 20px;font-size:14px;cursor:pointer;color:var(--text2);transition:all .15s;font-family:var(--font);font-weight:600;}
.fo-view-toggle span.active{background:#374151;color:white;}
.fo-btn{padding:7px 14px;font-size:12px;font-weight:600;border:1px solid var(--border);border-radius:6px;background:var(--white);color:var(--text);cursor:pointer;font-family:var(--font);transition:all .15s;}
.fo-btn:hover{background:var(--bg);}
.fo-btn-primary{padding:7px 16px;font-size:12px;font-weight:600;border:none;border-radius:6px;background:var(--text);color:var(--white);cursor:pointer;font-family:var(--font);transition:all .15s;}
.fo-btn-primary:hover{opacity:.85;}
.fo-btn-import-green{padding:8px 18px;border:none;border-radius:10px;background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;font-size:13px;font-weight:700;cursor:pointer;font-family:var(--font);transition:all .15s;box-shadow:0 6px 18px rgba(21,128,61,0.24);}
.fo-btn-import-green:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(21,128,61,0.3);}
#import-layer-2 .mh{background:#fff !important;color:#111827 !important;border-bottom:1px solid #e5e7eb !important;}
#import-layer-2 .mh h2{color:#111827 !important;}
#import-layer-2 .mh p{color:#6b7280 !important;opacity:1 !important;}
#import-layer-2 .mh button{background:#fff !important;border:1px solid #d1d5db !important;color:#374151 !important;box-shadow:none !important;}
#import-layer-2 .mh button:hover{background:#f9fafb !important;box-shadow:0 2px 8px rgba(15,23,42,0.08) !important;}
#import-customer-list > div button{padding:7px 16px !important;background:linear-gradient(135deg,#16a34a,#15803d) !important;color:#fff !important;border:none !important;border-radius:8px !important;font-size:13px !important;font-weight:700 !important;box-shadow:0 4px 14px rgba(21,128,61,0.24) !important;}
#import-customer-list > div button:hover{transform:translateY(-1px) !important;box-shadow:0 8px 20px rgba(21,128,61,0.28) !important;}
.fo-kanban-wrap{background:#f0f1f5;}
.fo-kanban{display:inline-flex;gap:12px;}
.fo-col{width:300px;flex-shrink:0;}
#foKanbanView .fo-kanban{
  display:inline-flex;
  align-items:flex-start;
  gap:12px;
  width:max-content;
  min-width:100%;
  box-sizing:border-box;
}
#foKanbanView .fo-col{
  width:300px;
  min-width:300px;
  flex:0 0 300px;
}
html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup{
  left:50% !important;
  right:auto !important;
  width:min(100%,var(--index-layout-content-w,1500px)) !important;
  max-width:var(--index-layout-content-w,1500px) !important;
  transform:translateX(-50%) !important;
}
html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-kanban-wrap{
  overflow-x:hidden !important;
}
html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup #kanban-board{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  align-items:start;
  gap:8px !important;
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  padding:12px !important;
}
html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-col{
  width:auto !important;
  min-width:0 !important;
  flex:0 1 auto !important;
}
html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-col-head{
  padding:8px 10px !important;
  margin-bottom:6px !important;
}
html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-col-title{
  font-size:13px !important;
}
html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-col-count{
  font-size:14px !important;
}
html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-card{
  padding:8px 9px !important;
  margin-bottom:5px !important;
  border-radius:8px !important;
}
html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-card-company{
  font-size:12px !important;
}
html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-card-meta{
  font-size:10px !important;
}
html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-card-note{
  font-size:10px !important;
  margin-top:4px !important;
  padding:4px 6px !important;
}

/* 移动端看板：保留六个阶段，但一次展示一列，避免六列被压缩到无法阅读。 */
@media (max-width:760px){
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide{
    --sidebar:64px !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #appWrap{
    width:calc(100vw - var(--sidebar)) !important;
    margin-left:var(--sidebar) !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar{
    width:var(--sidebar) !important;
    padding:12px 6px 10px !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sb-logo{
    height:56px !important;
    padding:4px 0 10px !important;
    margin-bottom:8px !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sb-logo > div:last-child,
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .nav-section,
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sb-bottom,
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .mode-toggle,
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .nav-item > span:not(.nav-icon){
    display:none !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sb-logo-icon{
    margin:0 auto !important;
    width:40px !important;
    height:40px !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .nav-item{
    justify-content:center !important;
    min-height:40px !important;
    padding:0 !important;
    font-size:0 !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .nav-item .nav-icon{
    margin:0 !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup{
    left:0 !important;
    right:0 !important;
    width:100% !important;
    max-width:none !important;
    transform:none !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-header{
    position:relative !important;
    height:110px !important;
    min-height:110px !important;
    padding:8px 10px !important;
    align-items:flex-start !important;
    gap:6px !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-header > div:first-child{
    width:100% !important;
    flex-wrap:wrap !important;
    gap:6px !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-header > div:nth-child(2){
    display:none !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-title{
    font-size:18px !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup #fo-count-tag{
    font-size:13px !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup #fo-year-tag{
    font-size:12px !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-view-toggle span{
    padding:5px 9px !important;
    font-size:12px !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup #fo-search{
    order:3 !important;
    flex:1 0 100% !important;
    width:100% !important;
    height:30px !important;
    box-sizing:border-box !important;
    font-size:12px !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-kanban-wrap{
    top:110px !important;
    overflow-x:auto !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup #kanban-board{
    display:flex !important;
    align-items:flex-start !important;
    gap:10px !important;
    width:max-content !important;
    min-width:100% !important;
    padding:10px !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-col{
    width:calc(100vw - var(--sidebar) - 20px) !important;
    min-width:calc(100vw - var(--sidebar) - 20px) !important;
    flex:0 0 calc(100vw - var(--sidebar) - 20px) !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-col-head{
    padding:9px 11px !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-card-company{
    white-space:normal !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
    line-height:1.4 !important;
  }
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-card-note{
    height:auto !important;
    min-height:25px !important;
    white-space:normal !important;
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
    line-height:1.45 !important;
  }
}
.fo-col-head{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;margin-bottom:8px;border-radius:8px;cursor:pointer;transition:all .15s;user-select:none;position:sticky;top:0;z-index:3;}
.fo-col-head:hover{filter:brightness(0.96);}
.fo-col-head.active-filter{outline:2px solid var(--accent,#4f46e5);outline-offset:-2px;}
.fo-col-title{font-size:14px;font-weight:600;color:var(--text);display:flex;align-items:center;gap:7px;}
.fo-col-dot{width:8px;height:8px;border-radius:50%;}
.fo-col-count{font-size:15px;font-weight:700;color:var(--text);}
.col-bg-初次联系{background:#c7d2fe;}
.col-bg-需求确认{background:#a5f3fc;}
.col-bg-报价中{background:#a7f3d0;}
.col-bg-已寄样{background:#fbcfe8;}
.col-bg-已成交{background:#fef08a;}
.col-bg-已流失{background:#fed7aa;}
.col-bg-初次联系 .fo-col-title{color:#000;}
.col-bg-需求确认 .fo-col-title{color:#000;}
.col-bg-报价中 .fo-col-title{color:#000;}
.col-bg-已寄样 .fo-col-title{color:#000;}
.col-bg-已成交 .fo-col-title{color:#000;}
.col-bg-已流失 .fo-col-title{color:#000;}
.col-bg-初次联系 .fo-col-count{color:#000;}
.col-bg-需求确认 .fo-col-count{color:#000;}
.col-bg-报价中 .fo-col-count{color:#000;}
.col-bg-已寄样 .fo-col-count{color:#000;}
.col-bg-已成交 .fo-col-count{color:#000;}
.col-bg-已流失 .fo-col-count{color:#000;}
.fo-col-body{min-height:calc(100vh - 180px);border-radius:8px;padding:3px;transition:all .12s;}
.fo-card{background:var(--white);border:1px solid var(--border);border-radius:10px;padding:9px 12px;margin-bottom:6px;cursor:grab;transition:all .15s;box-shadow:0 1px 3px rgba(0,0,0,0.04);}
.fo-card:hover{border-color:#c0c0ca;box-shadow:0 3px 10px rgba(0,0,0,0.07);transform:translateY(-1px);}
.fo-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px;}
.fo-card-info{flex:1;min-width:0;}
.fo-card-company{font-size:13px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:3px;}
.fo-card-meta{font-size:11px;color:#9ca3af;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.fo-card-note{height:25px;box-sizing:border-box;font-size:11px;color:var(--text);font-weight:500;margin-top:5px;padding:4px 8px;background:#f8f8fb;border-radius:5px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fo-card-tag{display:inline-flex;align-items:center;font-size:10px;padding:2px 7px;border-radius:4px;font-weight:600;flex-shrink:0;}
.fo-tag-sample{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0;}
.fo-tag-closed{background:#fef3c7;color:#b45309;border:1px solid #fcd34d;}
.fo-card-actions{display:none;margin-top:5px;padding-top:5px;border-top:1px solid #f0f0f3;gap:5px;align-items:center;}
.fo-card:hover .fo-card-actions{display:flex;}
.fo-card-act{padding:4px 10px;font-size:13px;font-weight:500;border:none;background:none;border-radius:8px;color:#111827;cursor:pointer;font-family:var(--font);transition:all .15s;}
.fo-card-act:hover{background:rgba(0,0,0,0.06);}
.fo-record-count{font-size:10px;color:#b0b0ba;}
.fo-joined-date{font-size:10px;color:#9ca3af;white-space:nowrap;}
.fo-col-drop-active{background:rgba(79,70,229,0.05) !important;outline:1.5px dashed #c7d2fe;border-radius:8px;}
.fo-list-wrap{padding:0;background:white;}
.fo-list-filters{display:flex;gap:12px;padding:16px 16px;background:#f0f1f5;border-bottom:1px solid #e5e7eb;}
.fo-list-filter{display:flex;align-items:center;gap:6px;padding:10px 18px;cursor:pointer;transition:all .15s;user-select:none;border-bottom:2px solid transparent;position:relative;}
.fo-list-filter:hover{background:#f3f3f6;}
.fo-list-filter.active-filter{background:white;border-bottom-color:#4f46e5;}
.fo-list-filter-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0;}
.fo-list-filter-name{font-size:13px;font-weight:500;color:#6b7280;}
.fo-list-filter.active-filter .fo-list-filter-name{color:var(--text);font-weight:600;}
.fo-list-filter-count{font-size:13px;font-weight:700;color:var(--text);}
#fo-table{width:100%;border-collapse:collapse;table-layout:fixed;}
#fo-table thead th{font-size:13px;font-weight:500;color:#000;padding:8px 10px;border-bottom:1px solid #e5e7eb;white-space:nowrap;background:#fafafa;text-align:left;position:sticky;top:0;z-index:3;height:auto;}
#fo-table thead th:first-child{padding-left:24px;}
#fo-table thead th:nth-child(2){padding-left:16px;}
#fo-table tbody tr{position:relative;height:52px;border-bottom:1px solid #e5e7eb;transition:background .1s;}
#fo-table tbody tr:last-child{border-bottom:none;}
#fo-table tbody tr:hover{background:#e5e7eb;}
#fo-table td{font-size:14px;color:var(--text);padding:11px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;height:52px;font-weight:400;}
#fo-table td:first-child{padding-left:24px;}
#fo-table td:nth-child(2){padding-left:16px;}
#fo-table thead th:nth-child(9),#fo-table thead th:nth-child(10){text-align:right;}
#fo-table tbody td:nth-child(9),#fo-table tbody td:nth-child(10){text-align:right;}
.fo-latest-cell{cursor:pointer;}
.fo-latest-text{display:block;color:var(--text);font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .12s ease;}
.fo-latest-text.is-empty{color:#d1d5db;}
.fo-row-overlay{position:absolute;left:50%;top:calc(100% - 6px);transform:translateX(-50%);display:block;padding:14px 18px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#111827;font-size:13px;line-height:1.85;white-space:normal;word-break:break-word;text-align:left;min-width:420px;min-height:84px;width:max-content;max-width:min(820px,calc(100vw - 80px));max-height:220px;overflow-y:auto;box-shadow:0 10px 24px rgba(15,23,42,0.12);z-index:20;}
.fo-latest-floating{
  position:fixed;
  display:none;
  min-width:420px;
  max-width:min(820px,calc(100vw - 80px));
  max-height:220px;
  overflow-y:auto;
  padding:14px 18px;
  border:1px solid #000;
  border-radius:10px;
  background:#fff;
  color:#111827;
  font-size:13px;
  line-height:1.85;
  white-space:normal;
  word-break:break-word;
  text-align:left;
  box-shadow:none;
  z-index:5000;
  pointer-events:none;
}
.fo-latest-cell.is-active .fo-latest-text{color:#111827;font-weight:500;}
.order-product-summary{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7c3aed;font-weight:500;cursor:pointer;}
.fo-stage-pill-select{-webkit-appearance:none;appearance:none;font-size:11px;padding:3px 10px;border-radius:10px;font-weight:600;white-space:nowrap;border:none;cursor:pointer;font-family:var(--font);outline:none;transition:none;}
.fo-stage-pill-select:hover{opacity:1;}
.fo-stage-pill-select option{background:white;color:#111827;font-weight:500;}
.customer-level-cell{overflow:visible !important;text-align:left !important;}
.customer-level-select{
  height:28px;
  min-width:96px;
  padding:0 24px 0 10px;
  border:1px solid rgba(15,23,42,.12);
  border-radius:999px;
  color:#64748b;
  font-size:12px;
  font-weight:800;
  font-family:var(--font);
  outline:none;
  cursor:pointer;
  background-color:#fff;
  box-shadow:0 1px 2px rgba(15,23,42,.14);
  -webkit-appearance:none;
  appearance:none;
  background-repeat:no-repeat;
  background-position:calc(100% - 13px) 50%, calc(100% - 8px) 50%;
  background-size:5px 5px, 5px 5px;
}
.customer-level-select option{
  background:#fff;
  color:#111827;
  font-weight:600;
  text-align:center !important;
  text-align-last:center !important;
}
.customer-level-select-compact{height:19px;min-width:78px;padding:0 5px;font-size:10px;box-shadow:0 1px 2px rgba(15,23,42,.10);}
.customer-level-s{background:#f97316;}
.customer-level-a{background:#10b981;}
.customer-level-b{background:#2563eb;}
.customer-level-c{background:#64748b;}
.customer-level-unset{background:#fff;}
.customer-level-select.customer-level-unset,
.customer-level-pill.customer-level-unset{background-color:#fff !important;color:#64748b !important;border-color:#d1d5db !important;}
.customer-level-select.customer-level-s,
.customer-level-pill.customer-level-s{background-color:#f97316 !important;color:#fff !important;border-color:#ea580c !important;}
.customer-level-select.customer-level-a,
.customer-level-pill.customer-level-a{background-color:#10b981 !important;color:#fff !important;border-color:#059669 !important;}
.customer-level-select.customer-level-b,
.customer-level-pill.customer-level-b{background-color:#2563eb !important;color:#fff !important;border-color:#1d4ed8 !important;}
.customer-level-select.customer-level-c,
.customer-level-pill.customer-level-c{background-color:#64748b !important;color:#fff !important;border-color:#475569 !important;}
.customer-level-select.customer-level-s,
.customer-level-select.customer-level-a,
.customer-level-select.customer-level-b,
.customer-level-select.customer-level-c{
  background-image:linear-gradient(45deg,transparent 50%,rgba(255,255,255,.96) 50%),linear-gradient(135deg,rgba(255,255,255,.96) 50%,transparent 50%) !important;
}
.customer-level-select.customer-level-unset{
  background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%) !important;
}
.customer-level-pill{display:inline-flex;align-items:center;justify-content:center;min-width:88px;height:24px;padding:0 9px;border-radius:999px;color:#fff;font-size:12px;font-weight:800;line-height:1;border:1px solid transparent;box-shadow:0 1px 2px rgba(15,23,42,.12);}
.customer-level-pill-mini{min-width:58px;height:18px;padding:0 6px;font-size:10px;font-weight:800;box-shadow:none;flex:0 0 auto;}
.customer-level-empty{display:inline-flex;align-items:center;justify-content:center;height:18px;padding:0 6px;border-radius:999px;background:#f3f4f6;color:#9ca3af;font-size:10px;font-weight:700;line-height:1;flex:0 0 auto;}
.customer-level-select-shell{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
  min-width:86px;
  height:24px;
  border:1px solid rgba(15,23,42,.12);
  border-radius:999px;
  background:#fff;
  color:#64748b;
  box-shadow:0 1px 2px rgba(15,23,42,.14);
  vertical-align:middle;
  overflow:hidden;
}
.customer-level-select-label{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  padding:0 20px 0 8px;
  font-size:11px;
  font-weight:800;
  line-height:24px;
  text-align:center;
  white-space:nowrap;
  pointer-events:none;
}
.customer-level-select-shell::after{
  content:'';
  position:absolute;
  right:9px;
  top:50%;
  z-index:1;
  width:4.5px;
  height:4.5px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:translateY(-65%) rotate(45deg);
  pointer-events:none;
}
.customer-level-select-shell .customer-level-select{
  position:absolute;
  inset:0;
  z-index:2;
  width:100%;
  height:100%;
  min-width:0;
  padding:0;
  border:0 !important;
  border-radius:999px;
  background:transparent !important;
  color:transparent !important;
  box-shadow:none !important;
  opacity:0;
  text-align:center !important;
  text-align-last:center !important;
}
.customer-level-select-shell .customer-level-select option{text-align:center !important;text-align-last:center !important;}
.customer-level-select-shell.customer-level-s{background:#f97316 !important;color:#fff !important;border-color:#ea580c !important;}
.customer-level-select-shell.customer-level-a{background:#10b981 !important;color:#fff !important;border-color:#059669 !important;}
.customer-level-select-shell.customer-level-b{background:#2563eb !important;color:#fff !important;border-color:#1d4ed8 !important;}
.customer-level-select-shell.customer-level-c{background:#64748b !important;color:#fff !important;border-color:#475569 !important;}
.customer-level-select-shell.customer-level-unset{background:#fff !important;color:#111827 !important;border-color:#d1d5db !important;}
.customer-level-select-shell-compact{height:19px;min-width:74px;box-shadow:0 1px 2px rgba(15,23,42,.10);}
.customer-level-select-shell-compact .customer-level-select-label{padding:0 18px 0 6px;font-size:10px;line-height:19px;}
.detail-customer-level-line{display:inline-flex;align-items:center;gap:7px;margin-left:12px;vertical-align:middle;}
.detail-customer-level-line:first-child{margin-left:0;}
.detail-customer-level-label{font-size:12px;font-weight:700;color:#6b7280;white-space:nowrap;}
.customer-name-with-level{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;}
.customer-name-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.fo-card-meta-line{display:flex;align-items:center;gap:5px;min-width:0;max-width:100%;}
.fo-card-meta-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.fo-tbl-act{padding:4px 10px;border:none;background:none;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;font-family:var(--font);transition:all .15s;color:#111827;}
.fo-tbl-act:hover{background:rgba(0,0,0,0.06);}
.fo-stage-pill{display:inline-block;font-size:11px;padding:2px 8px;border-radius:10px;font-weight:600;white-space:nowrap;}
.pill-初次联系{background:#c7d2fe;color:#000;}
.pill-需求确认{background:#a5f3fc;color:#000;}
.pill-报价中{background:#a7f3d0;color:#000;}
.pill-已寄样{background:#fbcfe8;color:#000;}
.pill-已成交{background:#fef08a;color:#000;}
.pill-已流失{background:#fed7aa;color:#000;}
.fo-empty{text-align:center;padding:28px 8px;font-size:12px;color:#bbb;}
/* 详情面板 */
.fo-detail-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.35);z-index:999;opacity:0;pointer-events:none;transition:opacity .2s;backdrop-filter:blur(3px);}
.fo-detail-overlay.open{opacity:1;pointer-events:auto;}
.fo-detail-panel{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%) scale(0.95);width:900px;max-height:90vh;background:var(--white);z-index:1000;box-shadow:0 24px 60px rgba(0,0,0,0.18);border-radius:20px;opacity:0;pointer-events:none;transition:all .25s cubic-bezier(.34,1.56,.64,1);display:flex;flex-direction:column;overflow:hidden;}
.fo-detail-panel.open{transform:translate(-50%,-50%) scale(1);opacity:1;pointer-events:auto;}
.fo-dp-header{padding:20px 24px 16px;border-bottom:1px solid var(--border);flex-shrink:0;}
.fo-dp-header-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}
.fo-dp-head-left{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;min-width:0;}
.fo-dp-title-wrap{min-width:0;}
.fo-dp-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0;}
.fo-dp-remove-btn{display:inline-flex;align-items:center;justify-content:center;padding:7px 16px;border:1px solid #111827;background:#fff;border-radius:8px;font-size:13px;font-weight:500;color:#111827;cursor:pointer;font-family:var(--font);white-space:nowrap;transition:all .15s;}
.fo-dp-remove-btn:hover{background:rgba(0,0,0,0.06);}
.fo-dp-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:72px;height:34px;padding:0 16px;border:1.5px solid #111827;background:#fff;border-radius:8px;font-size:13px;font-weight:500;color:#111827;cursor:pointer;font-family:var(--font);transition:all .15s;line-height:1;white-space:nowrap;}
.fo-dp-close:hover{background:#f3f4f6;border-color:#111827;}
.fo-dp-company{font-size:18px;font-weight:700;color:var(--text);margin-bottom:0;line-height:1.4;word-break:break-word;}
.fo-dp-meta{font-size:13px;color:var(--text2);}
.fo-dp-body{flex:1;overflow-y:auto;padding:0;}
.fo-dp-section{padding:12px 24px;border-bottom:1px solid var(--border);}
.fo-dp-section-title{font-size:11px;font-weight:700;color:#9ca3af;letter-spacing:0.06em;margin-bottom:10px;}
.fo-dp-row{display:flex;align-items:center;justify-content:space-between;padding:6px 0;font-size:13px;}
.fo-dp-label{color:var(--text2);}
.fo-dp-value{color:var(--text);font-weight:500;}
.fo-dp-actions{display:flex;gap:8px;padding:16px 24px;border-bottom:1px solid var(--border);}
.fo-dp-act{flex:1;padding:8px;font-size:12px;font-weight:600;text-align:center;border:1px solid var(--border);border-radius:6px;background:var(--white);color:var(--text);cursor:pointer;font-family:var(--font);transition:all .12s;}
.fo-dp-act:hover{background:#eef2ff;color:#4f46e5;border-color:#c7d2fe;}
.fo-dp-act-danger{color:#ef4444;border-color:#fecaca;}
.fo-dp-act-danger:hover{background:#fef2f2;color:#dc2626;border-color:#fca5a5;}
.fo-timeline{padding:16px 24px;}
.fo-tl-item{position:relative;padding-left:20px;padding-bottom:16px;border-left:1.5px solid #e8e8ee;margin-left:4px;}
.fo-tl-item:last-child{border-left-color:transparent;padding-bottom:0;}
.fo-tl-dot{position:absolute;left:-4.5px;top:2px;width:7px;height:7px;border-radius:50%;border:2px solid var(--border);background:var(--white);}
.fo-tl-dot-note{border-color:#3b82f6;background:#dbeafe;}
.fo-tl-dot-sample{border-color:#10b981;background:#dcfce7;}
.fo-tl-dot-stage{border-color:#f59e0b;background:#fef3c7;}
.fo-tl-dot-create{border-color:#9ca3af;background:#f3f4f6;}
.fo-tl-time{font-size:13px;color:#374151;margin-bottom:4px;font-weight:500;}
.fo-tl-content{font-size:13px;color:var(--text);line-height:1.6;}
.fo-tl-type{display:inline-block;font-size:11px;font-weight:600;padding:2px 7px;border-radius:4px;margin-right:5px;}
.fo-tl-type-note{background:#dbeafe;color:#1d4ed8;}
.fo-tl-type-sample{background:#dcfce7;color:#15803d;}
.fo-tl-type-stage{background:#fef3c7;color:#92400e;}
.fo-tl-type-create{background:#f3f4f6;color:#6b7280;}
.fo-tl-input-wrap{padding:16px 24px;border-top:1px solid var(--border);flex-shrink:0;background:var(--bg);}
.fo-tl-input{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;font-size:13px;font-family:var(--font);color:var(--text);resize:none;outline:none;background:var(--white);transition:border-color .15s;}
.fo-tl-input:focus{border-color:#4f46e5;}
.fo-tl-submit{margin-top:8px;padding:7px 16px;font-size:12px;font-weight:600;border:none;border-radius:6px;background:var(--text);color:var(--white);cursor:pointer;font-family:var(--font);transition:all .12s;}
.fo-tl-submit:hover{opacity:.85;}

/* 分页栏 */
.pager{
  position:absolute;left:var(--sidebar);right:0;bottom:0;height:46px;
  background:var(--white);border-top:1px solid var(--border);
  display:flex;align-items:center;
  padding:0;font-size:12.5px;color:#000;z-index:9;
}
.page-btns{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0;}
.pg{width:28px;height:28px;border-radius:6px;border:1px solid var(--border);background:white;font-size:12px;cursor:pointer;font-family:var(--font);display:flex;align-items:center;justify-content:center;color:var(--text2);}
.pg:hover{background:var(--bg);}
.pg.active{background:var(--blue);color:white;border-color:var(--blue);font-weight:600;}
.pg.pg-wide{width:auto;min-width:42px;padding:0 8px;}
.pg.pg-ellipsis{border-color:transparent;background:transparent;cursor:default;color:#9ca3af;}
.pg.pg-ellipsis:hover{background:transparent;}
.page-jump{display:inline-flex;align-items:center;gap:4px;margin-left:8px;color:#6b7280;white-space:nowrap;}
.page-jump-input{width:48px;height:28px;border:1px solid var(--border);border-radius:6px;padding:0 6px;font-size:12px;color:#374151;font-family:var(--font);box-sizing:border-box;}
.page-jump-btn{height:28px;padding:0 8px;border:1px solid var(--border);border-radius:6px;background:#fff;color:#374151;font-size:12px;font-family:var(--font);cursor:pointer;}
.page-jump-btn:hover{background:var(--bg);}
@media (max-width:760px){
  .page-jump{display:none;}
  .pg.pg-wide{min-width:36px;padding:0 6px;}
}

/* cells */
.co-cell{display:flex;align-items:center;gap:8px;margin-right:8px;min-width:0;}
.co-av{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:white;flex-shrink:0;}
.co-name{display:block;min-width:0;font-size:13px;font-weight:500;color:#374151;white-space:normal;line-height:1.35;word-break:break-all;}
.co-meta-line{display:flex;align-items:center;gap:6px;max-width:100%;min-height:14px;margin-top:2px;line-height:1.2;white-space:nowrap;overflow:hidden;}
.co-meta-line-share{flex-wrap:wrap;align-items:flex-start;row-gap:2px;white-space:normal;overflow:visible;}
.co-type-inline{color:#8b93a3;font-size:12px;font-weight:500;white-space:nowrap;}
.co-meta-line-share .co-type-inline{flex:0 1 auto;min-width:0;white-space:normal;overflow:visible;text-overflow:clip;}
.customer-contact-update-badge{
  display:inline-block;
  flex:0 0 auto;
  color:#16a34a;
  font-size:11px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.customer-offline-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-height:18px;
  margin:1px 0 3px;
  padding:1px 7px;
  border-radius:999px;
  background:#fee2e2;
  color:#b91c1c;
  font-size:11px;
  font-weight:700;
  line-height:1.35;
}
.customer-offline-badge-inline{
  min-height:24px;
  margin:0;
  padding:2px 10px;
  font-size:13px;
  font-weight:500;
}
.ocean-protection-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:18px;
  padding:1px 7px;
  border:1px solid #d1d5db;
  border-radius:999px;
  background:#eff6ff;
  color:#2563eb;
  font-size:11px;
  font-weight:700;
  line-height:1.35;
  white-space:nowrap;
}
.ocean-protection-contact{
  display:inline-block;
  max-width:100%;
  color:#374151;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  vertical-align:middle;
}
.ocean-protection-reason-text{
  text-align:left;
  font-size:14px;
  line-height:1.75;
  color:#374151;
}
.ocean-protection-reason-text p{
  margin:0 0 8px;
}
.ocean-protection-reason-text p:last-child{
  margin-bottom:0;
}
.ocean-protection-reason-strong{
  color:#111827;
  font-weight:700;
}
.ocean-protection-reason-release{
  color:#7c3aed;
  font-weight:700;
}
.mine-offline-row td{background:#fff7f7;}
.mine-offline-row:hover td{background:#fff1f1;}
.detail-offline-notice{
  grid-column:1/-1;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 10px;
  padding:10px 12px;
  border:1px solid #fecaca;
  border-radius:10px;
  background:#fef2f2;
  color:#991b1b;
  font-size:13px;
  line-height:1.55;
}
.detail-offline-notice strong{font-weight:800;color:#991b1b;}
.detail-offline-notice span{color:#7f1d1d;}
.detail-offline-feedback{
  padding:12px 14px;
  background:#fef2f2;
  border:1.5px solid #fecaca;
  border-radius:10px;
  margin-bottom:10px;
}
.detail-offline-feedback .detail-feedback-title{color:#b91c1c;}
.detail-offline-feedback-reason{
  margin-top:6px;
  font-size:13px;
  line-height:1.65;
  color:#374151;
}
.detail-offline-feedback-reason strong{color:#991b1b;}
.ind-tag{display:inline-block;max-width:100%;padding:2px 0px;font-size:13px;font-weight:500;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;}
.customer-table-pill{display:inline-block;max-width:100%;padding:3px 9px;border-radius:999px;font-size:13px;font-weight:400;line-height:1.25;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;}
.customer-table-pill-green{background:#22c55e;color:#000;}
.customer-table-text{display:inline-block;max-width:100%;font-size:13px;font-weight:400;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;}
.pie-cell{display:flex;align-items:center;gap:8px;justify-content:center;}
.quality-ticket-score{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:74px;
  height:28px;
  gap:0;
  border-radius:9px;
  background:linear-gradient(135deg,var(--quality-bg,#fef9c3),#fff);
  border:1px solid rgba(17,24,39,.08);
  box-shadow:0 4px 10px rgba(15,23,42,.06);
  overflow:hidden;
  vertical-align:middle;
}
.quality-ticket-num{
  width:34px;
  height:100%;
  display:grid;
  place-items:center;
  flex:0 0 34px;
  color:#fff;
  background:var(--quality-color,#f59e0b);
  clip-path:polygon(0 0,88% 0,100% 50%,88% 100%,0 100%);
  font-size:15px;
  font-weight:900;
  line-height:1;
  letter-spacing:-.02em;
}
.quality-ticket-copy{
  flex:1;
  min-width:0;
  padding:0 6px 0 5px;
  text-align:left;
  line-height:1;
}
.quality-ticket-label{
  display:block;
  color:#111827;
  font-size:10px;
  font-weight:900;
  white-space:nowrap;
}
.quality-ticket-sub{
  display:none;
  color:var(--quality-text,#b45309);
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
}
.act{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;font-size:13px;font-weight:500;cursor:pointer;border:none;border-radius:8px;background:none;font-family:var(--font);white-space:nowrap;color:#374151;transition:background .15s;}
.act:hover{background:rgba(0,0,0,0.13);box-shadow:0 2px 8px rgba(0,0,0,0.15);}
.act-view{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:none;border-radius:8px;background:none;color:#374151;font-size:13px;font-weight:500;cursor:pointer;font-family:var(--font);white-space:nowrap;transition:background .15s;}
.act-view:hover{background:rgba(0,0,0,0.13);box-shadow:0 2px 8px rgba(0,0,0,0.15);}
.act-view::before{content:'';width:7px;height:7px;border-radius:2px;background:#16a34a;flex-shrink:0;display:inline-block;}
.ocean-btn{border:1px solid #d1d5db !important;background:#fff !important;color:#374151;}
.ocean-btn:hover{background:rgba(0,0,0,0.13);border-color:#cbd5e1;box-shadow:0 2px 8px rgba(0,0,0,0.15);}
.act-plus.ocean-btn{border:1px solid #d1d5db !important;background:#fff !important;color:#374151;}
.act-plus.ocean-btn:hover{background:rgba(0,0,0,0.13) !important;border-color:#cbd5e1 !important;box-shadow:0 2px 8px rgba(0,0,0,0.15) !important;}
.act-plus.ocean-btn.ocean-btn-disabled,
.act-plus.ocean-btn.ocean-btn-disabled:hover,
#tbl-ocean .act-plus.ocean-btn.ocean-btn-disabled,
#tbl-ocean .act-plus.ocean-btn.ocean-btn-disabled:hover{
  background:#f3f4f6 !important;
  border-color:#e5e7eb !important;
  color:#9ca3af !important;
  cursor:not-allowed;
  box-shadow:none !important;
}
.act-plus.ocean-btn.ocean-protection-reason-btn,
#tbl-ocean .act-plus.ocean-btn.ocean-protection-reason-btn{
  background:#fff !important;
  border-color:#d1d5db !important;
  color:#2563eb !important;
  cursor:pointer;
  box-shadow:none !important;
}
.act-plus.ocean-btn.ocean-protection-reason-btn:hover,
#tbl-ocean .act-plus.ocean-btn.ocean-protection-reason-btn:hover{
  background:rgba(0,0,0,0.13) !important;
  border-color:#cbd5e1 !important;
  color:#1d4ed8 !important;
  box-shadow:0 2px 8px rgba(0,0,0,0.15) !important;
}
.ocean-btn.act-view::before{content:none;display:none;}
#tbl-ocean .ocean-btn,
#tbl-mine .ocean-btn{box-shadow:none !important;}
#tbl-ocean .ocean-btn:hover,
#tbl-mine .ocean-btn:hover{background:rgba(0,0,0,0.13) !important;border-color:#cbd5e1 !important;box-shadow:none !important;}
.act-ok{color:#16a34a;}
.act-ok:hover{opacity:.7;}
.act-err{color:#dc2626;}
.act-err:hover{opacity:.7;}
.act-edit{color:#2563eb;}
.act-edit:hover{opacity:.7;}
.act-plus{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:none;border-radius:8px;background:none;color:#374151;font-size:13px;font-weight:500;cursor:pointer;transition:background .15s;white-space:nowrap;font-family:var(--font);}
.act-plus:hover{background:rgba(0,0,0,0.13);box-shadow:0 2px 8px rgba(0,0,0,0.15);}
.act-plus svg{display:none;}
.act-plus.line-btn{border:1px solid #d1d5db;background:#fff;}
.act-plus.line-btn:hover{border-color:#cbd5e1;}

/* 弹窗 */
.overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:200;align-items:center;justify-content:center;}
.overlay.show{display:flex;}
.detail-modal-panel{background:white;border-radius:20px;width:900px;max-width:96vw;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 24px 60px rgba(0,0,0,0.18);}
.detail-header{padding:14px 24px 10px;border-bottom:1px solid #e5e7eb;flex-shrink:0;}
.detail-header-top{display:flex;align-items:flex-start;gap:16px;}
.detail-header-top>.detail-head-btn{margin-left:auto;flex:0 0 auto;}
.detail-title{font-size:18px;font-weight:700;color:#111827;line-height:1.4;word-break:break-word;flex:1 1 auto;min-width:0;}
.detail-title-private{flex:0 1 auto;width:auto;max-width:calc(100% - 120px);}
.detail-title-inline{display:inline-flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:nowrap;width:auto;max-width:100%;}
.detail-title-inline-text{font-size:18px;font-weight:700;color:#111827;line-height:1.4;word-break:break-word;display:inline-block;flex:0 1 auto;min-width:0;}
.detail-title-actions{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;}
.detail-meta-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px;}
.detail-subtitle{font-size:13px;color:#6b7280;line-height:1.6;}
.detail-header-actions{margin-left:auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.detail-head-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 18px;border:1.5px solid #111827;background:#fff;border-radius:8px;font-size:13px;font-weight:500;color:#111827;cursor:pointer;font-family:var(--font);white-space:nowrap;transition:all .15s;}
.detail-head-btn:hover{background:#f3f4f6;border-color:#111827;}
.detail-head-btn-danger{border-color:#ef4444;color:#dc2626;background:#fff;}
.detail-head-btn-danger:hover{background:#fef2f2;border-color:#ef4444;color:#dc2626;}
.detail-head-btn-primary{background:#f0fdf4;border-color:#bbf7d0;}
.detail-head-btn-primary:hover{background:rgba(0,0,0,0.13);}
.detail-head-btn-solid{background:linear-gradient(135deg,#16a34a,#22c55e);border:none;color:#fff;box-shadow:0 6px 18px rgba(34,197,94,0.22);}
.detail-head-btn-solid:hover{background:linear-gradient(135deg,#15803d,#16a34a);border:none;color:#fff;transform:translateY(-1px);box-shadow:0 10px 24px rgba(22,163,74,0.28);}
.detail-head-btn-disabled,
.detail-head-btn-disabled:hover{
  background:#f3f4f6;
  border-color:#e5e7eb;
  color:#9ca3af;
  cursor:not-allowed;
  box-shadow:none;
  transform:none;
}
.detail-head-btn-protection{
  background:#fff;
  border-color:#d1d5db;
  color:#2563eb;
}
.detail-head-btn-protection:hover{
  background:#f3f4f6;
  border-color:#cbd5e1;
  color:#1d4ed8;
}
.detail-risk-notice{
  display:none;
  padding:8px 24px 0;
  background:#fff;
  flex-shrink:0;
}
.detail-risk-notice-inner{
  padding:0;
  border:none;
  border-radius:0;
  background:transparent;
  color:#dc2626;
  font-size:12px;
  font-weight:600;
  line-height:1.65;
}
.detail-risk-notice-title{
  color:#dc2626;
  font-weight:900;
  margin-bottom:2px;
}
.detail-risk-notice-copy{
  color:#dc2626;
}
.detail-risk-notice-rule{
  margin-top:3px;
}
.detail-inline-btn{display:inline-flex;align-items:center;justify-content:center;padding:4px 12px;border:1px solid #d1d5db;background:#fff;border-radius:8px;font-size:13px;font-weight:500;color:#374151;cursor:pointer;font-family:var(--font);transition:all .15s;}
.detail-inline-btn:hover{background:rgba(0,0,0,0.13);border-color:#cbd5e1;box-shadow:0 2px 8px rgba(0,0,0,0.15);}
.detail-ocean-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) minmax(114px,auto);align-items:center;gap:16px;width:100%;}
.detail-ocean-row-no-action{grid-template-columns:repeat(5,minmax(0,1fr));}
.detail-ocean-meta{display:flex;flex-direction:column;gap:6px;min-width:0;text-align:left;}
.detail-ocean-meta-label{font-size:12px;color:#6b7280;}
.detail-ocean-meta-value{font-size:15px;font-weight:600;color:#111827;line-height:1.35;word-break:break-word;}
.detail-ocean-item{font-size:14px;font-weight:500;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;min-width:0;}
.detail-ocean-muted{color:#6b7280;font-weight:400;}
.detail-ocean-divider{width:1px;height:16px;background:#e5e7eb;flex-shrink:0;}
.detail-ocean-row .detail-head-btn-solid,
.detail-ocean-row .detail-head-btn-disabled,
.detail-ocean-row .detail-head-btn-protection{width:100%;}
@media (max-width:760px){
  .detail-title-private{max-width:calc(100% - 78px);}
  .detail-title-inline{flex-wrap:wrap;gap:8px;}
  .detail-title-actions{width:100%;flex-wrap:wrap;}
  .detail-title-actions .detail-head-btn{padding:6px 12px;}
  .detail-risk-notice{padding:8px 16px 0;}
  .detail-ocean-row,
  .detail-ocean-row-no-action{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}
  .detail-ocean-row .detail-head-btn-solid,
  .detail-ocean-row .detail-head-btn-disabled,
  .detail-ocean-row .detail-head-btn-protection{grid-column:1/-1;}
}
.detail-score-chips{display:flex;gap:8px;flex-wrap:wrap;}
.detail-score-chip{padding:8px 14px;border-radius:10px;text-align:center;min-width:86px;}
.detail-score-chip-label{font-size:11px;font-weight:600;color:#111827;opacity:.72;}
.detail-score-chip-value{font-size:22px;font-weight:700;color:#111827;line-height:1.1;margin-top:3px;}
.detail-score-chip-init{background:#c7d2fe;}
.detail-score-chip-current{background:#a5f3fc;}
.detail-score-chip-up{background:#a7f3d0;}
.detail-score-chip-flat{background:#fbcfe8;}
.detail-score-chip-down{background:#fed7aa;}
.detail-feedback-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;}
.detail-feedback-main{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.detail-feedback-title{font-size:14px;font-weight:700;line-height:1.4;}
.detail-feedback-score{display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border-radius:14px;background:rgba(255,255,255,0.88);box-shadow:0 6px 18px rgba(15,23,42,0.06);font-weight:700;line-height:1;}
.detail-feedback-score-val{font-size:14px;font-weight:700;letter-spacing:0;}
.detail-feedback-score-old{opacity:1;}
.detail-feedback-score-arrow{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(255,255,255,0.35);}
.detail-feedback-score-arrow svg{width:16px;height:16px;display:block;}
.detail-feedback-meta{font-size:12px;white-space:nowrap;}
.modal{background:white;border-radius:18px;width:680px;max-height:92vh;overflow-y:auto;}
.mh{background:#7c3aed;padding:30px 32px 24px;border-radius:18px 18px 0 0;color:white;}
.mh h2{font-size:18px;font-weight:700;margin-bottom:4px;}
.mh p{font-size:13px;opacity:.85;}
.mb{padding:32px;}
.sf-g{margin-bottom:20px;}
.sf-l{display:block;font-size:15px;font-weight:600;color:var(--text2);margin-bottom:9px;}
.sf-i{width:100%;padding:13px 16px;border:1.5px solid var(--border);border-radius:8px;font-size:15px;font-family:var(--font);color:var(--text);outline:none;background:var(--bg);}.sf-i:focus{border-color:#7c3aed;background:white;}
.sf-i:focus{border-color:var(--blue);background:white;}
.sf-i.sf-i-error{border-color:#ef4444 !important;background:#fef2f2 !important;box-shadow:0 0 0 3px rgba(239,68,68,0.08);}
.sf-field-result{display:none;margin-top:8px;padding:10px 14px;background:#fef2f2;border:1.5px solid #fecaca;border-radius:8px;font-size:13px;color:#b91c1c;line-height:1.75;}
.sf-row{display:flex;gap:10px;}
.sf-row .sf-g{flex:1;}
.sf-sub{width:100%;padding:15px;background:#7c3aed;color:white;border:none;border-radius:8px;font-size:16px;font-weight:700;cursor:pointer;font-family:var(--font);margin-top:8px;}
.sf-can{width:100%;padding:9px;background:none;border:1.5px solid var(--border);border-radius:6px;font-size:13px;color:var(--text2);cursor:pointer;font-family:var(--font);margin-top:8px;transition:all .15s;}
.sf-can:hover{background:rgba(0,0,0,0.05);box-shadow:0 2px 8px rgba(0,0,0,0.08);transform:translateY(-1px);}
.sf-sub:hover{background:#6d28d9;box-shadow:0 4px 14px rgba(124,58,237,0.4);transform:translateY(-1px);}
.sf-sub{transition:all .15s;}
.sf-dd-wrap{position:relative;}
.sf-dd{position:absolute;top:calc(100% + 4px);left:0;right:0;background:white;border:1.5px solid var(--blue);border-radius:6px;max-height:200px;overflow-y:auto;z-index:300;display:none;}
.sf-dd.open{display:block;}
.sf-dd-title{padding:6px 12px;font-size:11px;font-weight:700;color:var(--text3);background:var(--bg);}
.sf-dd-item{padding:8px 14px;font-size:13px;cursor:pointer;}
.sf-dd-item:hover{background:var(--blue-l);color:var(--blue);}

/* 线索互换弹窗 — 表单工作台 */
#shareModal.overlay{background:rgba(17,24,39,.38);backdrop-filter:none;-webkit-backdrop-filter:none;padding:24px;}
#shareModal .modal{
  width:min(780px,calc(100vw - 32px));
  max-height:calc(100vh - 48px);
  border-radius:24px;
  border:1px solid #d7dde7;
  background:#fff;
  box-shadow:0 28px 70px rgba(15,23,42,.22);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  animation:shareModalIn .22s cubic-bezier(.2,.8,.2,1);
}
@keyframes shareModalIn{from{opacity:0;transform:translateY(8px) scale(.99);}to{opacity:1;transform:translateY(0) scale(1);}}
#shareModal .modal::-webkit-scrollbar{width:0;height:0;}
#shareModal .mh{
  flex-shrink:0;
  position:relative;
  padding:30px 40px 24px;
  border-radius:24px 24px 0 0;
  border-bottom:1px solid #ebebeb;
  background:#fff;
  color:#222222;
}
#shareModal .mh h2{color:#222222;font-size:24px;font-weight:700;line-height:1.18;letter-spacing:0;margin:0 96px 8px 0;}
#shareModal .mh p{opacity:1;margin:0;max-width:640px;}
#shareModal .share-modal-summary{font-size:14px;line-height:1.7;color:#6b7280;}
#shareModal .share-reward-inline{
  color:#222222;
  font-size:15px;
  font-weight:700;
}
#shareModal .share-modal-note{
  margin-top:8px;
  padding:0;
  font-size:13px;
  line-height:1.65;
  color:#717171;
}
#shareModal .mh > button{
  top:26px !important;
  right:40px !important;
  transform:none !important;
  min-width:64px !important;
  height:36px !important;
  border-radius:999px !important;
  border:1.5px solid #dddddd !important;
  background:#fff !important;
  color:#222222 !important;
  box-shadow:none !important;
}
#shareModal .mh > button:hover{background:#f7f7f7 !important;border-color:#9ca3af !important;color:#222222 !important;box-shadow:none !important;}
#shareModal .mb{
  padding:28px 40px 32px;
  background:#fff;
  overflow:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(31,35,41,.18) transparent;
}
#shareModal .mb::-webkit-scrollbar{width:10px;}
#shareModal .mb::-webkit-scrollbar-track{background:transparent;margin:18px 0;}
#shareModal .mb::-webkit-scrollbar-thumb{background:rgba(31,35,41,.18);border:3px solid transparent;border-radius:999px;background-clip:content-box;}
#shareModal .mb::-webkit-scrollbar-thumb:hover{background:rgba(31,35,41,.32);border:3px solid transparent;background-clip:content-box;}
#shareModal .share-check-panel{
  margin:0 0 26px;
  padding:0 0 24px;
  border-bottom:1px solid #ebebeb;
}
#shareModal .share-check-row{display:grid !important;grid-template-columns:minmax(0,1fr) 86px;gap:10px !important;align-items:center;}
#shareModal .sf-g{margin-bottom:24px;}
#shareModal #sf-extra .sf-g:last-child{margin-bottom:0;}
#shareModal .sf-l{display:block;font-size:15px;font-weight:700;color:#222222;margin-bottom:8px;letter-spacing:0;line-height:1.5;}
#shareModal .sf-l span[style*="color:#ef4444"]{color:#dc2626 !important;}
#shareModal .share-label-note{font-size:12px;font-weight:400;color:#717171;}
#shareModal .share-form-hint{font-size:12px;color:#717171;margin-top:6px;line-height:1.65;}
#shareModal .sf-type-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px;}
#shareModal .sf-g .sf-type-tag{
  min-height:30px !important;
  height:30px !important;
  padding:0 12px !important;
  border-radius:999px !important;
  border:1.5px solid #dddddd !important;
  background:#fff !important;
  color:#374151 !important;
  box-shadow:none !important;
  font-family:var(--font);
  font-size:12px !important;
  font-weight:600 !important;
  line-height:1 !important;
  cursor:pointer;
  white-space:nowrap;
}
#shareModal .sf-g .sf-type-tag:hover{background:#f7f7f7 !important;border-color:#222222 !important;color:#222222 !important;box-shadow:none !important;}
#shareModal .sf-row{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:16px 18px;}
#shareModal .sf-i{
  width:100%;
  min-height:52px;
  padding:14px 16px;
  border:1.5px solid #b0b7c3;
  border-radius:12px;
  background:#fff;
  color:#222222;
  font-size:15px;
  line-height:1.45;
  box-shadow:none;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
#shareModal .sf-i:hover{border-color:#6b7280;}
#shareModal .sf-i::placeholder{color:#9aa3b2;opacity:1;}
#shareModal textarea.sf-i{min-height:96px;}
#shareModal .sf-i:focus{border-color:#222222;background:#fff;box-shadow:0 0 0 1px #222222;}
#shareModal .sf-i.sf-i-error{border-color:#dc2626 !important;background:#fff !important;box-shadow:0 0 0 3px rgba(220,38,38,.08);}
#shareModal #sf-extra{padding:0;border:0;background:transparent;box-shadow:none;}
#shareModal .sf-field-result{display:none;margin-top:6px;padding:0;border:0;background:transparent;border-radius:0;font-size:12px;color:#b42318;line-height:1.65;}
#shareModal #sf-result{margin-top:10px;}
#shareModal .sf-check-message{
  margin-top:8px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#374151;
  display:flex;
  align-items:flex-start;
  gap:7px;
  font-size:13px;
  line-height:1.58;
  box-shadow:none;
}
#shareModal .sf-check-message strong{font-weight:900;}
#shareModal .sf-check-detail{
  margin-top:2px;
  font-size:12px;
  color:inherit;
  font-weight:800;
  opacity:1;
}
#shareModal .sf-check-sub{
  margin-top:3px;
  font-size:12px;
  color:inherit;
  font-weight:800;
  opacity:1;
}
#shareModal .sf-check-icon{
  flex:0 0 auto;
  width:auto;
  height:auto;
  margin-top:1px;
  border-radius:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:transparent !important;
  font-size:15px;
  font-weight:900;
  line-height:1.35;
}
#shareModal .sf-check-icon--loading{color:#4b5563;}
#shareModal .sf-check-icon--ok{color:#15803d;}
#shareModal .sf-check-icon--warn{color:#dc2626;}
#shareModal .sf-check-icon--error{color:#b91c1c;}
#shareModal .sf-check-icon--phone-risk{color:#dc2626;}
#shareModal .sf-check-message--loading{color:#4b5563;background:transparent;}
#shareModal .sf-check-message--ok{border:0;background:transparent;color:#15803d;font-weight:800;}
#shareModal .sf-check-message--warn{border:0;background:transparent;color:#dc2626;font-weight:800;}
#shareModal .sf-check-message--error{border:0;background:transparent;color:#991b1b;}
#shareModal .sf-check-message--phone-risk{
  padding:9px 11px;
  border:1.5px solid #fecaca;
  border-radius:10px;
  background:#fef2f2;
  color:#b91c1c;
  font-weight:900;
  animation:sf-phone-risk-pulse 1.1s ease-in-out infinite;
}
@keyframes sf-phone-risk-pulse{
  0%,100%{opacity:1;}
  50%{opacity:.62;}
}
#shareModal .share-check-btn,
#shareModal .sf-sub{
  min-height:52px;
  border-radius:12px !important;
  box-shadow:none !important;
  transform:none !important;
  cursor:pointer;
  font-family:var(--font);
  font-size:15px;
  font-weight:600;
  transition:background .16s ease,color .16s ease,border-color .16s ease;
}
#shareModal .share-check-btn{
  background:#fff !important;
  color:#222222 !important;
  border:1.5px solid #222222 !important;
}
#shareModal .share-check-btn:hover{background:#222222 !important;color:#ffffff !important;transform:none !important;box-shadow:none !important;}
#shareModal .sf-g button[type="button"]{
  min-height:52px;
  padding:0 20px !important;
  border-radius:12px !important;
  border:1.5px solid #dddddd !important;
  background:#fff !important;
  color:#222222 !important;
  font-size:14px !important;
  font-weight:600 !important;
  box-shadow:none !important;
}
#shareModal .sf-g button[type="button"]:hover{background:#f7f7f7 !important;color:#222222 !important;border-color:#9ca3af !important;box-shadow:none !important;}
#shareModal .sf-sub{
  width:100%;
  font-size:16px;
  font-weight:600;
  margin-top:12px;
  background:#16a34a !important;
  color:#ffffff !important;
  border:none !important;
  box-shadow:none !important;
}
#shareModal .sf-sub:hover{
  background:#15803d !important;
  transform:none !important;
  box-shadow:none !important;
}
#shareModal .sf-can{
  width:100%;
  min-height:44px;
  margin-top:12px;
  border:1.5px solid #dddddd;
  border-radius:12px;
  color:#6b7280;
  background:#fff;
  font-weight:600;
  transition:background .16s ease,color .16s ease,border-color .16s ease;
}
#shareModal .sf-can:hover{background:#f7f7f7;color:#222222;border-color:#9ca3af;box-shadow:none;transform:none;}
#shareModal .sf-can:focus-visible{outline:3px solid rgba(17,24,39,.12);outline-offset:2px;}
#shareModal .share-note-count{text-align:right;font-size:12px;color:#9ca3af;margin-top:5px;}
#shareModal .sf-dd{border:1px solid #d7dde7;border-radius:12px;box-shadow:0 14px 34px rgba(15,23,42,.12);overflow:hidden;}
#shareModal .sf-dd-item{padding:10px 14px;}
#shareModal .sf-dd-item:hover{background:#f8fafc;color:#111827;}
@media (prefers-reduced-motion:reduce){
  #shareModal .modal{animation:none;}
  #shareModal .sf-i,
  #shareModal .sf-sub,
  #shareModal .sf-can,
  #shareModal .mh > button{transition:none !important;}
}
@media (max-width:760px){
  #shareModal.overlay{padding:12px;align-items:flex-start;}
  #shareModal .modal{width:100%;max-height:calc(100vh - 24px);border-radius:18px;}
  #shareModal .mh{padding:22px 20px 18px;border-radius:18px 18px 0 0;}
  #shareModal .mh h2{font-size:22px;margin-right:76px;}
  #shareModal .mh > button{top:17px !important;right:20px !important;}
  #shareModal .mb{padding:22px 20px 24px;}
  #shareModal .sf-row{grid-template-columns:1fr;gap:0;}
  #shareModal .share-check-row{grid-template-columns:1fr;}
  #shareModal .share-check-btn{width:100%;}
}
.theme-dark #shareModal.overlay{background:rgba(0,0,0,.50);}
.theme-dark #shareModal .modal{background:#0f172a;border-color:#243041;box-shadow:0 28px 80px rgba(0,0,0,.42);}
.theme-dark #shareModal .mh{background:#0f172a;border-bottom-color:#243041;}
.theme-dark #shareModal .mh h2,
.theme-dark #shareModal .sf-l{color:#e5eefc;}
.theme-dark #shareModal .share-modal-summary,
.theme-dark #shareModal .share-label-note,
.theme-dark #shareModal .share-form-hint{color:#94a3b8;}
.theme-dark #shareModal .share-reward-inline{color:#e5eefc;}
.theme-dark #shareModal .share-modal-note{color:#94a3b8;}
.theme-dark #shareModal .mb{background:#0f172a;}
.theme-dark #shareModal .share-check-panel{border-bottom-color:#243041;}
.theme-dark #shareModal .sf-g .sf-type-tag{background:#111827 !important;border-color:#334155 !important;color:#cbd5e1 !important;}
.theme-dark #shareModal .sf-g .sf-type-tag:hover{background:#1f2937 !important;border-color:#64748b !important;color:#fff !important;}
.theme-dark #shareModal .sf-i{background:#111827;border-color:#334155;color:#e5eefc;}
.theme-dark #shareModal .sf-i:focus{background:#111827;border-color:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.16);}
.theme-dark #shareModal .sf-check-message{background:transparent;border-color:transparent;color:#cbd5e1;}
.theme-dark #shareModal .sf-check-icon--loading{color:#cbd5e1;}
.theme-dark #shareModal .sf-check-icon--ok{color:#86efac;}
.theme-dark #shareModal .sf-check-icon--warn{color:#fca5a5;}
.theme-dark #shareModal .sf-check-icon--error{color:#fecaca;}
.theme-dark #shareModal .sf-check-icon--phone-risk{color:#fecaca;}
.theme-dark #shareModal .sf-check-message--loading{background:transparent;color:#94a3b8;}
.theme-dark #shareModal .sf-check-message--ok{background:transparent;border-color:transparent;color:#86efac;}
.theme-dark #shareModal .sf-check-message--warn{background:transparent;border-color:transparent;color:#fca5a5;}
.theme-dark #shareModal .sf-check-message--error{background:transparent;border-color:transparent;color:#fecaca;}
.theme-dark #shareModal .sf-check-message--phone-risk{background:rgba(127,29,29,.32);border-color:rgba(248,113,113,.45);color:#fecaca;}
.theme-dark #shareModal .sf-g button[type="button"],
.theme-dark #shareModal .sf-can,
.theme-dark #shareModal .mh > button{background:#111827 !important;color:#e5eefc !important;border-color:#334155 !important;}
.theme-dark #shareModal .share-check-btn{background:#111827 !important;color:#e5eefc !important;border-color:#94a3b8 !important;}
.theme-dark #shareModal .share-check-btn:hover{background:#e5eefc !important;color:#0f172a !important;border-color:#e5eefc !important;}
.theme-dark #shareModal .sf-g button[type="button"]:hover,
.theme-dark #shareModal .sf-can:hover,
.theme-dark #shareModal .mh > button:hover{background:#1f2937 !important;color:#fff !important;border-color:#475569 !important;}
.theme-dark #shareModal .sf-dd{background:#111827;border-color:#334155;}
.theme-dark #shareModal .sf-dd-title{background:#0f172a;color:#94a3b8;}
.theme-dark #shareModal .sf-dd-item{color:#e5eefc;}
.theme-dark #shareModal .sf-dd-item:hover{background:#1f2937;color:#fff;}

/* 庆祝弹窗 */
.celebrate-overlay{position:fixed;inset:0;background:rgba(71,85,105,0.22);backdrop-filter:blur(4px);z-index:100000;display:flex;align-items:center;justify-content:center;animation:celebFadeIn .3s ease;}
@keyframes celebFadeIn{from{opacity:0}to{opacity:1}}
.celebrate-card{background:white;border-radius:20px;padding:40px 48px;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,0.2);animation:celebPop .4s cubic-bezier(.175,.885,.32,1.275);}
@keyframes celebPop{from{opacity:0;transform:scale(0.7)}to{opacity:1;transform:scale(1)}}
.celebrate-icon{font-size:56px;margin-bottom:12px;}
.celebrate-title{font-size:20px;font-weight:700;color:#111827;margin-bottom:8px;}
.celebrate-desc{font-size:14px;color:#6b7280;margin-bottom:20px;}
.celebrate-btn{padding:10px 32px;background:#7c3aed;color:white;border:none;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;font-family:var(--font);transition:all .15s;}
.celebrate-btn:hover{background:#6d28d9;transform:translateY(-1px);box-shadow:0 4px 14px rgba(124,58,237,0.35);}
.celebrate-overlay--lead-share{background:rgba(71,85,105,0.22);backdrop-filter:blur(4px);}
.celebrate-card--lead-share{width:min(390px,92vw);padding:16px 28px 28px;border-radius:20px;border:1px solid rgba(255,255,255,0.75);background:linear-gradient(180deg,rgba(255,255,255,0.96),rgba(255,250,253,0.94));box-shadow:0 24px 60px rgba(150,50,100,0.24),0 10px 24px rgba(17,24,39,0.08);overflow:hidden !important;}
.lead-share-success-close{position:absolute;right:14px;top:12px;width:30px;height:30px;border:0;border-radius:50%;background:#f3f4f6;color:#94a3b8;font-size:22px;line-height:30px;cursor:pointer;font-family:Arial,sans-serif;display:flex;align-items:center;justify-content:center;transition:all .15s;z-index:1;}
.lead-share-success-close:hover{background:#e5e7eb;color:#64748b;}
.lead-share-success-visual{width:216px;height:216px;margin:0 auto 4px;display:flex;align-items:center;justify-content:center;}
.lead-share-success-visual img{width:100%;height:100%;object-fit:contain;display:block;}
.lead-share-success-status{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:0 12px;margin:0 auto 10px;border-radius:999px;background:#fff7ed;border:1px solid #fed7aa;color:#c2410c;font-size:12px;font-weight:700;}
.lead-share-success-title{font-size:23px;line-height:1.25;margin:0 0 10px;color:#111827;letter-spacing:0;}
.lead-share-success-reward{display:inline-flex;align-items:center;justify-content:center;max-width:100%;margin:-2px auto 14px;padding:7px 13px;border-radius:999px;background:#fff;border:1px solid #111827;color:#7c3aed;font-size:13px;font-weight:800;line-height:1.3;box-sizing:border-box;}
.lead-share-success-desc{max-width:300px;margin:0 auto 24px;color:#475569;font-size:14px;line-height:1.75;}
.lead-share-success-btn{width:100%;height:46px;padding:0 18px;border-radius:12px;background:linear-gradient(135deg,#8b5cf6,#6d28d9);box-shadow:0 12px 24px rgba(109,40,217,0.24);font-size:15px;}
.lead-share-success-btn:hover{background:linear-gradient(135deg,#7c3aed,#5b21b6);box-shadow:0 14px 28px rgba(109,40,217,0.32);}
.celebrate-overlay--lead-share-auto{background:rgba(71,85,105,0.22);}
.celebrate-card--lead-share-auto{width:min(440px,94vw);padding:18px 30px 30px;background:linear-gradient(180deg,rgba(255,255,255,0.98),rgba(246,255,252,0.96));box-shadow:0 26px 64px rgba(15,118,110,0.2),0 10px 26px rgba(17,24,39,0.08);}
.celebrate-card--lead-share-auto .lead-share-success-visual{width:220px;height:220px;margin:-2px auto 8px;}
.celebrate-card--lead-share-auto .lead-share-success-status{display:none;}
.celebrate-card--lead-share-auto .lead-share-success-title{margin:0 0 14px;padding:0;border:0;border-radius:0;color:#166534;font-size:24px;font-weight:900;line-height:1.25;text-shadow:0 2px 10px rgba(22,101,52,0.18);box-shadow:none;}
.celebrate-card--lead-share-auto .lead-share-success-desc{max-width:334px;color:#334155;}
.celebrate-card--lead-share-auto .lead-share-success-btn{background:linear-gradient(135deg,#8b5cf6,#6d28d9);box-shadow:0 12px 24px rgba(109,40,217,0.24);}
.celebrate-card--lead-share-auto .lead-share-success-btn:hover{background:linear-gradient(135deg,#7c3aed,#5b21b6);box-shadow:0 14px 28px rgba(109,40,217,0.32);}
.celebrate-overlay--lead-share-approved{background:rgba(71,85,105,0.22);}
.celebrate-card--lead-share-approved{width:min(410px,94vw);padding:18px 30px 30px;background:linear-gradient(180deg,rgba(255,255,255,0.98),rgba(251,249,255,0.96));box-shadow:0 26px 64px rgba(109,40,217,0.18),0 10px 26px rgba(17,24,39,0.08);}
.celebrate-card--lead-share-approved .lead-share-success-visual{width:236px;height:236px;margin:-6px auto 4px;}
.celebrate-card--lead-share-approved .lead-share-success-status{display:none;}
.celebrate-card--lead-share-approved .lead-share-success-title{margin:0 0 14px;color:#166534;font-size:24px;font-weight:900;line-height:1.25;text-shadow:0 2px 10px rgba(22,101,52,0.16);}
.celebrate-card--lead-share-approved .lead-share-success-desc{max-width:328px;color:#334155;}
.celebrate-card--lead-share-approved .lead-share-success-btn{background:linear-gradient(135deg,#8b5cf6,#6d28d9);box-shadow:0 12px 24px rgba(109,40,217,0.24);}
.celebrate-card--lead-share-approved .lead-share-success-btn:hover{background:linear-gradient(135deg,#7c3aed,#5b21b6);box-shadow:0 14px 28px rgba(109,40,217,0.32);}
.celebrate-overlay--lead-share-good-feedback{background:rgba(71,85,105,0.22);}
.celebrate-card--lead-share-good-feedback{width:min(410px,94vw);padding:20px 30px 30px;background:linear-gradient(180deg,rgba(255,255,255,0.98),rgba(247,255,250,0.96));box-shadow:0 26px 64px rgba(22,163,74,0.18),0 10px 26px rgba(17,24,39,0.08);}
.celebrate-card--lead-share-good-feedback .lead-share-success-visual{width:196px;height:196px;margin:0 auto 8px;}
.celebrate-card--lead-share-good-feedback .lead-share-success-status{display:none;}
.celebrate-card--lead-share-good-feedback .lead-share-success-title{margin:0 0 14px;color:#166534;font-size:24px;font-weight:900;line-height:1.25;text-shadow:0 2px 10px rgba(22,101,52,0.16);}
.celebrate-card--lead-share-good-feedback .lead-share-success-desc{max-width:340px;color:#334155;}
.celebrate-card--lead-share-good-feedback .lead-share-success-btn{background:linear-gradient(135deg,#8b5cf6,#6d28d9);box-shadow:0 12px 24px rgba(109,40,217,0.24);}
.celebrate-card--lead-share-good-feedback .lead-share-success-btn:hover{background:linear-gradient(135deg,#7c3aed,#5b21b6);box-shadow:0 14px 28px rgba(109,40,217,0.32);}
.celebrate-overlay--customer-feedback-thanks{background:rgba(71,85,105,0.22);}
.celebrate-card--customer-feedback-thanks{width:min(410px,94vw);padding:20px 30px 30px;background:linear-gradient(180deg,rgba(255,255,255,0.98),rgba(247,255,250,0.96));box-shadow:0 26px 64px rgba(22,163,74,0.18),0 10px 26px rgba(17,24,39,0.08);}
.celebrate-card--customer-feedback-thanks .lead-share-success-visual{width:190px;height:190px;margin:0 auto 8px;}
.celebrate-card--customer-feedback-thanks .lead-share-success-title{margin:0 0 14px;color:#166534;font-size:24px;font-weight:900;line-height:1.25;text-shadow:0 2px 10px rgba(22,101,52,0.16);}
.celebrate-card--customer-feedback-thanks .lead-share-success-desc{max-width:346px;color:#334155;}
.celebrate-card--customer-feedback-thanks .lead-share-success-btn{background:linear-gradient(135deg,#8b5cf6,#6d28d9);box-shadow:0 12px 24px rgba(109,40,217,0.24);}
.celebrate-card--customer-feedback-thanks .lead-share-success-btn:hover{background:linear-gradient(135deg,#7c3aed,#5b21b6);box-shadow:0 14px 28px rgba(109,40,217,0.32);}
.celebrate-overlay--lead-share-bad-feedback{background:rgba(71,85,105,0.22);}
.celebrate-card--lead-share-bad-feedback{width:min(410px,94vw);padding:20px 30px 30px;background:linear-gradient(180deg,rgba(255,255,255,0.98),rgba(255,249,250,0.96));box-shadow:0 26px 64px rgba(190,18,60,0.14),0 10px 26px rgba(17,24,39,0.08);}
.celebrate-card--lead-share-bad-feedback .lead-share-success-visual{width:184px;height:184px;margin:0 auto 10px;}
.celebrate-card--lead-share-bad-feedback .lead-share-success-status{display:none;}
.celebrate-card--lead-share-bad-feedback .lead-share-success-title{margin:0 0 14px;color:#be123c;font-size:24px;font-weight:900;line-height:1.25;text-shadow:0 2px 10px rgba(190,18,60,0.14);}
.celebrate-card--lead-share-bad-feedback .lead-share-success-desc{max-width:348px;color:#475569;}
.celebrate-card--lead-share-bad-feedback .lead-share-success-btn{background:linear-gradient(135deg,#8b5cf6,#6d28d9);box-shadow:0 12px 24px rgba(109,40,217,0.24);}
.celebrate-card--lead-share-bad-feedback .lead-share-success-btn:hover{background:linear-gradient(135deg,#7c3aed,#5b21b6);box-shadow:0 14px 28px rgba(109,40,217,0.32);}
.celebrate-overlay--lead-share-rejected{background:rgba(71,85,105,0.22);}
.celebrate-card--lead-share-rejected{width:min(410px,94vw);padding:22px 30px 30px;background:linear-gradient(180deg,rgba(255,255,255,0.98),rgba(255,249,250,0.96));box-shadow:0 26px 64px rgba(190,18,60,0.14),0 10px 26px rgba(17,24,39,0.08);}
.celebrate-card--lead-share-rejected .lead-share-success-visual{width:172px;height:172px;margin:4px auto 10px;}
.celebrate-card--lead-share-rejected .lead-share-success-status{display:none;}
.celebrate-card--lead-share-rejected .lead-share-success-title{margin:0 0 14px;color:#be123c;font-size:24px;font-weight:900;line-height:1.25;text-shadow:0 2px 10px rgba(190,18,60,0.14);}
.celebrate-card--lead-share-rejected .lead-share-success-desc{max-width:332px;color:#475569;}
.celebrate-card--lead-share-rejected .lead-share-success-btn{background:linear-gradient(135deg,#8b5cf6,#6d28d9);box-shadow:0 12px 24px rgba(109,40,217,0.24);}
.celebrate-card--lead-share-rejected .lead-share-success-btn:hover{background:linear-gradient(135deg,#7c3aed,#5b21b6);box-shadow:0 14px 28px rgba(109,40,217,0.32);}
.celebrate-overlay--lead-share-revoked{background:rgba(71,85,105,0.22);}
.celebrate-card--lead-share-revoked{width:min(430px,94vw);padding:20px 30px 30px;background:linear-gradient(180deg,rgba(255,255,255,0.98),rgba(255,250,247,0.96));box-shadow:0 26px 64px rgba(180,83,9,0.16),0 10px 26px rgba(17,24,39,0.08);}
.celebrate-card--lead-share-revoked .lead-share-success-visual{width:184px;height:184px;margin:0 auto 10px;}
.celebrate-card--lead-share-revoked .lead-share-success-status{display:none;}
.celebrate-card--lead-share-revoked .lead-share-success-title{margin:0 0 14px;color:#92400e;font-size:24px;font-weight:900;line-height:1.25;text-shadow:0 2px 10px rgba(146,64,14,0.14);}
.celebrate-card--lead-share-revoked .lead-share-success-reward{background:#fff;border-color:#111827;color:#dc2626;}
.celebrate-card--lead-share-revoked .lead-share-success-desc{max-width:350px;color:#475569;}
.celebrate-card--lead-share-revoked .lead-share-success-btn{background:linear-gradient(135deg,#8b5cf6,#6d28d9);box-shadow:0 12px 24px rgba(109,40,217,0.24);}
.celebrate-card--lead-share-revoked .lead-share-success-btn:hover{background:linear-gradient(135deg,#7c3aed,#5b21b6);box-shadow:0 14px 28px rgba(109,40,217,0.32);}
.celebrate-overlay--lead-share-credit-guide{background:rgba(71,85,105,0.22);}
.celebrate-card--lead-share-credit-guide{width:min(440px,94vw);padding:18px 30px 30px;background:linear-gradient(180deg,rgba(255,255,255,0.98),rgba(251,249,255,0.96));box-shadow:0 26px 64px rgba(109,40,217,0.18),0 10px 26px rgba(17,24,39,0.08);}
.lead-share-no-credit-visual{width:208px;height:208px;margin:-2px auto 8px;}
.lead-share-no-credit-title{color:#111827;}
.lead-share-no-credit-desc{max-width:350px;color:#334155;font-size:14px;line-height:1.8;margin-bottom:20px;}
.lead-share-no-credit-actions{display:grid;grid-template-columns:1fr;gap:10px;width:100%;}
.lead-share-no-credit-secondary{width:100%;height:42px;border:1.5px solid #ddd6fe;border-radius:12px;background:#f5f3ff;color:#6d28d9;font-size:14px;font-weight:800;font-family:var(--font);cursor:pointer;transition:all .15s;}
.lead-share-no-credit-secondary:hover{background:#ede9fe;border-color:#c4b5fd;transform:translateY(-1px);}
@media(max-width:420px){
  .celebrate-card--lead-share{padding:14px 20px 24px;}
  .lead-share-success-visual{width:190px;height:190px;}
  .celebrate-card--lead-share-auto .lead-share-success-visual{width:204px;height:204px;}
  .celebrate-card--lead-share-approved .lead-share-success-visual{width:218px;height:218px;}
  .celebrate-card--lead-share-good-feedback .lead-share-success-visual{width:178px;height:178px;}
  .celebrate-card--customer-feedback-thanks .lead-share-success-visual{width:170px;height:170px;}
  .celebrate-card--lead-share-bad-feedback .lead-share-success-visual{width:166px;height:166px;}
  .celebrate-card--lead-share-rejected .lead-share-success-visual{width:156px;height:156px;}
  .celebrate-card--lead-share-revoked .lead-share-success-visual{width:164px;height:164px;}
  .lead-share-no-credit-visual{width:190px;height:190px;}
  .celebrate-card--lead-share-auto .lead-share-success-status{min-height:36px;font-size:18px;}
  .lead-share-success-title{font-size:21px;}
  .lead-share-success-reward{font-size:12px;padding:6px 11px;margin-bottom:12px;}
  .lead-share-success-desc{font-size:13px;line-height:1.7;}
  .lead-share-no-credit-desc{font-size:13px;line-height:1.75;}
}
.confetti{position:absolute;width:8px;height:8px;border-radius:2px;animation:confettiFall 1.8s ease-out forwards;}
@keyframes confettiFall{
  0%{opacity:1;transform:translate(0,0) rotate(0deg) scale(1);}
  100%{opacity:0;transform:translate(var(--cx),var(--cy)) rotate(720deg) scale(0.3);}
}
.order-reminder-blink{animation:orderReminderBlink 2.2s ease-in-out infinite;}
@keyframes orderReminderBlink{
  0%,100%{opacity:1;}
  50%{opacity:.45;}
}

::-webkit-scrollbar{width:4px;height:4px;}
::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px;}
::-webkit-scrollbar-thumb:hover{background:#94a3b8;}
::-webkit-scrollbar-track{background:transparent;}
/* ===== 业绩看板 ===== */
.dash-card{background:#fff;border:1px solid #eeedf2;border-radius:14px;padding:22px;margin-bottom:0;box-shadow:0 1px 4px rgba(0,0,0,0.04);transition:all .2s;}
.dash-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,0.08);}
.settings-wrap{padding:28px;max-width:860px;}
.settings-card{background:#fff;border:1px solid #eeedf2;border-radius:14px;padding:22px;margin-top:16px;box-shadow:0 1px 4px rgba(0,0,0,0.04);}
.settings-card:first-of-type{margin-top:20px;}
.settings-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;}
.settings-title{font-size:15px;font-weight:800;color:#374151;margin-bottom:4px;}
.settings-desc{font-size:12px;color:#9ca3af;line-height:1.6;}
.settings-center-desc{text-align:center;margin-top:8px;}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.settings-password-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.settings-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:#374151;}
.settings-field-wide{grid-column:1 / -1;}
.settings-input{width:100%;height:42px;border:1.5px solid #e5e7eb;border-radius:10px;background:#fff;color:#111827;font-size:13px;font-family:var(--font);padding:0 12px;outline:none;transition:border-color .15s,box-shadow .15s,background .15s;}
.settings-input:focus{border-color:#7c3aed;box-shadow:0 0 0 4px rgba(124,58,237,.10);}
.settings-input.is-readonly{background:#f9fafb;color:#6b7280;cursor:not-allowed;}
.settings-help{font-size:12px;font-weight:500;line-height:1.7;color:#6b7280;margin-top:-2px;}
.settings-count{text-align:right;margin-top:-2px;font-size:12px;font-weight:500;color:#9ca3af;}
.settings-channel-tags{min-height:0;display:flex;flex-wrap:wrap;gap:6px;}
.settings-channel-tag{display:inline-flex;align-items:center;gap:6px;background:#667eea;color:#fff;padding:5px 10px;border-radius:999px;font-size:13px;font-weight:700;line-height:1;}
.settings-channel-tag button{border:none;background:transparent;color:#fff;font-size:16px;line-height:1;padding:0;cursor:pointer;font-family:var(--font);}
.settings-channel-picker{position:relative;}
.settings-channel-dropdown{display:none;position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1.5px solid #667eea;border-radius:10px;max-height:180px;overflow-y:auto;z-index:30;box-shadow:0 8px 24px rgba(17,24,39,0.14);}
.settings-channel-option{width:100%;border:none;border-bottom:1px solid #f0f0f0;background:#fff;padding:10px 14px;text-align:left;font-size:14px;color:#111827;cursor:pointer;font-family:var(--font);}
.settings-channel-option:hover{background:#f0f0ff;}
.settings-channel-option.is-custom{color:#667eea;font-weight:700;}
.settings-actions{display:flex;justify-content:flex-end;margin-top:18px;}
.settings-primary-btn,.settings-secondary-btn,.settings-danger-btn{border-radius:12px;font-family:var(--font);font-weight:700;cursor:pointer;transition:all .15s;}
.settings-primary-btn{border:none;background:#111827;color:#fff;padding:11px 18px;font-size:14px;}
.settings-primary-btn:hover{background:#000;transform:translateY(-1px);}
.settings-secondary-btn{border:1px solid #e5e7eb;background:#fff;color:#6b7280;padding:8px 14px;font-size:13px;}
.settings-secondary-btn:hover{background:#f9fafb;color:#374151;}
.settings-danger-btn{width:100%;padding:14px;background:#fff;border:1.5px solid #e5e7eb;font-size:14px;color:#374151;}
.settings-danger-btn:hover{background:#fef2f2;border-color:#fca5a5;color:#dc2626;}
.settings-msg{display:none;margin:0 0 14px;padding:10px 12px;border-radius:10px;font-size:13px;line-height:1.5;}
.settings-msg.is-show{display:block;}
.settings-msg.is-success{background:#ecfdf5;color:#047857;border:1px solid #bbf7d0;}
.settings-msg.is-error{background:#fef2f2;color:#dc2626;border:1px solid #fecaca;}
@media (max-width:860px){
  .settings-wrap{padding:18px;max-width:none;}
  .settings-grid,.settings-password-grid{grid-template-columns:1fr;}
}
.dash-ct{font-size:14px;font-weight:700;color:#374151;margin-bottom:16px;}
.map-yr-btn{padding:6px 16px;font-size:12px;background:#f3f4f6;color:#6b7280;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s;font-weight:600;}.map-yr-btn.active{background:#4535C1;color:#fff;border-color:#4535C1;}.map-yr-btn:hover:not(.active){background:#e8e5ff;color:#4535C1;}
.dash-kpi-card{background:#fff;border:1px solid #eeedf2;border-radius:14px;padding:20px 22px;box-shadow:0 1px 4px rgba(0,0,0,0.04);display:flex;align-items:center;gap:16px;transition:all .2s;cursor:default;}
.dash-kpi-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,0.08);}
.dash-kpi-val{font-size:26px;font-weight:800;color:#111827;line-height:1.2;}
.dash-kpi-label{font-size:12px;font-weight:500;color:#9ca3af;margin-top:2px;}
.dash-kpi-private{border-color:#d1fae5;background:#f8fffb;}
.dash-private-toggle{height:24px;padding:0 10px;border:1px solid #d1d5db;border-radius:7px;background:#fff;color:#374151;font-size:12px;font-weight:700;cursor:pointer;font-family:var(--font);line-height:22px;margin-top:4px;transition:all .15s;}
.dash-private-toggle:hover{background:#f9fafb;border-color:#9ca3af;color:#111827;}
.work-summary-range-btn{padding:8px 16px;border:1.5px solid #e5e7eb;border-radius:10px;background:#fff;color:#6b7280;font-size:13px;font-weight:700;cursor:pointer;font-family:var(--font);transition:all .15s;}
.work-summary-range-btn:hover{background:#f9fafb;color:#111827;}
.work-summary-range-btn.active{background:#111827;color:#fff;border-color:#111827;}
.work-summary-style-option{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1.5px solid #e5e7eb;border-radius:12px;cursor:pointer;transition:all .15s;background:#fff;}
.work-summary-style-option:hover{border-color:#9ca3af;background:#f9fafb;}
.work-summary-style-option input{margin-top:2px;accent-color:#111827;}
.work-summary-style-option span{display:flex;flex-direction:column;gap:4px;}
.work-summary-style-option b{font-size:13px;color:#111827;}
.work-summary-style-option em{font-size:12px;color:#6b7280;font-style:normal;line-height:1.5;}
.dash-list-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f3f4f6;}
.dash-list-item:last-child{border-bottom:none;}
.dash-list-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:#fff;flex-shrink:0;}
.dash-list-info{flex:1;min-width:0;}
.dash-list-name{font-size:13px;font-weight:600;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dash-list-sub{font-size:11px;color:#9ca3af;margin-top:1px;}
.dash-list-amt{font-size:14px;font-weight:700;color:#111827;flex-shrink:0;}
.dash-list-tag{font-size:10px;font-weight:600;padding:2px 8px;border-radius:10px;flex-shrink:0;}
.dash-rank-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f3f4f6;}
.dash-rank-row:last-child{border-bottom:none;}
.dash-rank-num{width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff;flex-shrink:0;}
.dash-rank-info{flex:1;min-width:0;}
.dash-rank-name{font-size:13px;font-weight:600;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dash-rank-ind{font-size:11px;color:#9ca3af;}
.dash-rank-amt{font-size:14px;font-weight:700;color:#7c3aed;flex-shrink:0;}
/* 行动横幅 */
.dash-action-bar{background:#fff;border:1px solid #eeedf2;border-radius:14px;padding:16px 22px;margin-bottom:14px;display:flex;gap:12px;flex-wrap:wrap;box-shadow:0 1px 4px rgba(0,0,0,0.04);}
.dash-action-item{display:flex;align-items:center;gap:10px;padding:10px 16px;border-radius:10px;font-size:13px;font-weight:600;color:#374151;cursor:pointer;transition:all .15s;flex:1;min-width:200px;}
.dash-action-item:hover{transform:translateY(-1px);}
.dash-action-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;}
.dash-action-num{font-size:18px;font-weight:800;margin-right:2px;}
/* 协同卡片 */
.dash-collab-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.dash-collab-stat{display:flex;align-items:center;gap:14px;padding:16px;border-radius:12px;background:#f9fafb;border:1px solid #f3f4f6;}
.dash-collab-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;}
.dash-collab-val{font-size:22px;font-weight:800;color:#111827;line-height:1.1;}
.dash-collab-label{font-size:11px;color:#9ca3af;font-weight:500;margin-top:2px;}
.bar-col{display:flex;flex-direction:column;align-items:center;flex:1;}
.o-row{display:flex;flex-direction:column;gap:4px;}
.o-label{font-size:12px;font-weight:600;color:#6b7280;}
.o-label i{color:#ef4444;font-style:normal;}
.o-input{padding:8px 12px;border:1.5px solid #e5e7eb;border-radius:7px;font-size:13px;font-family:var(--font);color:#111827;outline:none;width:100%;background:white;}
.o-input:focus{border-color:#7c3aed;}
.private-form-shell{padding:24px;background:linear-gradient(180deg,#f8fafc 0%,#ffffff 100%) !important;}
.private-form-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 24px 18px !important;border-bottom:1px solid #e5e7eb;background:white !important;}
.private-form-title{font-size:19px;font-weight:700;color:#111827;line-height:1.4;}
.private-form-desc{font-size:13px;color:#6b7280;line-height:1.7;margin-top:6px;}
.private-form-close{display:inline-flex;align-items:center;justify-content:center;padding:8px 18px !important;border:1px solid #d1d5db !important;background:#fff !important;border-radius:10px !important;font-size:13px !important;font-weight:500 !important;color:#374151 !important;cursor:pointer;font-family:var(--font);transition:all .15s;white-space:nowrap;}
.private-form-close:hover{background:#f3f4f6 !important;box-shadow:0 2px 8px rgba(0,0,0,0.08);}
.private-form-notice{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;background:linear-gradient(135deg,#ecfdf5,#f0fdf4);border:1px solid #bbf7d0;border-radius:14px;margin-bottom:20px;box-shadow:0 6px 18px rgba(34,197,94,0.08);}
.private-form-notice-icon{width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#16a34a,#22c55e);display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 8px 18px rgba(34,197,94,0.18);}
.private-form-notice-text{font-size:13px;color:#166534;line-height:1.75;font-weight:600;}
.private-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px;}
.private-form-row{display:flex;flex-direction:column;gap:7px;padding:14px 14px 12px;background:white;border:1px solid #eef2f7;border-radius:14px;box-shadow:0 3px 10px rgba(15,23,42,0.03);}
.private-form-row-full{grid-column:1 / -1;}
.private-form-label{font-size:12px;font-weight:700;color:#6b7280;line-height:1.5;}
.private-form-label i{color:#ef4444;font-style:normal;}
.private-form-label-hint{font-size:11px;color:#9ca3af;font-weight:500;}
.private-form-input{padding:12px 14px !important;border:1.5px solid #e5e7eb !important;border-radius:10px !important;font-size:14px !important;font-family:var(--font);color:#111827;outline:none;width:100%;background:#fff;transition:all .15s;}
.private-form-input:focus{border-color:#16a34a;box-shadow:0 0 0 4px rgba(34,197,94,0.12);}
.private-form-assist{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px !important;border:1px solid #d1d5db !important;background:#fff !important;border-radius:10px !important;font-size:13px !important;font-weight:500 !important;color:#6b7280 !important;cursor:pointer;font-family:var(--font);white-space:nowrap;transition:all .15s;}
.private-form-assist:hover{background:#f9fafb !important;box-shadow:0 2px 8px rgba(0,0,0,0.08);}
.private-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;}
.private-form-submit{padding:13px 34px !important;background:linear-gradient(135deg,#16a34a,#15803d) !important;color:white !important;border:none !important;border-radius:12px !important;font-size:15px !important;font-weight:700 !important;cursor:pointer;font-family:var(--font);box-shadow:0 8px 22px rgba(21,128,61,0.22) !important;transition:all .15s;}
.private-form-submit:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(21,128,61,0.28) !important;}
.private-form-cancel{padding:13px 22px;background:white;border:1px solid #d1d5db;border-radius:12px;font-size:14px;font-weight:500;color:#6b7280;cursor:pointer;font-family:var(--font);transition:all .15s;}
.private-form-cancel:hover{background:#f9fafb;}
#import-layer-3 .private-form-title,
#import-layer-3 .private-form-desc{display:block;}
#import-layer-3 .mh h2{font-size:19px !important;color:#111827 !important;font-weight:800 !important;}
#import-layer-3 .mh p{display:none !important;}
#import-layer-3 .mb > div:first-child{display:none !important;}
#import-layer-3 .mb > div:nth-child(2){gap:16px 18px !important;}
#import-layer-3 .mb > div:nth-child(2) .o-row{gap:7px;background:#fff;padding:14px 14px 12px;border:1px solid #eef2f7;border-radius:14px;box-shadow:0 3px 10px rgba(15,23,42,0.03);}
#import-layer-3 .mb > div:nth-child(2) .o-row:last-child{grid-column:1 / -1;}
#import-layer-3 .mb > div:nth-child(2) .o-label{font-size:14px !important;font-weight:800 !important;color:#111827 !important;line-height:1.5;}
#import-layer-3 .mb > div:last-child{justify-content:flex-end !important;gap:10px;}
.order-create-modal{width:820px !important;max-width:96vw;border-radius:20px !important;background:linear-gradient(180deg,#f8fafc 0%,#ffffff 100%);box-shadow:0 24px 60px rgba(15,23,42,0.16) !important;overflow:hidden;}
.order-create-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;background:#fff !important;color:#111827 !important;border-bottom:1px solid #e5e7eb;padding:16px 20px !important;border-radius:20px 20px 0 0 !important;position:relative;}
.order-create-header h2{font-size:19px !important;font-weight:800 !important;color:#111827 !important;}
.order-create-header p{font-size:13px !important;color:#6b7280 !important;opacity:1 !important;margin-top:6px !important;}
.order-create-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:72px;height:34px;padding:0 16px !important;border:1.5px solid #111827 !important;background:#fff !important;border-radius:8px !important;font-size:13px !important;font-weight:500 !important;color:#111827 !important;cursor:pointer;font-family:var(--font);transition:all .15s;white-space:nowrap;line-height:1;}
.order-create-close:hover{background:#f3f4f6 !important;border-color:#111827 !important;}
.order-create-header-copy{min-width:0;}
.order-create-body{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px 12px !important;padding:18px 20px 20px !important;background:transparent !important;}
.order-create-grid{display:contents;}
.order-create-grid .o-row,
.order-create-note,
.order-create-panel{gap:6px;background:#fff;padding:10px 12px 11px;border:1px solid #eef2f7;border-radius:12px;box-shadow:0 3px 10px rgba(15,23,42,0.03);}
.order-create-grid .o-row{min-width:0;}
.order-edit-form{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px 12px;}
.order-edit-banner{grid-column:1 / -1;font-size:13px;font-weight:700;color:#6b7280;}
.order-create-grid .o-row:has(#noChan),
.order-create-grid .o-row:has(#noSpec),
.order-create-grid .o-row:has(#noQty),
.order-create-grid .o-row:has(#noPrice),
.order-create-grid .o-row:has(#noAmt){display:none !important;}
.order-create-span-12{grid-column:span 12;}
.order-create-span-8{grid-column:span 8;}
.order-create-span-6{grid-column:span 6;}
.order-create-span-5{grid-column:span 5;}
.order-create-span-4{grid-column:span 4;}
.order-create-span-3{grid-column:span 3;}
.order-create-span-2{grid-column:span 2;}
.order-create-order-1{order:1;}
.order-create-order-2{order:2;}
.order-create-order-3{order:3;}
.order-create-order-4{order:4;}
.order-create-order-5{order:5;}
.order-create-order-6{order:6;}
.order-create-order-7{order:7;}
.order-create-order-8{order:8;}
.order-create-order-9{order:9;}
.order-create-order-10{order:10;}
.order-create-order-11{order:11;}
.order-create-order-12{order:12;}
.order-create-order-13{order:13;}
.order-create-order-14{order:14;}
.order-create-order-15{order:15;}
.order-create-order-16{order:16;}
.order-create-order-17{order:17;}
.order-create-grid .o-label,
.order-create-note .o-label,
.order-create-panel .o-label{font-size:13px !important;font-weight:800 !important;color:#111827 !important;line-height:1.4;}
.order-create-grid .o-label span,
.order-create-note .o-label span,
.order-create-panel .o-label span{font-size:11px !important;color:#9ca3af !important;font-weight:500 !important;}
.order-create-grid .o-input,
.order-create-note .o-input,
.order-create-panel .o-input{padding:10px 12px;border:1.5px solid #e5e7eb;border-radius:10px;font-size:13px;font-family:var(--font);color:#111827;outline:none;width:100%;background:#fff;transition:all .15s;}
.order-create-readonly{background:#f8fafc !important;color:#6b7280 !important;cursor:not-allowed;}
.order-create-grid .o-input:focus,
.order-create-note .o-input:focus,
.order-create-panel .o-input:focus{border-color:#16a34a;box-shadow:0 0 0 4px rgba(34,197,94,0.12);}
.order-create-panel{grid-column:1 / -1;padding:12px;}
.order-create-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px;}
.order-create-panel-title{display:none;}
.order-create-panel-grid{display:grid;grid-template-columns:1.5fr 0.95fr 0.85fr 0.95fr 1fr 0.95fr;gap:10px;}
.order-create-panel-title i{color:#ef4444;font-style:normal;}
.order-create-panel-meta{display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex-wrap:nowrap;}
.order-create-panel-add{padding:7px 20px;background:linear-gradient(135deg,#16a34a,#15803d);border:none;border-radius:8px;font-size:14px;font-weight:700;color:#fff;cursor:pointer;font-family:var(--font);transition:all .15s;white-space:nowrap;box-shadow:0 8px 22px rgba(21,128,61,0.22);}
.order-create-panel-add:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(21,128,61,0.28);}
.order-create-panel-stats{display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
.order-create-panel-stat{display:flex;align-items:baseline;gap:8px;font-size:15px;font-weight:500;color:#111827;}
.order-create-panel-stat strong{font-size:21px;font-weight:600;color:#111827;line-height:1;}
.order-create-panel-stat.is-total strong{color:#16a34a;}
.order-create-item-head{margin-bottom:8px;align-items:center;}
.order-create-item-head span{font-size:11px;font-weight:700;color:#9ca3af;line-height:1.4;text-align:center;justify-self:center;width:100%;}
.order-create-items-wrap{display:flex;flex-direction:column;gap:10px;}
.order-create-item-row{align-items:end;}
.order-create-item-row > div{min-width:0;}
.order-create-panel input[type=number]::-webkit-outer-spin-button,
.order-create-panel input[type=number]::-webkit-inner-spin-button,
#noQty::-webkit-outer-spin-button,
#noQty::-webkit-inner-spin-button,
#noPrice::-webkit-outer-spin-button,
#noPrice::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.order-create-panel input[type=number],
#noQty,
#noPrice{
  -moz-appearance:textfield;
  appearance:textfield;
}
.order-create-item-total{background:#f8fafc !important;color:#16a34a !important;font-weight:700;}
.order-create-item-remove{width:100%;padding:10px 12px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;font-size:13px;font-weight:600;color:#6b7280;cursor:pointer;font-family:var(--font);transition:all .15s;}
.order-create-item-remove:hover{background:#f9fafb;border-color:#d1d5db;color:#374151;}
.order-create-panel-summary{display:none;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px dashed #e5e7eb;font-size:12px;color:#6b7280;}
.order-create-panel-summary strong{font-size:13px;color:#111827;}
.order-create-panel-summary .is-total{color:#16a34a;font-weight:800;}
#orderItemsPanel{order:13;margin-top:0 !important;}
.order-create-note{grid-column:1 / -1;order:14;margin-top:0;}
.order-create-note-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px;}
.order-create-note-tip{font-size:11px;font-weight:600;color:#ef4444;white-space:nowrap;}
.order-create-note .o-input{min-height:92px;resize:vertical;line-height:1.6;}
.order-create-actions{display:flex;grid-column:1 / -1;order:15;gap:10px;margin-top:4px;}
.order-create-submit{flex:1;padding:13px;background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:700;cursor:pointer;font-family:var(--font);box-shadow:0 8px 22px rgba(21,128,61,0.22);transition:all .15s;}
.order-create-submit:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(21,128,61,0.28);}
.order-create-cancel{flex:1;padding:13px;background:#fff;border:1.5px solid #e5e7eb;border-radius:12px;font-size:14px;font-weight:600;color:#374151;cursor:pointer;font-family:var(--font);transition:all .15s;}
.order-create-cancel:hover{background:#f9fafb;}
.order-create-note-count{text-align:right;font-size:11px;color:#9ca3af;margin-top:6px;}
.sample-create-modal{width:760px !important;max-width:96vw;border-radius:20px !important;background:linear-gradient(180deg,#f8fafc 0%,#ffffff 100%);box-shadow:0 24px 60px rgba(15,23,42,0.16) !important;overflow:hidden;}
.sample-create-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;background:#fff !important;color:#111827 !important;border-bottom:1px solid #e5e7eb;padding:16px 20px !important;border-radius:20px 20px 0 0 !important;position:relative;}
.sample-create-header h2{font-size:19px !important;font-weight:800 !important;color:#111827 !important;}
.sample-create-header p{display:none !important;}
.sample-create-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:72px;height:34px;padding:0 16px !important;border:1.5px solid #111827 !important;background:#fff !important;border-radius:8px !important;font-size:13px !important;font-weight:500 !important;color:#111827 !important;cursor:pointer;font-family:var(--font);transition:all .15s;line-height:1;white-space:nowrap;}
.sample-create-close:hover{background:#f3f4f6 !important;border-color:#111827 !important;}
.sample-create-body{padding:18px 20px 20px !important;background:transparent !important;}
.sample-create-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px 12px !important;}
.sample-create-grid .o-row,
.sample-create-source{gap:6px;background:#fff;padding:10px 12px 11px;border:1px solid #eef2f7;border-radius:12px;box-shadow:0 3px 10px rgba(15,23,42,0.03);}
.sample-create-span-12{grid-column:span 12;}
.sample-create-span-6{grid-column:span 6;}
.sample-create-grid .o-label,
.sample-create-source .o-label{font-size:13px !important;font-weight:800 !important;color:#111827 !important;line-height:1.4;}
.sample-create-grid .o-input,
.sample-create-source .o-input{padding:10px 12px;border:1.5px solid #e5e7eb;border-radius:10px;font-size:13px;font-family:var(--font);color:#111827;outline:none;width:100%;background:#fff;transition:all .15s;}
.sample-create-grid .o-input:focus,
.sample-create-source .o-input:focus{border-color:#16a34a;box-shadow:0 0 0 4px rgba(34,197,94,0.12);}
.followup-picker-shell{position:relative;width:100%;}
.followup-picker-dropdown{position:absolute;top:calc(100% + 6px);left:0;right:0;max-height:260px;overflow-y:auto;background:#fff;border:1.5px solid #dbe3ef;border-radius:12px;box-shadow:0 16px 32px rgba(15,23,42,0.14);z-index:30;padding:6px;}
.followup-picker-option{display:block;width:100%;padding:10px 12px;border:none;background:#fff;border-radius:10px;text-align:left;cursor:pointer;transition:background .15s;}
.followup-picker-option:hover{background:#f8fafc;}
.followup-picker-option-title{font-size:13px;font-weight:700;color:#111827;line-height:1.5;}
.followup-picker-option-meta{font-size:12px;color:#6b7280;line-height:1.5;margin-top:2px;}
.followup-picker-empty{padding:12px 14px;font-size:12px;color:#9ca3af;text-align:center;}
.sample-create-source{margin-bottom:12px;}
.sample-create-source-tabs{display:flex;gap:0;margin-bottom:10px;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#fff;}
.sample-create-source-btn{flex:1;padding:7px 20px;border:none;background:#fff;border-radius:0;font-size:14px;font-weight:600;color:#6b7280;cursor:pointer;font-family:var(--font);transition:all .15s;}
.sample-create-source-btn.is-active{background:#374151;color:#fff;box-shadow:none;}
.sample-create-actions{display:flex;gap:10px;margin-top:16px;}
#sampleFormModal .sample-create-body,
#sampleRecordModal .sample-create-body{font-size:13px !important;color:#111827 !important;}
#sampleFormModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"],
#sampleRecordModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"]{display:grid !important;grid-template-columns:repeat(12,minmax(0,1fr)) !important;gap:10px 12px !important;}
#sampleFormModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"] > .o-row,
#sampleRecordModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"] > .o-row{grid-column:span 6;gap:6px;background:#fff;padding:10px 12px 11px;border:1px solid #eef2f7;border-radius:12px;box-shadow:0 3px 10px rgba(15,23,42,0.03);}
#sampleFormModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"] > .o-row > .o-label,
#sampleFormModal .sample-create-body > .o-row > .o-label,
#sampleRecordModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"] > .o-row > .o-label,
#sampleRecordModal .sample-create-body > .o-row > .o-label{font-size:13px !important;font-weight:800 !important;color:#111827 !important;line-height:1.4 !important;}
#sampleFormModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"] > .o-row .o-input,
#sampleFormModal .sample-create-body > .o-row .o-input,
#sampleRecordModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"] > .o-row .o-input,
#sampleRecordModal .sample-create-body > .o-row .o-input,
#sampleRecordModal #sr-custom-wrap .o-input{font-size:13px !important;color:#111827 !important;}
#sampleFormModal .sample-create-body > .o-row[style*="margin-top:14px;"],
#sampleRecordModal .sample-create-body > .o-row[style*="margin-top:14px;"]{gap:6px;background:#fff;padding:10px 12px 11px;border:1px solid #eef2f7;border-radius:12px;box-shadow:0 3px 10px rgba(15,23,42,0.03);margin-top:12px !important;}
#sampleFormModal .sample-create-body > .o-row[style*="margin-top:14px;"]:first-of-type,
#sampleRecordModal .sample-create-body > .o-row[style*="margin-top:14px;"]:first-of-type{margin-top:0 !important;}
#sampleFormModal .sample-create-body > div[style*="display:flex;gap:10px;margin-top:22px;"],
#sampleRecordModal .sample-create-body > div[style*="display:flex;gap:10px;margin-top:22px;"]{display:flex !important;flex-direction:row-reverse !important;gap:10px !important;margin-top:16px !important;}
#sampleFormModal .sample-create-body > div[style*="display:flex;gap:10px;margin-top:22px;"] > button:first-child,
#sampleRecordModal .sample-create-body > div[style*="display:flex;gap:10px;margin-top:22px;"] > button:first-child{flex:1;padding:13px;background:linear-gradient(135deg,#16a34a,#15803d) !important;color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:700;cursor:pointer;font-family:var(--font);box-shadow:0 8px 22px rgba(21,128,61,0.22);transition:all .15s;}
#sampleFormModal .sample-create-body > div[style*="display:flex;gap:10px;margin-top:22px;"] > button:last-child,
#sampleRecordModal .sample-create-body > div[style*="display:flex;gap:10px;margin-top:22px;"] > button:last-child{flex:1;padding:13px;background:#fff;border:1.5px solid #e5e7eb;border-radius:12px;font-size:14px;font-weight:600;color:#374151;cursor:pointer;font-family:var(--font);transition:all .15s;}
#sampleFormModal .sample-create-body > div[style*="display:flex;gap:10px;margin-top:22px;"] > button:last-child:hover,
#sampleRecordModal .sample-create-body > div[style*="display:flex;gap:10px;margin-top:22px;"] > button:last-child:hover{background:#f9fafb;}
#sampleRecordModal #sr-customer-row{margin-bottom:12px !important;}
#sampleRecordModal #sr-customer-row > label{font-size:13px !important;font-weight:800 !important;color:#111827 !important;display:block !important;margin-bottom:6px !important;}
#sampleRecordModal #sr-customer-row > div:first-of-type{display:flex !important;gap:8px !important;margin-bottom:10px !important;}
#sampleRecordModal #sr-src-followup,
#sampleRecordModal #sr-src-custom{flex:1;padding:7px 20px !important;border:none !important;background:#fff !important;border-radius:0 !important;font-size:14px !important;font-weight:600 !important;color:#6b7280 !important;cursor:pointer;font-family:var(--font);transition:all .15s;}
#sampleRecordModal #sr-src-followup.is-active,
#sampleRecordModal #sr-src-custom.is-active{background:#374151 !important;color:#fff !important;box-shadow:none !important;}
#sampleRecordModal #sr-followup-sel{padding:10px 12px;border:1.5px solid #e5e7eb;border-radius:10px;font-size:13px;font-family:var(--font);color:#111827;outline:none;width:100%;background:#fff;transition:all .15s;}
#sampleRecordModal #sr-followup-sel:focus{border-color:#16a34a;box-shadow:0 0 0 4px rgba(34,197,94,0.12);}
#sampleRecordModal #sr-custom-wrap > div{display:grid !important;grid-template-columns:1fr 1fr !important;gap:10px !important;margin-top:10px !important;}
@media (max-width: 860px){
  .sample-create-grid{grid-template-columns:1fr 1fr !important;}
  .sample-create-grid > *{grid-column:auto !important;}
  #sampleFormModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"]{grid-template-columns:1fr 1fr !important;}
  #sampleFormModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"] > .o-row{grid-column:auto;}
  #sampleRecordModal #sr-custom-wrap > div{grid-template-columns:1fr 1fr !important;}
  #sampleRecordModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"]{grid-template-columns:1fr 1fr !important;}
  #sampleRecordModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"] > .o-row{grid-column:auto;}
}
@media (max-width: 640px){
  .sample-create-grid{grid-template-columns:1fr !important;}
  .sample-create-source-tabs{flex-direction:column;}
  #sampleFormModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"]{grid-template-columns:1fr !important;}
  #sampleRecordModal #sr-custom-wrap > div,
  #sampleRecordModal .sample-create-body > div[style*="display:grid;grid-template-columns:1fr 1fr;gap:14px;"]{grid-template-columns:1fr !important;}
}
@media (max-width: 860px){
  .order-create-body{grid-template-columns:1fr 1fr !important;}
  .order-create-grid > *,
  .order-create-body > .order-create-panel,
  .order-create-body > .order-create-note,
  .order-create-body > .order-create-actions{grid-column:auto !important;}
  .order-create-panel-grid{grid-template-columns:1fr 1fr 1fr !important;}
  .order-create-note-head,
  .order-create-panel-head{flex-wrap:wrap;}
}
@media (max-width: 640px){
  .order-create-body,
  .order-create-panel-grid{grid-template-columns:1fr !important;}
  .order-create-item-head{display:none;}
  .order-create-panel-summary{align-items:flex-start;flex-direction:column;}
}
.order-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--border);flex-wrap:wrap;font-size:13px;}
.order-row:last-child{border-bottom:none;}
.o-date{color:#9ca3af;font-size:12px;min-width:85px;}
.o-name{font-weight:600;color:#111827;min-width:120px;}
.o-amt{font-weight:700;color:#7c3aed;min-width:90px;}
.o-tag{font-size:11px;padding:2px 8px;border-radius:6px;font-weight:500;}
.o-paid{background:#dcfce7;color:#15803d;}
.o-unpaid{background:#fee2e2;color:#b91c1c;}
.o-tag-ship{background:#dbeafe;color:#1d4ed8;}
.o-tag-arr{background:#dcfce7;color:#15803d;}
.o-tag-ns{background:#f3f4f6;color:#9ca3af;}
.ord-tab{padding:5px 14px;border-radius:6px;border:1.5px solid #e5e7eb;background:white;font-size:13px;font-weight:500;cursor:pointer;font-family:var(--font);}
.ord-tab.active{background:#7c3aed;color:white;border-color:#7c3aed;}
.fp-tab{padding:4px 10px;border-radius:20px;border:1.5px solid #e5e7eb;background:white;font-size:12px;font-weight:500;cursor:pointer;font-family:var(--font);transition:all .15s;}
.fp-tab:hover{background:#f5f3ff;border-color:#ddd6fe;color:#7c3aed;}
.fp-tab.active{background:#7c3aed;color:white;border-color:#7c3aed;}
.ord-tab.active{background:#7c3aed;color:white;border-color:#7c3aed;}
.o-del{font-size:11px;color:#ef4444;cursor:pointer;padding:2px 8px;border-radius:5px;border:1px solid #fecaca;background:white;font-family:var(--font);}
.o-del:hover{background:#fee2e2;}
@keyframes rowIn{from{opacity:0;transform:translateX(-4px);}to{opacity:1;transform:none;}}
tbody tr{animation:rowIn .18s ease both;}

/* ==================== 登录页面 ==================== */
/* 隐藏浏览器自带的密码显示按钮 */
input::-ms-reveal, input::-ms-clear { display:none; }
input::-webkit-credentials-auto-fill-button { display:none !important; }
.pw-wrap { position:relative; width:100%; }
.pw-wrap input { padding-right:44px; }
.pw-eye { position:absolute; right:12px; top:50%; transform:translateY(-50%); background:none; border:none; cursor:pointer; padding:4px; line-height:1; opacity:0.5; transition:opacity .15s; }
.pw-eye:hover { opacity:0.85; }
html.auth-pending #loginPage,
html.auth-pending #registerPage,
html.auth-has-session #loginPage,
html.auth-has-session #registerPage { display:none !important; }
html.auth-no-session[data-auth-screen="register"] #loginPage{display:none !important;}
html.auth-no-session[data-auth-screen="register"] #registerPage{display:flex !important;}
html.auth-no-session[data-auth-screen="login"] #registerPage{display:none !important;}
html.auth-has-session #appWrap{display:block !important;}
html.auth-no-session #appWrap,
html.auth-pending #appWrap{display:none !important;}
html.auth-has-session[data-boot-page="mine"] #tbl-ocean{display:none !important;}
html.auth-has-session[data-boot-page="mine"] #tbl-mine{display:table !important;}
html.auth-has-session[data-boot-page="mine"] #btn-add-private{display:inline-flex !important;}
html.auth-has-session[data-boot-page="demand"] #btn-share,
html.auth-has-session[data-boot-page="demand"] #topbar-credits,
html.auth-has-session[data-boot-page="settings"] #btn-share,
html.auth-has-session[data-boot-page="settings"] #topbar-credits{display:none !important;}
html.auth-has-session[data-boot-page="followup"] .filterbar,
html.auth-has-session[data-boot-page="followup"] .table-area,
html.auth-has-session[data-boot-page="followup"] .pager,
html.auth-has-session[data-boot-page="guide"] .filterbar,
html.auth-has-session[data-boot-page="guide"] .table-area,
html.auth-has-session[data-boot-page="guide"] .pager,
html.auth-has-session[data-boot-page="demand"] .filterbar,
html.auth-has-session[data-boot-page="demand"] .table-area,
html.auth-has-session[data-boot-page="demand"] .pager,
html.auth-has-session[data-boot-page="demandMarket"] .filterbar,
html.auth-has-session[data-boot-page="demandMarket"] .table-area,
html.auth-has-session[data-boot-page="demandMarket"] .pager,
html.auth-has-session[data-boot-page="sales"] .filterbar,
html.auth-has-session[data-boot-page="sales"] .table-area,
html.auth-has-session[data-boot-page="sales"] .pager,
html.auth-has-session[data-boot-page="shares"] .filterbar,
html.auth-has-session[data-boot-page="shares"] .table-area,
html.auth-has-session[data-boot-page="shares"] .pager,
html.auth-has-session[data-boot-page="settings"] .filterbar,
html.auth-has-session[data-boot-page="settings"] .table-area,
html.auth-has-session[data-boot-page="settings"] .pager,
html.auth-has-session[data-boot-page="points"] .filterbar,
html.auth-has-session[data-boot-page="points"] .table-area,
html.auth-has-session[data-boot-page="points"] .pager,
html.auth-has-session[data-boot-page="orders"] .filterbar,
html.auth-has-session[data-boot-page="orders"] .table-area,
html.auth-has-session[data-boot-page="orders"] .pager,
html.auth-has-session[data-boot-page="samples"] .filterbar,
html.auth-has-session[data-boot-page="samples"] .table-area,
html.auth-has-session[data-boot-page="samples"] .pager{display:none !important;}
html.auth-has-session[data-boot-page="academy"] .filterbar,
html.auth-has-session[data-boot-page="academy"] .table-area,
html.auth-has-session[data-boot-page="academy"] .pager{display:none !important;}
html.auth-has-session[data-boot-page="followup"] #page-followup,
html.auth-has-session[data-boot-page="academy"] #page-academy,
html.auth-has-session[data-boot-page="demand"] #page-demand,
html.auth-has-session[data-boot-page="demandMarket"] #page-demand-market,
html.auth-has-session[data-boot-page="guide"] #page-guide,
html.auth-has-session[data-boot-page="sales"] #page-sales,
html.auth-has-session[data-boot-page="shares"] #page-shares,
html.auth-has-session[data-boot-page="settings"] #page-settings,
html.auth-has-session[data-boot-page="points"] #page-points,
html.auth-has-session[data-boot-page="orders"] #page-orders,
html.auth-has-session[data-boot-page="samples"] #page-samples{display:block !important;}
.purchase-demand-page{
  display:none;position:absolute;left:var(--sidebar);right:0;top:var(--topbar);bottom:0;
  overflow:auto;background:#f4f5fc;
}
html[data-current-page="demand"] .purchase-demand-page,
html.auth-has-session[data-boot-page="demand"] .purchase-demand-page{top:260px;}
.demand-market-demo-page{
  display:none;position:absolute;left:var(--sidebar);right:0;top:var(--topbar);bottom:0;
  overflow:hidden;background:#f4f5fc;
}
.demand-market-demo-frame{
  width:100%;height:100%;border:0;display:block;background:#f4f5fc;
}
.purchase-demand-headbar{
  min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:18px 28px;background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:6;box-sizing:border-box;
}
.purchase-demand-heading{display:flex;align-items:center;gap:14px;min-width:0;}
.purchase-demand-title{font-size:23px;font-weight:800;color:#111827;line-height:1.2;white-space:nowrap;}
.purchase-demand-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-left:auto;min-width:0;}
.purchase-demand-refresh{
  height:36px;padding:0 16px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;
  font-size:13px;font-weight:700;cursor:pointer;font-family:var(--font);
}
.purchase-demand-refresh:hover{background:#f8fafc;border-color:#9ca3af;}
.purchase-demand-content{padding:14px 28px 34px;}
.purchase-demand-stats{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:30px;}
.purchase-demand-stat{
  display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border:1px solid #e5e7eb;border-radius:8px;
  background:#f8fafc;color:#475569;font-size:13px;font-weight:700;
}
.purchase-demand-stat strong{color:#111827;font-size:15px;}
.purchase-demand-stat.is-new-demand{color:#16a34a;border-color:#bbf7d0;background:#f0fdf4;}
.purchase-demand-stat.is-new-demand strong{color:#16a34a;}
.purchase-demand-table-card{overflow:auto;background:#fff;border:1px solid #e5e7eb;border-radius:8px;}
.purchase-demand-table{width:100%;min-width:980px;border-collapse:collapse;table-layout:fixed;}
.purchase-demand-table th{
  position:static;height:42px;padding:0 12px;background:#f8fafc;border-bottom:1px solid #e5e7eb;
  color:#374151;font-size:13px;font-weight:800;text-align:left;white-space:nowrap;
}
.purchase-demand-table td{
  height:auto;padding:13px 12px;border-bottom:1px solid #eef2f7;color:#111827;font-size:13px;line-height:1.65;
  text-align:left;white-space:normal;word-break:break-word;overflow:visible;vertical-align:top;
}
.purchase-demand-table tr:last-child td{border-bottom:none;}
.purchase-demand-requirement{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  max-height:4.8em;
  overflow:hidden;
  line-height:1.6;
  word-break:break-word;
}
.purchase-demand-time{font-variant-numeric:tabular-nums;color:#475569;font-weight:700;}
.purchase-demand-mode{display:block;width:max-content;margin-bottom:5px;padding:2px 6px;border-radius:5px;background:#eef2ff;color:#4f46e5;font-size:11px;font-weight:700;line-height:1.4;}
.purchase-demand-mode.is-plaza{background:#fff7ed;color:#c2410c;}
.purchase-demand-ended td{background:#f8fafc;color:#94a3b8;}
.purchase-demand-ended-tag{display:inline-flex;align-items:center;margin:0 0 5px 6px;padding:2px 6px;border-radius:999px;background:#e5e7eb;color:#64748b;font-size:11px;font-weight:800;line-height:1.4;}
.purchase-demand-contact-hidden{color:#9ca3af;font-weight:600;}
.purchase-demand-view-btn{height:30px;min-width:126px;padding:0 12px;border:1px solid #16a34a;border-radius:8px;background:#22c55e;color:#fff;font-size:12px;font-weight:800;cursor:pointer;font-family:var(--font);line-height:1;white-space:nowrap;box-shadow:0 6px 14px rgba(34,197,94,.22);}
.purchase-demand-view-btn:hover{background:#16a34a;border-color:#15803d;}
.purchase-demand-response-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:146px;}
.purchase-demand-response-btn{height:28px;padding:0 8px;border:1px solid #d1d5db;border-radius:7px;background:#fff;color:#374151;font-size:12px;font-weight:700;cursor:pointer;font-family:var(--font);line-height:1;white-space:nowrap;}
.purchase-demand-response-btn:hover{background:#f8fafc;border-color:#94a3b8;color:#111827;}
.purchase-demand-response-btn.primary{background:#22c55e;border-color:#16a34a;color:#fff;box-shadow:0 6px 14px rgba(34,197,94,.18);}
.purchase-demand-response-btn.primary:hover{background:#16a34a;border-color:#15803d;color:#fff;}
.purchase-demand-response-btn.muted{color:#64748b;}
.purchase-demand-status-new{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:#dcfce7;color:#15803d;font-size:12px;font-weight:800;}
.purchase-demand-status-read{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:12px;font-weight:700;line-height:1.3;}
.purchase-demand-status-mismatch{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:999px;background:#fef2f2;color:#b91c1c;font-size:12px;font-weight:700;line-height:1.3;}
.purchase-demand-status-ended{display:inline-flex;align-items:center;min-height:22px;padding:4px 8px;border-radius:999px;background:#e5e7eb;color:#64748b;font-size:12px;font-weight:800;line-height:1.2;}
.purchase-demand-empty{padding:52px 20px !important;text-align:center !important;color:#9ca3af !important;font-size:14px !important;}
.academy-page{
  display:none;position:absolute;left:var(--sidebar);right:0;top:var(--topbar);bottom:0;
  overflow:auto;background:#fff;
}
.academy-shell{max-width:1240px;margin:0 auto;padding:26px 28px 48px;}
.academy-hero{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  padding-bottom:16px;margin-bottom:20px;border-bottom:1px solid #e5e7eb;
}
.academy-hero-copy{min-width:0;}
.academy-kicker{font-size:13px;font-weight:800;color:#6b7280;margin-bottom:8px;}
.academy-hero-title{font-size:26px;line-height:1.2;color:#111827;margin:0 10px 0 0;font-weight:700;white-space:nowrap;}
.academy-hero-desc{font-size:14px;line-height:1.7;color:#4b5563;margin:0;min-width:360px;flex:1 1 390px;}
.academy-hero-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;margin-left:auto;}
.academy-submit-btn,.academy-my-submissions-btn{
  height:38px;border-radius:8px;padding:0 16px;font-size:13px;font-weight:800;cursor:pointer;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.academy-submit-btn{border:1px solid #111827;background:#111827;color:#fff;}
.academy-submit-btn:hover{background:#000;border-color:#000;}
.academy-my-submissions-btn{border:1px solid #d1d5db;background:#fff;color:#111827;}
.academy-my-submissions-btn:hover{border-color:#111827;}
.academy-toolbar{display:flex;align-items:center;gap:18px;margin-bottom:24px;flex-wrap:wrap;}
.academy-hero-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.academy-search-input{
  width:240px;padding:9px 12px;border-radius:8px;border:1px solid #d1d5db;background:#fff;
  font-size:13px;color:#111827;outline:none;box-shadow:none;
}
.academy-search-input:focus{border-color:#111827;box-shadow:0 0 0 3px rgba(17,24,39,0.08);}
.academy-category-tabs{display:flex;flex-wrap:wrap;gap:8px;}
.academy-category-chip{
  border:1px solid #e5e7eb;border-radius:8px;padding:7px 10px;background:#fff;color:#4b5563;
  font-size:13px;font-weight:700;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease;
}
.academy-category-chip:hover{border-color:#9ca3af;color:#111827;}
.academy-category-chip.active{background:#111827;border-color:#111827;color:#fff;}
.academy-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;}
.academy-panel-head--compact{margin-bottom:8px;}
.academy-panel-title{font-size:15px;font-weight:800;color:#111827;}
.academy-count-tag{font-size:12px;font-weight:700;color:#6b7280;margin-left:4px;}
.academy-card-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#6b7280;margin-bottom:12px;}
.academy-card-badge,.academy-card-cat{display:inline-flex;align-items:center;padding:3px 8px;border-radius:6px;font-weight:700;}
.academy-card-badge{background:#111827;color:#fff;}
.academy-card-cat{background:#f3f4f6;color:#374151;}
.academy-main{display:block;}
.academy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 20px;}
.academy-article-card{display:flex;flex-direction:column;min-width:0;background:#fff;}
.academy-card-cover{
  width:100%;aspect-ratio:1.92/1;border:1px solid #e5e7eb;background:#f3f4f6;overflow:hidden;border-radius:0;
}
.academy-card-cover img{width:100%;height:100%;display:block;object-fit:cover;}
.academy-card-cover-empty{height:100%;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:13px;font-weight:700;}
.academy-card-new-badge{display:inline-flex;width:max-content;align-items:center;margin-top:14px;padding:3px 8px;border-radius:6px;background:#dcfce7;color:#15803d;font-size:12px;font-weight:900;line-height:1.3;}
.academy-card-title{margin:18px 0 8px;font-size:22px;line-height:1.28;font-weight:900;color:#111827;}
.academy-card-summary{font-size:15px;line-height:1.75;color:#111827;min-height:52px;}
.academy-read-link{
  width:max-content;margin-top:18px;border:none;background:transparent;border-bottom:1px solid #111827;
  color:#111827;font-size:14px;line-height:1.6;font-weight:900;font-style:italic;cursor:pointer;padding:0 0 2px;
}
.academy-card-footer{margin-top:26px;padding-top:12px;border-top:1px solid #e5e7eb;font-size:13px;font-weight:800;color:#111827;}
.academy-card-footer span{color:#6b7280;margin:0 6px;}
.academy-modal-overlay{position:fixed;inset:0;background:rgba(17,24,39,0.45);z-index:9999;align-items:center;justify-content:center;padding:24px;}
.academy-article-modal,.academy-submit-modal{
  position:relative;width:min(900px,94vw);max-height:90vh;overflow:auto;background:#fff;border-radius:8px;
  box-shadow:0 24px 70px rgba(0,0,0,0.22);padding:30px 34px 36px;
}
.academy-submit-modal{width:min(760px,94vw);}
.academy-status-modal{width:min(820px,94vw);}
.academy-modal-close{
  position:absolute;right:16px;top:14px;width:34px;height:34px;border-radius:8px;border:1px solid #e5e7eb;
  background:#fff;color:#111827;font-size:22px;line-height:1;cursor:pointer;
}
.academy-modal-title{font-size:24px;font-weight:900;color:#111827;margin-bottom:8px;}
.academy-modal-subtitle{font-size:13px;line-height:1.7;color:#6b7280;margin-bottom:18px;}
.academy-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.academy-form-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:800;color:#374151;}
.academy-form-field-wide{grid-column:1/-1;}
.academy-form-field input,.academy-form-field select,.academy-form-field textarea{
  width:100%;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827;
  padding:10px 12px;font-size:14px;line-height:1.7;font-family:var(--font);outline:none;
}
.academy-form-field textarea{resize:vertical;}
.academy-form-field input:focus,.academy-form-field select:focus,.academy-form-field textarea:focus{
  border-color:#111827;box-shadow:0 0 0 3px rgba(17,24,39,0.08);
}
.academy-submit-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;}
.academy-cancel-btn,.academy-submit-confirm-btn{
  height:38px;border-radius:8px;padding:0 16px;font-size:13px;font-weight:800;cursor:pointer;
}
.academy-cancel-btn{border:1px solid #d1d5db;background:#fff;color:#111827;}
.academy-submit-confirm-btn{border:1px solid #111827;background:#111827;color:#fff;}
.academy-submit-notice{border-radius:8px;padding:10px 12px;margin-bottom:14px;font-size:13px;font-weight:700;line-height:1.7;}
.academy-submit-notice.is-error{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;}
.academy-submit-notice.is-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;}
.academy-submission-list{display:grid;gap:10px;}
.academy-submission-item{border:1px solid #e5e7eb;border-radius:8px;padding:14px;background:#fff;}
.academy-submission-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:6px;}
.academy-submission-title{font-size:15px;font-weight:900;color:#111827;line-height:1.5;}
.academy-submission-meta{font-size:12px;color:#6b7280;line-height:1.7;}
.academy-status-tag{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900;white-space:nowrap;}
.academy-status-pending{background:#fef3c7;color:#b45309;}
.academy-status-published{background:#dcfce7;color:#15803d;}
.academy-status-rejected{background:#fee2e2;color:#b91c1c;}
.academy-status-draft,.academy-status-offline{background:#f3f4f6;color:#4b5563;}
.academy-detail-empty{
  min-height:320px;display:flex;align-items:center;justify-content:center;
  border:1px dashed #d1d5db;border-radius:8px;background:#fafafa;color:#9ca3af;font-size:14px;
}
.academy-doc{max-width:760px;margin:0 auto;}
.academy-detail-head{padding-bottom:20px;margin-bottom:24px;}
.academy-detail-title{font-size:32px;line-height:1.26;color:#111827;font-weight:800;margin:14px 0 18px;}
.academy-detail-summary{font-size:14px;line-height:1.9;color:#111827;background:#fff7d6;border-radius:8px;padding:14px 16px;margin-bottom:0;}
.academy-detail-content{font-size:15px;line-height:1.95;color:#111827;}
.academy-detail-content h3{font-size:21px;line-height:1.45;color:#111827;margin:30px 0 10px;font-weight:800;}
.academy-detail-content p{margin:0 0 14px;}
.academy-detail-content ul,
.academy-detail-content ol{margin:0 0 20px;padding-left:22px;}
.academy-detail-content li{margin:6px 0;}
#academyArticleModal.academy-modal-overlay{padding:0;background:#020202;align-items:flex-start;justify-content:center;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
#academyArticleModal .academy-article-modal{
  width:100vw;max-width:none;min-height:100vh;max-height:none;overflow:visible;background:#020202;color:#f8fafc;
  border-radius:0;box-shadow:none;padding:0;
}
#academyArticleModal .academy-modal-close{
  position:fixed;right:32px;top:48px;z-index:5;min-width:78px;height:42px;padding:0 18px;border-radius:999px;
  border:1px solid #0f172a;background:#0f172a;color:#ffffff;font-size:15px;font-weight:900;
  box-shadow:0 12px 30px rgba(15,23,42,.22);
}
#academyArticleModal .academy-modal-close:hover{background:#020617;border-color:#020617;}
#academyArticleModal .academy-doc{max-width:760px;margin:0 auto;padding:86px 30px 120px;}
#academyArticleModal .academy-detail-head{padding-bottom:42px;margin-bottom:18px;}
#academyArticleModal .academy-card-meta{gap:14px;margin-bottom:34px;color:#cbd5e1;font-size:16px;line-height:1.7;}
#academyArticleModal .academy-card-cat{background:#111827;color:#f8fafc;border:1px solid #334155;}
#academyArticleModal .academy-card-badge{background:#f8fafc;color:#020617;}
#academyArticleModal .academy-detail-title{font-size:42px;line-height:1.14;color:#ffffff;font-weight:900;margin:0 0 24px;}
#academyArticleModal .academy-detail-summary{
  background:transparent;border-left:3px solid #facc15;border-radius:0;padding:0 0 0 18px;
  color:#e5e7eb;font-size:18px;line-height:1.85;margin:0;
}
#academyArticleModal .academy-detail-content{font-size:18px;line-height:1.9;color:#f1f5f9;}
#academyArticleModal .academy-detail-content p{margin:0 0 22px;}
#academyArticleModal .academy-detail-content h2,
#academyArticleModal .academy-detail-content h3,
#academyArticleModal .academy-detail-content h4{color:#ffffff;font-weight:900;line-height:1.28;}
#academyArticleModal .academy-detail-content h2{font-size:30px;margin:48px 0 18px;}
#academyArticleModal .academy-detail-content h3{font-size:24px;margin:38px 0 14px;}
#academyArticleModal .academy-detail-content h4{font-size:20px;margin:30px 0 12px;}
#academyArticleModal .academy-detail-content strong{
  color:#ffffff;font-weight:900;background:none;
}
#academyArticleModal .academy-detail-content ul,
#academyArticleModal .academy-detail-content ol{margin:0 0 24px;padding-left:24px;}
#academyArticleModal .academy-detail-content li{margin:10px 0;padding-left:4px;}
#academyArticleModal .academy-detail-content hr{border:0;border-top:1px solid #334155;margin:42px 0;}
#academyArticleModal[data-reader-theme="light"].academy-modal-overlay{background:#f8fafc;}
#academyArticleModal[data-reader-theme="light"] .academy-article-modal{background:#f8fafc;color:#111827;}
#academyArticleModal[data-reader-theme="light"] .academy-modal-close{background:#0f172a;color:#ffffff;border-color:#0f172a;}
#academyArticleModal[data-reader-theme="light"] .academy-modal-close:hover{background:#020617;border-color:#020617;}
#academyArticleModal[data-reader-theme="light"] .academy-card-meta{color:#64748b;}
#academyArticleModal[data-reader-theme="light"] .academy-card-cat{background:#e2e8f0;color:#0f172a;border-color:#cbd5e1;}
#academyArticleModal[data-reader-theme="light"] .academy-card-badge{background:#111827;color:#ffffff;}
#academyArticleModal[data-reader-theme="light"] .academy-detail-title,
#academyArticleModal[data-reader-theme="light"] .academy-detail-content h2,
#academyArticleModal[data-reader-theme="light"] .academy-detail-content h3,
#academyArticleModal[data-reader-theme="light"] .academy-detail-content h4{color:#0f172a;}
#academyArticleModal[data-reader-theme="light"] .academy-detail-summary{color:#334155;}
#academyArticleModal[data-reader-theme="light"] .academy-detail-content{color:#111827;}
#academyArticleModal[data-reader-theme="light"] .academy-detail-content strong{color:#0f172a;background:none;}
#academyArticleModal[data-reader-theme="light"] .academy-detail-content hr{border-top-color:#cbd5e1;}
.academy-empty-card{
  border:1px dashed #d1d5db;border-radius:8px;padding:22px 16px;margin:0 16px;
  text-align:center;color:#9ca3af;background:#fafafa;font-size:14px;
}
@media (max-width: 980px){
  .academy-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
.guide-page{
  display:none;position:absolute;left:var(--sidebar);right:0;top:var(--topbar);bottom:0;
  overflow:auto;background:#fff;
}
.guide-wrap{max-width:900px;margin:0 auto;padding:28px 28px 44px;}
.guide-teach-entry{
  position:relative;z-index:1;
  display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:18px;
  margin:0 0 16px;padding:14px 16px 14px 18px;border:1px solid #bbf7d0;border-radius:18px;
  background:
    radial-gradient(circle at 12% 12%,rgba(187,247,208,.48),transparent 34%),
    linear-gradient(135deg,#f0fdf4 0%,#ffffff 58%,#ecfdf5 100%);
  box-shadow:0 18px 42px rgba(15,23,42,.13);
}
.guide-teach-entry-copy{min-width:0;}
.guide-teach-entry-label{
  color:#15803d;font-size:12px;font-weight:900;letter-spacing:.06em;
}
.guide-teach-entry-title{
  margin-top:3px;color:#0f172a;font-size:17px;font-weight:900;line-height:1.25;
}
.guide-teach-entry-sub{
  margin-top:4px;color:#64748b;font-size:12px;font-weight:650;line-height:1.5;
}
.guide-teach-flow{
  display:inline-grid;grid-auto-flow:column;align-items:center;gap:7px;padding:8px 10px;
  border:1px solid #dcfce7;border-radius:999px;background:rgba(255,255,255,.78);
}
.guide-teach-flow span{
  min-width:34px;height:24px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:999px;background:#ecfdf5;color:#166534;font-size:11px;font-weight:900;
  animation:guideTeachStepPulse 2.4s ease-in-out infinite;animation-delay:calc(var(--i) * .22s);
}
.guide-teach-flow i{
  width:14px;height:2px;border-radius:99px;background:#22c55e;position:relative;
  animation:guideTeachLineRun 1.6s ease-in-out infinite;
}
.guide-teach-flow i::after{
  content:"";position:absolute;right:-1px;top:-3px;border-left:6px solid #22c55e;
  border-top:4px solid transparent;border-bottom:4px solid transparent;
}
.guide-block{
  background:#fff;border:1px solid #111827;border-radius:18px;
  padding:26px 28px;margin-bottom:16px;box-shadow:0 1px 4px rgba(0,0,0,0.04);
}
.guide-intro-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
}
.guide-intro-head .guide-title{margin-bottom:12px;}
.guide-learn-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-width:104px;height:38px;padding:0 14px;border-radius:12px;
  border:1px solid #111827;background:#111827;color:#fff;
  font-size:13px;font-weight:800;font-family:var(--font);cursor:pointer;
  box-shadow:0 10px 22px rgba(17,24,39,0.16);transition:all .16s ease;white-space:nowrap;
}
.guide-learn-btn::before{
  content:"";width:7px;height:7px;border-radius:999px;background:#34d399;
  box-shadow:0 0 0 5px rgba(52,211,153,.18);
}
.guide-learn-btn:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(17,24,39,0.22);}
.guide-learn-btn-prominent{
  min-width:158px;height:46px;padding:0 18px;border:none;border-radius:14px;
  background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff;font-size:14px;
  box-shadow:0 14px 30px rgba(22,163,74,.28);animation:guideTeachButtonBreath 1.8s ease-in-out infinite;
}
.guide-learn-btn-prominent:hover{box-shadow:0 18px 38px rgba(22,163,74,.36);}
.guide-learn-play{
  width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:999px;background:rgba(255,255,255,.2);font-size:11px;
}
.guide-top-label{
  font-size:12px;font-weight:700;letter-spacing:.08em;color:#9ca3af;text-transform:uppercase;
  margin-bottom:10px;
}
.guide-title{
  margin:0 0 12px;font-size:30px;line-height:1.2;font-weight:800;color:#111827;
}
.guide-text{
  font-size:15px;line-height:1.9;color:#4b5563;
}
.guide-rule-box{
  margin-top:18px;padding:18px 20px;border-radius:14px;background:#f8fafc;border:1px solid #e5e7eb;
}
.guide-subtitle{
  margin:0 0 12px;font-size:18px;font-weight:800;color:#111827;
}
.guide-rule-list,.guide-summary-list{
  display:grid;gap:10px;
}
.guide-rule-item,.guide-summary-item{
  font-size:14px;line-height:1.9;color:#374151;
}
.guide-rule-strong,.guide-summary-strong{
  color:#111827;font-weight:800;
}
.guide-reward-strong{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:30px;padding:1px 12px;margin:0 3px;border-radius:999px;
  background:#fff7ed;border:1px solid #fdba74;color:#c2410c;
  font-size:18px;font-weight:900;line-height:1.35;vertical-align:middle;
}
.guide-steps{
  display:grid;gap:14px;margin-top:14px;
}
.guide-step{
  display:flex;gap:14px;align-items:flex-start;padding:18px 0;border-top:1px solid #f1f5f9;
}
.guide-step:first-child{border-top:none;padding-top:0;}
.guide-step-no{
  width:30px;height:30px;border-radius:50%;background:#111827;color:#fff;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;
}
.guide-step-main{flex:1;min-width:0;}
.guide-step-title{
  margin:0 0 8px;font-size:18px;font-weight:800;color:#111827;
}
.guide-step-text{
  font-size:14px;line-height:1.9;color:#4b5563;
}
.guide-key{
  display:inline-flex;align-items:center;justify-content:center;min-height:26px;
  padding:0 10px;border-radius:8px;background:#f3f4f6;border:1px solid #e5e7eb;
  color:#111827;font-size:12px;font-weight:700;vertical-align:middle;margin:0 2px;
}
.guide-disclaimer-box{
  margin-top:18px;padding:18px 20px;border-radius:14px;background:#f8fafc;border:1px solid #e5e7eb;
}
.guide-summary-text{
  font-size:14px;line-height:1.9;color:#4b5563;margin-bottom:12px;
}
.guide-disclaimer-box .guide-summary-text:last-child{margin-bottom:0;}

/* ==================== 操作指南渐进式内容 ==================== */
.guide-compact-header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:32px;
  padding-bottom:30px;border-bottom:1px solid var(--index-layout-line,#d9d9d5);
}
.guide-compact-eyebrow{
  margin-bottom:10px;color:#159455;font-size:13px;font-weight:700;
}
.guide-compact-title{
  margin:0;color:#17191d;font-size:30px;font-weight:800;line-height:1.3;
}
.guide-compact-summary{
  max-width:680px;margin:12px 0 0;color:#5f636b;font-size:15px;line-height:1.85;
}
.guide-compact-tutorial{
  display:inline-flex;min-height:42px;flex:0 0 auto;align-items:center;gap:8px;
  padding:0 16px;border:1px solid #c9c9c4;border-radius:6px;background:transparent;
  color:#17191d;font-family:var(--font);font-size:14px;font-weight:700;cursor:pointer;
}
.guide-compact-tutorial-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto;flex-wrap:wrap;}
.guide-compact-tutorial:hover{background:rgba(0,0,0,.06);}
.guide-compact-tutorial .material-icons{font-size:20px;}
.guide-compact-compliance{
  display:grid;grid-template-columns:150px minmax(0,1fr);gap:26px;
  margin:28px 0 36px;padding:20px 0 20px 20px;border-left:3px solid #c68b50;
}
.guide-compact-compliance-title{
  color:#a65a18;font-size:15px;font-weight:800;
}
.guide-compact-compliance-copy{
  display:grid;gap:12px;color:#5f636b;font-size:15px;line-height:1.9;
}
.guide-compact-compliance-copy strong{color:#17191d;}
.guide-communication-highlight{
  color:#17191d;font-size:17px;font-weight:800;
}
.guide-compact-section-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin:0 0 16px;
}
.guide-compact-section-head h2{
  margin:0;color:#17191d;font-size:18px;font-weight:800;
}
.guide-compact-section-head > span{
  color:#858991;font-size:12px;
}
.guide-compact-flow{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  margin-bottom:44px;border-top:1px solid var(--index-layout-line,#d9d9d5);
  border-bottom:1px solid var(--index-layout-line,#d9d9d5);
}
.guide-compact-step{
  min-height:126px;padding:22px 24px;
}
.guide-compact-step + .guide-compact-step{
  border-left:1px solid var(--index-layout-line,#d9d9d5);
}
.guide-compact-step-number{
  color:#159455;font-size:12px;font-weight:800;
}
.guide-compact-step-title{
  margin-top:12px;color:#17191d;font-size:16px;font-weight:800;
}
.guide-compact-step-text{
  margin-top:7px;color:#5f636b;font-size:13px;line-height:1.65;
}
.guide-compact-sections{
  border-top:1px solid #c9c9c4;
}
.guide-compact-sections details{
  border-bottom:1px solid #c9c9c4;
}
.guide-compact-sections summary{
  display:grid;grid-template-columns:42px minmax(0,1fr) auto;min-height:86px;
  align-items:center;gap:16px;padding:16px 4px;list-style:none;cursor:pointer;
}
.guide-compact-sections summary::-webkit-details-marker{display:none;}
.guide-compact-sections summary:hover{background:rgba(0,0,0,.05);}
.guide-compact-sections summary:focus-visible,
.guide-compact-tutorial:focus-visible{
  outline:2px solid #2563eb;outline-offset:2px;
}
.guide-compact-section-number{
  color:#858991;font-size:12px;font-weight:800;
}
.guide-compact-accordion-main{display:block;min-width:0;}
.guide-compact-accordion-title{
  display:block;color:#17191d;font-size:16px;font-weight:800;
}
.guide-compact-accordion-summary{
  display:block;margin-top:5px;color:#5f636b;font-size:13px;line-height:1.55;
}
.guide-compact-chevron{
  color:#5f636b;font-size:20px;transition:transform .18s ease;
}
.guide-compact-sections details[open] .guide-compact-chevron{transform:rotate(180deg);}
.guide-compact-panel{
  padding:0 50px 28px 62px;
}
.guide-compact-share-entry{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:0 0 24px;
  padding:0 0 24px;
  border-bottom:1px solid var(--index-layout-row-line,#e6e5e1);
}
.guide-compact-share-copy{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}
.guide-compact-share-copy strong{
  color:#17191d;
  font-size:15px;
  font-weight:800;
}
.guide-compact-share-copy span{
  color:#666a72;
  font-size:14px;
  line-height:1.6;
}
.guide-compact-share-action{
  display:inline-flex;
  flex:0 0 auto;
  min-width:190px;
  min-height:52px;
  padding:8px 18px;
  border:0;
  border-radius:8px;
  background:#6d28d9;
  color:#fff;
  cursor:pointer;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  font-family:inherit;
}
.guide-compact-share-action:hover{background:#5b21b6;}
.guide-compact-share-action:focus-visible{
  outline:2px solid #2563eb;
  outline-offset:3px;
}
.guide-compact-share-action span{font-size:15px;font-weight:800;line-height:1;}
.guide-compact-share-action small{font-size:11px;font-weight:650;line-height:1;color:rgba(255,255,255,.86);}
.guide-compact-rule-row{
  display:grid;grid-template-columns:132px minmax(0,1fr);gap:20px;
  padding:15px 0;border-top:1px solid var(--index-layout-line,#d9d9d5);line-height:1.75;
}
.guide-compact-rule-row > span{
  color:#17191d;font-weight:800;
}
.guide-compact-rule-row p{
  margin:0;color:#5f636b;
}
.guide-compact-rule-row strong{color:#17191d;}
.guide-compact-footer{
  margin-top:32px;color:#858991;font-size:12px;line-height:1.7;
}

html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-title,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-tutorial,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-compliance-copy strong,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-communication-highlight,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-section-head h2,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-step-title,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-accordion-title,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-rule-row > span,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-rule-row strong{
  color:#f2f3f5;
}
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-share-copy strong{
  color:#f2f3f5;
}
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-share-copy span{
  color:#c4c7cd;
}
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-summary,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-compliance-copy,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-step-text,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-accordion-summary,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-rule-row p{
  color:#c4c7cd;
}
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-section-head > span,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-section-number,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-chevron,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-footer{
  color:#8e939c;
}
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-tutorial,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-sections,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-sections details{
  border-color:#45474d;
}
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-compliance{
  border-left-color:#7a5e3b;
}
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-compliance-title{
  color:#efb56f;
}
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-tutorial:hover,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-compact-sections summary:hover{
  background:#292b2f;
}

@media (max-width:900px){
  .guide-compact-header{gap:20px;}
  .guide-compact-compliance{grid-template-columns:1fr;gap:10px;}
  .guide-compact-flow{grid-template-columns:repeat(2,minmax(0,1fr));}
  .guide-compact-step:nth-child(3){border-left:0;border-top:1px solid var(--index-layout-line,#d9d9d5);}
  .guide-compact-step:nth-child(4){border-top:1px solid var(--index-layout-line,#d9d9d5);}
}

@media (max-width:640px){
  .guide-compact-header{display:flex;flex-direction:column;align-items:flex-start;}
  .guide-compact-title{font-size:26px;}
  .guide-compact-section-head{align-items:flex-start;flex-direction:column;gap:6px;}
  .guide-compact-flow{grid-template-columns:1fr;}
  .guide-compact-step + .guide-compact-step{border-top:1px solid var(--index-layout-line,#d9d9d5);border-left:0;}
  .guide-compact-sections summary{grid-template-columns:32px minmax(0,1fr) auto;}
  .guide-compact-panel{padding:0 4px 24px 48px;}
  .guide-compact-share-entry{align-items:flex-start;flex-direction:column;gap:14px;}
  .guide-compact-share-action{width:100%;min-width:0;}
  .guide-compact-rule-row{grid-template-columns:1fr;gap:5px;}
}

/* ==================== 操作指南教学动画 ==================== */
.guide-tutorial-overlay{
  position:fixed;inset:0;z-index:99996;align-items:center;justify-content:center;
  padding:24px;background:rgba(15,23,42,.36);backdrop-filter:blur(8px);
}
.guide-tutorial-modal{
  position:relative;width:min(880px,96vw);max-height:92vh;overflow:hidden;
  border:1px solid #d7eadf;border-radius:24px;background:
    radial-gradient(circle at 12% 8%,rgba(187,247,208,.46),transparent 30%),
    linear-gradient(145deg,#fcfffd 0%,#f4fbf7 48%,#fff 100%);
  box-shadow:0 28px 84px rgba(15,23,42,.26);font-family:var(--font);
  animation:guideTutorialIn .22s ease-out;
}
.guide-tutorial-close{
  position:absolute;right:16px;top:14px;z-index:4;width:34px;height:34px;border-radius:999px;
  border:1px solid #d1d5db;background:rgba(255,255,255,.82);color:#64748b;
  font-size:20px;font-weight:700;line-height:1;cursor:pointer;font-family:var(--font);
}
.guide-tutorial-close:hover{background:#fff;color:#111827;}
.guide-tutorial-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
  padding:23px 26px 15px;border-bottom:1px solid rgba(209,250,229,.88);
}
.guide-tutorial-kicker{
  display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;
  background:#dcfce7;color:#166534;font-size:12px;font-weight:850;
}
.guide-tutorial-title{
  margin-top:9px;color:#10221a;font-size:21px;font-weight:850;line-height:1.28;
}
.guide-tutorial-progress{display:inline-flex;gap:7px;padding:10px 40px 0 0;}
.guide-tutorial-dot{
  width:7px;height:7px;border-radius:999px;background:#bbf7d0;transition:all .18s ease;
}
.guide-tutorial-dot.active{width:24px;background:#16a34a;}
.guide-tutorial-body{
  display:grid;grid-template-columns:minmax(260px,.92fr) minmax(360px,1.08fr);
  gap:20px;padding:22px 26px 18px;
}
.guide-tutorial-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;}
.guide-tutorial-step-label{color:#15803d;font-size:13px;font-weight:850;}
.guide-tutorial-copy h3{margin:9px 0 10px;color:#111827;font-size:20px;font-weight:900;line-height:1.35;}
.guide-tutorial-copy p{margin:0;color:#4b5563;font-size:14px;font-weight:500;line-height:1.78;}
.guide-tutorial-tip{
  margin-top:16px;padding:12px 13px;border:1px solid #d8eadf;border-radius:14px;
  background:#f5fbf7;color:#35634a;font-size:13px;font-weight:700;line-height:1.55;
}
.guide-tutorial-actions{
  display:flex;justify-content:flex-end;gap:10px;padding:0 26px 24px;
}
.guide-tutorial-btn{
  min-width:86px;height:38px;border-radius:12px;font-family:var(--font);
  font-size:13px;font-weight:850;cursor:pointer;transition:all .14s ease;
}
.guide-tutorial-btn:active{transform:translateY(1px);}
.guide-tutorial-btn-ghost{border:1px solid #d1d5db;background:#fff;color:#475569;}
.guide-tutorial-btn-plain{border:1px solid #cbd5e1;background:rgba(255,255,255,.72);color:#64748b;}
.guide-tutorial-btn-primary{
  border:1px solid #16a34a;background:linear-gradient(135deg,#16a34a,#22c55e);
  color:#fff;box-shadow:0 10px 24px rgba(22,163,74,.24);
}
.guide-tutorial-visual{
  position:relative;min-height:286px;border:1px solid rgba(203,213,225,.86);
  border-radius:18px;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 18px 34px rgba(15,23,42,.1);
  overflow:hidden;
}
.guide-tutorial-real-screen{
  display:grid;grid-template-columns:104px 1fr;min-height:306px;background:#f4f5fb;
}
.guide-mini-sidebar{
  position:relative;z-index:1;padding:14px 10px;background:#eef0f8;border-right:1px solid #dfe5ef;
}
.guide-mini-logo{
  margin-bottom:15px;color:#111827;font-size:11px;font-weight:900;text-align:center;
}
.guide-mini-section{
  margin:10px 0 6px;color:#94a3b8;font-size:9px;font-weight:900;
}
.guide-mini-nav{
  position:relative;height:27px;display:flex;align-items:center;padding:0 9px;border-radius:999px;
  color:#334155;font-size:10px;font-weight:850;margin-bottom:4px;white-space:nowrap;
}
.guide-mini-nav.active{
  background:#d1d5db;color:#111827;box-shadow:inset 0 0 0 1px rgba(15,23,42,.04);
  animation:guideMiniNavPulse 1.6s ease-in-out infinite;
}
.guide-mini-main{position:relative;z-index:1;min-width:0;background:#fff;}
.guide-mini-topbar{
  height:58px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:0 14px;border-bottom:1px solid #e5e7eb;background:#f9fafb;
}
.guide-mini-page-title{color:#111827;font-size:14px;font-weight:950;}
.guide-mini-actions{display:flex;align-items:center;gap:8px;}
.guide-mini-credit{
  display:inline-flex;align-items:baseline;gap:4px;padding:7px 9px;border-radius:9px;
  background:#f5f3ff;color:#8b5cf6;font-size:10px;font-weight:850;white-space:nowrap;
}
.guide-mini-credit b{font-size:16px;color:#6d28d9;}
.guide-mini-share-btn{
  display:inline-flex;align-items:center;justify-content:center;height:31px;padding:0 12px;
  border-radius:10px;background:linear-gradient(135deg,#7c3aed,#6d28d9);color:#fff;
  font-size:11px;font-weight:950;white-space:nowrap;box-shadow:0 8px 18px rgba(124,58,237,.28);
}
.guide-tutorial-real-submit .guide-mini-share-btn{
  animation:guideMiniSharePulse 1.35s ease-in-out infinite .8s;
}
.guide-mini-filterbar{
  display:flex;gap:7px;padding:11px 14px;border-bottom:1px solid #edf2f7;background:#fff;
}
.guide-mini-filterbar span{
  height:25px;display:inline-flex;align-items:center;padding:0 9px;border:1px solid #d8dee8;
  border-radius:8px;background:#fff;color:#334155;font-size:10px;font-weight:800;
}
.guide-mini-table{padding:10px 14px;}
.guide-mini-row{
  display:grid;grid-template-columns:1.3fr .65fr .78fr;align-items:center;gap:9px;
  min-height:33px;padding:0 9px;border-bottom:1px solid #edf2f7;color:#334155;font-size:10px;font-weight:800;
}
.guide-mini-row.head{color:#64748b;background:#fafafa;border-radius:8px;border-bottom:0;font-size:9px;}
.guide-mini-row.active{
  margin-top:7px;border:1px solid #86efac;border-radius:10px;background:#ecfdf5;
  box-shadow:0 10px 22px rgba(22,163,74,.15);animation:guideTutorialRowPulse 1.45s ease-in-out infinite;
}
.guide-mini-score{
  width:34px;height:22px;border-radius:999px;background:#2563eb;color:#fff;display:inline-flex;
  align-items:center;justify-content:center;font-size:11px;font-weight:950;
}
.guide-mini-join{
  height:24px;border-radius:8px;background:#111827;color:#fff;display:inline-flex;
  align-items:center;justify-content:center;font-size:10px;font-weight:950;
}
.guide-mini-click-dot{
  position:absolute;z-index:4;width:26px;height:26px;border:2px solid rgba(22,163,74,.72);
  border-radius:999px;pointer-events:none;opacity:0;
}
.guide-mini-click-dot::after{
  content:"";position:absolute;inset:6px;border-radius:999px;background:#16a34a;
}
.guide-mini-click-dot.nav-dot{left:22px;top:71px;animation:guideMiniClickNav 2.4s ease-in-out infinite;}
.guide-mini-click-dot.share-dot{right:28px;top:48px;animation:guideMiniClickShare 2.4s ease-in-out infinite;}
.guide-mini-cursor{
  position:absolute;z-index:5;display:inline-flex;align-items:center;justify-content:center;
  padding:7px 10px;border-radius:999px;background:#111827;color:#fff;font-size:11px;font-weight:950;
  box-shadow:0 14px 26px rgba(15,23,42,.22);white-space:nowrap;pointer-events:none;
}
.guide-mini-cursor.cursor-submit{left:28px;bottom:18px;animation:guideMiniCursorSubmit 2.4s ease-in-out infinite;}
.guide-mini-cursor.cursor-filter{left:148px;bottom:18px;animation:guideMiniCursorFilter 1.5s ease-in-out infinite;}
.guide-tutorial-windowbar{
  display:flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-bottom:1px solid #e5e7eb;
  color:#64748b;font-size:11px;font-weight:800;background:rgba(248,250,252,.9);
}
.guide-tutorial-windowbar i{display:block;width:7px;height:7px;border-radius:999px;background:#cbd5e1;}
.guide-tutorial-topbar{
  position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;border-bottom:1px solid #edf2f7;
}
.guide-tutorial-brand{font-size:13px;font-weight:900;color:#111827;}
.guide-tutorial-credit{font-size:12px;font-weight:850;color:#6d28d9;}
.guide-tutorial-share-btn{
  display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 12px;
  border-radius:10px;background:#16a34a;color:#fff;font-size:12px;font-weight:900;
  box-shadow:0 10px 22px rgba(22,163,74,.22);animation:guideTutorialGlow 1.35s ease-in-out infinite;
}
.guide-tutorial-form-card,.guide-tutorial-approve-card,.guide-tutorial-filter-card,.guide-tutorial-follow-card{
  position:absolute;left:18px;right:18px;bottom:18px;border:1px solid #dbe5ee;border-radius:16px;
  background:rgba(255,255,255,.96);box-shadow:0 16px 32px rgba(15,23,42,.12);
}
.guide-tutorial-form-card{padding:15px;animation:guideTutorialSlideUp .52s ease-out both;}
.guide-tutorial-field{height:30px;border-radius:9px;background:#f8fafc;border:1px solid #e5e7eb;margin-bottom:9px;}
.guide-tutorial-field.short{width:62%;}
.guide-tutorial-checkline{display:flex;align-items:center;gap:7px;color:#15803d;font-size:12px;font-weight:850;}
.guide-tutorial-checkline::before{content:"✓";display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:#dcfce7;color:#16a34a;}
.guide-tutorial-approve-card{display:flex;align-items:center;justify-content:space-between;padding:18px;}
.guide-tutorial-stamp{
  width:76px;height:76px;border-radius:22px;border:2px solid #16a34a;color:#15803d;background:#ecfdf5;
  display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:900;transform:rotate(-8deg);
  animation:guideTutorialStamp .7s ease-out both;
}
.guide-tutorial-credit-plus{font-size:28px;font-weight:950;color:#16a34a;animation:guideTutorialCreditJump 1.25s ease-in-out infinite;}
.guide-tutorial-filter-card{padding:14px;}
.guide-tutorial-filter-row{display:flex;gap:8px;margin-bottom:12px;}
.guide-tutorial-chip{padding:7px 10px;border-radius:10px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:850;}
.guide-tutorial-result-row{
  display:grid;grid-template-columns:1.3fr .7fr .56fr;align-items:center;gap:10px;
  padding:11px 10px;border:1px solid #86efac;border-radius:13px;background:#ecfdf5;
  box-shadow:0 10px 24px rgba(22,163,74,.16);animation:guideTutorialRowPulse 1.45s ease-in-out infinite;
}
.guide-tutorial-result-row strong{display:block;color:#111827;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.guide-tutorial-score{display:inline-flex;align-items:center;justify-content:center;width:46px;height:24px;border-radius:999px;background:#2563eb;color:#fff;font-size:12px;font-weight:900;}
.guide-tutorial-join-btn{display:inline-flex;align-items:center;justify-content:center;height:28px;border-radius:9px;background:#111827;color:#fff;font-size:12px;font-weight:900;}
.guide-tutorial-follow-card{padding:15px;}
.guide-tutorial-flow{display:grid;grid-template-columns:1fr 42px 1fr;align-items:center;gap:10px;}
.guide-tutorial-flow-card{padding:13px;border-radius:14px;border:1px solid #e5e7eb;background:#fff;}
.guide-tutorial-flow-card.active{border-color:#86efac;background:#ecfdf5;box-shadow:0 10px 22px rgba(22,163,74,.14);}
.guide-tutorial-flow-card strong{display:block;color:#111827;font-size:13px;font-weight:900;}
.guide-tutorial-flow-card span{display:block;margin-top:5px;color:#64748b;font-size:11px;font-weight:700;}
.guide-tutorial-arrow{height:2px;background:#16a34a;position:relative;animation:guideTutorialArrow 1.2s ease-in-out infinite;}
.guide-tutorial-arrow::after{content:"";position:absolute;right:-2px;top:-4px;border-left:8px solid #16a34a;border-top:5px solid transparent;border-bottom:5px solid transparent;}
@keyframes guideTutorialIn{from{opacity:0;transform:translateY(10px) scale(.98);}to{opacity:1;transform:translateY(0) scale(1);}}
@keyframes guideTutorialGlow{0%,100%{box-shadow:0 10px 22px rgba(22,163,74,.22);}50%{box-shadow:0 14px 34px rgba(22,163,74,.38);}}
@keyframes guideTutorialSlideUp{from{opacity:0;transform:translateY(22px);}to{opacity:1;transform:translateY(0);}}
@keyframes guideTutorialStamp{from{opacity:0;transform:scale(.65) rotate(-18deg);}to{opacity:1;transform:scale(1) rotate(-8deg);}}
@keyframes guideTutorialCreditJump{0%,100%{transform:translateY(0);}45%{transform:translateY(-7px);}}
@keyframes guideTutorialRowPulse{0%,100%{box-shadow:0 10px 24px rgba(22,163,74,.14);}50%{box-shadow:0 14px 34px rgba(22,163,74,.28);}}
@keyframes guideTutorialArrow{0%{transform:scaleX(.65);transform-origin:left;}100%{transform:scaleX(1);transform-origin:left;}}
@keyframes guideTeachStepPulse{0%,100%{background:#ecfdf5;transform:translateY(0);}35%{background:#bbf7d0;transform:translateY(-2px);}}
@keyframes guideTeachLineRun{0%,100%{transform:scaleX(.66);opacity:.55;transform-origin:left;}50%{transform:scaleX(1);opacity:1;transform-origin:left;}}
@keyframes guideTeachButtonBreath{0%,100%{transform:translateY(0);box-shadow:0 14px 30px rgba(22,163,74,.26);}50%{transform:translateY(-2px);box-shadow:0 18px 40px rgba(22,163,74,.42);}}
@keyframes guideMiniNavPulse{0%,100%{box-shadow:0 0 0 0 rgba(22,163,74,0);}50%{box-shadow:0 0 0 4px rgba(22,163,74,.14);}}
@keyframes guideMiniSharePulse{0%,100%{transform:translateY(0);box-shadow:0 8px 18px rgba(124,58,237,.28);}50%{transform:translateY(-2px);box-shadow:0 12px 26px rgba(124,58,237,.42);}}
@keyframes guideMiniClickNav{0%,12%,100%{opacity:0;transform:scale(.62);}20%,34%{opacity:1;transform:scale(1);}42%{opacity:0;transform:scale(1.55);}}
@keyframes guideMiniClickShare{0%,45%,100%{opacity:0;transform:scale(.62);}56%,70%{opacity:1;transform:scale(1);}82%{opacity:0;transform:scale(1.55);}}
@keyframes guideMiniCursorSubmit{
  0%,12%{transform:translate(0,0);}
  24%,38%{transform:translate(4px,-180px);}
  58%,74%{transform:translate(288px,-180px);}
  100%{transform:translate(288px,-180px);}
}
@keyframes guideMiniCursorFilter{0%,100%{transform:translateY(0);}50%{transform:translateY(-8px);}}
@media (max-width: 640px){
  .academy-shell{padding:16px 14px 28px;}
  .academy-hero{display:block;padding-bottom:18px;}
  .academy-hero-title{margin-bottom:12px;}
  .academy-hero-actions{margin-top:14px;justify-content:flex-start;flex-wrap:wrap;}
  .academy-toolbar{display:block;margin-bottom:20px;}
  .academy-hero-desc{min-width:0;margin-bottom:12px;}
  .academy-hero-tools{width:100%;margin-top:14px;}
  .academy-search-input{width:100%;}
  .academy-hero-title{font-size:26px;}
  .academy-grid{grid-template-columns:1fr;gap:28px;}
  .academy-card-title{font-size:20px;}
  .academy-article-modal,.academy-submit-modal{padding:24px 18px;width:96vw;}
  #academyArticleModal .academy-article-modal{width:100vw;padding:0;}
  #academyArticleModal .academy-doc{padding:72px 22px 88px;}
  #academyArticleModal .academy-detail-title{font-size:32px;}
  #academyArticleModal .academy-detail-summary{font-size:16px;}
  #academyArticleModal .academy-detail-content{font-size:16px;line-height:1.85;}
  #academyArticleModal .academy-modal-close{right:16px;top:24px;min-width:70px;height:40px;padding:0 14px;}
  .academy-form-grid{grid-template-columns:1fr;}
  .academy-detail-title{font-size:25px;}
  .guide-wrap{padding:18px 14px 30px;}
  .guide-teach-entry{grid-template-columns:1fr;gap:12px;padding:16px;}
  .guide-teach-flow{justify-self:stretch;grid-auto-flow:column;justify-content:space-between;border-radius:14px;}
  .guide-teach-flow span{min-width:40px;}
  .guide-learn-btn-prominent{width:100%;min-width:0;}
  .guide-block{padding:20px 18px;border-radius:16px;}
  .guide-intro-head{display:block;}
  .guide-learn-btn{margin:2px 0 14px;}
  .guide-title{font-size:26px;}
  .guide-step-title{font-size:17px;}
  .guide-tutorial-overlay{padding:12px;}
  .guide-tutorial-modal{max-height:94vh;overflow-y:auto;border-radius:20px;}
  .guide-tutorial-head{padding:20px 18px 14px;}
  .guide-tutorial-progress{padding-right:34px;}
  .guide-tutorial-body{grid-template-columns:1fr;padding:18px;}
  .guide-tutorial-actions{padding:0 18px 20px;flex-wrap:wrap;}
  .guide-tutorial-btn{flex:1;min-width:94px;}
  .guide-tutorial-visual{min-height:270px;}
  .guide-tutorial-real-screen{grid-template-columns:82px 1fr;min-height:282px;}
  .guide-mini-sidebar{padding:12px 7px;}
  .guide-mini-nav{font-size:9px;padding:0 7px;}
  .guide-mini-credit{display:none;}
  .guide-mini-share-btn{height:29px;padding:0 9px;font-size:10px;}
  .guide-mini-filterbar{overflow:hidden;padding:9px;}
  .guide-mini-filterbar span{font-size:9px;padding:0 7px;}
  .guide-mini-row{grid-template-columns:1.2fr .6fr .72fr;font-size:9px;gap:6px;padding:0 6px;}
}
.theme-toggle-btn{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    padding:10px 16px;border:1px solid var(--border);border-radius:10px;
    background:var(--white);color:var(--text);font-size:13px;font-weight:700;
    cursor:pointer;font-family:var(--font);transition:all .15s;white-space:nowrap;
}
.theme-toggle-btn:hover{background:var(--bg);box-shadow:0 4px 14px rgba(15,23,42,0.08);}
.theme-dark{color-scheme:dark;}
html.auth-has-session.theme-dark body{background:#17181b;}
.theme-dark{
    --text:#e4e6ea;
    --text2:#a5a9b1;
    --text3:#7d828b;
    --border:#35373c;
    --bg:#1c1d20;
    --white:#202225;
    --blue:#8ab4f8;
    --blue-l:#28313f;
}
.theme-dark .app-wrap{background:#1c1d20;box-shadow:0 20px 60px rgba(0,0,0,0.34);}
.theme-dark .sidebar,
.theme-dark .topbar,
.theme-dark .filterbar,
.theme-dark .table-area,
.theme-dark .table-area > .inner,
.theme-dark .sb-bottom{background:#0f172a !important;border-color:#243041 !important;}
.theme-dark .nav-item:hover,
.theme-dark .nav-item.active,
.theme-dark .sb-user:hover,
.theme-dark .t-icon:hover,
.theme-dark .f-reset:hover,
.theme-dark .theme-toggle-btn:hover{background:rgba(148,163,184,0.12) !important;}
.theme-dark .t-icon,
.theme-dark .f-sel,
.theme-dark .f-reset,
.theme-dark .theme-toggle-btn,
.theme-dark #search-pool{
    background:#111827 !important;
    color:#e5eefc !important;
    border-color:#243041 !important;
}
.theme-dark .province-multi-panel,
.theme-dark .province-multi-actions button{
    background:#111827;
    color:#e5eefc;
    border-color:#334155;
}
.theme-dark .province-multi-head,
.theme-dark .province-multi-actions{border-color:#334155;}
.theme-dark .province-multi-option{color:#cbd5e1;}
.theme-dark .province-multi-option:hover,
.theme-dark .province-multi-actions .province-multi-cancel:hover{background:#1e293b;color:#f8fafc;}
.theme-dark .province-multi-actions .province-multi-apply{background:#e5e7eb;border-color:#e5e7eb;color:#111827;}
.theme-dark #topbar-credits{
    background:#111827 !important;
    color:#94a3b8 !important;
    box-shadow:inset 0 0 0 1px #243041;
}
.theme-dark #topbar-credits span{color:inherit !important;}
.theme-dark #topbar-credit-num{color:#a78bfa !important;}
.theme-dark .purchase-demand-page{background:#0b1220;}
.theme-dark .purchase-demand-headbar,
.theme-dark .purchase-demand-table-card,
.theme-dark .purchase-demand-stat{background:#0f172a;border-color:#243041;}
.theme-dark .purchase-demand-title,
.theme-dark .purchase-demand-stat strong,
.theme-dark .purchase-demand-table td{color:#e5eefc;}
.theme-dark .purchase-demand-stat{background:#111827;}
.theme-dark .purchase-demand-stat.is-new-demand{background:#052e1a;border-color:#166534;color:#86efac;}
.theme-dark .purchase-demand-stat.is-new-demand strong{color:#86efac;}
.theme-dark .purchase-demand-time{color:#94a3b8;}
.theme-dark .purchase-demand-refresh,
.theme-dark .purchase-demand-view-btn,
.theme-dark .purchase-demand-table th{background:#111827;color:#cbd5e1;border-color:#334155;}
.theme-dark .purchase-demand-table td{border-color:#243041;}
.theme-dark .purchase-demand-refresh:hover,
.theme-dark .purchase-demand-view-btn:hover{background:#1e293b;}
.theme-dark .purchase-demand-view-btn{background:#22c55e;color:#fff;border-color:#16a34a;box-shadow:0 6px 14px rgba(34,197,94,.18);}
.theme-dark .purchase-demand-view-btn:hover{background:#16a34a;border-color:#15803d;}
.theme-dark .purchase-demand-response-btn{background:#111827;color:#cbd5e1;border-color:#334155;}
.theme-dark .purchase-demand-response-btn:hover{background:#1e293b;color:#e5eefc;border-color:#475569;}
.theme-dark .purchase-demand-response-btn.primary{background:#22c55e;color:#fff;border-color:#16a34a;box-shadow:0 6px 14px rgba(34,197,94,.18);}
.theme-dark .purchase-demand-response-btn.primary:hover{background:#16a34a;border-color:#15803d;}
.theme-dark .purchase-demand-response-btn.muted{color:#94a3b8;}
.theme-dark .purchase-demand-status-read{background:#1e293b;color:#cbd5e1;}
.theme-dark .purchase-demand-status-mismatch{background:#3b1010;color:#fecaca;}
.theme-dark .purchase-demand-ended td{background:#111827;color:#64748b;}
.theme-dark .purchase-demand-ended-tag,
.theme-dark .purchase-demand-status-ended{background:#1e293b;color:#94a3b8;}
.theme-dark .sb-logo-icon{background:#111827;}
.theme-dark .app-wrap input:not(.login-box input):not(.register-box input),
.theme-dark .app-wrap select:not(.fo-stage-pill-select),
.theme-dark .app-wrap textarea{
    background:#111827 !important;
    color:#e5eefc !important;
    border-color:#243041 !important;
}
.theme-dark .app-wrap input::placeholder,
.theme-dark .app-wrap textarea::placeholder{color:#64748b !important;}
.theme-dark .app-wrap table,
.theme-dark .app-wrap th,
.theme-dark .app-wrap td{border-color:#243041 !important;color:#e5eefc;}
.theme-dark #order-table thead th,
.theme-dark #followup-list-tbl thead th,
.theme-dark #sample-table thead th,
.theme-dark #fo-table thead th,
.theme-dark thead th{background:#111827 !important;color:#cbd5e1 !important;border-bottom-color:#243041 !important;}
.theme-dark #order-table tbody tr:hover,
.theme-dark #sample-table tbody tr:hover,
.theme-dark #followup-list-tbl tbody tr:hover,
.theme-dark #fo-table tbody tr:hover,
.theme-dark #tbl-shares tbody tr:hover,
.theme-dark tbody tr:hover{background:#111827 !important;}
.theme-dark #tbl-ocean tbody tr:hover,
.theme-dark #tbl-mine tbody tr:hover,
.theme-dark #tbl-ocean tbody tr.table-row-hover-active,
.theme-dark #tbl-mine tbody tr.table-row-hover-active{background:#111827 !important;}
.theme-dark .modal,
.theme-dark .detail-modal-panel,
.theme-dark .fo-detail-panel,
.theme-dark .order-create-modal,
.theme-dark .private-form-header,
.theme-dark .private-form-row,
.theme-dark .order-create-grid .o-row,
.theme-dark .order-create-note,
.theme-dark .order-create-panel,
.theme-dark .dash-card,
.theme-dark .settings-card,
.theme-dark .dash-kpi-card,
.theme-dark .dash-action-bar,
.theme-dark .detail-feedback-score,
.theme-dark .fo-card,
.theme-dark .fo-row-overlay{
    background:#0f172a !important;
    color:#e5eefc !important;
    border-color:#243041 !important;
}
.theme-dark .fo-latest-floating{
    background:#0f172a !important;
    color:#e5eefc !important;
    border-color:#000 !important;
}
.theme-dark [style*="background:white"],
.theme-dark [style*="background: white"],
.theme-dark [style*="background:#fff"],
.theme-dark [style*="background: #fff"]{
    background:#0f172a !important;
    border-color:#243041 !important;
}
.theme-dark [style*="color:#111827"],
.theme-dark [style*="color: #111827"],
.theme-dark [style*="color:#374151"],
.theme-dark [style*="color: #374151"]{color:#e5eefc !important;}
.theme-dark [style*="color:#6b7280"],
.theme-dark [style*="color: #6b7280"],
.theme-dark [style*="color:#9ca3af"],
.theme-dark [style*="color: #9ca3af"]{color:#94a3b8 !important;}
.theme-dark .detail-head-btn,
.theme-dark .detail-inline-btn,
.theme-dark .fo-dp-remove-btn,
.theme-dark .fo-dp-close{
    background:#111827 !important;
    color:#e5eefc !important;
    border-color:#243041 !important;
}
.theme-dark #detail-info-bar,
.theme-dark #detail-risk-notice,
.theme-dark #detail-chart-area,
.theme-dark #detail-body{
    background:#111827 !important;
    border-color:#243041 !important;
}
.theme-dark .detail-risk-notice-inner{
    background:transparent !important;
    border-color:transparent !important;
    color:#fca5a5 !important;
}
.theme-dark .detail-risk-notice-inner strong{
    color:#fca5a5 !important;
}
.theme-dark .detail-risk-notice-title,
.theme-dark .detail-risk-notice-copy{
    color:#fca5a5 !important;
}
.theme-dark #detailModal [style*="background:white"],
.theme-dark #detailModal [style*="background: white"],
.theme-dark #detailModal [style*="background:#fff"],
.theme-dark #detailModal [style*="background: #fff"],
.theme-dark #detailModal [style*="background:#f9fafb"],
.theme-dark #detailModal [style*="background: #f9fafb"],
.theme-dark #detailModal [style*="background:#f0fdf4"],
.theme-dark #detailModal [style*="background: #f0fdf4"]{
    background:#111827 !important;
    border-color:#243041 !important;
    box-shadow:none !important;
}
.theme-dark #detailModal [style*="color:#111827"],
.theme-dark #detailModal [style*="color: #111827"],
.theme-dark #detailModal [style*="color:#374151"],
.theme-dark #detailModal [style*="color: #374151"]{
    color:#e5eefc !important;
}
.theme-dark #detailModal [style*="color:#6b7280"],
.theme-dark #detailModal [style*="color: #6b7280"],
.theme-dark #detailModal [style*="color:#9ca3af"],
.theme-dark #detailModal [style*="color: #9ca3af"]{
    color:#94a3b8 !important;
}
.theme-dark #import-layer-3 .private-form-shell{
    background:linear-gradient(180deg,#0f172a 0%,#111827 100%) !important;
}
.theme-dark #import-layer-3 .private-form-row,
.theme-dark #import-layer-3 .private-form-notice{
    background:#111827 !important;
    border-color:#243041 !important;
    box-shadow:none !important;
}
.theme-dark #import-layer-3 .private-form-label,
.theme-dark #import-layer-3 .private-form-title,
.theme-dark #import-layer-3 .private-form-desc{
    color:#e5eefc !important;
}
.theme-dark #import-layer-3 .private-form-label-hint,
.theme-dark #import-layer-3 .private-form-notice-text{
    color:#94a3b8 !important;
}
.theme-dark #import-layer-3 .private-form-input,
.theme-dark #import-layer-3 .private-form-assist,
.theme-dark #import-layer-3 .private-form-cancel,
.theme-dark #import-layer-3 .sf-dd{
    background:#0f172a !important;
    color:#e5eefc !important;
    border-color:#243041 !important;
}
.theme-dark #import-layer-3 .private-form-input::placeholder{
    color:#64748b !important;
}
.theme-dark #import-layer-3 [style*="background:white"],
.theme-dark #import-layer-3 [style*="background: white"],
.theme-dark #import-layer-3 [style*="background:#fff"],
.theme-dark #import-layer-3 [style*="background: #fff"],
.theme-dark #import-layer-3 [style*="background:#f3f4f6"],
.theme-dark #import-layer-3 [style*="background: #f3f4f6"]{
    background:#0f172a !important;
    color:#e5eefc !important;
    border-color:#243041 !important;
    box-shadow:none !important;
}
.theme-dark #import-layer-3 [style*="color:#111827"],
.theme-dark #import-layer-3 [style*="color: #111827"],
.theme-dark #import-layer-3 [style*="color:#374151"],
.theme-dark #import-layer-3 [style*="color: #374151"]{
    color:#e5eefc !important;
}
.theme-dark #import-layer-3 [style*="color:#6b7280"],
.theme-dark #import-layer-3 [style*="color: #6b7280"],
.theme-dark #import-layer-3 [style*="color:#9ca3af"],
.theme-dark #import-layer-3 [style*="color: #9ca3af"]{
    color:#94a3b8 !important;
}
.theme-dark #contact-correct-btn:hover,
.theme-dark #contact-wrong-btn:hover,
.theme-dark #contact-modify-btn:hover{
    color:#111827 !important;
}
.theme-dark #contact-correct-btn:hover div,
.theme-dark #contact-wrong-btn:hover div,
.theme-dark #contact-modify-btn:hover div,
.theme-dark #contact-correct-btn:hover span,
.theme-dark #contact-wrong-btn:hover span,
.theme-dark #contact-modify-btn:hover span{
    color:#111827 !important;
}
.theme-dark #tbl-ocean .co-name,
.theme-dark #tbl-ocean .ind-tag,
.theme-dark #tbl-mine .co-name,
.theme-dark #tbl-mine .ind-tag,
.theme-dark #tbl-shares .co-name,
.theme-dark #tbl-shares .ind-tag,
.theme-dark #tbl-ocean .act,
.theme-dark #tbl-ocean .act-view,
.theme-dark #tbl-ocean .act-plus{
    color:#ffffff !important;
}
.theme-dark #tbl-ocean .co-name,
.theme-dark #tbl-ocean .ind-tag,
.theme-dark #tbl-mine .co-name,
.theme-dark #tbl-mine .ind-tag,
.theme-dark #tbl-shares .co-name,
.theme-dark #tbl-shares .ind-tag{
    font-size:14px !important;
}
.theme-dark .customer-offline-badge{background:rgba(248,113,113,.18);color:#fecaca;}
.theme-dark .ocean-protection-badge{background:rgba(37,99,235,.18);border-color:#334155;color:#93c5fd;}
.theme-dark .ocean-protection-contact{color:#cbd5e1;}
.theme-dark .ocean-protection-reason-text{color:#e5eefc;}
.theme-dark .ocean-protection-reason-strong{color:#f8fafc;}
.theme-dark .ocean-protection-reason-release{color:#c4b5fd;}
.theme-dark .mine-offline-row td{background:rgba(127,29,29,.10);}
.theme-dark .mine-offline-row:hover td{background:rgba(127,29,29,.16);}
.theme-dark .detail-offline-notice{background:rgba(127,29,29,.18);border-color:rgba(248,113,113,.28);color:#fecaca;}
.theme-dark .detail-offline-notice strong,
.theme-dark .detail-offline-notice span{color:#fecaca;}
.theme-dark .detail-offline-feedback{background:rgba(127,29,29,.18);border-color:rgba(248,113,113,.28);}
.theme-dark .detail-offline-feedback .detail-feedback-title,
.theme-dark .detail-offline-feedback-reason strong{color:#fecaca;}
.theme-dark .detail-offline-feedback-reason{color:#e5eefc;}
.theme-dark #tbl-ocean .co-av{
    box-shadow:0 6px 16px rgba(59,130,246,0.18);
}
.theme-dark #tbl-ocean .ocean-btn{
    background:#0f172a !important;
    color:#e5eefc !important;
    border-color:#334155 !important;
    box-shadow:none !important;
}
.theme-dark #tbl-ocean .ocean-btn:hover{
    background:#1f2937 !important;
    border-color:#475569 !important;
    box-shadow:none !important;
}
.theme-dark #tbl-ocean .act-plus.ocean-btn.ocean-btn-disabled,
.theme-dark #tbl-ocean .act-plus.ocean-btn.ocean-btn-disabled:hover,
.theme-dark .detail-head-btn-disabled,
.theme-dark .detail-head-btn-disabled:hover{
    background:#111827 !important;
    border-color:#334155 !important;
    color:#94a3b8 !important;
    box-shadow:none !important;
}
.theme-dark #tbl-ocean .act-plus.ocean-btn.ocean-protection-reason-btn,
.theme-dark #tbl-ocean .act-plus.ocean-btn.ocean-protection-reason-btn:hover,
.theme-dark .detail-head-btn-protection,
.theme-dark .detail-head-btn-protection:hover{
    background:#0f172a !important;
    border-color:#334155 !important;
    color:#93c5fd !important;
    box-shadow:none !important;
}
.theme-dark #tbl-ocean .pie-cell{
    color:#e5eefc !important;
}
.theme-soft{background:#eef2f7;}
html.auth-has-session.theme-soft body{background:#eef2f7 url('/bg/beijngtu.jfif?v=5') no-repeat center center;background-size:cover;}
.theme-soft{
    --text:#111827;
    --text2:#6b7280;
    --text3:#9ca3af;
    --border:#e5e7eb;
    --bg:#f0f1f8;
    --white:#f4f5fc;
    --blue:#3b82f6;
    --blue-l:#eff6ff;
}
.theme-soft .app-wrap{background:var(--white);box-shadow:0 4px 32px rgba(0,0,0,0.10);}
.theme-soft .sidebar,
.theme-soft .topbar,
.theme-soft .filterbar,
.theme-soft .table-area,
.theme-soft .table-area > .inner,
.theme-soft .sb-bottom{background:var(--white) !important;border-color:var(--border) !important;}
.theme-soft .nav-item:hover,
.theme-soft .nav-item.active,
.theme-soft .sb-user:hover,
.theme-soft .t-icon:hover,
.theme-soft .f-reset:hover{background:rgba(0,0,0,0.13) !important;}
.theme-soft .fo-view-toggle span.active{background:#374151 !important;color:#fff !important;}
.theme-soft .t-icon,
.theme-soft .f-sel,
.theme-soft .f-reset,
.theme-soft #search-pool{
    background:#fff !important;
    color:#111827 !important;
    border-color:var(--border) !important;
}
.theme-soft #topbar-credits{
    background:#f5f3ff !important;
    color:#9ca3af !important;
    box-shadow:none;
}
.theme-soft #topbar-credit-num{color:#6d28d9 !important;}
.theme-soft .app-wrap input:not(.login-box input):not(.register-box input),
.theme-soft .app-wrap select:not(.fo-stage-pill-select),
.theme-soft .app-wrap textarea{
    background:#fff !important;
    color:#111827 !important;
    border-color:#e5e7eb !important;
}
.theme-soft .app-wrap input::placeholder,
.theme-soft .app-wrap textarea::placeholder{color:#9ca3af !important;}
.theme-soft .app-wrap table,
.theme-soft .app-wrap th,
.theme-soft .app-wrap td{border-color:#e5e7eb !important;color:#111827;}
.theme-soft #order-table thead th,
.theme-soft #followup-list-tbl thead th,
.theme-soft #sample-table thead th,
.theme-soft #fo-table thead th,
.theme-soft thead th{background:#fafafa !important;color:#111827 !important;border-bottom-color:#e5e7eb !important;}
.theme-soft #order-table tbody tr:hover,
.theme-soft #sample-table tbody tr:hover,
.theme-soft #followup-list-tbl tbody tr:hover,
.theme-soft #fo-table tbody tr:hover,
.theme-soft #tbl-shares tbody tr:hover,
.theme-soft tbody tr:hover{background:#f5f3ff !important;}
.theme-soft #tbl-ocean tbody tr:hover,
.theme-soft #tbl-mine tbody tr:hover,
.theme-soft #order-table tbody tr:hover,
.theme-soft #sample-table tbody tr:hover,
.theme-soft #followup-list-tbl tbody tr:hover,
.theme-soft #fo-table tbody tr:hover,
.theme-soft #tbl-shares tbody tr:hover,
.theme-soft #tbl-ocean tbody tr.table-row-hover-active,
.theme-soft #tbl-mine tbody tr.table-row-hover-active{background:#dfe5ec !important;}
.theme-soft .modal,
.theme-soft .detail-modal-panel,
.theme-soft .fo-detail-panel,
.theme-soft .order-create-modal,
.theme-soft .private-form-header,
.theme-soft .private-form-row,
.theme-soft .order-create-grid .o-row,
.theme-soft .order-create-note,
.theme-soft .order-create-panel,
.theme-soft .dash-card,
.theme-soft .settings-card,
.theme-soft .dash-kpi-card,
.theme-soft .dash-action-bar,
.theme-soft .detail-feedback-score,
.theme-soft .fo-card,
.theme-soft .fo-row-overlay{
    background:#fff !important;
    color:#111827 !important;
    border-color:#e5e7eb !important;
}
.theme-soft .fo-latest-floating{
    background:#fff !important;
    color:#111827 !important;
    border-color:#000 !important;
}
.theme-soft [style*="background:white"],
.theme-soft [style*="background: white"],
.theme-soft [style*="background:#fff"],
.theme-soft [style*="background: #fff"]{
    background:#fff !important;
    border-color:#e5e7eb !important;
}
.theme-soft [style*="color:#111827"],
.theme-soft [style*="color: #111827"],
.theme-soft [style*="color:#374151"],
.theme-soft [style*="color: #374151"]{color:#111827 !important;}
.theme-soft [style*="color:#6b7280"],
.theme-soft [style*="color: #6b7280"],
.theme-soft [style*="color:#9ca3af"],
.theme-soft [style*="color: #9ca3af"]{color:#6b7280 !important;}
.login-page {
  --login-text:#202226;
  --login-muted:#8a9099;
  --login-panel:#ffffff;
  --login-bg:#eeeeef;
  --login-green:#22c55e;
  --login-blue:#5b8cff;
  --login-pink:#ff8baa;
  --login-amber:#ffcf5a;
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:34px;
  overflow:auto;
  background:var(--login-bg);
  color:var(--login-text);
}
.login-page.hidden { display: none !important; }
.login-page .login-shell{
  width:min(1180px,100%);
  background:transparent;
}
.login-page .login-main-card{
  min-height:620px;
  background:var(--login-panel);
  box-shadow:0 12px 34px rgba(31,35,41,0.08);
  border:1px solid rgba(229,231,235,0.92);
  border-radius:56px;
  overflow:hidden;
  display:grid;
  grid-template-columns:430px 1fr;
  gap:34px;
  padding:38px;
  position:relative;
}
.login-page .login-side{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding:112px 28px 20px 22px;
}
.login-page .login-brand{
  position:absolute;
  left:22px;
  top:0;
  display:inline-flex;
  align-items:flex-start;
  gap:10px;
  font-size:15px;
  font-weight:760;
  color:#2b3037;
}
.login-page .login-brand-copy{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.login-page .login-brand-sub{
  max-width:330px;
  margin:0;
  font-size:14px;
  line-height:1.7;
  font-weight:500;
  color:var(--login-muted);
}
.login-page .login-brand-mark{
  width:28px;
  height:28px;
  display:block;
  object-fit:contain;
  flex-shrink:0;
}
.login-box{
  width:100%;
  max-width:310px;
  margin:0 auto;
  padding:0;
  background:transparent;
  border:none;
  border-radius:0;
  box-shadow:none;
  text-align:left;
}
.login-box h1{
  font-size:44px;
  line-height:1.08;
  font-weight:850;
  color:#202226;
  margin:0 0 26px;
  text-shadow:none;
}
.login-box .login-sub{
  font-size:14px;
  color:var(--login-muted);
  line-height:1.7;
  margin:0 0 26px;
}
.login-page .login-field{margin-bottom:14px;}
.login-page .login-field label{
  display:block;
  font-size:12px;
  font-weight:700;
  color:#343941;
  margin-bottom:8px;
}
.login-box input{
  width:100%;
  height:43px;
  margin:0;
  border:1px solid #dddddf;
  border-radius:7px;
  padding:0 13px;
  font-size:14px;
  color:#202226;
  outline:none;
  background:#fff;
  transition:border-color .2s ease,box-shadow .2s ease;
  box-sizing:border-box;
  backdrop-filter:none;
}
.login-box input::placeholder{color:#9aa0a8;}
.login-box input:focus{
  border-color:#202226;
  box-shadow:0 0 0 4px rgba(31,35,41,0.06);
  background:#fff;
}
.login-page .pw-wrap input{padding-right:44px;}
.login-page .pw-eye{right:10px;opacity:.62;}
.login-page .pw-eye:hover{opacity:.9;}
.login-box .login-remember{
  display:flex;
  align-items:center;
  gap:8px;
  margin:2px 0 18px;
  color:#5f6670;
  font-size:12px;
  cursor:pointer;
  user-select:none;
}
.login-box .login-remember input{
  width:14px;
  height:14px;
  margin:0;
  padding:0;
  border-radius:3px;
  accent-color:#202226;
  cursor:pointer;
  flex-shrink:0;
}
.login-box .btn-main{
  width:100%;
  height:44px;
  padding:0;
  border:0;
  border-radius:7px;
  background:#202226;
  color:#fff;
  font-size:13px;
  font-weight:760;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease;
}
.login-box .btn-main:hover{
  transform:translateY(-1px);
  background:#16181b;
}
.login-box .login-error-msg{
  margin-top:14px;
  padding:11px 13px;
  background:#fff5f5;
  border:1px solid #fecaca;
  border-radius:8px;
  color:#dc2626;
  font-size:13px;
  line-height:1.6;
  text-align:left;
}
.login-box .link-row{
  margin-top:24px;
  text-align:center;
  color:#606771;
  font-size:12px;
}
.login-box .link-row a{
  color:#202226;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}
.login-box .link-row a:hover{text-decoration:underline;}
.login-box .login-records{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  color:#7b8492;
  font-size:12px;
  line-height:1.6;
}
.login-box .login-record{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:inherit;
  text-align:center;
  text-decoration:none;
}
.login-box .login-record:hover{
  color:#6b7280;
  text-decoration:underline;
}
.login-box .login-record-icon{
  width:16px;
  height:16px;
  object-fit:contain;
  display:inline-block;
  flex:0 0 auto;
}
.login-box .login-record-icp-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:4px;
  background:#2563eb;
  color:#fff;
  font-size:7px;
  font-weight:800;
  line-height:1;
}
.login-page .login-visual{
  min-height:544px;
  border-radius:26px;
  overflow:hidden;
  position:relative;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,207,90,.50), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(91,140,255,.48), transparent 27%),
    radial-gradient(circle at 72% 84%, rgba(255,139,170,.36), transparent 30%),
    linear-gradient(135deg,#f7f4fb 0%,#f2f7fc 100%);
  border:1px solid rgba(229,231,235,.92);
}
.login-page .login-visual-inner{
  position:absolute;
  inset:0;
}
.login-page .login-net-line{
  position:absolute;
  left:50%;
  top:50%;
  height:1px;
  background:linear-gradient(90deg,rgba(31,35,41,0),rgba(31,35,41,.14),rgba(31,35,41,0));
  transform-origin:left center;
  z-index:1;
}
.login-page .login-l1{width:265px;transform:rotate(180deg);}
.login-page .login-l2{width:265px;transform:rotate(0deg);}
.login-page .login-l3{width:225px;transform:rotate(-136deg);}
.login-page .login-l4{width:225px;transform:rotate(-44deg);}
.login-page .login-l5{width:225px;transform:rotate(136deg);}
.login-page .login-l6{width:225px;transform:rotate(44deg);}
.login-page .login-center-hub{
  position:absolute;
  left:50%;
  top:50%;
  width:160px;
  height:160px;
  transform:translate(-50%,-50%);
  z-index:7;
}
.login-page .login-hub-card{
  position:absolute;
  inset:0;
  border-radius:38px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(255,255,255,.92);
  backdrop-filter:blur(16px);
  box-shadow:0 24px 60px rgba(31,35,41,.12);
  overflow:hidden;
}
.login-page .login-hub-card::before{
  content:"";
  position:absolute;
  inset:-38%;
  background:conic-gradient(from 0deg,rgba(255,207,90,.42),rgba(91,140,255,.38),rgba(255,139,170,.38),rgba(255,207,90,.42));
  animation:loginSpin 8s linear infinite;
}
.login-page .login-hub-card::after{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:30px;
  background:rgba(255,255,255,.94);
}
.login-page .login-hub-content{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.login-page .login-hub-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  background:#202226;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:24px;
  font-weight:850;
  box-shadow:0 14px 30px rgba(31,35,41,.18);
  animation:loginPulseCore 2.6s ease-in-out infinite;
}
.login-page .login-hub-text{
  font-size:13px;
  color:#454c56;
  font-weight:850;
}
.login-page .login-sales-card{
  position:absolute;
  width:98px;
  height:106px;
  border-radius:22px;
  background:rgba(255,255,255,.80);
  border:1px solid rgba(229,231,235,.94);
  backdrop-filter:blur(12px);
  box-shadow:0 16px 42px rgba(31,35,41,.07);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  z-index:4;
  animation:loginFloat 5.6s ease-in-out infinite;
}
.login-page .login-sales-a{left:46px;top:220px;animation-delay:0s;}
.login-page .login-sales-b{right:46px;top:220px;animation-delay:-.7s;}
.login-page .login-sales-c{left:142px;top:68px;animation-delay:-1.4s;}
.login-page .login-sales-d{right:142px;top:68px;animation-delay:-2.1s;}
.login-page .login-sales-e{left:142px;bottom:68px;animation-delay:-2.8s;}
.login-page .login-sales-f{right:142px;bottom:68px;animation-delay:-3.5s;}
.login-page .login-online-dot{
  position:absolute;
  right:10px;
  top:10px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--login-green);
  box-shadow:0 0 0 5px rgba(34,197,94,.12);
}
.login-page .login-avatar{
  width:58px;
  height:58px;
  position:relative;
  overflow:visible;
  margin-top:2px;
}
.login-page .login-head{
  position:absolute;
  left:50%;
  top:10px;
  transform:translateX(-50%);
  width:28px;
  height:30px;
  background:#fff;
  border:2px solid #1f2329;
  border-radius:48% 48% 45% 45%;
  z-index:3;
}
.login-page .login-neck{
  position:absolute;
  left:50%;
  top:36px;
  transform:translateX(-50%);
  width:8px;
  height:7px;
  background:#fff;
  border-left:2px solid #1f2329;
  border-right:2px solid #1f2329;
  z-index:2;
}
.login-page .login-body{
  position:absolute;
  left:50%;
  bottom:1px;
  transform:translateX(-50%);
  width:42px;
  height:18px;
  border:2px solid #1f2329;
  border-bottom:none;
  border-radius:18px 18px 0 0;
  background:#e9eef6;
  z-index:1;
}
.login-page .login-eye{
  position:absolute;
  top:21px;
  width:3px;
  height:3px;
  background:#1f2329;
  border-radius:50%;
  z-index:5;
}
.login-page .login-eye-left{left:22px;}
.login-page .login-eye-right{right:22px;}
.login-page .login-nose{
  position:absolute;
  left:50%;
  top:23px;
  width:5px;
  height:7px;
  transform:translateX(-50%);
  border-right:2px solid #1f2329;
  border-bottom:2px solid #1f2329;
  border-radius:0 0 6px 0;
  z-index:5;
}
.login-page .login-smile{
  position:absolute;
  left:50%;
  top:28px;
  width:10px;
  height:6px;
  transform:translateX(-50%);
  border-bottom:2px solid #1f2329;
  border-radius:0 0 10px 10px;
  z-index:5;
}
.login-page .login-hair{
  position:absolute;
  z-index:6;
  background:#1f2329;
}
.login-page .login-avatar-a .login-hair-main{
  left:50%;
  top:8px;
  transform:translateX(-50%);
  width:30px;
  height:15px;
  border-radius:16px 16px 6px 6px;
}
.login-page .login-avatar-a .login-hair-bun{
  left:15px;
  top:2px;
  width:14px;
  height:14px;
  border-radius:50%;
}
.login-page .login-avatar-a .login-body{background:#6aa8ff;}
.login-page .login-avatar-b .login-hair-main{
  left:50%;
  top:6px;
  transform:translateX(-50%);
  width:31px;
  height:16px;
  border-radius:16px 16px 9px 9px;
}
.login-page .login-avatar-b .login-hair-curl1,
.login-page .login-avatar-b .login-hair-curl2,
.login-page .login-avatar-b .login-hair-curl3{
  top:14px;
  width:8px;
  height:8px;
  border-radius:50%;
}
.login-page .login-avatar-b .login-hair-curl1{left:13px;}
.login-page .login-avatar-b .login-hair-curl2{left:25px;}
.login-page .login-avatar-b .login-hair-curl3{left:37px;}
.login-page .login-avatar-b .login-body{background:#f2f2f2;}
.login-page .login-cap-top{
  position:absolute;
  left:50%;
  top:8px;
  transform:translateX(-50%);
  width:30px;
  height:12px;
  border:2px solid #1f2329;
  border-bottom:none;
  border-radius:18px 18px 0 0;
  background:#fff;
  z-index:7;
}
.login-page .login-cap-brim{
  position:absolute;
  left:32px;
  top:16px;
  width:16px;
  height:6px;
  border:2px solid #1f2329;
  border-left:none;
  border-radius:0 8px 8px 0;
  background:#fff;
  z-index:7;
}
.login-page .login-avatar-c .login-hair-main{
  left:50%;
  top:16px;
  transform:translateX(-50%);
  width:28px;
  height:9px;
  border-radius:10px 10px 5px 5px;
}
.login-page .login-avatar-c .login-body{background:#ffd84d;}
.login-page .login-hood-l,
.login-page .login-hood-r{
  position:absolute;
  top:42px;
  width:10px;
  height:10px;
  border:2px solid #1f2329;
  border-top:none;
  border-radius:0 0 10px 10px;
  background:transparent;
  z-index:3;
}
.login-page .login-hood-l{left:14px;}
.login-page .login-hood-r{right:14px;}
.login-page .login-avatar-d .login-hair-main{
  left:50%;
  top:7px;
  transform:translateX(-50%);
  width:34px;
  height:22px;
  border-radius:18px 18px 12px 12px;
}
.login-page .login-avatar-d .login-hair-side-l,
.login-page .login-avatar-d .login-hair-side-r,
.login-page .login-avatar-f .login-hair-side-l,
.login-page .login-avatar-f .login-hair-side-r{
  top:18px;
  width:7px;
  height:16px;
  border-radius:8px;
}
.login-page .login-avatar-d .login-hair-side-l{left:12px;height:20px;}
.login-page .login-avatar-d .login-hair-side-r{right:12px;height:20px;}
.login-page .login-glasses-l,
.login-page .login-glasses-r{
  position:absolute;
  top:20px;
  width:11px;
  height:11px;
  border:2px solid #ff5a4f;
  border-radius:50%;
  background:transparent;
  z-index:7;
}
.login-page .login-glasses-l{left:15px;}
.login-page .login-glasses-r{right:15px;}
.login-page .login-glasses-bridge{
  position:absolute;
  left:50%;
  top:24px;
  width:6px;
  height:2px;
  transform:translateX(-50%);
  background:#ff5a4f;
  z-index:7;
}
.login-page .login-avatar-d .login-body{background:#fff;}
.login-page .login-stripe{
  position:absolute;
  left:50%;
  bottom:8px;
  transform:translateX(-50%);
  width:30px;
  height:2px;
  background:#ffb54d;
  z-index:2;
}
.login-page .login-avatar-e .login-hair-main{
  left:50%;
  top:7px;
  transform:translateX(-50%);
  width:28px;
  height:14px;
  border-radius:16px 16px 8px 8px;
}
.login-page .login-headset-band{
  position:absolute;
  left:50%;
  top:7px;
  transform:translateX(-50%);
  width:34px;
  height:18px;
  border:2px solid #5aa2ff;
  border-bottom:none;
  border-radius:18px 18px 0 0;
  z-index:7;
}
.login-page .login-ear-l,
.login-page .login-ear-r{
  position:absolute;
  top:20px;
  width:9px;
  height:14px;
  border-radius:8px;
  background:#5aa2ff;
  border:2px solid #1f2329;
  z-index:7;
}
.login-page .login-ear-l{left:10px;}
.login-page .login-ear-r{right:10px;}
.login-page .login-avatar-e .login-body{background:#f2f2f2;}
.login-page .login-avatar-f .login-hair-main{
  left:50%;
  top:8px;
  transform:translateX(-50%);
  width:31px;
  height:18px;
  border-radius:18px 18px 10px 10px;
}
.login-page .login-avatar-f .login-hair-side-l{left:14px;}
.login-page .login-avatar-f .login-hair-side-r{right:14px;}
.login-page .login-avatar-f .login-body{background:#ff8baa;}
.login-page .login-sales-name{
  font-size:13px;
  font-weight:850;
  color:#323841;
}
.login-page .login-share-card{
  position:absolute;
  min-width:132px;
  height:36px;
  padding:0 13px;
  border-radius:14px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(229,231,235,.96);
  box-shadow:0 14px 32px rgba(31,35,41,.08);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:850;
  color:#4d5560;
  white-space:nowrap;
  opacity:0;
  z-index:8;
}
.login-page .login-s1{left:150px;top:230px;animation:loginMoveRight 6.8s linear infinite;}
.login-page .login-s2{right:150px;top:284px;animation:loginMoveLeft 6.8s linear infinite -3.4s;}
.login-page .login-s3{left:220px;top:158px;animation:loginMoveDiag1 6.8s linear infinite -1.7s;}
.login-page .login-s4{right:220px;bottom:142px;animation:loginMoveDiag2 6.8s linear infinite -5.1s;}
.login-page .login-bottom-tag{
  position:absolute;
  left:50%;
  bottom:28px;
  transform:translateX(-50%);
  height:34px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(229,231,235,.95);
  box-shadow:0 10px 26px rgba(31,35,41,.06);
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:850;
  color:#4b535d;
  z-index:9;
  white-space:nowrap;
}
.login-page .login-bottom-tag span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--login-green);
  box-shadow:0 0 0 5px rgba(34,197,94,.12);
}
@keyframes loginSpin{to{transform:rotate(360deg);}}
@keyframes loginPulseCore{
  0%,100%{transform:scale(1);}
  50%{transform:scale(1.07);}
}
@keyframes loginFloat{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-7px);}
}
@keyframes loginMoveRight{
  0%{transform:translateX(0) scale(.94);opacity:0;}
  12%{opacity:1;}
  42%{transform:translateX(190px) scale(1);opacity:1;}
  54%,100%{transform:translateX(230px) scale(.96);opacity:0;}
}
@keyframes loginMoveLeft{
  0%{transform:translateX(0) scale(.94);opacity:0;}
  12%{opacity:1;}
  42%{transform:translateX(-190px) scale(1);opacity:1;}
  54%,100%{transform:translateX(-230px) scale(.96);opacity:0;}
}
@keyframes loginMoveDiag1{
  0%{transform:translate(0,0) scale(.94);opacity:0;}
  12%{opacity:1;}
  44%{transform:translate(115px,64px) scale(1);opacity:1;}
  56%,100%{transform:translate(155px,86px) scale(.96);opacity:0;}
}
@keyframes loginMoveDiag2{
  0%{transform:translate(0,0) scale(.94);opacity:0;}
  12%{opacity:1;}
  44%{transform:translate(-115px,-64px) scale(1);opacity:1;}
  56%,100%{transform:translate(-155px,-86px) scale(.96);opacity:0;}
}
@media (max-width:1080px){
  .login-page{
    align-items:flex-start;
  }
  .login-page .login-main-card{
    grid-template-columns:1fr;
    min-height:auto;
    padding:24px;
  }
  .login-page .login-side{
    min-height:440px;
    padding:112px 10px 20px;
  }
  .login-page .login-brand{left:10px;}
  .login-page .login-visual{min-height:560px;}
}
@media (max-width:760px){
  .login-page{padding:12px;}
  .login-page .login-main-card{
    padding:16px;
    gap:18px;
    border-radius:28px;
  }
  .login-box h1{font-size:38px;}
  .login-page .login-visual{min-height:520px;}
  .login-page .login-sales-card{width:88px;height:96px;}
  .login-page .login-sales-a{left:20px;top:220px;}
  .login-page .login-sales-b{right:20px;top:220px;}
  .login-page .login-sales-c{left:88px;top:68px;}
  .login-page .login-sales-d{right:88px;top:68px;}
  .login-page .login-sales-e{left:88px;bottom:68px;}
  .login-page .login-sales-f{right:88px;bottom:68px;}
  .login-page .login-center-hub{width:142px;height:142px;}
  .login-page .login-share-card{display:none;}
  .login-page .login-bottom-tag{font-size:11px;}
}

/* ==================== 注册页面 ==================== */
.register-page {
    position: fixed; top:0; left:0; width:100vw; height:100vh;
    display: none; justify-content: center; align-items: center;
    background:#eeeeef;
    z-index: 99999;
    overflow-y: auto;
    padding:34px;
}
.register-page.active { display:flex; }

.register-box {
    background: #fff;
    padding: 40px 48px;
    text-align: center;
    width: 620px;
    max-width: 92vw;
    min-width: 320px;
    max-height: 92vh;
    overflow-y: auto;
    border: 1px solid rgba(229,231,235,0.92);
    border-radius: 28px;
    box-shadow: 0 18px 52px rgba(31,35,41,0.10);
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}
.register-box {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}
.register-box:hover {
    scrollbar-color: rgba(31,35,41,0.20) transparent;
}
.register-box::-webkit-scrollbar { width:10px; }
.register-box::-webkit-scrollbar-track {
    background:transparent;
    margin:24px 0;
}
.register-box::-webkit-scrollbar-thumb {
    background:transparent;
    border:3px solid transparent;
    border-radius:999px;
    background-clip:content-box;
}
.register-box:hover::-webkit-scrollbar-thumb {
    background:rgba(31,35,41,0.20);
    border:3px solid transparent;
    background-clip:content-box;
}
.register-box::-webkit-scrollbar-thumb:hover {
    background:rgba(31,35,41,0.34);
    border:3px solid transparent;
    background-clip:content-box;
}
.register-box h1 { color:#111; font-size:48px; margin-bottom:8px; font-weight:700; }
.register-box .subtitle { color:#444; font-size:14px; margin-bottom:20px; }
.reg-section-title { display:block; font-size:15px; font-weight:700; color:#222; text-align:left; margin:20px 0 10px 0; padding-bottom:6px; border-bottom:2px solid #eee; letter-spacing:0.5px; }
.register-box input,
.register-box select {
    display: block;
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    background: #f9f9f9;
    color: #111;
    box-sizing: border-box;
    float: none;
}
.register-box select option { background:#fff; color:#333; }
.register-box input::placeholder { color:#999; }
.register-box input:focus,
.register-box select:focus { outline:none; background:#fff; border-color:#667eea; }
.gender-group { display:flex; gap:10px; margin-bottom:14px; width:100%; }
.gender-btn {
    flex:1; padding:12px; border:1.5px solid #e0e0e0;
    border-radius:10px; background:#f9f9f9;
    color:#222; font-size:15px; cursor:pointer; transition:all 0.2s;
}
.gender-btn.selected { background:#374151; border-color:#374151; color:#fff; font-weight:bold; }
.register-box .btn-main {
    width:100%; padding:14px; background:#333; color:#fff;
    border:none; border-radius:25px; font-size:17px;
    cursor:pointer; transition:all 0.3s; margin-top:6px;
}
.register-box .btn-main:hover { background:#000; transform:scale(1.05); }
.register-box .link-row { margin-top:14px; color:#333; font-size:14px; }
.register-box .link-row a { color:#667eea; font-weight:bold; text-decoration:none; cursor:pointer; }
.register-box .link-row a:hover { text-decoration:underline; }
@media (max-width:760px){
  .register-page{
    align-items:flex-start;
    padding:12px;
  }
  .register-box{
    max-width:calc(100vw - 24px);
    padding:32px 28px;
    border-radius:24px;
  }
  .register-box h1{
    font-size:36px !important;
    line-height:1.12 !important;
  }
  .register-box .gender-group{
    flex-wrap:wrap;
  }
  .register-box .gender-btn{
    flex:1 1 calc(50% - 6px);
    min-width:128px;
    white-space:nowrap;
  }
}

/* ====== 防批量复制：表格区域禁止框选多行，单个单元格可复制 ====== */
#tbl-ocean, #tbl-mine, #order-table, #order-list-new,
#foKanbanView, #foListView, #followup-list-tbl,
#tbl-shares, #import-customer-list {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* 允许单个单元格内文字可选（点击后可复制单个字段） */
#tbl-ocean td, #tbl-mine td, #order-table td,
#tbl-shares td,
.fo-kanban-card, .fo-list-row,
#order-list-new .order-card {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.shares-inline-summary {
  display:flex;
  align-items:baseline;
  gap:8px;
  margin-left:6px;
  padding:5px 10px;
  border:1px solid #e5e7eb;
  border-radius:8px;
  background:#f8fafc;
  white-space:nowrap;
  font-size:12px;
  color:#9ca3af;
}
.shares-inline-summary strong {
  font-size:18px !important;
  font-weight:800;
  line-height:1;
  color:#111827;
  margin-right:4px;
}
.shares-inline-summary .shares-inline-label {
  color:#9ca3af;
  font-size:12px;
  font-weight:600;
}
.shares-inline-summary .shares-inline-value-positive {
  color:#16a34a !important;
}
.shares-inline-summary .shares-inline-value-negative {
  color:#dc2626 !important;
}
.shares-inline-summary .shares-inline-value-neutral {
  color:#111827 !important;
}
.shares-inline-summary .shares-inline-value-quality {
  color:#2563eb !important;
}
.shares-notice-panel {
  padding:12px 16px;
  background:#f8fafc;
  border-bottom:1px solid #e5e7eb;
}
.shares-notice-panel[hidden] {
  display:none !important;
}
.shares-notice-panel-inner {
  display:grid;
  gap:10px;
}
.shares-notice-panel-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.shares-notice-panel-title {
  color:#111827;
  font-size:14px;
  font-weight:900;
  line-height:1.35;
}
.shares-notice-panel-hint {
  color:#6b7280;
  font-size:12px;
  line-height:1.4;
  white-space:nowrap;
}
.shares-notice-card-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:10px;
}
.shares-notice-card {
  min-width:0;
  padding:12px 14px;
  border:1px solid #e5e7eb;
  border-left:4px solid var(--share-notice-accent,#7c3aed);
  border-radius:8px;
  background:#fff;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
  color:#111827;
  cursor:pointer;
  font-family:var(--font);
  text-align:left;
}
.shares-notice-card:hover {
  border-color:#d1d5db;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}
.share-reward-cell {
  display:inline-flex;
  min-width:0;
  min-height:auto;
  border-radius:0;
  padding:0;
  box-sizing:border-box;
  justify-content:center;
  align-items:center;
  line-height:1;
  background:transparent !important;
}
.share-reward-main {
  font-size:14px;
  font-weight:800;
  white-space:nowrap;
}
.share-reward-sub {
  margin-top:3px;
  font-size:11px;
  font-weight:600;
  white-space:nowrap;
}
.share-reward-positive { background:transparent !important; color:#16a34a; }
.share-reward-negative { background:transparent !important; color:#dc2626; }
.share-reward-pending { background:transparent !important; color:#b45309; }
.share-reward-neutral { background:transparent !important; color:#6b7280; }
.theme-dark .shares-inline-summary,
.theme-dark .shares-inline-summary .shares-inline-label {
  color:#94a3b8;
}
.theme-dark .shares-inline-summary {
  background:#111827;
  border-color:#243041;
}
.theme-dark .shares-inline-summary strong {
  color:#e5eefc;
}
.theme-dark .shares-inline-summary .shares-inline-value-positive {
  color:#22c55e !important;
}
.theme-dark .shares-inline-summary .shares-inline-value-negative {
  color:#f87171 !important;
}
.theme-dark .shares-inline-summary .shares-inline-value-quality {
  color:#60a5fa !important;
}
.theme-dark .shares-notice-panel {
  background:#0f172a;
  border-color:#243041;
}
.theme-dark .shares-notice-panel-title,
.theme-dark .shares-notice-card strong {
  color:#e5eefc !important;
}
.theme-dark .shares-notice-panel-hint,
.theme-dark .shares-notice-card [style*="color:#6b7280"] {
  color:#94a3b8 !important;
}
.theme-dark .shares-notice-card {
  background:#111827;
  border-color:#243041;
  box-shadow:none;
}
.theme-dark .shares-notice-card:hover {
  border-color:#334155;
}
@media (max-width:760px) {
  .shares-notice-panel {
    padding:10px 12px;
  }
  .shares-notice-panel-head {
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
  }
  .shares-notice-panel-hint {
    white-space:normal;
  }
  .shares-notice-card-grid {
    grid-template-columns:1fr;
  }
}

/* ==================== 客户公海动态信息流动画 ==================== */

/* 新行从顶部滑入（仅用 transform + opacity，走 GPU 合成层，不触发重排） */
@keyframes oceanSlideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 整行绿色闪光背景渐退 */
@keyframes oceanFlashGreen {
  from { background: rgba(22, 163, 74, 0.15); }
  to   { background: transparent; }
}

/* 时间标签信号波纹（只播放 3 次，不是 infinite） */
@keyframes oceanSignalPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}

/* 新插入行的组合动画 */
.ocean-row-new {
  animation: oceanSlideIn 0.4s ease-out,
             oceanFlashGreen 2s ease-out 0.3s;
}

/* 2小时内的绿色时间标签 */
.ocean-time-fresh {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #16a34a;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.ocean-time-fresh .ocean-signal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: oceanSignalPulse 0.9s ease-in-out 3;
}
.ocean-time-fresh .ocean-signal svg {
  width: 14px;
  height: 14px;
}

/* ==================== 客户等级功能更新提醒 ==================== */
.customer-feature-update-overlay {
  position: fixed;
  inset: 0;
  z-index: 99997;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(8px);
}

.customer-feature-update-modal {
  width: min(760px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  border: 1px solid rgba(209, 250, 229, 0.95);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 12%, rgba(187, 247, 208, 0.48), transparent 30%),
    linear-gradient(145deg, #fbfffd 0%, #f1fbf5 48%, #ffffff 100%);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.24);
  font-family: var(--font);
  animation: customerFeatureUpdateIn .22s ease-out;
}

.customer-feature-update-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 14px;
  border-bottom: 1px solid rgba(209, 250, 229, 0.8);
}

.customer-feature-update-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.customer-feature-update-title {
  margin-top: 8px;
  color: #10221a;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.28;
}

.customer-feature-update-progress {
  display: inline-flex;
  gap: 6px;
  padding-top: 6px;
}

.customer-feature-update-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #bbf7d0;
  transition: all .18s ease;
}

.customer-feature-update-dot.active {
  width: 22px;
  background: #16a34a;
}

.customer-feature-update-body {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  gap: 18px;
  padding: 20px 24px 16px;
}

.customer-feature-update-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.customer-feature-update-step-label {
  color: #15803d;
  font-size: 13px;
  font-weight: 800;
}

.customer-feature-update-copy h3 {
  margin: 8px 0 10px;
  color: #111827;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.35;
}

.customer-feature-update-copy p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

.customer-feature-update-note {
  margin: 0 24px 16px;
  padding: 12px 14px;
  border: 1px solid #d8eadf;
  border-radius: 14px;
  background: #f5fbf7;
  color: #35634a;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.customer-feature-update-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 24px 22px;
}

.customer-feature-update-btn {
  min-width: 92px;
  height: 38px;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.customer-feature-update-btn:active {
  transform: translateY(1px);
}

.customer-feature-update-btn-ghost {
  border: 1px solid #cfd8d3;
  background: rgba(255, 255, 255, 0.78);
  color: #475569;
}

.customer-feature-update-btn-ghost:hover {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.customer-feature-update-btn-primary {
  border: 1px solid #16a34a;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.24);
}

.customer-feature-update-btn-primary:hover {
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.3);
}

.customer-feature-update-visual {
  position: relative;
  min-height: 236px;
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 34px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.customer-feature-update-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(34, 197, 94, 0.08), transparent 28%),
    radial-gradient(circle at 80% 8%, rgba(187, 247, 208, 0.62), transparent 30%);
  pointer-events: none;
}

.customer-feature-update-table-head,
.customer-feature-update-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr .72fr .86fr;
  align-items: center;
  gap: 10px;
}

.customer-feature-update-table-head {
  padding: 14px 16px 10px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.customer-feature-update-row {
  margin: 0 12px;
  padding: 10px 10px;
  border-top: 1px solid #edf2f7;
  border-radius: 12px;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
}

.customer-feature-update-row.is-highlighted {
  background: rgba(236, 253, 245, 0.92);
  border: 1px solid #86efac;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.13);
  animation: customerFeatureUpdateRowPulse 1.5s ease-in-out infinite;
}

.customer-feature-update-visual.is-row-click {
  min-height: 278px;
}

.customer-feature-update-visual.is-row-click .customer-feature-update-table-head,
.customer-feature-update-visual.is-row-click .customer-feature-update-row {
  grid-template-columns: 1.28fr .66fr .78fr .56fr;
}

.customer-feature-update-row.is-click-demo {
  margin-top: 6px;
  margin-bottom: 6px;
  padding-top: 14px;
  padding-bottom: 14px;
  border: 2px solid #22c55e;
  background: linear-gradient(90deg, rgba(220, 252, 231, 0.96), rgba(240, 253, 244, 0.92));
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.2);
  cursor: pointer;
  overflow: visible;
  animation: customerFeatureUpdateRowPulse 1.35s ease-in-out infinite;
}

.customer-feature-update-row.is-click-demo::before {
  content: "整行可点击";
  position: absolute;
  right: 10px;
  top: -14px;
  z-index: 4;
  padding: 3px 8px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.22);
}

.customer-feature-update-company {
  min-width: 0;
}

.customer-feature-update-company strong,
.customer-feature-update-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-feature-update-company small {
  display: block;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
}

.customer-feature-update-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 64px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.12);
}

.customer-feature-update-pill.level-s { background: #f97316; }
.customer-feature-update-pill.level-a { background: #10b981; }
.customer-feature-update-pill.level-none {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
}

.customer-feature-update-removed-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 4px 8px;
  border: 1px dashed #cbd5e1;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.92);
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
  font-style: normal;
}

.customer-feature-update-level-focus {
  display: inline-flex;
  width: fit-content;
  padding: 4px;
  border: 1px solid #86efac;
  border-radius: 999px;
  background: rgba(236, 253, 245, 0.95);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.14);
  animation: customerFeatureUpdateRowPulse 1.5s ease-in-out infinite;
}

.customer-feature-update-click-cursor {
  position: absolute;
  right: 52px;
  bottom: 56px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #111827;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .22);
  animation: customerFeatureUpdateCursor 1.45s ease-in-out infinite;
}

.customer-feature-update-click-badge {
  position: absolute;
  left: 51%;
  top: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
  padding: 7px 12px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.24);
  pointer-events: none;
  animation: customerFeatureUpdateClickBadge 1.35s ease-in-out infinite;
}

.customer-feature-update-click-ripple {
  position: absolute;
  left: 51%;
  top: 50%;
  z-index: 4;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(22, 163, 74, 0.68);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(.58);
  pointer-events: none;
  animation: customerFeatureUpdateClickRipple 1.35s ease-out infinite;
}

.customer-feature-update-callout {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #bbf7d0;
  border-radius: 15px;
  background: rgba(240, 253, 244, 0.96);
  box-shadow: 0 14px 28px rgba(21, 128, 61, 0.13);
}

.customer-feature-update-callout-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #16a34a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

.customer-feature-update-callout strong {
  display: block;
  color: #14532d;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.customer-feature-update-callout span {
  display: block;
  margin-top: 2px;
  color: #47715b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.customer-feature-update-complete {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 236px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

.customer-feature-update-complete-card {
  width: 100%;
  padding: 26px 18px;
  border: 1px solid #bbf7d0;
  border-radius: 18px;
  background: rgba(240, 253, 244, .86);
  box-shadow: 0 16px 30px rgba(21, 128, 61, 0.12);
}

.customer-feature-update-check {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 15px;
  background: #16a34a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
}

.customer-feature-update-complete-card strong {
  display: block;
  color: #14532d;
  font-size: 16px;
  font-weight: 850;
}

.customer-feature-update-complete-card span {
  display: block;
  margin-top: 7px;
  color: #47715b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

@keyframes customerFeatureUpdateIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes customerFeatureUpdateRowPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(22, 163, 74, 0.12); }
  50% { box-shadow: 0 12px 30px rgba(22, 163, 74, 0.24); }
}

@keyframes customerFeatureUpdateCursor {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -8px); }
}

@keyframes customerFeatureUpdateClickBadge {
  0%, 100% { transform: translate(-50%, -58%) scale(1); }
  42% { transform: translate(-50%, -42%) scale(.96); }
  58% { transform: translate(-50%, -44%) scale(.96); }
}

@keyframes customerFeatureUpdateClickRipple {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.52); }
  42% { opacity: .85; transform: translate(-50%, -50%) scale(.72); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.75); }
}

/* ==================== 我的客户微信状态教学 ==================== */
.wechat-status-feature-guide-modal{width:min(820px,96vw);}
.wechat-status-guide-copy{justify-content:flex-start;padding-top:4px;}
.wechat-status-guide-visual{
  position:relative;min-height:236px;border:1px solid #dbe4ed;border-radius:18px;
  background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 14px 28px rgba(15,23,42,.08);
}
.wechat-status-guide-screen{padding-bottom:12px;}
.wechat-status-guide-topbar{
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;
  border-bottom:1px solid #e8eef4;background:#f8fafc;color:#111827;font-size:12px;font-weight:850;
}
.wechat-status-guide-topbar span{color:#64748b;font-size:10px;font-weight:750;white-space:nowrap;}
.wechat-status-guide-table{padding:10px 12px 0;}
.wechat-status-guide-row{
  display:grid;grid-template-columns:1.35fr .55fr 1fr;align-items:center;gap:9px;
  min-height:40px;padding:6px 9px;border-bottom:1px solid #edf2f7;color:#334155;font-size:10px;font-weight:750;
}
.wechat-status-guide-row.head{min-height:26px;padding-top:2px;padding-bottom:2px;border-bottom:0;color:#94a3b8;font-size:9px;font-weight:850;}
.wechat-status-guide-row.focus{margin:5px 0;border:1px solid #86efac;border-radius:10px;background:#ecfdf5;box-shadow:0 8px 18px rgba(22,163,74,.12);}
.wechat-status-guide-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#334155;}
.wechat-status-guide-row > span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.wechat-status-guide-row > span:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:3px;}
.wechat-status-guide-row small{color:#94a3b8;font-size:9px;font-weight:700;white-space:nowrap;}
.wechat-status-guide-pill{
  display:inline-flex;align-items:center;justify-content:center;min-height:20px;padding:2px 7px;border-radius:999px;
  border:1px solid #d5dee8;background:#fff;color:#94a3b8;font-size:9px;font-style:normal;font-weight:850;white-space:nowrap;
}
.wechat-status-guide-pill::before{content:"";width:5px;height:5px;margin-right:4px;border-radius:999px;background:#b7c5d4;}
.wechat-status-guide-pill.approved{border-color:#16a34a;background:#16a34a;color:#fff;box-shadow:0 5px 10px rgba(22,163,74,.16);}
.wechat-status-guide-pill.approved::before{background:#fff;}
.wechat-status-guide-pill.pending{color:#64748b;}
.wechat-status-guide-caption{padding:9px 14px 0;color:#64748b;font-size:10px;font-weight:750;line-height:1.45;}
.wechat-status-guide-modal-visual{display:flex;align-items:center;justify-content:center;padding:13px;}
.wechat-status-guide-modal-card{width:100%;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 10px 22px rgba(15,23,42,.08);overflow:hidden;}
.wechat-status-guide-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:12px 13px 10px;border-bottom:1px solid #eef2f7;}
.wechat-status-guide-modal-head strong{display:block;color:#111827;font-size:13px;font-weight:900;line-height:1.3;}
.wechat-status-guide-modal-head small{display:block;margin-top:4px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#94a3b8;font-size:9px;font-weight:700;}
.wechat-status-guide-head-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto;}
.wechat-status-guide-reject{display:inline-flex;align-items:center;justify-content:center;height:22px;padding:0 7px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;color:#334155;font-size:9px;font-weight:850;white-space:nowrap;}
.wechat-status-guide-close{color:#94a3b8;font-size:15px;font-weight:900;line-height:1;}
.wechat-status-guide-modal-body{padding:13px;}
.wechat-status-guide-modal-body label{display:block;margin-bottom:6px;color:#475569;font-size:10px;font-weight:850;}
.wechat-status-guide-input{height:31px;display:flex;align-items:center;padding:0 9px;border:1px solid #bfdbfe;border-radius:7px;background:#fff;color:#334155;font-size:10px;font-weight:750;box-shadow:0 0 0 2px rgba(219,234,254,.65);}
.wechat-status-guide-modal-body p{margin:7px 0 0;color:#94a3b8;font-size:9px;font-weight:650;line-height:1.45;}
.wechat-status-guide-modal-foot{display:flex;justify-content:flex-end;gap:7px;padding:10px 13px;border-top:1px solid #eef2f7;}
.wechat-status-guide-modal-foot span,.wechat-status-guide-modal-foot b{display:inline-flex;align-items:center;justify-content:center;height:25px;padding:0 10px;border:1px solid #d5dee8;border-radius:6px;color:#64748b;font-size:9px;font-weight:800;}
.wechat-status-guide-modal-foot b{border-color:#16a34a;background:#16a34a;color:#fff;}

@media (max-width: 720px) {
  .customer-feature-update-overlay {
    padding: 12px;
  }
  .customer-feature-update-modal {
    max-height: 94vh;
    overflow-y: auto;
    border-radius: 20px;
  }
  .customer-feature-update-body {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .customer-feature-update-head,
  .customer-feature-update-actions {
    padding-left: 16px;
    padding-right: 16px;
  }
  .customer-feature-update-note {
    margin-left: 16px;
    margin-right: 16px;
  }
  .customer-feature-update-title {
    font-size: 18px;
  }
  .customer-feature-update-visual {
    min-height: 220px;
  }
  .wechat-status-feature-guide-modal .customer-feature-update-body{gap:14px;}
  .wechat-status-guide-visual{min-height:220px;}
}

/* ===== INDEX 深色模式最终收口：覆盖后置布局与动态组件 ===== */
html.auth-has-session.theme-dark body.index-workspace-layout {
  background:#17181b !important;
  color:#e4e6ea;
}

html.auth-has-session.theme-dark body.index-workspace-layout #appWrap,
html.auth-has-session.theme-dark body.index-workspace-layout .sidebar,
html.auth-has-session.theme-dark body.index-workspace-layout .topbar,
html.auth-has-session.theme-dark body.index-workspace-layout .filterbar,
html.auth-has-session.theme-dark body.index-workspace-layout .table-area,
html.auth-has-session.theme-dark body.index-workspace-layout .table-area > .inner,
html.auth-has-session.theme-dark body.index-workspace-layout .pager,
html.auth-has-session.theme-dark body.index-workspace-layout .pager > .inner,
html.auth-has-session.theme-dark body.index-workspace-layout [id^="page-"] {
  background:var(--index-layout-bg, #1c1d20) !important;
  border-color:var(--index-layout-line, #35373c) !important;
  box-shadow:none !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .sidebar,
html.auth-has-session.theme-dark body.index-workspace-layout .sb-bottom {
  background:#1c1d20 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .nav-item,
html.auth-has-session.theme-dark body.index-workspace-layout .mode-toggle__btn,
html.auth-has-session.theme-dark body.index-workspace-layout .sb-info-name,
html.auth-has-session.theme-dark body.index-workspace-layout .sb-rank-labels {
  color:#c9ccd2 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .nav-item.active,
html.auth-has-session.theme-dark body.index-workspace-layout .mode-toggle__btn.active {
  background:var(--index-layout-active-bg, #303238) !important;
  color:var(--index-layout-active-text, #f1f2f4) !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .mode-toggle__hint,
html.auth-has-session.theme-dark body.index-workspace-layout .sb-info-anon,
html.auth-has-session.theme-dark body.index-workspace-layout .cell-sub {
  color:#8b9099 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout table,
html.auth-has-session.theme-dark body.index-workspace-layout tbody,
html.auth-has-session.theme-dark body.index-workspace-layout tbody tr,
html.auth-has-session.theme-dark body.index-workspace-layout tbody td {
  background:var(--index-layout-bg, #1c1d20) !important;
  color:#e4e6ea !important;
  border-color:var(--index-layout-row-line, #303237) !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout thead th {
  background:var(--index-layout-head-bg, #24262a) !important;
  color:var(--index-layout-head-text, #c9ccd2) !important;
  border-color:var(--index-layout-line, #35373c) !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout tbody tr:hover,
html.auth-has-session.theme-dark body.index-workspace-layout tbody tr.table-row-hover-active {
  background:var(--index-layout-hover-bg, #2a2c30) !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout :is(
  .co-name,
  .ind-tag,
  .fo-title,
  .fo-card-company,
  .fo-card-note,
  .fo-latest-text,
  .purchase-demand-title,
  .academy-hero-title,
  .academy-modal-title,
  .guide-title,
  .settings-title,
  .dash-title,
  .dash-card-title,
  .dash-kpi-val,
  .detail-title,
  .fo-dp-company
) {
  color:#e4e6ea !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout :is(
  .fo-card-meta,
  .fo-joined-date,
  .fo-record-count,
  .purchase-demand-time,
  .academy-card-meta,
  .academy-modal-subtitle,
  .guide-subtitle,
  .settings-desc,
  .dash-kpi-label,
  .detail-subtitle,
  .fo-dp-meta,
  .fo-dp-label
) {
  color:#a5a9b1 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout :is(
  .fo-kanban-wrap,
  .fo-kanban,
  .fo-col,
  .fo-col-body,
  .fo-list-wrap,
  .fo-list-filters,
  #foListView,
  #foListBody,
  .purchase-demand-page,
  .purchase-demand-headbar,
  .purchase-demand-content,
  .academy-page,
  .academy-shell,
  .academy-main,
  .guide-page,
  .guide-wrap,
  .settings-wrap
) {
  background:#1c1d20 !important;
  border-color:#35373c !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout :is(
  .fo-card,
  .fo-row-overlay,
  .fo-latest-floating,
  .dash-card,
  .dash-kpi-card,
  .dash-action-bar,
  .settings-card,
  .purchase-demand-table-card,
  .purchase-demand-stat,
  .academy-article-card,
  .academy-submit-modal,
  .academy-submission-item,
  .detail-modal-panel,
  .fo-detail-panel,
  .order-create-modal,
  .order-create-panel,
  .sample-create-panel,
  .private-form-shell,
  .private-form-header,
  .private-form-row,
  .order-create-grid .o-row,
  .detail-feedback-score,
  .modal
) {
  background:#202225 !important;
  color:#e4e6ea !important;
  border-color:#35373c !important;
  box-shadow:none !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout :is(
  input:not(.login-box input):not(.register-box input),
  select:not(.fo-stage-pill-select),
  textarea,
  .f-sel,
  .f-reset,
  .t-icon,
  .fo-btn,
  .page-jump-input,
  .page-jump-btn,
  .purchase-demand-refresh,
  .purchase-demand-response-btn,
  .academy-search-input,
  .academy-filter-btn,
  .academy-my-submissions-btn,
  .academy-cancel-btn,
  .detail-head-btn,
  .detail-inline-btn,
  .fo-dp-remove-btn,
  .fo-dp-close,
  .fo-dp-act
) {
  background:#24262a !important;
  color:#e4e6ea !important;
  border-color:#3b3e44 !important;
  box-shadow:none !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout #search-pool,
html.auth-has-session.theme-dark body.index-workspace-layout .filterbar-search {
  background:#24262a !important;
  color:#e4e6ea !important;
  border-color:#3b3e44 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .customer-table-text {
  color:#e4e6ea !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .settings-field > span {
  color:#a5a9b1 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .settings-secondary-btn,
html.auth-has-session.theme-dark body.index-workspace-layout .settings-danger-btn {
  background:#24262a !important;
  color:#e4e6ea !important;
  border-color:#3b3e44 !important;
  box-shadow:none !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .settings-secondary-btn:hover,
html.auth-has-session.theme-dark body.index-workspace-layout .settings-danger-btn:hover {
  background:#2d3035 !important;
  border-color:#50535a !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .dash-ct {
  color:#c9ccd2 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .dash-private-toggle {
  background:#24262a !important;
  color:#e4e6ea !important;
  border-color:#3b3e44 !important;
  box-shadow:none !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .shares-inline-value-neutral {
  color:#c9ccd2 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout #page-sales [style*="color:#7c3aed"],
html.auth-has-session.theme-dark body.index-workspace-layout #page-sales [style*="color: #7c3aed"] {
  color:#a78bfa !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout input::placeholder,
html.auth-has-session.theme-dark body.index-workspace-layout textarea::placeholder {
  color:#777c85 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout select option {
  background:#24262a;
  color:#e4e6ea;
}

html.auth-has-session.theme-dark body.index-workspace-layout :is(
  .fo-btn,
  .page-jump-btn,
  .purchase-demand-refresh,
  .purchase-demand-response-btn,
  .academy-filter-btn,
  .academy-my-submissions-btn,
  .academy-cancel-btn,
  .detail-head-btn,
  .detail-inline-btn,
  .fo-dp-remove-btn,
  .fo-dp-close,
  .fo-dp-act
):hover {
  background:#2d3035 !important;
  color:#f3f4f6 !important;
  border-color:#50535a !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout #topbar-credits,
html.auth-has-session.theme-dark body.index-workspace-layout .shares-inline-summary {
  background:#24262a !important;
  color:#a5a9b1 !important;
  border-color:#35373c !important;
  box-shadow:none !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .fo-list-filter.active-filter {
  background:#303238 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .fo-card:hover {
  background:#282a2e !important;
  border-color:#45484e !important;
  box-shadow:none !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .fo-card-note,
html.auth-has-session.theme-dark body.index-workspace-layout .fo-tl-input-wrap,
html.auth-has-session.theme-dark body.index-workspace-layout .order-create-note {
  background:#24262a !important;
  border-color:#35373c !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .academy-detail-summary {
  background:#3b351f !important;
  color:#f2e6b8 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .guide-block,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-teach-entry,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-teach-flow,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-rule-box,
html.auth-has-session.theme-dark body.index-workspace-layout .guide-disclaimer-box {
  background:transparent !important;
  color:#d7d9de !important;
  border-color:#35373c !important;
  box-shadow:none !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout #page-guide .guide-rule-box-warning {
  border-left-color:#765b36 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout #page-guide .guide-rule-box-warning .guide-text,
html.auth-has-session.theme-dark body.index-workspace-layout #page-guide .guide-rule-box-warning .guide-rule-item {
  color:#d7d9de !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout #page-guide .guide-rule-box-warning .guide-rule-strong {
  color:#f0b567 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:white;"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background: white;"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#fff;"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background: #fff;"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#ffffff;"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#fafafa;"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#f9fafb;"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#f8fafc;"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#f3f4f6;"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#f4f3f8;"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#f0f1f5;"] {
  background:#202225 !important;
  color:#e4e6ea !important;
  border-color:#35373c !important;
  box-shadow:none !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#fef2f2"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#fff5f5"] {
  background:#3a2427 !important;
  color:#fecaca !important;
  border-color:#6b343b !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#f0fdf4"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#ecfdf5"] {
  background:#20362b !important;
  color:#a7f3d0 !important;
  border-color:#326248 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#fffbeb"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#fef3c7"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#fef9c3"] {
  background:#3b321f !important;
  color:#fde68a !important;
  border-color:#6d592a !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#f5f3ff"],
html.auth-has-session.theme-dark body.index-workspace-layout [style*="background:#f3f0ff"] {
  background:#2e293d !important;
  color:#ddd6fe !important;
  border-color:#51466d !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .customer-feature-update-modal {
  background:#202225 !important;
  color:#e4e6ea !important;
  border-color:#3d5448 !important;
  box-shadow:0 24px 64px rgba(0,0,0,.38) !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout :is(
  .customer-feature-update-head,
  .customer-feature-update-note,
  .customer-feature-update-visual,
  .customer-feature-update-row,
  .customer-feature-update-complete-card
) {
  background:#24262a !important;
  color:#d9dce1 !important;
  border-color:#3b3e44 !important;
  box-shadow:none !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout :is(
  .customer-feature-update-title,
  .customer-feature-update-copy h3,
  .customer-feature-update-row,
  .customer-feature-update-complete-card strong
) {
  color:#e4e6ea !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout :is(
  .customer-feature-update-copy p,
  .customer-feature-update-note,
  .customer-feature-update-complete-card span
) {
  color:#a5a9b1 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout * {
  scrollbar-color:#50535a transparent;
}

html.auth-has-session.theme-dark body.index-workspace-layout *::-webkit-scrollbar-thumb {
  background:#50535a;
}

html.auth-has-session.theme-dark body.index-workspace-layout *::-webkit-scrollbar-track {
  background:transparent;
}

html.auth-has-session.theme-dark body.index-workspace-layout #tbl-mine .act-plus.line-btn {
  background:#24262a !important;
  color:#e4e6ea !important;
  border-color:#3b3e44 !important;
  box-shadow:none !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout #tbl-mine .act-plus.line-btn:hover {
  background:#2d3035 !important;
  color:#f3f4f6 !important;
  border-color:#50535a !important;
  box-shadow:none !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .academy-card-title {
  color:#e4e6ea !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .academy-card-summary {
  color:#aeb2ba !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .academy-read-link {
  color:#d9dce1 !important;
  border-bottom-color:#777c85 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .academy-read-link:hover {
  color:#ffffff !important;
  border-bottom-color:#c9ccd2 !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .academy-card-footer {
  color:#9da2ab !important;
  border-top-color:#35373c !important;
}

html.auth-has-session.theme-dark body.index-workspace-layout .academy-card-footer span {
  color:#777c85 !important;
}

/* ==================== 手机端工作区：抽屉导航与内容全宽 ==================== */
.sidebar-collapse-toggle{
  display:none;
}

@media (min-width:761px){
  html.auth-has-session body.index-workspace-layout .sidebar-collapse-toggle{
    display:none !important;
  }

  html.auth-has-session body.index-workspace-layout.sidebar-collapsed{
    --sidebar:260px !important;
  }
}

.mobile-nav-toggle,
.mobile-nav-scrim{
  display:none;
}

@media (max-width:760px){
  html.auth-has-session body.index-workspace-layout{
    --sidebar:0px !important;
    --topbar:64px !important;
    --filterbar:64px !important;
    overflow-x:hidden !important;
  }

  html.auth-has-session body.index-workspace-layout #appWrap{
    width:100vw !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    overflow:hidden !important;
  }

  html.auth-has-session body.index-workspace-layout .sidebar{
    position:fixed !important;
    left:0 !important;
    top:0 !important;
    bottom:0 !important;
    width:244px !important;
    max-width:calc(100vw - 48px) !important;
    transform:translate3d(-105%,0,0) !important;
    transition:transform .22s ease !important;
    z-index:10002 !important;
    box-shadow:12px 0 30px rgba(15,23,42,.14) !important;
  }

  html.auth-has-session body.index-workspace-layout.mobile-nav-open .sidebar{
    transform:translate3d(0,0,0) !important;
  }

  html.auth-has-session body.index-workspace-layout .mobile-nav-toggle{
    display:flex !important;
    position:fixed !important;
    left:12px !important;
    top:12px !important;
    width:40px !important;
    height:40px !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 !important;
    border:1px solid var(--index-layout-line,#dfe0dd) !important;
    border-radius:10px !important;
    background:var(--index-layout-bg,#f3f2ef) !important;
    color:var(--index-layout-active-text,#111318) !important;
    box-shadow:0 4px 14px rgba(15,23,42,.10) !important;
    cursor:pointer !important;
    z-index:10004 !important;
  }

  html.auth-has-session body.index-workspace-layout .mobile-nav-toggle svg{
    width:21px !important;
    height:21px !important;
  }

  html.auth-has-session body.index-workspace-layout .mobile-nav-toggle:active{
    transform:scale(.96) !important;
  }

  html.auth-has-session body.index-workspace-layout .mobile-nav-scrim{
    position:fixed !important;
    inset:0 !important;
    display:none !important;
    background:rgba(15,23,42,.26) !important;
    z-index:10001 !important;
  }

  html.auth-has-session body.index-workspace-layout.mobile-nav-open .mobile-nav-scrim{
    display:block !important;
  }

  html.auth-has-session body.index-workspace-layout.mobile-nav-open{
    overflow:hidden !important;
  }

  html.auth-has-session body.index-workspace-layout .topbar{
    left:0 !important;
    right:0 !important;
    width:100% !important;
    height:64px !important;
    min-width:0 !important;
  }

  html.auth-has-session body.index-workspace-layout .topbar .inner{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    padding:10px 10px 10px 60px !important;
  }

  html.auth-has-session body.index-workspace-layout .topbar-actions{
    min-width:0 !important;
    max-width:calc(100vw - 70px) !important;
    overflow:hidden !important;
  }

  html.auth-has-session body.index-workspace-layout #topbar-credits{
    display:none !important;
  }

  html.auth-has-session body.index-workspace-layout #btn-share{
    max-width:152px !important;
    padding:8px 12px !important;
    border-radius:8px !important;
  }

  html.auth-has-session body.index-workspace-layout #btn-share small{
    display:none !important;
  }

  html.auth-has-session body.index-workspace-layout .filterbar{
    left:0 !important;
    right:0 !important;
    width:100% !important;
    top:64px !important;
    height:64px !important;
    min-width:0 !important;
  }

  html.auth-has-session body.index-workspace-layout .filterbar .inner{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    padding:0 10px !important;
    overflow-x:auto !important;
  }

  html.auth-has-session body.index-workspace-layout .filterbar-controls{
    min-width:0 !important;
    justify-content:flex-start !important;
    overflow-x:auto !important;
  }

  html.auth-has-session body.index-workspace-layout [id^="page-"]{
    left:0 !important;
    right:0 !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    transform:none !important;
    border-left:0 !important;
    border-right:0 !important;
    box-sizing:border-box !important;
    overflow-x:hidden !important;
  }

  html.auth-has-session body.index-workspace-layout [id^="page-"]:not(#page-followup){
    overflow-y:auto !important;
  }

  html.auth-has-session body.index-workspace-layout .table-area{
    left:0 !important;
    right:0 !important;
    width:100% !important;
    min-width:0 !important;
    top:128px !important;
    overflow:hidden !important;
  }

  html.auth-has-session body.index-workspace-layout .table-area > .inner,
  html.auth-has-session body.index-workspace-layout .pager > .inner{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }

  html.auth-has-session body.index-workspace-layout .pager{
    left:0 !important;
    right:0 !important;
    width:100% !important;
  }

  html.auth-has-session body.index-workspace-layout #tbl-ocean,
  html.auth-has-session body.index-workspace-layout #tbl-mine,
  html.auth-has-session body.index-workspace-layout #tbl-shares,
  html.auth-has-session body.index-workspace-layout #order-table,
  html.auth-has-session body.index-workspace-layout #followup-list-tbl{
    min-width:760px !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup .fo-list-wrap,
  html.auth-has-session body.index-workspace-layout #page-followup .fo-kanban-wrap,
  html.auth-has-session body.index-workspace-layout #page-samples #smp-manager-list,
  html.auth-has-session body.index-workspace-layout #page-orders #order-list-new{
    max-width:100% !important;
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup .fo-header{
    width:100% !important;
    box-sizing:border-box !important;
  }

  html.auth-has-session body.index-workspace-layout .settings-wrap,
  html.auth-has-session body.index-workspace-layout .guide-wrap,
  html.auth-has-session body.index-workspace-layout .academy-shell{
    width:100% !important;
    max-width:none !important;
    box-sizing:border-box !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }
}

/* ==================== 手机端页面级防压缩规则 ==================== */
@media (max-width:760px){
  html.auth-has-session body.index-workspace-layout .filterbar{
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }

  html.auth-has-session body.index-workspace-layout .filterbar .inner{
    width:max-content !important;
    min-width:100% !important;
    flex:0 0 auto !important;
    overflow:visible !important;
  }

  html.auth-has-session body.index-workspace-layout .filterbar-title{
    flex:0 0 auto !important;
    min-width:max-content !important;
  }

  html.auth-has-session body.index-workspace-layout .filterbar-controls{
    margin-left:0 !important;
    flex:0 0 auto !important;
    width:max-content !important;
    max-width:none !important;
    overflow:visible !important;
    justify-content:flex-start !important;
  }

  html.auth-has-session body.index-workspace-layout .filterbar-search-wrap,
  html.auth-has-session body.index-workspace-layout .filterbar .f-sel,
  html.auth-has-session body.index-workspace-layout .filterbar .f-reset,
  html.auth-has-session body.index-workspace-layout .filterbar #btn-add-private{
    flex-shrink:0 !important;
  }

  html.auth-has-session body.index-workspace-layout .table-area{
    overflow:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }

  html.auth-has-session body.index-workspace-layout .table-area > .inner{
    width:max-content !important;
    min-width:100% !important;
    margin:0 !important;
  }

  html.auth-has-session body.index-workspace-layout #tbl-ocean{
    width:1240px !important;
    min-width:1240px !important;
  }

  html.auth-has-session body.index-workspace-layout #tbl-mine{
    width:1329px !important;
    min-width:1329px !important;
  }

  html.auth-has-session body.index-workspace-layout .pager{
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }

  html.auth-has-session body.index-workspace-layout .pager > .inner{
    width:100% !important;
    min-width:420px !important;
    margin:0 !important;
  }

  /* 我的录入：标题、筛选和统计分成两行，按钮保持完整宽度。 */
  html.auth-has-session body.index-workspace-layout #page-shares > div:first-child{
    height:auto !important;
    min-height:108px !important;
    padding:10px 10px 10px 60px !important;
    align-items:flex-start !important;
    flex-wrap:wrap !important;
    overflow:hidden !important;
  }

  html.auth-has-session body.index-workspace-layout #page-shares > div:first-child > div:first-child{
    width:100% !important;
    flex:0 0 100% !important;
    min-height:28px !important;
  }

  html.auth-has-session body.index-workspace-layout #page-shares > div:first-child > div:nth-child(2){
    width:100% !important;
    flex:0 0 100% !important;
    min-width:0 !important;
    justify-content:flex-start !important;
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch !important;
    padding-bottom:2px !important;
  }

  html.auth-has-session body.index-workspace-layout #page-shares > div:nth-child(2){
    top:108px !important;
    overflow:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }

  html.auth-has-session body.index-workspace-layout #tbl-shares{
    width:1480px !important;
    min-width:1480px !important;
  }

  /* 客户跟进：覆盖旧的看板专用移动规则，恢复抽屉导航和完整标题区。 */
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide{
    --sidebar:0px !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #appWrap{
    width:100vw !important;
    margin:0 !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar{
    width:244px !important;
    max-width:calc(100vw - 48px) !important;
    padding:22px 12px 18px !important;
    transform:translate3d(-105%,0,0) !important;
    z-index:10002 !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide.mobile-nav-open .sidebar{
    transform:translate3d(0,0,0) !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .sb-logo > div:last-child,
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .nav-section,
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .sb-bottom,
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .mode-toggle,
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .nav-item > span:not(.nav-icon){
    display:initial !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .sb-logo > div:last-child{
    display:flex !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-header{
    position:relative !important;
    height:auto !important;
    min-height:154px !important;
    padding:10px 10px 8px 60px !important;
    align-items:stretch !important;
    flex-direction:column !important;
    gap:8px !important;
    overflow:hidden !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-header > div:first-child{
    width:100% !important;
    flex:0 0 auto !important;
    flex-wrap:wrap !important;
    gap:6px !important;
    min-width:0 !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-title{
    flex:0 0 auto !important;
    white-space:nowrap !important;
    font-size:20px !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup #fo-count-tag,
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup #fo-year-tag,
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-view-toggle{
    flex:0 0 auto !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup #fo-search{
    order:4 !important;
    flex:1 0 100% !important;
    width:100% !important;
    max-width:none !important;
    height:34px !important;
    box-sizing:border-box !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-header > div:nth-child(2){
    width:100% !important;
    flex:0 0 auto !important;
    justify-content:flex-start !important;
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch !important;
    padding-bottom:2px !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-kanban-wrap,
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup #foListView{
    top:154px !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup .fo-list-filters{
    overflow-x:auto !important;
    flex-wrap:nowrap !important;
    -webkit-overflow-scrolling:touch !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup #foListBody{
    overflow:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup #fo-table{
    width:1120px !important;
    min-width:1120px !important;
  }
}

/* ==================== 手机端分页与客户跟进表格模式修复 ==================== */
.pager .pg-wide .pg-icon{
  display:none;
}

@media (max-width:760px){
  html.auth-has-session body.index-workspace-layout .pager .pg-wide{
    width:34px !important;
    min-width:34px !important;
    max-width:34px !important;
    height:30px !important;
    padding:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 34px !important;
    overflow:hidden !important;
  }

  html.auth-has-session body.index-workspace-layout .pager .pg-wide .pg-text{
    display:none !important;
  }

  html.auth-has-session body.index-workspace-layout .pager .pg-wide .pg-icon{
    display:inline-block !important;
    font-size:18px !important;
    line-height:1 !important;
    font-weight:700 !important;
  }

  /* 表格模式不能沿用只服务看板的 followup-kanban-wide 条件。 */
  html.auth-has-session body.index-workspace-layout #page-followup .fo-header{
    position:relative !important;
    height:auto !important;
    min-height:154px !important;
    padding:10px 10px 8px 60px !important;
    align-items:stretch !important;
    flex-direction:column !important;
    gap:8px !important;
    overflow:hidden !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup .fo-header > div:first-child{
    width:100% !important;
    flex:0 0 auto !important;
    flex-wrap:wrap !important;
    gap:6px !important;
    min-width:0 !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup .fo-title,
  html.auth-has-session body.index-workspace-layout #page-followup #fo-count-tag{
    flex:0 0 auto !important;
    white-space:nowrap !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup #fo-year-tag,
  html.auth-has-session body.index-workspace-layout #page-followup .fo-view-toggle{
    flex:0 0 auto !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup #fo-search{
    order:4 !important;
    flex:1 0 100% !important;
    width:100% !important;
    max-width:none !important;
    height:34px !important;
    box-sizing:border-box !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup .fo-header > div:nth-child(2){
    width:100% !important;
    flex:0 0 auto !important;
    justify-content:flex-start !important;
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch !important;
    padding-bottom:2px !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup .fo-kanban-wrap,
  html.auth-has-session body.index-workspace-layout #page-followup #foListView{
    top:154px !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup .fo-list-filters{
    flex:0 0 auto !important;
    overflow-x:auto !important;
    flex-wrap:nowrap !important;
    -webkit-overflow-scrolling:touch !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup #foListView,
  html.auth-has-session body.index-workspace-layout #page-followup #foListBody,
  html.auth-has-session body.index-workspace-layout #page-followup .fo-list-wrap{
    min-width:0 !important;
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup #fo-table{
    width:1120px !important;
    min-width:1120px !important;
    table-layout:fixed !important;
  }

  /* 看板专用旧规则会把抽屉导航压缩成只剩图标，这里恢复移动端完整导航。 */
  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .sb-logo{
    height:116px !important;
    padding:10px 8px 20px !important;
    margin-bottom:16px !important;
    gap:8px !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .sb-logo-icon{
    margin:0 !important;
    width:48px !important;
    height:48px !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .sb-nav{
    padding:8px 10px !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .nav-section{
    display:block !important;
    font-size:11px !important;
    padding:14px 12px 6px !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .nav-item{
    display:flex !important;
    justify-content:flex-start !important;
    gap:10px !important;
    min-height:0 !important;
    padding:8px 12px !important;
    font-size:15px !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .nav-item > span:not(.nav-icon){
    display:inline !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .nav-item .nav-icon{
    margin:0 !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .mode-toggle{
    display:block !important;
  }

  html.auth-has-session body.index-workspace-layout.followup-kanban-wide .sidebar .sb-bottom{
    display:block !important;
  }
}

/* 移动端看板：操作按钮常驻，避免依赖 hover 导致触摸时闪烁；桌面端规则保持不变。 */
@media (max-width:760px){
  html.auth-has-session body.index-workspace-layout #page-followup .fo-card{
    cursor:default !important;
    touch-action:manipulation !important;
    -webkit-user-drag:none !important;
    transition:none !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup .fo-card:hover{
    border-color:var(--border) !important;
    box-shadow:0 1px 3px rgba(0,0,0,0.04) !important;
    transform:none !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup .fo-card-actions,
  html.auth-has-session body.index-workspace-layout #page-followup .fo-card:hover .fo-card-actions{
    display:flex !important;
    min-height:36px !important;
    margin-top:6px !important;
    padding-top:6px !important;
    pointer-events:auto !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup .fo-card-act{
    min-width:64px !important;
    min-height:40px !important;
    padding:8px 12px !important;
    touch-action:manipulation !important;
    -webkit-tap-highlight-color:transparent !important;
  }

  html.auth-has-session body.index-workspace-layout #page-followup .fo-card-act:hover,
  html.auth-has-session body.index-workspace-layout #page-followup .fo-card-act:focus{
    background:transparent !important;
    transform:none !important;
  }
}
