:root {
  --bg: #f7fafb;
  --panel: #ffffff;
  --panel-soft: #f9fbfc;
  --text: #102033;
  --muted: #718096;
  --line: #e5edf1;
  --line-strong: #d6e1e7;
  --teal: #00a88f;
  --teal-dark: #008577;
  --blue: #2f80ed;
  --green: #18a058;
  --amber: #f59e0b;
  --orange: #f97316;
  --red: #e5484d;
  --violet: #7c3aed;
  --shadow: 0 12px 32px rgba(16, 32, 51, .06);
  --radius: 8px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
pre { white-space: pre-wrap; word-break: break-word; color: #334155; background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; padding: 10px; max-width: 680px; }
details summary { cursor: pointer; color: var(--teal-dark); font-weight: 700; margin-top: 6px; }
code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  color: #176b5f;
  background: #e8fbf7;
  border: 1px solid #c9eee8;
  border-radius: 5px;
  padding: 2px 5px;
}

.app { height: 100vh; display: grid; grid-template-columns: 204px minmax(0, 1fr); overflow: hidden; }
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  color: #344054;
  padding: 18px 12px;
  height: 100vh;
  overflow-y: auto;
}
.mobile-nav-toggle,.sidebar-backdrop { display: none; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 14px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, var(--teal), #0e9f6e);
  box-shadow: 0 8px 20px rgba(0,168,143,.22);
}
.brand b { display: block; font-size: 18px; color: #142033; line-height: 1.1; }
.brand small { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.edition-select {
  height: 34px; margin: 8px 8px 16px; padding: 0 10px;
  border: 1px solid var(--line-strong); border-radius: 6px;
  display: flex; align-items: center; justify-content: space-between;
  color: #344054; background: #fff; font-weight: 600;
}
.nav-group { margin-bottom: 8px; }
.nav-group > .nav-sub { display: none; }
.nav-group.open > .nav-sub { display: flex; }
.nav-group .nav-caret { transition: transform .18s ease; }
.nav-group:not(.open) .nav-caret { transform: rotate(-90deg); }
.nav-item, .nav-sub {
  display: flex; align-items: center; min-height: 34px;
  border-radius: 6px; color: #344054;
}
.nav-item { gap: 9px; padding: 8px 10px; font-weight: 700; }
.nav-item i:first-child { width: 18px; color: #344054; text-align: center; }
.nav-caret { margin-left: auto; font-size: 11px; color: #98a2b3; }
.nav-sub { margin-left: 36px; padding: 6px 10px; font-size: 12px; color: #667085; }
.nav-item:hover, .nav-sub:hover { background: #f2fbfa; color: var(--teal-dark); }
.nav-item:hover i:first-child { color: var(--teal-dark); }
.nav-item.active {
  color: var(--teal-dark);
  background: #edfafa;
  border-left: 3px solid var(--teal);
  padding-left: 7px;
}
.nav-item.active i:first-child, .active-sub { color: var(--teal-dark); }

.main { min-width: 0; min-height: 0; height: 100vh; display: flex; flex-direction: column; }
.topbar {
  height: 66px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 0 24px 0 32px;
  backdrop-filter: blur(10px);
}
.crumb { font-size: 13px; color: #667085; margin-bottom: 4px; }
.topbar strong { color: #1f2a3d; font-size: 14px; font-weight: 700; }
.top-actions, .pill-row, .inline-form, .account-actions { display: flex; align-items: center; gap: 10px; }
.account-actions { flex: 0 0 auto; padding-left: 2px; }
.account-name {
  min-width: 0; max-width: 150px; height: 36px; padding: 0 10px;
  display: inline-flex; align-items: center; gap: 7px;
  border-left: 1px solid var(--line); color: #475467; font-size: 13px; font-weight: 700;
}
.account-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-name:hover, .logout-btn:hover { color: var(--teal-dark); }
.inline-form { flex-wrap: wrap; }
.inline-form select { min-width: 180px; }
.inline-form input { width: 130px; }
.sync-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; color: var(--muted); }
.sync-status b { color: var(--ink); }
.sync-status .danger { color: #b42318; }
.top-actions form { margin: 0; }
.search-wrap {
  width: 300px; height: 36px;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 6px;
  background: #fff; padding: 0 10px; color: #667085;
}
.search-wrap input, .search {
  width: 100%; border: 0; outline: 0; color: var(--text); background: transparent;
}
input, select {
  height: 36px; border: 1px solid var(--line-strong);
  border-radius: 6px; padding: 0 10px; background: #fff; color: var(--text);
}
.btn {
  height: 36px; border: 1px solid var(--line-strong); border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: #fff; color: #344054; padding: 0 12px;
  font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: .16s ease;
}
.btn:hover { border-color: #b8d8d2; color: var(--teal-dark); transform: translateY(-1px); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 8px 18px rgba(0,168,143,.18); }
.btn.primary:hover { background: var(--teal-dark); color: #fff; }
.btn.small { height: 30px; font-size: 12px; padding: 0 10px; }
.btn.ghost { color: #667085; }
.btn.icon { width: 36px; padding: 0; }
.btn.full { width: 100%; }

.content { flex: 1; min-height: 0; padding: 26px 24px 34px 32px; overflow: auto; }
.clean-head { margin-bottom: 20px; }
.page-head, .detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
h1 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 800; color: #142033; }
p { color: var(--muted); margin: 8px 0 0; line-height: 1.65; }
.spark { color: #fb923c; font-size: 20px; vertical-align: 6px; }

.hero-metrics {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-bottom: 20px;
  box-shadow: 0 8px 22px rgba(16, 32, 51, .035);
}
.hero-metric {
  min-height: 118px; padding: 22px 24px;
  display: flex; align-items: center; gap: 16px;
  border-right: 1px solid var(--line);
}
.hero-metric:last-child { border-right: 0; }
.hero-metric small { display: block; color: #667085; font-weight: 700; }
.hero-metric b { display: block; margin-top: 5px; color: var(--teal-dark); font-size: 31px; line-height: 1; }
.hero-metric em { display: block; margin-top: 7px; color: #667085; font-style: normal; font-size: 12px; }
.metric-icon {
  width: 54px; height: 54px; border-radius: 18px;
  display: grid; place-items: center;
  font-size: 30px;
}
.metric-icon.target { color: #078c76; background: #e8fbf7; }
.metric-icon.people { color: #009e8e; background: #e9fbfa; }
.metric-icon.flash { color: #f59e0b; background: #fff7df; }
.metric-icon.check { color: var(--blue); background: #eff6ff; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: 24px; align-items: start; }
.surface, .panel, .metric, .module-card {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(16, 32, 51, .035);
}
.surface-head, .panel-h {
  min-height: 58px; padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.surface-head strong, .panel-h strong { font-size: 16px; color: #1f2a3d; }
.surface-head span, .surface-head a { color: #667085; font-size: 13px; }
.panel-b { padding: 16px; }
.panel-b.no-pad { padding: 0; }
.work-rows { padding: 0; }
.work-row {
  min-height: 88px;
  display: grid; grid-template-columns: 34px 44px 190px minmax(0, 1fr) 214px;
  gap: 14px; align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.work-row:last-child { border-bottom: 0; }
.work-index {
  width: 28px; height: 28px; border-radius: 7px;
  background: #fff4e8; color: #f97316;
  display: grid; place-items: center; font-weight: 800;
}
.work-row:nth-child(n+4) .work-index { background: #f1f5f9; color: #64748b; }
.customer-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: #e8f5ff; color: var(--blue); font-size: 20px;
}
.work-row:nth-child(2n) .customer-avatar { background: #e8fbf7; color: var(--teal-dark); }
.work-row:nth-child(3n) .customer-avatar { background: #eef2ff; color: #4f46e5; }
.work-customer b { display: block; color: #1f2a3d; }
.work-customer small { display: block; margin-top: 5px; color: #667085; }
.work-main h3 { margin: 0; font-size: 16px; color: #1f2a3d; }
.work-main p { margin: 6px 0 0; line-height: 1.45; }
.work-main em { display: block; margin-top: 6px; color: var(--teal-dark); font-style: normal; font-size: 12px; }
.work-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.more-link {
  height: 54px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: var(--blue); font-weight: 700; border-top: 1px solid var(--line);
}
.right-rail { display: grid; gap: 18px; }
.rhythm-card { padding-bottom: 16px; }
.rhythm-body { display: grid; grid-template-columns: 170px 1fr; gap: 12px; align-items: center; padding: 18px; }
.ring { position: relative; width: 160px; height: 160px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: #dff4f1; stroke-width: 10; }
.ring .progress-ring { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 302; stroke-dashoffset: 42; }
.ring div { text-align: center; position: relative; }
.ring small { color: #667085; }
.ring b { display: block; color: var(--teal-dark); font-size: 31px; margin-top: 5px; }
.ring em { color: #667085; font-size: 12px; font-style: normal; }
.rhythm-list { display: grid; gap: 13px; }
.rhythm-list span { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #667085; }
.rhythm-list i { color: var(--teal); margin-right: auto; }
.rhythm-list b { color: var(--text); }
.soft-note { margin: 0 18px; padding-top: 14px; border-top: 1px solid var(--line); color: #667085; }
.soft-note i { color: var(--amber); margin-right: 6px; }
.reminders { padding-bottom: 8px; }
.reminder-row {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.reminder-row:last-child { border-bottom: 0; }
.reminder-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
}
.reminder-icon.orange { background: #fff7ed; color: var(--orange); }
.reminder-icon.blue { background: #eff6ff; color: var(--blue); }
.reminder-icon.green { background: #ecfdf5; color: var(--green); }
.reminder-icon.violet { background: #f5f3ff; color: var(--violet); }
.reminder-row b { display: block; color: #1f2a3d; }
.reminder-row small { display: block; color: #667085; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reminder-row em { color: #667085; font-style: normal; font-size: 12px; }
.package-body { display: grid; grid-template-columns: 128px minmax(0,1fr); gap: 18px; padding: 18px; align-items: center; }
.package-visual {
  height: 118px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #e8fbf7, #eff6ff);
  color: var(--teal); font-size: 54px;
}
.package-body b { display: block; color: #1f2a3d; margin-bottom: 10px; }
.package-body ul { list-style: none; padding: 0; margin: 0 0 12px; color: #4b5563; font-size: 13px; line-height: 1.9; }
.package-body li:before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 8px; }

.pill {
  min-height: 24px; display: inline-flex; align-items: center; border-radius: 999px;
  padding: 0 9px; font-size: 12px; font-weight: 700;
  background: #f1f5f9; color: #475569;
}
.pill.green { background: #dcfce7; color: #15803d; }
.pill.amber { background: #fef3c7; color: #b45309; }
.pill.red { background: #fee2e2; color: #b91c1c; }
.pill.blue { background: #dbeafe; color: #1d4ed8; }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.metric { padding: 18px; }
.metric span { color: #667085; font-size: 12px; }
.metric b { display: block; margin-top: 7px; color: #142033; font-size: 24px; }
.metric em { display: block; margin-top: 6px; color: #667085; font-style: normal; font-size: 12px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.side-stack { display: grid; gap: 18px; }
.mt { margin-top: 18px; }
.action-card {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 140px;
  gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.action-card:last-child { border-bottom: 0; }
.rank { font-size: 22px; font-weight: 800; color: #94a3b8; }
.action-main h3 { margin: 0 0 6px; font-size: 16px; color: #1f2a3d; }
.suggest { margin-top: 8px; padding: 9px 10px; border-radius: 7px; background: #f8fafc; color: #344054; }
.action-side { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.risk-row, .entity-row, .contact-row, .mix-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.risk-row:last-child, .entity-row:last-child, .contact-row:last-child, .mix-row:last-child { border-bottom: 0; }
.risk-row small, .entity-row small, .contact-row small { display: block; margin-top: 4px; color: #667085; }
.risk-row em, .score { color: var(--teal-dark); font-style: normal; font-weight: 800; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { background: #f8fafc; color: #64748b; font-size: 12px; }
.table td small { display: block; margin-top: 4px; color: #667085; }
.row-actions, .entity-actions {
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap;
}
.entity-actions form, .work-actions form, .action-side form, .row-actions form { margin: 0; }
.entity-form, .follow-form { display: grid; grid-template-columns: 1.4fr 130px 1fr auto; gap: 8px; margin-top: 14px; }
.follow-form{grid-template-columns:repeat(12,minmax(0,1fr));align-items:start}.follow-form .follow-date{grid-column:span 2}.follow-form .follow-method{grid-column:span 2}.follow-form .follow-result{grid-column:span 3}.follow-form .follow-next-date{grid-column:span 2}.follow-form .follow-content,.follow-form .follow-next{grid-column:span 6}.follow-form textarea{width:100%;min-height:58px;padding:9px 10px;border:1px solid var(--line-strong);border-radius:6px;resize:vertical;font:inherit;line-height:1.5}.follow-form .btn{grid-column:span 2;align-self:start}
.follow-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.follow-row span, .follow-row small { color: #667085; }
.follow-row p { color: var(--text); }
.form-panel { max-width: 960px; }
.record-form {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.record-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 700;
}
.record-form input, .record-form select { width: 100%; }
.record-form .wide, .record-form .form-actions { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; align-items: center; }
.compact-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.mini-form .btn { width: 100%; }
.timeline { padding: 0; }
.timeline-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.timeline-row:last-child { border-bottom: 0; }
.timeline-row p { margin: 4px 0 0; color: var(--text); }
.timeline-row small { display: block; margin-top: 6px; color: #667085; }
.timeline-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #f1f5f9; color: #475569;
}
.timeline-icon.blue { background: #eff6ff; color: var(--blue); }
.timeline-icon.green { background: #ecfdf5; color: var(--green); }
.timeline-icon.amber { background: #fff7ed; color: var(--amber); }
.timeline-icon.violet { background: #f5f3ff; color: var(--violet); }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.module-card { display: flex; gap: 12px; padding: 16px; cursor: pointer; }
.module-card input { width: 18px; height: 18px; min-width: 18px; accent-color: var(--teal); }
.module-card b, .module-card small, .module-card em { display: block; }
.module-card small { color: #667085; margin-top: 4px; }
.module-card em { color: #344054; font-style: normal; margin-top: 8px; line-height: 1.55; }
.savebar { margin-top: 16px; }
.flash-wrap { display: grid; gap: 8px; margin-bottom: 14px; }
.flash { padding: 10px 12px; border-radius: 7px; background: #eff6ff; color: #1d4ed8; }
.flash.error { background: #fee2e2; color: #991b1b; }
.flash.success { background: #dcfce7; color: #166534; }
.empty, .calm { color: #667085; line-height: 1.7; }

.login-page { min-height: 100vh; display: grid; place-items: center; background: #eef7f6; }
.login-card {
  width: 370px; background: #fff; border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 26px; box-shadow: var(--shadow);
}
.login-card label { display: grid; gap: 6px; margin: 14px 0; color: #344054; font-weight: 700; }
.login-card input { width: 100%; }
.login-card small { display: block; color: #667085; margin-top: 12px; }
.password-card { width: min(440px, calc(100vw - 32px)); }
.password-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.password-heading h1 { margin: 2px 0 5px; font-size: 22px; }
.password-heading p { margin: 0; color: #667085; font-size: 13px; }
.password-hint { margin: -2px 0 16px; color: #667085; font-size: 12px; }
.password-logout { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; color: #667085; font-size: 13px; }
.password-logout:hover { color: var(--teal-dark); }

.wecom-sidebar-page {
  background: #eef5ff;
  color: #172033;
  font-size: 13px;
}
.wecom-panel {
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 12px;
}
.wecom-hero {
  background: #dceaff;
  border: 1px solid #b9d2fb;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 10px;
}
.wecom-hero h1 { font-size: 22px; margin-top: 8px; word-break: break-word; }
.wecom-hero p { margin-top: 6px; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 13px;
  margin-bottom: 10px;
}
.sidebar-card h2 {
  font-size: 15px;
  margin: 0 0 10px;
  color: #142033;
}
.sidebar-form {
  display: grid;
  gap: 9px;
}
.sidebar-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-weight: 700;
}
.sidebar-form input, .sidebar-form select, .sidebar-form textarea { width: 100%; }
.sidebar-form textarea { resize: vertical; min-height: 88px; }
.sidebar-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.customer-search { position: relative; }
.customer-search-input { padding-left: 12px; }
.customer-search-results {
  max-height: 260px;
  overflow-y: auto;
  margin-top: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 50, 81, .12);
}
.customer-search-option {
  width: 100%;
  display: block;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: #172033;
  text-align: left;
  cursor: pointer;
}
.customer-search-option:last-child { border-bottom: 0; }
.customer-search-option:hover, .customer-search-option:focus { background: #edf7f5; }
.customer-search-option b, .customer-search-option span { display: block; }
.customer-search-option span { margin-top: 3px; color: #667085; font-size: 12px; }
.customer-search-empty { padding: 14px 12px; color: #667085; font-weight: 400; }
.customer-search-selected {
  margin-top: 7px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #e8f8f4;
  color: #087f6b;
  font-size: 12px;
}
.binding-switcher > summary { color: #087f6b; font-weight: 700; cursor: pointer; }
.binding-switcher[open] > summary { margin-bottom: 12px; }
.sidebar-bind-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 12px 0 13px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: #f3f6f8; }
.sidebar-bind-modes button { min-width: 0; height: 36px; padding: 0 8px; border: 0; border-radius: 5px; background: transparent; color: #667085; font-size: 13px; font-weight: 700; cursor: pointer; }
.sidebar-bind-modes button.active { background: #fff; color: #087f6b; box-shadow: 0 1px 4px rgba(31,50,81,.12); }
[data-bind-panel] > p { margin: 0 0 12px; color: #667085; font-size: 12px; line-height: 1.6; }
.binding-switcher { padding: 13px 15px; }
.binding-switcher > p { margin: 7px 0 12px; color: #667085; font-size: 12px; }
.binding-history { display: grid; gap: 7px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); }
.binding-history > b { font-size: 12px; color: #475467; }
.binding-history > span { display: flex; justify-content: space-between; gap: 8px; color: #344054; font-size: 12px; }
.binding-history time { color: #98a2b3; white-space: nowrap; }
.block { display: block; }
.switch-check { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; cursor: pointer; }
.switch-check input { width: 17px; height: 17px; accent-color: #00a88f; }
.switch-check span { color: #475467; font-size: 12px; }
.task-all-hint { padding: 11px 12px; border: 1px solid #b9e5dc; border-radius: 6px; background: #edf9f6; color: #087f6b; font-size: 13px; }
.sidebar-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.sidebar-metrics div {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 11px;
}
.sidebar-metrics span, .sidebar-row span, .sidebar-row small, .sidebar-task small {
  display: block;
  color: #667085;
}
.sidebar-metrics b {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  color: #142033;
}
.sidebar-task, .sidebar-row {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.sidebar-task:first-of-type, .sidebar-row:first-of-type { border-top: 0; padding-top: 0; }
.sidebar-task p { margin: 5px 0; }
.sidebar-row b, .sidebar-row strong {
  display: block;
  color: #142033;
  margin-bottom: 4px;
}
.sidebar-row.compact { padding: 8px 0; }
.wecom-sidebar-page.modal-open { overflow: hidden; }
.wecom-sidebar-page .wecom-hero { padding: 11px 13px; }
.wecom-sidebar-page .wecom-hero h1 { margin: 5px 0 0; font-size: 20px; }
.wecom-sidebar-page .wecom-hero p { margin: 4px 0 0; color: #52647e; font-size: 12px; }
.profile-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 9px; }
.profile-kpi { padding: 10px; border: 1px solid #d5e0ef; border-radius: 7px; background: #fff; }
.profile-kpi.primary { grid-column: 1 / -1; background: #087f6b; border-color: #087f6b; color: #fff; }
.profile-kpi span, .profile-kpi b { display: block; }
.profile-kpi span { color: #667085; font-size: 11px; }
.profile-kpi b { margin-top: 4px; font-size: 17px; }
.profile-kpi.primary span { color: #d5f5ee; }
.profile-kpi.primary b { font-size: 25px; }
.profile-kpi .date-value { font-size: 13px; }
.profile-focus h2, .followup-history h2 { display: flex; align-items: baseline; justify-content: space-between; }
.profile-focus h2 small, .followup-history h2 small { color: #7a879a; font-size: 11px; font-weight: 400; }
.product-structure { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.product-structure-item { width: 100%; padding: 9px; border: 1px solid #e0e7f0; border-radius: 6px; background: #f8fafc; color: #172033; text-align: left; cursor: pointer; }
.product-structure-item:hover,.product-structure-item:focus { border-color: #74b9aa; background: #f0fbf8; }
.product-structure span, .product-structure b, .product-structure small { display: block; }
.product-structure span { color: #667085; font-size: 11px; }
.product-structure b { margin-top: 3px; font-size: 14px; }
.product-structure small { margin-top: 5px; color: #087f6b; font-size: 10px; }
.product-detail-modal { position: fixed; inset: 0; z-index: 55; display: flex; align-items: flex-end; justify-content: center; }.product-detail-modal[hidden] { display: none; }.product-detail-dialog { position: relative; width: min(100%,480px); max-height: 82vh; overflow-y: auto; padding: 14px; border-radius: 10px 10px 0 0; background: #fff; box-shadow: 0 -12px 34px rgba(16,24,40,.2); }.product-detail-summary { display: flex; justify-content: space-between; padding: 8px 0 11px; color: #667085; }.product-detail-summary b { color: #172033; }.product-detail-row { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }.product-detail-row > div:last-child { flex: 0 0 auto; text-align: right; }.product-detail-row b,.product-detail-row span,.product-detail-row strong,.product-detail-row time { display: block; }.product-detail-row span,.product-detail-row time { margin-top: 4px; color: #7a879a; font-size: 11px; }.product-detail-row strong { color: #087f6b; }
.product-mark-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.product-mark { padding: 5px 7px; border-radius: 5px; background: #f1f4f8; color: #7a879a; font-size: 11px; }
.product-mark.active { background: #fff1d6; color: #9a5b00; font-weight: 700; }
.recent-product { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.recent-product:first-of-type { border-top: 0; padding-top: 0; }
.recent-product div { min-width: 0; }
.recent-product b, .recent-product span { display: block; }
.recent-product b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-product span { margin-top: 3px; color: #667085; font-size: 11px; }
.recent-product strong { flex: 0 0 auto; color: #087f6b; }
.profile-advice { margin-top: 8px; padding: 9px 10px; border-left: 3px solid #3b82f6; background: #f5f9ff; }
.profile-advice:first-of-type { margin-top: 0; }
.profile-advice.urgent { border-color: #e5484d; background: #fff6f6; }
.profile-advice.important { border-color: #f59e0b; background: #fffaf0; }
.profile-advice p { margin: 4px 0 0; color: #526174; line-height: 1.5; }
.followup-record { padding: 10px 0; border-top: 1px solid var(--line); }
.followup-record:first-of-type { border-top: 0; padding-top: 0; }
.followup-record > div { display: flex; justify-content: space-between; gap: 8px; }
.followup-record time { color: #7a879a; font-size: 11px; }
.followup-record p { margin: 6px 0; line-height: 1.55; }
.followup-record small { color: #087f6b; }
.followup-fab {
  position: fixed; right: 14px; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 5px;
  padding: 10px 13px; border: 0; border-radius: 22px; background: #087f6b; color: #fff;
  box-shadow: 0 8px 22px rgba(8,127,107,.3); cursor: pointer; font-weight: 700;
}
.followup-fab span { font-size: 18px; line-height: 1; }
.followup-modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.followup-modal[hidden] { display: none; }
.followup-modal-backdrop { position: absolute; inset: 0; background: rgba(16,24,40,.42); }
.followup-dialog { position: relative; width: min(100%, 480px); max-height: 88vh; overflow-y: auto; padding: 14px; border-radius: 10px 10px 0 0; background: #fff; box-shadow: 0 -12px 34px rgba(16,24,40,.2); }
.followup-dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.followup-dialog-head h2 { margin: 0; font-size: 17px; }
.followup-dialog-head button { width: 32px; height: 32px; border: 0; background: transparent; color: #667085; font-size: 24px; cursor: pointer; }
.sidebar-task-notice {
  position: sticky; bottom: 66px; z-index: 18; display: flex; align-items: center; justify-content: space-between;
  width: 100%; margin: 10px 0; padding: 11px 13px; border: 1px solid #f0c36a; border-radius: 7px;
  background: #fff8e8; color: #714900; box-shadow: 0 5px 18px rgba(113,73,0,.12); cursor: pointer; font-weight: 700;
}
.sidebar-task-notice span { display: flex; align-items: center; gap: 7px; }
.sidebar-task-notice b { min-width: 24px; padding: 2px 7px; border-radius: 12px; background: #d97706; color: #fff; text-align: center; }
.task-dialog { max-height: 92vh; }
.sidebar-task-item { padding: 13px 0; border-top: 1px solid var(--line); }
.sidebar-task-item:first-child { padding-top: 0; border-top: 0; }
.sidebar-task-item header b,.sidebar-task-item header small { display: block; }
.sidebar-task-item header small { margin-top: 4px; color: #7a879a; font-size: 11px; }
.sidebar-task-item p { margin: 8px 0; color: #42526a; line-height: 1.55; }
.sidebar-task-item p strong { color: #172033; }
.task-resolution-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.task-resolution-actions .btn { justify-content: center; white-space: normal; }
.focus-task-detail { padding-top: 5px; }
.focus-task-point { padding: 11px 0; border-top: 1px solid var(--line); }
.focus-task-point:first-child { border-top: 0; }
.focus-task-point span { display: block; margin-bottom: 5px; color: #667085; font-size: 11px; font-weight: 700; }
.focus-task-point p { margin: 0; color: #172033; line-height: 1.6; }
.focus-task-point.product { margin: 4px -10px; padding: 11px 10px; border: 0; background: #eefaf7; }
.focus-task-point.result { margin-top: 5px; padding: 11px 10px; border: 1px solid #f2d28d; border-radius: 6px; background: #fff9ec; }
.focus-accept-button { min-height: 46px; }
.focus-task-hint { margin: 9px 3px 14px; color: #667085; font-size: 11px; line-height: 1.55; }
.wecom-task-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.wecom-task-link:first-of-type { padding-top: 0; border-top: 0; }
.wecom-task-link div { min-width: 0; }
.wecom-task-link b,.wecom-task-link span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wecom-task-link span { margin-top: 4px; color: #667085; font-size: 12px; }
.wecom-task-link em { flex: 0 0 auto; padding: 4px 7px; border-radius: 5px; font-size: 11px; font-style: normal; }
.wecom-task-link em.amber { background: #fff1cc; color: #8a5600; }
.wecom-task-link em.green { background: #e5f7f1; color: #087f6b; }
.focus-recommendation-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 14px; }
.focus-recommendation-card { min-width: 0; padding: 15px; border: 1px solid #d9e4ee; border-radius: 7px; background: #fff; }
.focus-recommendation-card header,.focus-recommendation-card header>div,.focus-recommendation-card footer { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.focus-recommendation-card h3,.focus-recommendation-card h4 { margin: 0; }
.focus-recommendation-card h3 { font-size: 16px; }
.focus-recommendation-card h4 { margin-top: 13px; font-size: 14px; }
.focus-recommendation-card code { color: #667085; font-size: 11px; }
.focus-recommendation-card dl { margin: 12px 0; }
.focus-recommendation-card dl>div { padding: 8px 0; border-top: 1px solid var(--line); }
.focus-recommendation-card dt { color: #667085; font-size: 11px; font-weight: 700; }
.focus-recommendation-card dd { margin: 4px 0 0; color: #25324a; line-height: 1.55; }
.focus-recommendation-card footer { justify-content: flex-end; }
.focus-recommendation-card footer form { margin: 0; }
.task-resolve-popover { position: relative; }
.task-resolve-popover summary { list-style: none; cursor: pointer; }
.task-resolve-popover summary::-webkit-details-marker { display: none; }
.task-resolve-popover form { position: absolute; right: 0; top: calc(100% + 7px); z-index: 20; width: 330px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; box-shadow: 0 12px 30px rgba(16,24,40,.16); }
.task-resolve-popover label,.task-resolve-popover textarea { display: block; width: 100%; }
.task-resolve-popover textarea { margin-top: 6px; resize: vertical; }
.task-resolve-popover form>div { display: flex; justify-content: flex-end; gap: 7px; margin-top: 9px; }

.classification-form { display: grid; grid-template-columns: minmax(88px, 1fr) minmax(96px, 1fr) auto; gap: 6px; min-width: 290px; }
.classification-form select { min-width: 0; }
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: #667085;
}
.pagination-actions, .pagination-actions form, .page-size-form label { display: flex; align-items: center; gap: 8px; }
.pagination-actions button:disabled { opacity: .45; cursor: not-allowed; }
.page-size-form select { min-width: 92px; }
.analytics-kpis { margin-bottom: 14px; }
.muted { color: #667085; font-size: 12px; font-weight: 400; }
.customer-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.matrix-cell { min-height: 210px; padding: 14px; background: #fff; }
.matrix-1 { border-top: 4px solid #12a594; }
.matrix-2 { border-top: 4px solid #f59e0b; }
.matrix-3 { border-top: 4px solid #3b82f6; }
.matrix-4 { border-top: 4px solid #94a3b8; }
.matrix-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.matrix-title span { color: #667085; }
.matrix-customer { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); color: #172033; }
.matrix-customer small { color: #667085; text-align: right; }
.matrix-more { padding-top: 8px; color: #667085; font-size: 12px; }
.coach-okr {
  display: grid; grid-template-columns: 180px minmax(0,1fr) auto; align-items: center; gap: 18px;
  margin-bottom: 12px; padding: 14px 16px; border: 1px solid #bcd9d2; border-left: 5px solid #087f6b;
  background: #f0fbf8;
}
.coach-okr small,.coach-okr b { display: block; }
.coach-okr small { color: #087f6b; }
.coach-okr b { margin-top: 3px; font-size: 17px; }
.coach-okr p { margin: 0; color: #405468; }
.coach-board { margin-bottom: 14px; border: 1px solid var(--line-strong); background: #fff; }
.coach-board .surface-head { padding: 13px 15px; }
.coach-items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.coach-item { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 82px; padding: 12px 14px; background: #fff; color: #172033; }
.coach-item > i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: #fff3e0; color: #c56a00; font-size: 17px; }
.coach-item.growth > i { background: #e7f8f2; color: #087f6b; }
.coach-item.risk > i,.coach-item.urgent > i { background: #fff0f0; color: #d9363e; }
.coach-item b,.coach-item small { display: block; }
.coach-item small { margin-top: 4px; color: #667085; line-height: 1.45; }
.coach-item em { color: #087f6b; font-style: normal; font-weight: 700; }
.meeting-entry-card > a { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-top: 1px solid var(--line); color: #172033; }
.meeting-entry-card > a > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: #eaf2ff; color: #2367c9; font-size: 17px; }
.meeting-entry-card b,.meeting-entry-card small { display: block; }
.meeting-entry-card small { margin-top: 3px; color: #667085; }
.meeting-head,.meeting-switch,.meeting-agenda,.meeting-agenda span { display: flex; align-items: center; }
.meeting-switch { gap: 7px; }
.meeting-agenda { gap: 1px; margin-bottom: 14px; overflow-x: auto; background: var(--line); border: 1px solid var(--line); }
.meeting-agenda span { flex: 1 0 150px; gap: 7px; padding: 10px 12px; background: #fff; color: #526174; }
.meeting-agenda b { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #e8f8f4; color: #087f6b; }
.meeting-kpis { margin-bottom: 14px; }
.up { color: #087f6b !important; }
.down { color: #d9363e !important; }
.okr-banner { display: grid; grid-template-columns: 190px minmax(0,1fr) minmax(180px,.7fr); gap: 18px; align-items: center; margin-bottom: 14px; padding: 14px 16px; background: #102a43; color: #fff; }
.okr-banner small,.okr-banner b { display: block; }
.okr-banner small { color: #9ec4df; }.okr-banner b { margin-top: 3px; font-size: 17px; }
.okr-banner p { margin: 0; color: #d7e5ef; }.okr-banner strong { color: #72dbc5; }
.meeting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.product-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product-goals div { position: relative; padding: 11px; border: 1px solid var(--line); background: #f8fafc; }
.product-goals span,.product-goals b,.product-goals em { display: block; }
.product-goals b { margin-top: 4px; font-size: 19px; }.product-goals em { color: #667085; font-style: normal; }
.product-goals i { position: absolute; right: 9px; top: 9px; font-style: normal; font-weight: 700; }.product-goals i.good { color: #087f6b; }.product-goals i.warn { color: #d97904; }
.meeting-customer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); color: #172033; }
.meeting-customer:first-child { border-top: 0; padding-top: 0; }.meeting-customer b,.meeting-customer small { display: block; }.meeting-customer small { margin-top: 3px; color: #667085; }.meeting-customer em { font-style: normal; font-weight: 800; }
.compact-list a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); color: #172033; }.compact-list a:first-child { border-top: 0; padding-top: 0; }
.meeting-action-form { display: grid; grid-template-columns: 2fr 1fr 150px 1.5fr auto; gap: 8px; margin-bottom: 12px; }
.meeting-action { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }.meeting-action b,.meeting-action small { display: block; }.meeting-action small { margin-top: 4px; color: #667085; }.meeting-action.done { opacity: .6; }
.okr-calendar { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.okr-month { min-height: 190px; border: 1px solid var(--line-strong); background: #fff; }
.okr-month.current { border: 2px solid #087f6b; box-shadow: 0 8px 22px rgba(8,127,107,.12); }
.okr-month header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 12px; border-bottom: 1px solid var(--line); }.okr-month header span { color: #087f6b; font-weight: 800; }.okr-month header em { padding: 3px 6px; background: #087f6b; color: #fff; font-style: normal; font-size: 11px; }.okr-month p { margin: 0; padding: 13px; color: #405468; line-height: 1.65; }.okr-month footer { padding: 10px 13px; border-top: 1px solid var(--line); color: #667085; }.okr-month footer i { margin-right: 6px; color: #2367c9; }
.rules-layout { display: grid; gap: 14px; }.rules-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.rules-grid label { display: grid; gap: 6px; color: #344054; font-weight: 700; }
.target-month-switch { margin-bottom: 12px; }.target-month-switch label { display: flex; align-items: center; gap: 8px; font-weight: 700; }.target-table-wrap { overflow-x: auto; }.target-table { min-width: 880px; }.target-table input { width: 100%; min-width: 150px; }.target-table td > b,.target-table td > small { display: block; }.target-table td > small { margin-top: 4px; color: #667085; }
.chat-table-wrap { overflow-x: auto; }
.chat-table { min-width: 1080px; }
.chat-table th:last-child,.chat-table td:last-child { width: 360px; }
.chat-table td { vertical-align: top; }
.chat-identity b,.chat-identity small,.chat-table td > b,.chat-table td > small { display: block; }
.contact-identity { display: flex; align-items: flex-start; gap: 9px; min-width: 210px; }
.contact-avatar { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 6px; object-fit: cover; background: #eef2f6; }
.contact-sync-error{display:block;max-width:260px;margin-top:5px;color:#b42318!important;white-space:normal;line-height:1.45}.contact-type-form{display:grid;grid-template-columns:minmax(130px,1fr) 100px auto;align-items:center;gap:6px;min-width:340px}.contact-type-form input,.contact-type-form select{min-width:0}.wecom-contact-filters{margin-bottom:12px;border:1px solid var(--line-strong);border-radius:7px;background:#fff}.wecom-contact-filters .search{width:min(380px,100%);height:36px;border:1px solid var(--line-strong);padding:0 10px}
.chat-identity b { font-size: 14px; }.chat-identity small,.chat-table td > small { margin-top: 4px; color: #7a879a; font-size: 11px; }
.text-action { margin-top: 5px; padding: 0; border: 0; background: none; color: #2367c9; cursor: pointer; font-size: 12px; }
.chat-bind-form { display: grid; grid-template-columns: minmax(230px,1fr) auto; align-items: start; gap: 7px; }
.chat-customer-search { min-width: 0; }
.chat-customer-input { width: 100%; }
.chat-search-results { max-height: 210px; margin-top: 5px; overflow-y: auto; border: 1px solid var(--line-strong); background: #fff; box-shadow: 0 7px 16px rgba(31,50,81,.12); }
.chat-search-results button { display: block; width: 100%; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #fff; text-align: left; cursor: pointer; }
.chat-search-results button:hover { background: #edf7f5; }.chat-search-results button b,.chat-search-results button span { display: block; }.chat-search-results button span { margin-top: 2px; color: #667085; font-size: 11px; }
.chat-search-empty { padding: 10px; color: #667085; }.chat-selected { display: block; margin-top: 5px; color: #087f6b; }
.lookup-search{position:relative;min-width:0}.lookup-search>[data-lookup-input]{width:100%}.lookup-results{position:absolute;z-index:35;top:40px;left:0;right:0;max-height:260px;overflow-y:auto;border:1px solid var(--line-strong);border-radius:6px;background:#fff;box-shadow:0 12px 28px rgba(31,50,81,.16)}.lookup-results button{display:block;width:100%;height:auto;min-height:54px;padding:9px 11px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff;text-align:left;cursor:pointer}.lookup-results button:hover{background:#edf8f6}.lookup-results b,.lookup-results span{display:block}.lookup-results span{margin-top:4px;color:#667085;font-size:11px}.lookup-empty{padding:12px;color:#667085}.lookup-selected{display:block;margin-top:5px;color:#087f6b;font-weight:500;line-height:1.45}
.bound-customer { display: flex; align-items: center; gap: 8px; color: #172033; }.bound-customer > i { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 6px; background: #e8f8f4; color: #087f6b; }.bound-customer b,.bound-customer small { display: block; }.bound-customer small { margin-top: 2px; color: #667085; }
.wecom-followup-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.wecom-followup-item { padding: 11px; border: 1px solid var(--line); color: #172033; }.wecom-followup-item > div { display: flex; justify-content: space-between; gap: 8px; }.wecom-followup-item time { color: #7a879a; font-size: 11px; }.wecom-followup-item p { margin: 7px 0; line-height: 1.5; }.wecom-followup-item small { color: #087f6b; }
.wecom-log-details > summary { cursor: pointer; list-style: none; }.wecom-log-details > summary::-webkit-details-marker { display: none; }.wecom-log-details > summary span { color: #667085; font-size: 12px; }.log-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }.log-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }.log-row b { flex: 0 0 auto; }
.daily-brief-layout { display: grid; grid-template-columns: minmax(320px,1fr) minmax(240px,.65fr); gap: 18px; align-items: start; }.daily-brief-preview { padding: 14px; border: 1px solid #bcd9d2; border-left: 4px solid #087f6b; background: #f4fbf9; }.daily-brief-preview h3 { margin: 0 0 8px; }.daily-brief-preview > small { color: #667085; }.daily-brief-preview p { margin: 8px 0; }.daily-brief-preview ol { margin: 8px 0; padding-left: 22px; }.daily-brief-preview li { margin: 6px 0; }.daily-brief-preview em { display: block; margin-top: 10px; color: #087f6b; font-style: normal; }.checkbox-row { display: flex !important; grid-template-columns: none !important; flex-direction: row; align-items: center; gap: 8px; }.checkbox-row input { width: auto !important; }
.brief-detail-page { margin: 0; background: #f3f7f8; color: #172033; }.brief-detail-shell { width: min(100%,560px); min-height: 100vh; margin: 0 auto; padding: 0 14px 28px; }.brief-detail-hero { margin: 0 -14px 14px; padding: 22px 18px 20px; background: #087f6b; color: #fff; }.brief-detail-hero small { color: #c9f1e8; }.brief-detail-hero h1 { margin: 7px 0; font-size: 24px; letter-spacing: 0; }.brief-detail-hero p { margin: 0; color: #e5faf5; line-height: 1.6; }.brief-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.brief-result { min-height: 76px; padding: 12px; border: 1px solid #d8e3e7; border-radius: 7px; background: #fff; }.brief-result.primary { grid-column: 1/-1; border-color: #a9dacf; background: #ebfaf6; }.brief-result span,.brief-result b,.brief-result small { display: block; }.brief-result span,.brief-result small { color: #667085; font-size: 12px; }.brief-result b { margin-top: 5px; font-size: 20px; }.brief-result.primary b { color: #087f6b; font-size: 28px; }.brief-result small { margin-top: 5px; }.brief-section { margin-top: 12px; padding: 14px; border: 1px solid #d8e3e7; border-radius: 7px; background: #fff; }.brief-section h2 { margin: 0; font-size: 17px; }.brief-section-note { margin: 5px 0 11px; color: #667085; font-size: 12px; }.brief-customer-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #e8eef1; }.brief-customer-row:first-of-type { margin-top: 8px; }.brief-customer-row b { color: #087f6b; }.brief-action { display: grid; grid-template-columns: 28px 1fr; gap: 9px; padding: 11px 0; border-top: 1px solid #e8eef1; }.brief-action > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e7f8f3; color: #087f6b; font-weight: 800; }.brief-action p,.brief-empty p { margin: 4px 0 0; color: #526174; line-height: 1.5; }.brief-empty { margin-top: 10px; padding: 12px; background: #f6fafb; }.brief-main-link { display: block; margin-top: 14px; padding: 13px; border-radius: 7px; background: #087f6b; color: #fff; text-align: center; font-weight: 800; }

@media (max-width: 1180px) {
  .app { grid-template-columns: 204px minmax(0, 1fr); }
  .dashboard-grid, .grid-main, .metrics, .hero-metrics, .module-grid { grid-template-columns: 1fr; }
  .hero-metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .topbar, .page-head, .detail-head { height: auto; flex-direction: column; align-items: flex-start; padding-top: 14px; padding-bottom: 14px; }
  .top-actions { flex-wrap: wrap; }
  .search-wrap { width: 240px; }
  .work-row, .action-card, .entity-form, .follow-form, .package-body, .rhythm-body, .record-form, .compact-form, .mini-form, .timeline-row { grid-template-columns: 1fr; }
  .customer-matrix { grid-template-columns: 1fr; }
  .coach-okr,.okr-banner { grid-template-columns: 1fr; }
  .coach-items,.meeting-grid,.okr-calendar,.rules-grid { grid-template-columns: 1fr; }
  .wecom-followup-grid,.log-grid,.daily-brief-layout { grid-template-columns: 1fr; }
  .meeting-action-form { grid-template-columns: 1fr; }
  .pagination-bar { align-items: flex-start; flex-direction: column; }
  .pagination-actions { flex-wrap: wrap; }
  .work-actions { justify-content: flex-start; }
  .follow-form > * { grid-column: 1 !important; }
}
@media (max-width: 720px) {
  .app { grid-template-columns: minmax(0,1fr); }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(84vw,320px);
    transform: translateX(-102%); transition: transform .2s ease;
    border-right: 1px solid var(--line-strong); box-shadow: 18px 0 38px rgba(16,32,51,.16);
  }
  .app.sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-backdrop {
    position: fixed; inset: 0; z-index: 65; width: 100%; height: 100%; padding: 0;
    border: 0; border-radius: 0; background: rgba(16,32,51,.3); cursor: pointer;
  }
  .app.sidebar-open .sidebar-backdrop { display: block; }
  .main { grid-column: 1; width: 100%; }
  .topbar {
    min-height: 60px; height: auto; padding: 10px 12px; flex-direction: row; align-items: center; gap: 9px;
  }
  .mobile-nav-toggle { display: inline-flex; flex: 0 0 36px; }
  .topbar > div:nth-of-type(1) { min-width: 0; flex: 1; }
  .topbar .crumb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
  .top-actions { display: none; }
  .account-actions { gap: 2px; }
  .account-name { width: 36px; padding: 0; border-left: 0; justify-content: center; }
  .account-name span { display: none; }
  .content { padding: 18px 14px 28px; }
  h1 { font-size: 24px; }
  .page-head,.detail-head { padding-top: 0; }
}
.sidebar-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sidebar-card-title h2{margin:0}
.sidebar-text-button{border:0;background:transparent;color:#087f75;font-weight:700;padding:4px 2px;cursor:pointer}
.sidebar-ai-summary{margin:10px 0;padding:11px 12px;border-left:3px solid #0f9f91;background:#eefaf8}
.sidebar-ai-summary span{display:inline-block;color:#087f75;font-size:12px;font-weight:800;margin-bottom:5px}
.sidebar-ai-summary p{margin:0;color:#17324d;line-height:1.55}
.sidebar-ai-time{display:block;margin-top:10px;color:#718096;font-size:11px}
.ai-insight-panel{border-top:3px solid #0f9f91}
.ai-summary{margin-bottom:12px}
.ai-summary p{font-weight:700;line-height:1.55;margin:9px 0 4px}
.ai-summary small{color:#718096}
.brief-ai-note{border-left:4px solid #0f9f91}
.brief-ai-note p{margin:8px 0 0;line-height:1.65;color:#17324d}
.reminder-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.reminder-setting-grid>div{padding:14px;border:1px solid #dce7ec;border-radius:6px;background:#fbfdfd}
.reminder-setting-grid h3{margin:0 0 7px;font-size:16px}
.reminder-setting-grid p{min-height:44px;margin:0 0 12px;color:#60758a;line-height:1.55}
.reminder-test-form{display:flex;gap:8px;align-items:center}
.reminder-test-form select{min-width:0;flex:1}
.reminder-detail-shell{max-width:680px}
.reminder-item{display:flex;gap:12px;align-items:flex-start;padding:13px 0;border-bottom:1px solid #e7eef2;color:#17324d;text-decoration:none}
.reminder-item:last-child{border-bottom:0}
.reminder-item>div{min-width:0;flex:1}
.reminder-item b{display:block;margin-bottom:4px}
.reminder-item p{margin:0 0 4px;line-height:1.5}
.reminder-item small{color:#718096}
.reminder-dot{width:10px;height:10px;margin-top:6px;border-radius:50%;background:#0f9f91;flex:0 0 auto}
.reminder-dot.urgent{background:#d9485f}
.reminder-dot.warm{background:#e8a52b}
.reminder-trend{min-width:58px;margin-top:2px;padding:5px 6px;border-radius:5px;text-align:center;font-size:12px;font-weight:800}
.reminder-trend.up{color:#087f5b;background:#e7f8f0}
.reminder-trend.down{color:#b4233b;background:#fff0f2}
@media(max-width:720px){.reminder-setting-grid{grid-template-columns:1fr}}
.executive-brief-shell{max-width:760px}
.executive-brief-hero{background:#123b4a;color:#fff}
.executive-brief-hero small,.executive-brief-hero p{color:#d8eef1}
.executive-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.pace-超前 b{color:#087f5b}.pace-滞后 b{color:#b4233b}.pace-正常 b{color:#1769aa}
.executive-mix-row{display:grid;grid-template-columns:90px 1fr 52px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #e8eef1}
.executive-mix-row>div:first-child{display:flex;flex-direction:column}.executive-mix-row small{color:#718096}.executive-mix-row strong{text-align:right}
.executive-progress{height:8px;border-radius:4px;background:#e8eef1;overflow:hidden}.executive-progress i{display:block;height:100%;background:#0f9f91;border-radius:4px}
.executive-mix-row .good{color:#087f5b}.executive-mix-row .warn{color:#b56d00}
.executive-structure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.executive-structure-grid>div{padding:12px;border:1px solid #e2eaee;border-radius:6px}.executive-structure-grid span,.executive-structure-grid small{display:block;color:#718096}.executive-structure-grid b{display:block;margin:5px 0;font-size:24px}
.executive-followup-line{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.executive-followup-line>div{padding:12px;background:#f5f9fa;border-radius:6px}.executive-followup-line span{display:block;color:#718096}.executive-followup-line b{display:block;margin-top:6px;font-size:20px}
@media(max-width:560px){.executive-result-grid,.executive-structure-grid{grid-template-columns:1fr 1fr}.executive-followup-line{grid-template-columns:1fr}.executive-mix-row{grid-template-columns:76px 1fr 48px}}

/* Sales resource approvals */
.approval-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.approval-stats>a{min-height:104px;padding:15px 17px;border:1px solid var(--line-strong);border-radius:7px;background:#fff;color:#344054}
.approval-stats span,.approval-stats b,.approval-stats small{display:block}.approval-stats span{font-size:12px;color:#667085}.approval-stats b{margin:6px 0 3px;font-size:25px;color:#172033}.approval-stats small{color:#7a879a}
.approval-stats>a:hover{border-color:#8fcfc3;box-shadow:0 8px 18px rgba(28,94,82,.08)}
.approval-filter-bar{gap:16px;flex-wrap:wrap}.approval-filter-bar form{margin-left:auto}.approval-table{min-width:1040px}.approval-table td{vertical-align:middle}.approval-table td small,.approval-table td b{display:block}.approval-table td small{margin-top:4px;color:#7a879a}.table-scroll{overflow-x:auto}
.approval-status{display:inline-flex;align-items:center;min-height:26px;padding:3px 8px;border-radius:999px;background:#eef2f6;color:#526174;font-size:12px;font-weight:800;white-space:nowrap}.status-待评估,.status-待续期{background:#fff1c2;color:#8c5a00}.status-生效中,.status-已续期{background:#dff7ef;color:#087f6b}.status-不续期,.status-已失效,.status-已驳回{background:#fee8e7;color:#b42318}
.approval-alert-list{display:grid;gap:10px}.approval-alert-item{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:16px;padding:15px 17px;border:1px solid var(--line-strong);border-left:4px solid #e3a008;border-radius:7px;background:#fff}.approval-alert-item.overdue{border-left-color:#d92d20}.approval-alert-date{text-align:center}.approval-alert-date b,.approval-alert-date span{display:block}.approval-alert-date b{font-size:22px;color:#8c5a00}.approval-alert-date span{font-size:11px;color:#7a879a}.approval-alert-main>div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.approval-alert-main>div:first-child small{color:#7a879a}.approval-alert-main p{margin:8px 0;color:#405468;line-height:1.5}.approval-mini-metrics{display:flex;gap:18px;flex-wrap:wrap;color:#667085;font-size:12px}.approval-mini-metrics b{color:#172033}
.approval-detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.75fr);gap:14px;align-items:stretch}.approval-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.approval-meta-grid>div{min-height:78px;padding:14px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.approval-meta-grid>div:nth-child(4n){border-right:0}.approval-meta-grid span,.approval-meta-grid b{display:block}.approval-meta-grid span{margin-bottom:6px;color:#7a879a;font-size:12px}.approval-meta-grid b{overflow-wrap:anywhere;color:#172033}.approval-conclusion{border-top:3px solid #0f9f91}.approval-conclusion .panel-h i{color:#0f9f91}.approval-conclusion p{margin:0 0 12px;color:#17324d;font-size:16px;font-weight:750;line-height:1.65}.approval-conclusion small{color:#718096;line-height:1.5}
.approval-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line)}.approval-metric-grid>div{padding:15px 17px;border-right:1px solid var(--line)}.approval-metric-grid>div:last-child{border-right:0}.approval-metric-grid span,.approval-metric-grid b,.approval-metric-grid small{display:block}.approval-metric-grid span,.approval-metric-grid small{color:#718096;font-size:12px}.approval-metric-grid b{margin:7px 0 4px;font-size:23px}.approval-metric-grid .primary{background:#effaf7}.approval-metric-grid .primary b{color:#087f6b}.approval-mix{padding:16px}.approval-mix h3{margin:0 0 12px;font-size:15px}.approval-mix>div{display:grid;grid-template-columns:70px minmax(100px,1fr) 52px 95px;align-items:center;gap:9px;margin:9px 0;color:#526174}.approval-mix>div>div{height:7px;overflow:hidden;background:#e9eef1}.approval-mix i{display:block;height:100%;background:#0f9f91}.approval-mix small{text-align:right}
.approval-evaluation-form{padding:16px}.approval-decision-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:14px}.approval-decision-options label{position:relative}.approval-decision-options input{position:absolute;opacity:0;pointer-events:none}.approval-decision-options span{display:block;min-height:76px;padding:13px;border:1px solid var(--line-strong);border-radius:6px;cursor:pointer}.approval-decision-options b,.approval-decision-options small{display:block}.approval-decision-options small{margin-top:5px;color:#7a879a;font-weight:400}.approval-decision-options input:checked+span{border-color:#0f9f91;background:#effaf7;box-shadow:0 0 0 2px rgba(15,159,145,.1)}.approval-evaluation-form>label{display:grid;gap:6px;margin-bottom:13px;font-weight:700}.approval-evaluation-form textarea{min-height:88px}.approval-bind-warning{border-left:4px solid #e3a008}.approval-bind-warning .lookup-search{flex:1;min-width:360px}.approval-config-note{border-top:1px solid var(--line);background:#f8fafc}.approval-config-note p{margin:6px 0 0;color:#667085}.approval-mobile-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.approval-mobile-head em{margin-left:auto;color:#b54708;font-style:normal;font-weight:800}.approval-reminder-hero{background:#087f6b}
@media(max-width:1180px){.approval-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.approval-detail-grid{grid-template-columns:1fr}.approval-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.approval-meta-grid>div:nth-child(2n){border-right:0}.approval-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.approval-metric-grid>div:nth-child(2){border-right:0}.approval-alert-item{grid-template-columns:70px minmax(0,1fr)}.approval-alert-item>.btn{grid-column:2;justify-self:start}}
@media(max-width:640px){.approval-stats{grid-template-columns:1fr 1fr}.approval-alert-item{grid-template-columns:1fr}.approval-alert-date{text-align:left}.approval-alert-item>.btn{grid-column:1}.approval-meta-grid,.approval-metric-grid,.approval-decision-options{grid-template-columns:1fr}.approval-meta-grid>div,.approval-metric-grid>div{border-right:0}.approval-mix>div{grid-template-columns:62px minmax(70px,1fr) 46px}.approval-mix small{display:none}.approval-bind-warning .lookup-search{min-width:0;width:100%}}

/* Workflow completion: contacts, finance and daily reports */
.record-form textarea{width:100%;padding:10px 11px;border:1px solid var(--line-strong);border-radius:6px;resize:vertical;font:inherit;line-height:1.5}
.contact-filter-bar,.finance-filter{margin:0 0 14px;border:1px solid var(--line);background:#fff}.contact-table{min-width:1050px}.contact-table td{vertical-align:top}.contact-table td small,.table td>small{display:block;margin-top:5px;color:#667085}.contact-marks{display:flex;flex-wrap:wrap;gap:5px}.contact-mark-form{display:grid;grid-template-columns:minmax(170px,1.5fr) 88px 82px auto auto;gap:6px;align-items:center}.check-inline{display:flex!important;align-items:center;gap:5px;white-space:nowrap;font-size:12px}.check-inline input{width:auto!important}.finance-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:14px}.finance-filter{margin-top:14px}
.status-inline-form select{min-width:92px;padding:6px 7px;border-color:#b9d8d1;background:#effaf7;color:#087f6b;font-weight:700}
.report-switcher{display:flex;align-items:center;gap:12px;margin-bottom:14px}.segmented-control{display:inline-flex;padding:3px;border:1px solid var(--line-strong);border-radius:7px;background:#fff}.segmented-control button{padding:8px 13px;border:0;border-radius:5px;background:transparent;color:#526174;cursor:pointer}.segmented-control button.active{background:#087f6b;color:#fff;font-weight:800}.report-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px}.report-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:16px;align-items:start}.daily-report-form{grid-template-columns:repeat(2,minmax(0,1fr))}.report-feed-item{padding:13px 0;border-top:1px solid var(--line)}.report-feed-item:first-child{padding-top:0;border-top:0}.report-feed-item>div{display:flex;justify-content:space-between;gap:12px}.report-feed-item time,.report-feed-item small{color:#667085;font-size:12px}.report-feed-item p{margin:8px 0;line-height:1.55}.report-feed-item em{display:block;margin-top:5px;color:#9a5b00;font-style:normal;font-size:12px}
@media(max-width:1180px){.report-layout{grid-template-columns:1fr}.contact-mark-form{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.finance-metrics,.report-metrics{grid-template-columns:1fr}.report-switcher{align-items:stretch;flex-direction:column}.segmented-control{display:grid;grid-template-columns:1fr 1fr}.daily-report-form{grid-template-columns:1fr}.daily-report-form>*{grid-column:1!important}.followup-dialog{width:100%;padding:13px}.follow-form .follow-content,.follow-form .follow-next{min-height:86px}}
@media(max-width:860px){
  .focus-recommendation-grid { grid-template-columns: 1fr; }
  .task-resolve-popover form { position: fixed; right: 12px; left: 12px; top: auto; bottom: 12px; width: auto; }
}
.follow-form .btn{grid-column:span 3}.wecom-sidebar-page .followup-dialog{max-width:480px}.wecom-sidebar-page .sidebar-form textarea{min-height:92px;max-height:220px}
.meeting-report-sheet{overflow:hidden;border:1px solid #ccd9df;border-radius:7px;background:#fff}.meeting-report-title{padding:18px;background:#087f6b;color:#fff;text-align:center;font-size:21px;font-weight:850}.meeting-report-heading{padding:9px 15px;border-top:1px solid #dce5e9;border-bottom:1px solid #dce5e9;background:#edf6f4;color:#087f6b;font-weight:850}.meeting-base-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.meeting-base-grid>div{display:grid;grid-template-columns:130px minmax(0,1fr);min-height:54px;border-right:1px solid #e1e8eb;border-bottom:1px solid #e1e8eb}.meeting-base-grid>div:nth-child(2n){border-right:0}.meeting-base-grid span,.meeting-base-grid b{display:flex;align-items:center;padding:10px 13px}.meeting-base-grid span{background:#f8fafb;color:#667085}.meeting-report-section{padding:14px 17px;border-bottom:1px solid #e1e8eb}.meeting-report-section:last-child{border-bottom:0}.meeting-report-section h3{margin:0 0 9px;font-size:15px}.meeting-report-section ol{margin:0;padding-left:28px}.meeting-report-section li{min-height:34px;padding:6px 4px;border-top:1px dashed #e2e8ec;line-height:1.55}.meeting-report-section li:first-child{border-top:0}.meeting-report-section li small{display:block;color:#667085}.meeting-report-section .empty-line{color:#8a96a7}.meeting-day-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #e1e8eb}.meeting-day-results>div{padding:13px 16px;border-right:1px solid #e1e8eb}.meeting-day-results>div:last-child{border-right:0}.meeting-day-results span,.meeting-day-results b{display:block}.meeting-day-results span{color:#667085;font-size:12px}.meeting-day-results b{margin-top:5px;font-size:21px}.meeting-product-mix{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.meeting-product-mix>div{padding:10px;border:1px solid #e1e8eb;border-radius:6px}.meeting-product-mix span,.meeting-product-mix b,.meeting-product-mix small{display:block}.meeting-product-mix span,.meeting-product-mix small{color:#667085;font-size:12px}.meeting-product-mix b{margin:5px 0;color:#087f6b}.meeting-summary{background:#f6faf9}.meeting-summary p{margin:0;line-height:1.7}.report-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.report-team-item{padding:12px;border:1px solid var(--line);border-radius:6px;color:#172033}.report-team-item b,.report-team-item span,.report-team-item small{display:block}.report-team-item span{margin:6px 0;color:#087f6b}.report-team-item small{color:#667085}
@media(max-width:900px){.meeting-day-results,.meeting-product-mix{grid-template-columns:repeat(2,minmax(0,1fr))}.report-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.meeting-base-grid{grid-template-columns:1fr}.meeting-base-grid>div{border-right:0}.meeting-base-grid>div:nth-child(2n){border-right:0}.meeting-base-grid>div{grid-template-columns:105px minmax(0,1fr)}.report-team-grid{grid-template-columns:1fr}.meeting-report-title{font-size:18px}}
.followup-type-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border-radius:999px;background:#eef2f6;color:#526174;font-size:11px;font-weight:800;vertical-align:middle;white-space:nowrap}.type-新增意向{background:#e8f3ff;color:#175cd3}.type-项目需求{background:#fff1d6;color:#9a5b00}.type-方案提报{background:#e9e7ff;color:#5d45b8}.type-常规跟进{background:#edf2f4;color:#526174}.type-重点关注{background:#ffe8e7;color:#b42318}.type-需要协助{background:#dff7ef;color:#087f6b}.pace-超前{color:#087f6b}.pace-正常{color:#175cd3}.pace-滞后{color:#b42318}.meeting-progress-note{margin:0;color:#667085}.support-detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.support-detail-content{font-size:16px;line-height:1.75}.support-status-form .segmented-control{margin-top:12px}.sidebar-form label>small{margin-top:5px;color:#667085;font-size:11px}

/* Today board and product brand maintenance */
.task-board{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:12px;align-items:start;overflow-x:auto;padding-bottom:8px}
.task-board-column{min-height:360px;border:1px solid var(--line);border-top:3px solid #8da3b5;border-radius:7px;background:#f7fafb}
.task-board-column.danger{border-top-color:#d9485f}.task-board-column.amber{border-top-color:#e8a52b}.task-board-column.blue{border-top-color:#3578bd}.task-board-column.green{border-top-color:#0f9f91}
.task-board-head{display:flex;align-items:center;justify-content:space-between;padding:12px 13px;border-bottom:1px solid var(--line);background:#fff}.task-board-head span{min-width:25px;padding:3px 7px;border-radius:999px;background:#edf2f4;text-align:center;font-size:12px;font-weight:800}
.task-board-list{display:grid;gap:9px;padding:9px}.task-board-item{padding:12px;border:1px solid #dce6ea;border-radius:6px;background:#fff}.task-board-item>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.task-board-item h3{margin:9px 0 6px;font-size:15px;line-height:1.45}.task-board-item p{margin:0 0 7px;color:#526174}.task-board-item small{color:#718096}.task-board-item .row-actions{margin-top:10px}
.task-reason{margin:8px 0;color:#66758a;font-size:12px;line-height:1.5}.task-method{margin:9px 0;padding:9px 10px;border-left:3px solid #10a693;background:#eef9f6;color:#173f3a;font-size:12px;line-height:1.55}.task-method strong{display:block;margin-bottom:3px;color:#087f6b}.task-method p{margin:0;color:#355d58;font-size:12px}
.product-brand-tools{gap:12px;flex-wrap:wrap}.product-brand-tools .inline-form{margin-left:auto}.product-brand-tools input{min-width:240px}
@media(max-width:980px){.task-board{grid-template-columns:repeat(4,260px)}}
.department-scope{display:flex;align-items:center;gap:6px;min-width:170px}.department-scope i{color:#087f6b}.department-scope select{max-width:190px;padding:8px 9px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;font-weight:700}
@media(max-width:1100px){.department-scope{min-width:0}.department-scope i{display:none}.department-scope select{max-width:135px}}
.tenant-create-form{grid-template-columns:repeat(4,minmax(0,1fr))}.tenant-create-form label small{display:block;margin-top:5px;color:#718096;font-weight:400}.tenant-table{min-width:1080px}.tenant-table td{vertical-align:middle}.tenant-table td code{display:block;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#526174}.tenant-table td small{display:block;margin-top:4px;color:#718096}.tenant-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf2f4;color:#526174;font-size:12px;font-weight:800}.tenant-status.active{background:#dff7ef;color:#087f6b}.tenant-status.disabled,.tenant-status.error{background:#fee8e7;color:#b42318}@media(max-width:1050px){.tenant-create-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.tenant-create-form{grid-template-columns:1fr}.tenant-create-form .wide{grid-column:1}}
.platform-page{min-height:100vh;background:#f3f7f8;color:#172033}.platform-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;min-height:66px;padding:0 28px;border-bottom:1px solid #d8e3e7;background:#fff}.platform-brand{display:flex;align-items:center;gap:11px;color:#172033}.platform-brand>span,.platform-login-mark{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:7px;background:#087f6b;color:#fff;font-weight:900}.platform-brand b,.platform-brand small{display:block}.platform-brand small{margin-top:2px;color:#718096;font-size:11px}.platform-topbar nav{display:flex;align-items:center;gap:6px}.platform-topbar nav a{padding:9px 11px;border-radius:6px;color:#526174;font-weight:700}.platform-topbar nav a.active,.platform-topbar nav a:hover{background:#eaf7f4;color:#087f6b}.platform-main{width:min(1500px,calc(100% - 40px));margin:0 auto;padding:28px 0 50px}.platform-heading{display:flex;align-items:flex-end;justify-content:space-between}.platform-summary{display:flex;align-items:baseline;gap:7px}.platform-summary b{font-size:30px;color:#087f6b}.platform-summary span{color:#718096}.platform-narrow-panel{max-width:620px}.platform-narrow-panel .record-form{grid-template-columns:1fr}.platform-narrow-panel label small{color:#718096}.platform-login-page .login-card{border-top:4px solid #087f6b}.platform-login-mark{margin-bottom:10px}.login-back-link{display:block;margin-top:14px;text-align:center;color:#087f6b;font-weight:700}.tenant-manage-table{min-width:1260px}.tenant-manage-table input,.tenant-manage-table select{min-width:118px;padding:7px 8px}.tenant-manage-table td:nth-child(1) input{min-width:170px}.tenant-manage-table td:nth-child(3) input{min-width:210px}.tenant-manage-table td:nth-child(6) input{min-width:170px}.tenant-actions{flex-wrap:nowrap}.platform-split{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.platform-list{max-height:430px;overflow:auto;padding:0 16px}.platform-list>div{display:flex;align-items:center;gap:11px;min-height:64px;padding:10px 0;border-bottom:1px solid #e4ecef}.platform-list>div:last-child{border-bottom:0}.platform-list-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:6px;background:#eaf7f4;color:#087f6b;flex:0 0 auto}.platform-list p{min-width:0;flex:1;margin:0}.platform-list b,.platform-list small{display:block}.platform-list small{margin-top:4px;color:#718096}.platform-list .empty{padding:24px 0;color:#718096}.audit-list b{font-size:13px}.audit-list small{font-size:11px}@media(max-width:900px){.platform-topbar{padding:0 14px}.platform-brand small{display:none}.platform-topbar nav a{font-size:0}.platform-topbar nav i{font-size:17px}.platform-main{width:calc(100% - 24px);padding-top:18px}.platform-split{grid-template-columns:1fr}}@media(max-width:560px){.platform-heading{align-items:flex-start}.platform-summary{display:none}}

/* Marketing campaigns, tracked links and send plans */
.marketing-tabs{display:flex;align-items:center;gap:7px}.marketing-tabs .btn{box-shadow:none}.marketing-metrics .hero-metric b{font-size:27px}.marketing-form{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}.marketing-table{min-width:1080px}.marketing-table td{vertical-align:middle}.marketing-table td>b,.marketing-table td>small{display:block}.marketing-table select{min-width:96px}.status-chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:4px 9px;border-radius:999px;background:#e8f7f4;color:#087f6b;font-size:12px;font-weight:800}.text-link{color:#1769aa;font-weight:750}.text-link:hover{color:#087f6b}.empty-table{padding:30px!important;text-align:center!important;color:#718096}.send-result-form{display:grid;grid-template-columns:112px 82px auto;gap:6px;align-items:center}.send-result-form select,.send-result-form input{min-width:0;width:100%}
.marketing-assignees{margin:0;padding:12px;border:1px solid var(--line-strong);border-radius:6px}.marketing-assignees legend{padding:0 6px;font-weight:800}.marketing-assignees>div{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:10px}.marketing-assignees small{margin-left:3px;color:#b54708}.marketing-assets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px}.marketing-asset{min-width:0;padding:10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#172033}.marketing-asset img{display:block;width:100%;aspect-ratio:1.25;object-fit:cover;margin-bottom:9px;background:#edf2f4}.marketing-asset>i{display:grid;place-items:center;height:108px;margin-bottom:9px;background:#edf6f4;color:#087f6b;font-size:34px}.marketing-asset b,.marketing-asset small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.marketing-asset small{margin-top:4px;color:#718096}.assignment-result-form{display:grid;grid-template-columns:100px 72px auto;gap:5px}.assignment-result-form select,.assignment-result-form input{min-width:0;width:100%}.assignment-table{min-width:1240px}
.marketing-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 14px;border:1px solid var(--line-strong);background:#fff}.marketing-steps>div{display:flex;align-items:center;gap:10px;min-height:66px;padding:10px 14px;border-right:1px solid var(--line)}.marketing-steps>div:last-child{border-right:0}.marketing-steps>div>b{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#edf2f4;color:#526174}.marketing-steps span,.marketing-steps small{display:block}.marketing-steps span{font-weight:800}.marketing-steps small{margin-top:3px;color:#718096;font-size:11px;font-weight:400}.marketing-steps>div.active{background:#edf9f6}.marketing-steps>div.active>b{background:#087f6b;color:#fff}.marketing-row-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}.marketing-row-actions form{margin:0}.marketing-advanced{border:1px solid var(--line-strong);border-radius:6px;background:#fff}.marketing-advanced summary{padding:12px 14px;color:#526174;font-weight:750;cursor:pointer;list-style:none}.marketing-advanced summary::-webkit-details-marker{display:none}.marketing-advanced summary i{margin-right:7px}.marketing-advanced>div{padding:0 14px 14px}.marketing-advanced>.panel{margin:0;border:0;border-top:1px solid var(--line);box-shadow:none}
.marketing-form-options{margin:0;border:1px dashed var(--line-strong);border-radius:6px;background:#f8fafb}.marketing-form-options>summary{padding:11px 13px;color:#526174;font-weight:750;cursor:pointer;list-style:none}.marketing-form-options>summary::-webkit-details-marker{display:none}.marketing-form-options>summary i{margin-right:7px}.marketing-form-options[open]>summary{border-bottom:1px solid var(--line)}.marketing-form-options>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:13px}.marketing-form-options label{display:grid;gap:6px;font-weight:700}.marketing-form-options .wide{grid-column:1/-1}
@media(max-width:1180px){.marketing-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.marketing-metrics .hero-metric:nth-child(2){border-right:0}.marketing-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:920px){.marketing-assets{grid-template-columns:repeat(2,minmax(0,1fr))}.marketing-steps{grid-template-columns:1fr 1fr}.marketing-steps>div:nth-child(2){border-right:0}.marketing-steps>div:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:720px){.marketing-metrics{grid-template-columns:1fr}.marketing-metrics .hero-metric{border-right:0}.marketing-form{grid-template-columns:1fr}.marketing-form>*{grid-column:1!important}.compact-tabs .btn{width:36px;padding:0;font-size:0}.compact-tabs .btn i{font-size:16px}.marketing-assets{grid-template-columns:1fr 1fr;padding:10px}.marketing-form-options>div{grid-template-columns:1fr}.marketing-form-options .wide{grid-column:1}}
.marketing-draft-list{display:grid}.marketing-draft-list a{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;padding:13px 16px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}.marketing-draft-list a:last-child{border-bottom:0}.marketing-draft-list a:hover{background:#f3faf8}.marketing-draft-list small{color:#718096}.marketing-draft-list i{grid-column:2;grid-row:1/3}.marketing-workbench-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px;padding:15px 18px;border:1px solid var(--line-strong);background:#fff}.marketing-workbench-head small,.marketing-workbench-head span{display:block;color:#718096}.marketing-workbench-head h2{margin:3px 0 4px;font-size:20px}.marketing-workbench-head label{display:grid;gap:5px;min-width:260px;font-weight:750}.marketing-workbench{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:16px;align-items:start}.marketing-editor{min-width:0}.marketing-phone-panel{position:sticky;top:14px;padding:14px;border:1px solid var(--line-strong);background:#fff}.marketing-phone-panel>.panel-h{padding:0 0 12px;border:0}.marketing-phone-panel>.panel-h a{color:#087f6b;font-weight:750}.marketing-phone-panel>p{margin:9px 2px 0;color:#718096;font-size:12px;line-height:1.5}.phone-frame{width:320px;max-width:100%;height:570px;margin:0 auto 12px;padding:10px;border:2px solid #24313d;border-radius:24px;background:#24313d}.phone-frame iframe{display:block;width:100%;height:100%;border:0;border-radius:15px;background:#fff}.wide-button{width:100%}.marketing-dropzone{position:relative;place-items:center;min-height:150px;padding:24px!important;border:1px dashed #8db9b1!important;background:#f4fbf9;text-align:center;cursor:pointer}.marketing-dropzone i{font-size:30px;color:#087f6b}.marketing-dropzone b,.marketing-dropzone small{display:block}.marketing-dropzone small{color:#718096;font-weight:400}.marketing-dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-progress{position:relative;grid-column:1/-1;height:36px;overflow:hidden;border:1px solid var(--line);background:#edf2f4}.upload-progress span{position:absolute;inset:0 auto 0 0;width:0;background:#ccefe8;transition:width .2s}.upload-progress b{position:relative;display:grid;place-items:center;height:100%;font-size:12px}.marketing-sort-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px}.marketing-sort-item{position:relative;display:grid;gap:7px;padding:8px;border:1px solid var(--line);background:#fff}.marketing-sort-item.dragging{opacity:.45}.marketing-sort-item img,.marketing-sort-item .file-tile{width:100%;aspect-ratio:1;object-fit:cover;background:#edf2f4}.marketing-sort-item .file-tile{display:grid;place-items:center;padding:8px;text-align:center;overflow:hidden}.marketing-sort-item .file-tile i{font-size:30px}.marketing-sort-item input{width:100%;min-width:0;padding:7px;border:1px solid var(--line);font-size:12px}.drag-handle{position:absolute;top:12px;left:12px;display:grid;place-items:center;width:28px;height:28px;background:rgba(255,255,255,.92);cursor:grab}.marketing-sort-item .icon-btn{position:absolute;top:12px;right:12px;background:rgba(255,255,255,.94)}
@media(max-width:1180px){.marketing-workbench{grid-template-columns:minmax(0,1fr) 340px}.phone-frame{height:520px}}
@media(max-width:900px){.marketing-workbench{grid-template-columns:1fr}.marketing-phone-panel{position:static}.marketing-workbench-head{align-items:stretch;flex-direction:column}.marketing-workbench-head label{min-width:0}.phone-frame{height:560px}.marketing-sort-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.marketing-library-layout{display:grid;grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr);gap:16px;align-items:start}.material-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}.material-card{min-width:0;border:1px solid var(--line);background:#fff}.material-card:hover{border-color:#8db9b1}.material-card.is-archived{opacity:.62}.material-card-main{display:block;padding:15px;color:var(--ink);text-decoration:none}.material-card-main h3{margin:9px 0 7px;font-size:16px}.material-card-main p{display:-webkit-box;min-height:42px;margin:0 0 10px;overflow:hidden;color:#526174;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}.material-card-main small{color:#718096}.material-type{display:inline-flex;align-items:center;gap:6px;color:#087f6b;font-size:12px;font-weight:800}.material-card-actions{display:flex;gap:7px;padding:10px 15px;border-top:1px solid var(--line);background:#f8fafb}.material-card-actions form{margin:0}.publish-panel{border-top:3px solid #087f6b}.welcome-settings{max-width:820px}.welcome-note{display:flex;gap:12px;padding:14px;border:1px solid #b9ddd6;background:#f2fbf9;color:#264b45}.welcome-note>i{font-size:20px;color:#087f6b}.welcome-note b,.welcome-note p{display:block;margin:0}.welcome-note p{margin-top:5px;line-height:1.6}.marketing-sort-item{min-height:120px}.marketing-sort-item:not(:has(img)){min-height:150px}
@media(max-width:1180px){.marketing-library-layout{grid-template-columns:1fr}.material-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.material-library-grid{grid-template-columns:1fr 1fr}.marketing-tabs{overflow-x:auto}.marketing-tabs .btn{flex:0 0 auto}}
@media(max-width:520px){.material-library-grid{grid-template-columns:1fr}.marketing-sort-grid{grid-template-columns:1fr 1fr}}

/* Marketing material library, task builder and customer-side previews */
.material-create-panel{position:sticky;top:14px}.material-create-panel .record-form{grid-template-columns:1fr}.marketing-workbench-head h2{margin-top:8px}.rich-editor-field{display:grid;gap:7px;font-weight:700}.rich-toolbar{display:flex;align-items:center;gap:5px;padding:7px;border:1px solid var(--line-strong);border-bottom:0;background:#f6f8fa}.rich-toolbar button{min-width:34px;height:32px;padding:0 8px;border:1px solid var(--line);border-radius:4px;background:#fff;color:#24313d;cursor:pointer}.rich-editor{min-height:360px;padding:18px;border:1px solid var(--line-strong);background:#fff;font-weight:400;line-height:1.75;outline:none}.rich-editor:focus{border-color:#0a927c;box-shadow:0 0 0 3px rgba(10,146,124,.1)}.marketing-sort-item video{width:100%;aspect-ratio:1;object-fit:cover;background:#111}.marketing-task-builder{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:16px;align-items:start}.marketing-task-form{grid-template-columns:repeat(3,minmax(0,1fr))}.task-builder-step{display:flex;align-items:center;gap:10px;padding:12px 14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f6faf9}.task-builder-step>b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#087f6b;color:#fff}.task-builder-step strong,.task-builder-step small{display:block}.task-builder-step small{margin-top:2px;color:#718096;font-weight:400}.channel-segments{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px}.channel-segments input{position:absolute;opacity:0}.channel-segments span{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:10px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;cursor:pointer}.channel-segments input:checked+span{border-color:#087f6b;background:#e9f8f4;color:#087f6b;box-shadow:inset 0 0 0 1px #087f6b}.task-material-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.task-material-picker label{min-width:0}.task-material-picker label[hidden]{display:none}.task-material-picker input{position:absolute;opacity:0}.task-material-picker span{display:block;min-height:92px;padding:13px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;cursor:pointer}.task-material-picker span>i{float:right;color:#8b99a8;font-size:20px}.task-material-picker b,.task-material-picker small{display:block}.task-material-picker b{padding-right:25px}.task-material-picker small{margin-top:9px;color:#718096}.task-material-picker input:checked+span{border-color:#087f6b;background:#edf9f6;box-shadow:inset 0 0 0 1px #087f6b}.task-preview-panel{position:sticky;top:14px}.welcome-builder .record-form{grid-template-columns:1fr}.welcome-materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:13px;border:1px solid var(--line-strong);border-radius:6px}.welcome-materials legend{padding:0 6px;font-weight:800}.welcome-materials label{min-width:0}.welcome-materials input{position:absolute;opacity:0}.welcome-materials span{display:block;padding:11px;border:1px solid var(--line);border-radius:5px;background:#fff;cursor:pointer}.welcome-materials span>i{float:left;margin-right:9px;color:#087f6b;font-size:21px}.welcome-materials b,.welcome-materials small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.welcome-materials small{margin-top:3px;color:#718096}.welcome-materials input:checked+span{border-color:#087f6b;background:#eaf8f5}.welcome-chat-preview{min-height:500px;padding:16px 10px;background:#edf1f5}.chat-system{margin:8px auto 24px;color:#8b96a5;text-align:center;font-size:11px}.chat-row{display:flex;align-items:flex-start;gap:8px}.chat-avatar{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:5px;background:#087f6b;color:#fff;font-weight:800}.chat-stack{min-width:0;flex:1}.chat-bubble{margin-bottom:9px;padding:10px 12px;border-radius:5px;background:#fff;white-space:pre-wrap;line-height:1.55}.chat-file-card{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px;padding:11px;border:1px solid #dce4e8;border-radius:5px;background:#fff}.chat-file-card b,.chat-file-card small{display:block}.chat-file-card small{margin-top:4px;color:#7b8794}.chat-file-card>i{color:#e34d4d;font-size:28px}.marketing-phone-panel .panel-h span{color:#718096;font-size:12px}
@media(max-width:1120px){.marketing-task-builder{grid-template-columns:minmax(0,1fr) 340px}.task-material-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.material-create-panel,.task-preview-panel{position:static}.marketing-task-builder{grid-template-columns:1fr}.marketing-task-form{grid-template-columns:1fr 1fr}.marketing-task-form>*{grid-column:auto}.marketing-task-form>.wide{grid-column:1/-1}}
.marketing-sort-item .insert-image-btn{right:48px;color:#087f6b}
.rich-editor img{display:block;max-width:100%;height:auto;margin:16px auto}.rich-editor-field .field-help{color:#718096;font-weight:400}.cover-badge{position:absolute;left:9px;bottom:9px;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:4px;background:rgba(8,127,107,.92);color:#fff;font-size:11px;font-weight:800}.marketing-sort-item:has(.cover-badge){border-color:#7bc6b8;box-shadow:inset 0 0 0 1px #7bc6b8}
@media(max-width:620px){.channel-segments,.task-material-picker,.welcome-materials{grid-template-columns:1fr}.marketing-task-form{grid-template-columns:1fr}.marketing-task-form>*{grid-column:1!important}}
.recipient-picker{margin:0;padding:14px;border:1px solid var(--line-strong);border-radius:6px;background:#fbfdfd}.recipient-picker legend{padding:0 6px;font-weight:800}.recipient-search-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}.recipient-search-row>i{color:#718096}.recipient-search-row input{min-width:0}.recipient-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:230px;margin-top:10px;overflow:auto}.recipient-options>button{display:flex;align-items:center;gap:9px;min-width:0;padding:9px;border:1px solid var(--line);border-radius:5px;background:#fff;text-align:left;cursor:pointer}.recipient-options>button:hover,.recipient-options>button.selected{border-color:#087f6b;background:#eaf8f5}.recipient-options>button>i{color:#087f6b;font-size:18px}.recipient-options b,.recipient-options small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recipient-options small{color:#718096;font-size:11px}.recipient-selected{display:flex;flex-wrap:wrap;gap:6px;min-height:36px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.recipient-selected>span{color:#718096}.recipient-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #a8d8cf;border-radius:999px;background:#eaf8f5;color:#087f6b;cursor:pointer}.recipient-chip span{font-size:16px;line-height:1}@media(max-width:900px){.recipient-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.recipient-options{grid-template-columns:1fr}.recipient-search-row{grid-template-columns:auto minmax(0,1fr)}.recipient-search-row .btn{grid-column:1/-1}}
.wecom-directory-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px}.wecom-directory-summary p{margin:4px 0 0;color:#718096}.directory-map-table{min-width:900px}.directory-map-table form{display:flex;align-items:center;gap:6px}.directory-map-table select{min-width:130px}
.report-recipient-panel>summary{padding:14px 16px;font-weight:800;cursor:pointer;list-style:none}.report-recipient-panel>summary::-webkit-details-marker{display:none}.report-recipient-panel>summary i{margin-right:7px;color:#087f6b}.report-recipient-panel[open]>summary{border-bottom:1px solid var(--line)}

/* Profit and commission center */
.commission-filter-bar{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:14px;padding:14px 16px}.commission-filter-bar label{display:grid;gap:5px;color:#526174;font-size:12px;font-weight:700}.commission-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}.commission-sync-panel{margin-bottom:14px;border-top:3px solid #087f6b}.commission-tabs{display:flex;gap:4px;margin:14px 0;padding:4px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;overflow-x:auto}.commission-tabs a{flex:0 0 auto;padding:9px 14px;border-radius:4px;color:#526174;font-weight:750;text-decoration:none}.commission-tabs a.active{background:#087f6b;color:#fff}.commission-detail-table{min-width:1260px}.commission-detail-table td{vertical-align:top}.commission-rule-note{margin-top:14px;padding:16px;border-left:4px solid #087f6b}.commission-rule-note p{margin:8px 0;color:#334155}.commission-rule-note small{color:#718096}.pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px}.pagination .disabled{pointer-events:none;opacity:.45}
@media(max-width:1000px){.commission-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.commission-filter-bar{align-items:stretch;flex-direction:column}.commission-filter-bar .inline-form{width:100%}}
@media(max-width:560px){.commission-metrics{grid-template-columns:1fr}.commission-filter-bar .inline-form{display:grid;grid-template-columns:1fr 1fr}.commission-filter-bar .inline-form button{grid-column:1/-1}}
