@font-face {
  font-family: "AIOS UI";
  src: url("../prototype/assets/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue-700: #3145a7;
  --blue-600: #3e5abd;
  --blue-500: #4c6cda;
  --blue-100: #e9eeff;
  --blue-50: #f4f7ff;
  --ink: #1d2535;
  --muted: #718096;
  --muted-2: #9aa6b6;
  --line: #e8edf4;
  --line-strong: #dce3ee;
  --surface: #ffffff;
  --canvas: #f7f9fc;
  --green: #1a9b6c;
  --green-bg: #e7f7ef;
  --amber: #b97716;
  --amber-bg: #fff5dc;
  --red: #c84952;
  --red-bg: #fdebec;
  --sidebar: 238px;
  --topbar: 64px;
  --shadow: 0 12px 32px rgba(38, 55, 88, .06);
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #aeb8c7 transparent;
}
*::-webkit-scrollbar { width: 3px; height: 3px; }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-track { margin-block: 14px; margin-inline: 14px; background: transparent; }
*::-webkit-scrollbar-thumb { min-height: 30px; border-radius: 999px; background: #aeb8c7; }
*::-webkit-scrollbar-corner { background: transparent; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 13px; line-height: 1.5; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.preview-banner { position: fixed; z-index: 20; top: 12px; right: 18px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid #eadfbf; border-radius: 999px; background: #fffaf0; color: #9b6d22; font-size: 11px; font-weight: 700; box-shadow: 0 4px 14px rgba(110, 84, 30, .07); }
.preview-dot { width: 6px; height: 6px; border-radius: 50%; background: #e2a22e; box-shadow: 0 0 0 3px rgba(226,162,46,.14); }

.app-shell { min-height: 100vh; display: flex; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 12; display: flex; flex-direction: column; width: var(--sidebar); padding: 24px 15px 16px; border-right: 1px solid var(--line); background: #fff; }
.brand-block { display: flex; align-items: flex-start; justify-content: space-between; padding: 0 8px 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: white; font-size: 13px; font-weight: 800; letter-spacing: -1px; box-shadow: 0 5px 12px rgba(76, 108, 218, .25); }
.brand strong { display: block; font-size: 15px; letter-spacing: -.3px; }
.brand small { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; }
.version-tag { margin-top: 4px; padding: 3px 6px; border: 1px solid var(--blue-100); border-radius: 5px; background: var(--blue-50); color: var(--blue-600); font-size: 9px; font-weight: 700; white-space: nowrap; }
.workspace-switcher { display: flex; align-items: center; gap: 9px; margin: 0 3px 23px; padding: 10px 9px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; }
.workspace-switcher > span:nth-child(2) { min-width: 0; flex: 1; }
.workspace-switcher b, .workspace-switcher small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-switcher b { font-size: 11px; }
.workspace-switcher small { margin-top: 1px; color: var(--muted); font-size: 10px; }
.workspace-avatar, .user-avatar, .top-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-100); color: var(--blue-700); font-size: 11px; font-weight: 800; }
.chevron { color: var(--muted-2); font-size: 16px; }
.nav-label { margin: 0 10px 9px; color: var(--muted-2); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.main-nav { display: grid; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; min-height: 42px; padding: 0 11px; border-radius: 9px; background: transparent; color: #627084; text-align: left; transition: .18s ease; }
.nav-item svg { width: 17px; height: 17px; color: #8d9aaa; }
.nav-item span { flex: 1; font-size: 12px; font-weight: 600; }
.nav-item em { min-width: 19px; padding: 1px 5px; border-radius: 999px; background: var(--blue-100); color: var(--blue-700); font-size: 10px; font-style: normal; text-align: center; }
.nav-item .nav-badge-muted { background: #f1f3f7; color: var(--muted); }
.nav-item:hover { background: #f5f7fb; color: var(--blue-700); }
.nav-item.is-active { background: var(--blue-50); color: var(--blue-700); box-shadow: inset 3px 0 0 var(--blue-500); }
.nav-item.is-active svg { color: var(--blue-500); }
.sidebar-bottom { margin-top: auto; }
.route-card { margin: 0 2px 15px; padding: 12px; border: 1px solid #e5eaf5; border-radius: 11px; background: linear-gradient(180deg, #f7f9ff, #fff); }
.route-card-head { display: flex; align-items: center; justify-content: space-between; color: #6d7a8c; font-size: 10px; font-weight: 700; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(26,155,108,.12); }
.route-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 10px 0 8px; padding: 3px; border-radius: 7px; background: #e9edf6; }
.route-switch button { padding: 5px 2px; border-radius: 5px; background: transparent; color: #728095; font-size: 10px; font-weight: 700; }
.route-switch button.is-active { background: white; color: var(--blue-700); box-shadow: 0 2px 6px rgba(41, 55, 88, .1); }
.network-preview-page { height: calc(100vh - 32px); margin: 0 !important; padding: 0 !important; overflow: hidden; }
.network-preview-page iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--canvas, #f4f6f9); }
.customer-head-actions { display: flex; align-items: center; gap: 8px; }
.network-entry { color: var(--ca-primary, #3e5abd) !important; white-space: nowrap; }
.network-entry.compact { min-height: 28px; padding: 0 10px; border: 1px solid var(--ca-line-strong, #cfd7e3); border-radius: 7px; background: #fff; font: 600 12px/1 var(--ui-font, sans-serif); }
.resource-table .data-row { grid-template-columns: minmax(235px, 1.5fr) minmax(135px, 1fr) 90px 82px 120px 88px; }
.resource-table.is-market .data-row { grid-template-columns: minmax(235px, 1.5fr) minmax(135px, 1fr) 90px 82px 120px 88px 88px; }
.resource-action-cell { display: flex; align-items: center; justify-content: center; }
.resource-action-cell .row-action { white-space: nowrap; }
.route-card small { color: var(--muted-2); font-size: 9px; line-height: 1.4; }
.user-block { display: flex; align-items: center; gap: 9px; padding: 12px 8px 2px; border-top: 1px solid var(--line); }
.user-block > span:nth-child(2) { flex: 1; min-width: 0; }
.user-block b, .user-block small { display: block; }
.user-block b { font-size: 11px; }
.user-block small { color: var(--muted); font-size: 10px; }
.icon-button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: transparent; color: var(--muted); }
.icon-button:hover { background: #f2f5f9; color: var(--ink); }
.icon-button svg { width: 16px; height: 16px; }

.main-content { min-width: 0; flex: 1; margin-left: var(--sidebar); }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: var(--topbar); padding: 0 34px; border-bottom: 1px solid rgba(232,237,244,.9); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 11px; }
.breadcrumbs b { color: #c5ccd7; font-weight: 500; }
.breadcrumbs strong { color: var(--ink); font-weight: 700; }
.topbar-actions { display: flex; align-items: center; gap: 17px; color: var(--muted); }
.topbar-link { padding: 4px; background: transparent; color: var(--muted); font-size: 11px; }
.topbar-link:hover { color: var(--blue-600); }
.notice-button { position: relative; display: inline-grid; place-items: center; width: 27px; height: 27px; padding: 0; background: transparent; color: #63728a; }
.notice-button svg { width: 17px; height: 17px; }
.notice-button i { position: absolute; top: -4px; right: -4px; min-width: 14px; padding: 1px 3px; border: 2px solid white; border-radius: 99px; background: var(--red); color: white; font-size: 8px; font-style: normal; line-height: 10px; }
.topbar-divider { width: 1px; height: 18px; background: var(--line-strong); }
.topbar-user { font-size: 11px; font-weight: 600; }
.top-avatar { width: 27px; height: 27px; border-radius: 50%; }
.mobile-menu { display: none; align-items: center; justify-content: center; width: 32px; height: 32px; background: transparent; color: var(--ink); }

.content-wrap { max-width: 1560px; margin: 0 auto; padding: 34px 38px 50px; }
.page[hidden] { display: none; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.home-heading { align-items: center; }
.eyebrow { display: block; margin-bottom: 7px; color: var(--blue-500); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.page-heading h1 { margin: 0; font-size: clamp(24px, 2.25vw, 32px); line-height: 1.18; letter-spacing: -.055em; }
.page-heading p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.primary-button, .secondary-button, .small-select, .filter-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 8px; font-size: 11px; font-weight: 700; transition: .18s ease; }
.primary-button { background: linear-gradient(105deg, var(--blue-500), var(--blue-700)); color: white; box-shadow: 0 7px 15px rgba(76,108,218,.18); }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(76,108,218,.24); }
.primary-button svg { width: 15px; height: 15px; }
.secondary-button, .small-select, .filter-button { border: 1px solid var(--line-strong); background: white; color: #526176; }
.secondary-button:hover, .small-select:hover, .filter-button:hover { border-color: #bcc8db; background: #fbfcff; color: var(--blue-700); }
.small-select { min-height: 30px; padding: 0 10px; color: var(--muted); font-size: 10px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.metric-card { position: relative; min-height: 125px; padding: 18px 19px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.metric-card.metric-primary { border-color: #d9e1ff; background: linear-gradient(135deg, #f3f6ff, #fff); }
.metric-label { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }
.metric-card strong { display: block; margin-top: 9px; color: var(--ink); font-size: 27px; letter-spacing: -.05em; line-height: 1; }
.metric-card strong small { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; }
.metric-meta { display: block; margin-top: 10px; color: var(--muted-2); font-size: 10px; }
.metric-meta b { color: var(--blue-600); font-weight: 700; }
.metric-meta b.positive, .positive, .green-text { color: var(--green); }
.metric-icon { position: absolute; top: 16px; right: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--blue-100); color: var(--blue-600); }
.metric-icon svg { width: 16px; height: 16px; }
.metric-icon.soft-amber { background: var(--amber-bg); color: var(--amber); }
.metric-icon.soft-green { background: var(--green-bg); color: var(--green); }
.metric-progress { height: 4px; margin-top: 13px; border-radius: 99px; background: #edf0f5; overflow: hidden; }
.metric-progress i { display: block; height: 100%; border-radius: inherit; background: var(--blue-500); }

.dashboard-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .72fr); align-items: start; gap: 18px; }
.dashboard-primary { min-width: 0; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.task-panel { overflow: hidden; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 19px 21px; }
.panel-head h2 { margin: 0; font-size: 14px; letter-spacing: -.025em; }
.panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.segmented-control { display: inline-flex; padding: 3px; border-radius: 7px; background: #f2f4f8; }
.segmented-control button { min-height: 25px; padding: 0 9px; border-radius: 5px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 600; }
.segmented-control button.is-active { background: white; color: var(--blue-700); box-shadow: 0 2px 5px rgba(43,57,88,.1); }
.segmented-control button b { margin-left: 3px; font-size: 9px; font-weight: 700; }
.task-table { border-top: 1px solid var(--line); }
.task-row { display: grid; grid-template-columns: 30px minmax(150px, 1.18fr) minmax(115px, .9fr) 80px 105px; align-items: center; gap: 13px; min-height: 77px; padding: 11px 21px; border-bottom: 1px solid #f0f2f6; cursor: pointer; transition: .16s ease; }
.task-row:last-child { border-bottom: 0; }
.task-row:hover, .task-row.is-selected { background: #fbfcff; }
.tier { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.tier-s { background: #fbe6e7; color: #c14b55; }.tier-a { background: #fff0cf; color: #ad7619; }.tier-b { background: #e8edff; color: #4d66c3; }.tier-c { background: #f1f3f5; color: #5f6876; }.tier-d { background: #eef0f3; color: #707782; }
.task-customer { min-width: 0; }.task-customer strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.task-customer small { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.task-signal { min-width: 0; }.task-signal span { display: block; margin-bottom: 4px; color: var(--ink); font-size: 10px; font-weight: 600; }.task-signal small { display: block; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.score { color: var(--blue-700); font-size: 18px; font-weight: 800; letter-spacing: -.04em; }.score small { display: block; color: var(--muted-2); font-size: 9px; font-weight: 500; letter-spacing: 0; }
.task-action { display: flex; align-items: center; justify-content: flex-end; gap: 5px; white-space: nowrap; }.task-action span { color: var(--muted); font-size: 10px; }.task-action button { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; border-radius: 6px; background: var(--blue-50); color: var(--blue-700); font-size: 10px; font-weight: 700; }.task-action button:hover { background: var(--blue-100); }.task-action svg { width: 13px; height: 13px; }
.panel-footer-link, .text-button { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--blue-600); font-size: 10px; font-weight: 700; }.panel-footer-link { margin: 0 21px 14px; padding: 8px 0; }.text-button:hover, .panel-footer-link:hover { color: var(--blue-700); }.text-button svg, .panel-footer-link svg { width: 14px; height: 14px; }
.customer-panel { position: sticky; top: 84px; min-width: 0; }
.customer-card { padding: 21px; border: 1px solid #dce4ff; border-radius: 12px; background: linear-gradient(180deg, #fbfcff, #fff); box-shadow: 0 14px 34px rgba(58, 81, 165, .08); }
.customer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }.customer-head h2 { margin: 0; font-size: 17px; line-height: 1.35; letter-spacing: -.045em; }.customer-head p { margin: 6px 0 0; color: var(--muted); font-size: 10px; }.customer-tier { padding: 4px 7px; border-radius: 5px; background: #fbe6e7; color: #bd4d55; font-size: 10px; font-weight: 800; }
.customer-score { display: flex; align-items: flex-end; justify-content: space-between; padding: 17px 0 12px; }.customer-score span { display: block; color: var(--muted); font-size: 10px; }.customer-score strong { display: block; margin-top: 3px; color: var(--blue-700); font-size: 31px; line-height: 1; letter-spacing: -.04em; }.score-grade { padding-bottom: 3px; color: var(--green); font-size: 11px; font-weight: 700; }.score-meter { position: relative; height: 6px; border-radius: 99px; background: #edf0f7; overflow: hidden; }.score-meter-fill { display: block; min-width: 3px; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7b91ea, var(--blue-700)); }
.customer-section { padding: 15px 0; border-bottom: 1px solid var(--line); }.customer-section:last-of-type { border-bottom: 0; }.customer-section h3 { margin: 0 0 9px; font-size: 11px; }.customer-section p { margin: 0; color: #657387; font-size: 10px; line-height: 1.65; }.evidence-list { display: grid; gap: 8px; }.evidence-list div { display: flex; gap: 7px; align-items: flex-start; color: #647287; font-size: 10px; }.evidence-list svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--blue-500); }.next-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border: 1px solid #dce4ff; border-radius: 8px; background: var(--blue-50); }.next-action span { color: var(--muted); font-size: 10px; }.next-action strong { color: var(--blue-700); font-size: 11px; text-align: right; }.readiness { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }.readiness span { display: flex; align-items: center; gap: 5px; padding: 7px 8px; border-radius: 6px; background: #f5f7fa; color: var(--muted); font-size: 9px; }.readiness span.is-ready { background: var(--green-bg); color: var(--green); }.readiness svg { width: 13px; height: 13px; }.customer-footer { display: flex; gap: 8px; margin-top: 16px; }.customer-footer button { flex: 1; }.customer-footer .secondary-button { min-height: 34px; }

.lower-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr); gap: 18px; margin-top: 18px; }.trend-panel, .insight-panel { min-width: 0; }.trend-chart { display: flex; gap: 10px; height: 177px; padding: 0 21px; }.chart-y-labels { display: flex; flex-direction: column; justify-content: space-between; padding: 5px 0 19px; color: var(--muted-2); font-size: 9px; }.chart-main { position: relative; flex: 1; min-width: 0; }.chart-gridlines { position: absolute; inset: 4px 0 21px; display: flex; flex-direction: column; justify-content: space-between; }.chart-gridlines i { height: 1px; background: #eef1f5; }.chart-main svg { position: absolute; inset: 0 0 21px; width: 100%; height: calc(100% - 21px); overflow: visible; }.trend-area { fill: url(#areaFill); stroke: none; }.trend-line { fill: none; stroke: var(--blue-500); stroke-width: 3; vector-effect: non-scaling-stroke; }.trend-line + circle { fill: var(--blue-700); stroke: white; stroke-width: 3; }.chart-x-labels { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; color: var(--muted-2); font-size: 8px; }.chart-summary { display: flex; align-items: center; gap: 6px; margin: 0 21px 15px; color: var(--muted); font-size: 9px; }.chart-summary b { color: var(--ink); font-size: 11px; }.legend-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); }.insight-panel { background: linear-gradient(145deg, #f7f9ff, #fff); }.spark-label { display: inline-flex; align-items: center; gap: 6px; }.spark-label svg { width: 16px; height: 16px; color: var(--blue-500); }.updated-label { color: var(--muted-2); font-size: 9px; white-space: nowrap; }.insight-body { padding: 0 21px 18px; }.insight-body > strong { font-size: 13px; }.insight-body > p { margin: 8px 0 13px; color: #657387; font-size: 10px; line-height: 1.65; }.insight-evidence { display: grid; gap: 4px; padding: 9px 10px; box-shadow: inset 2px 0 0 var(--blue-500); background: rgba(76,108,218,.06); }.insight-evidence span { color: var(--blue-600); font-size: 9px; font-weight: 700; }.insight-evidence b { color: #607087; font-size: 9px; font-weight: 500; line-height: 1.5; }.insight-body .text-button { margin-top: 14px; }

.resource-panel { overflow: hidden; }.resource-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; border-bottom: 1px solid var(--line); }.resource-search { position: relative; width: min(360px, 42%); }.resource-search svg { position: absolute; top: 9px; left: 11px; width: 15px; height: 15px; color: var(--muted-2); }.resource-search input { width: 100%; height: 34px; padding: 0 12px 0 34px; border: 1px solid var(--line-strong); border-radius: 7px; outline: none; background: white; color: var(--ink); font-size: 11px; }.resource-search input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(76,108,218,.1); }.filter-actions { display: flex; align-items: center; gap: 9px; }.filter-button { min-height: 32px; padding: 0 10px; font-size: 10px; }.filter-button svg { width: 14px; height: 14px; }.resource-tabs button { min-width: 72px; }.table-scroll { overflow-x: auto; }.data-table { min-width: 860px; }.data-row { display: grid; align-items: center; gap: 16px; min-height: 68px; padding: 0 20px; border-bottom: 1px solid #f0f2f6; }.data-row:last-child { border-bottom: 0; }.data-row.data-head { min-height: 42px; background: #fbfcfe; color: var(--muted-2); font-size: 10px; font-weight: 700; }.resource-table .data-row { grid-template-columns: minmax(235px, 1.5fr) minmax(135px, 1fr) 90px 82px 110px 100px; }.data-row > span { min-width: 0; }.resource-customer { display: flex; align-items: center; gap: 10px; min-width: 0; }.resource-customer > div { min-width: 0; }.company-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 31px; height: 31px; border-radius: 8px; background: var(--blue-100); color: var(--blue-700); font-size: 10px; font-weight: 800; }.resource-customer strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.resource-customer small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }.region-cell, .owner-cell { color: #66758a; font-size: 10px; }.score-cell { font-size: 14px; font-weight: 800; }.score-cell.high { color: var(--blue-700); }.score-cell.mid { color: var(--amber); }.status-chip { display: inline-flex; width: max-content; align-items: center; padding: 4px 7px; border-radius: 5px; background: #f2f4f8; color: #66758a; font-size: 9px; font-weight: 700; }.status-chip.ready { background: var(--green-bg); color: var(--green); }.status-chip.pending { background: var(--amber-bg); color: var(--amber); }.row-action { display: inline-flex; align-items: center; gap: 3px; padding: 5px 7px; border-radius: 5px; background: transparent; color: var(--blue-600); font-size: 10px; font-weight: 700; }.row-action:hover { background: var(--blue-50); }.row-action svg { width: 13px; height: 13px; }.table-footer { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; background: #fbfcfe; color: var(--muted-2); font-size: 10px; }

.followup-summary, .pack-kpis, .overview-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }.mini-stat, .pack-kpis > div, .overview-kpis article { min-height: 100px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 11px; background: white; box-shadow: var(--shadow); }.mini-stat span, .pack-kpis span, .overview-kpis span { display: block; color: var(--muted); font-size: 10px; }.mini-stat strong, .pack-kpis strong { display: block; margin-top: 8px; font-size: 25px; line-height: 1; letter-spacing: -.06em; }.mini-stat b { display: block; margin-top: 7px; color: var(--muted-2); font-size: 9px; font-weight: 600; }.amber-text { color: var(--amber) !important; }.mini-stat:nth-child(3) strong, .mini-stat:nth-child(3) b { color: var(--green); }.followup-table .data-row { grid-template-columns: minmax(210px,1.2fr) minmax(130px,1fr) minmax(150px,1fr) minmax(145px,1fr) 100px 78px; }.followup-customer strong, .followup-customer small { display: block; }.followup-customer strong { font-size: 11px; }.followup-customer small { margin-top: 3px; color: var(--muted); font-size: 9px; }.feedback-cell, .next-cell { color: #66758a; font-size: 10px; }.due-cell { color: var(--amber); font-size: 10px; font-weight: 700; }
.pack-kpis > div { position: relative; }.pack-kpis strong small { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0; }.pack-kpis p { margin: 8px 0 0; color: var(--muted-2); font-size: 9px; }.pack-kpis i { display: block; height: 5px; margin-top: 14px; border-radius: 99px; background: #edf0f5; overflow: hidden; }.pack-kpis i b { display: block; height: 100%; border-radius: inherit; background: var(--blue-500); }.pack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }.pack-card { padding: 17px 18px; border: 1px solid var(--line); border-radius: 11px; background: white; box-shadow: var(--shadow); }.pack-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }.pack-card-head strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.pack-card-head small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }.pack-status { padding: 4px 7px; border-radius: 5px; background: var(--green-bg); color: var(--green); font-size: 9px; font-weight: 700; white-space: nowrap; }.pack-status.pending { background: var(--amber-bg); color: var(--amber); }.pack-bar { display: flex; gap: 3px; margin: 16px 0 10px; }.pack-bar i { height: 5px; flex: 1; border-radius: 99px; background: #e8edf4; }.pack-bar i.ready { background: var(--blue-500); }.pack-bar i.ai { background: #9bb0ff; }.pack-card-foot { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; }.pack-card-foot .text-button { font-size: 9px; }
.overview-kpis article { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; align-content: start; }.overview-kpis span { grid-column: 1/-1; }.overview-kpis strong { margin-top: 9px; font-size: 24px; letter-spacing: -.07em; }.overview-kpis strong small { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; }.overview-kpis b { align-self: end; margin-bottom: 3px; color: var(--green); font-size: 10px; }.overview-kpis small { grid-column: 1/-1; margin-top: 5px; color: var(--muted-2); font-size: 9px; }.analytics-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }.analytics-grid .panel { min-height: 230px; }.distribution-bars { display: grid; gap: 14px; padding: 4px 21px 17px; }.bar-row, .region-bars > div { display: grid; grid-template-columns: 50px 1fr 44px; align-items: center; gap: 10px; }.bar-row > span, .region-bars span { color: var(--muted); font-size: 10px; }.bar-row > i, .region-bars i { display: block; height: 8px; overflow: hidden; border-radius: 99px; background: #eff2f6; }.bar-row > i b, .region-bars i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8da3ef, var(--blue-500)); }.bar-row strong, .region-bars strong { color: var(--ink); font-size: 10px; text-align: right; }.funnel { display: grid; gap: 10px; padding: 5px 21px 20px; }.funnel div { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }.funnel span { position: relative; z-index: 1; padding-left: 9px; color: #66758a; font-size: 10px; }.funnel b { position: relative; z-index: 1; min-width: 32px; color: var(--blue-700); font-size: 10px; text-align: right; }.funnel div::before { content: ""; position: absolute; inset: 0; border-radius: 5px; background: var(--blue-50); }.funnel div:nth-child(2)::before { right: 14%; }.funnel div:nth-child(3)::before { right: 34%; }.funnel div:nth-child(4)::before { right: 54%; }.region-bars { display: grid; gap: 15px; padding: 6px 21px 23px; }.action-panel { grid-column: 2; }.alert-list { display: grid; gap: 1px; padding: 0 21px 17px; }.alert-item { display: flex; align-items: center; gap: 9px; padding: 11px 0; border-bottom: 1px solid #f0f2f6; }.alert-item:last-child { border-bottom: 0; }.alert-icon { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 7px; }.alert-icon.amber { background: var(--amber-bg); color: var(--amber); }.alert-icon.green { background: var(--green-bg); color: var(--green); }.alert-icon svg { width: 15px; height: 15px; }.alert-item > div { flex: 1; min-width: 0; }.alert-item b, .alert-item small { display: block; }.alert-item b { font-size: 10px; }.alert-item small { margin-top: 3px; color: var(--muted); font-size: 9px; }.alert-item .text-button { font-size: 9px; white-space: nowrap; }

.modal { width: min(520px, calc(100vw - 30px)); padding: 0; border: 0; border-radius: 13px; background: white; color: var(--ink); box-shadow: 0 24px 70px rgba(22, 35, 69, .24); }.modal::backdrop { background: rgba(25, 34, 52, .38); backdrop-filter: blur(2px); }.modal-card { padding: 22px; }.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.modal-head h2 { margin: 0; font-size: 19px; letter-spacing: -.04em; }.modal-head p { margin: 6px 0 0; color: var(--muted); font-size: 10px; }.modal-head .eyebrow { margin-bottom: 5px; }.import-steps { display: flex; align-items: center; gap: 9px; margin: 23px 0 19px; color: var(--muted-2); font-size: 10px; font-weight: 700; }.import-steps span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }.import-steps b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #eef1f6; color: var(--muted); font-size: 9px; }.import-steps span.is-active { color: var(--blue-700); }.import-steps span.is-active b { background: var(--blue-500); color: white; }.import-steps i { flex: 1; height: 1px; background: var(--line-strong); }.upload-zone { display: grid; place-items: center; gap: 6px; min-height: 160px; padding: 20px; border: 1px dashed #bfcbed; border-radius: 10px; background: var(--blue-50); color: var(--blue-700); text-align: center; }.upload-zone svg { width: 27px; height: 27px; margin-bottom: 3px; }.upload-zone strong { font-size: 12px; }.upload-zone small { color: var(--muted); font-size: 9px; }.upload-zone input { display: none; }.import-note { display: flex; gap: 9px; margin-top: 14px; padding: 10px; border-radius: 7px; background: #f5faf7; }.import-note > span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-bg); color: var(--green); }.import-note svg { width: 13px; height: 13px; }.import-note p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }.import-note b { color: var(--green); font-size: 10px; }.file-name { min-height: 16px; margin: 12px 0 0; color: var(--muted-2); font-size: 10px; }.modal-foot { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }.detail-modal { width: min(620px, calc(100vw - 30px)); }.detail-modal-card { max-height: 85vh; overflow: auto; }.modal-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 21px; }.detail-fact { padding: 11px; border-radius: 8px; background: #f7f9fc; }.detail-fact span, .detail-fact strong { display: block; }.detail-fact span { color: var(--muted); font-size: 9px; }.detail-fact strong { margin-top: 4px; color: var(--ink); font-size: 11px; }.modal-detail-note { margin-top: 12px; padding: 12px; box-shadow: inset 2px 0 0 var(--blue-500); background: var(--blue-50); color: #5f6f86; font-size: 10px; line-height: 1.65; }.toast { position: fixed; z-index: 30; right: 26px; bottom: 24px; max-width: min(360px, calc(100vw - 40px)); padding: 10px 14px; border: 1px solid #d6deef; border-radius: 8px; background: #202b42; color: white; font-size: 11px; box-shadow: 0 10px 24px rgba(21,35,69,.2); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .22s ease; }.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) { .content-wrap { padding-inline: 24px; }.dashboard-layout { grid-template-columns: minmax(0, 1fr); }.customer-panel { position: static; }.customer-card { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 24px; }.customer-head { grid-column: 1/-1; }.customer-score, .customer-section, .customer-footer { grid-column: 1; }.customer-score { align-self: start; }.customer-card > .customer-section:nth-of-type(2), .customer-card > .customer-section:nth-of-type(3) { grid-column: 2; }.customer-footer { grid-row: 3 / span 2; align-self: end; }.lower-grid { grid-template-columns: 1fr; }.analytics-grid { grid-template-columns: 1fr 1fr; }.action-panel { grid-column: 1/-1; } }
@media (max-width: 860px) { :root { --sidebar: 210px; }.topbar { padding-inline: 22px; }.metric-grid, .followup-summary, .pack-kpis, .overview-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }.home-heading { align-items: flex-start; }.page-heading { align-items: flex-start; flex-direction: column; }.heading-actions { width: 100%; justify-content: flex-start; }.resource-toolbar { align-items: flex-start; flex-direction: column; }.resource-search { width: min(100%, 390px); }.filter-actions { width: 100%; justify-content: space-between; }.customer-card { display: block; }.customer-card > .customer-section:nth-of-type(2), .customer-card > .customer-section:nth-of-type(3) { display: block; }.customer-footer { margin-top: 16px; }.pack-grid, .analytics-grid { grid-template-columns: 1fr; }.action-panel { grid-column: auto; } }
@media (max-width: 640px) { .preview-banner { top: 8px; right: 8px; max-width: calc(100vw - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }.sidebar { width: min(280px, 84vw); transform: translateX(-102%); transition: transform .22s ease; box-shadow: 14px 0 40px rgba(25, 38, 69, .16); }.sidebar.is-open { transform: translateX(0); }.main-content { margin-left: 0; }.topbar { padding: 0 15px; }.mobile-menu { display: inline-flex; }.breadcrumbs { margin-left: 3px; }.topbar-actions { gap: 9px; }.topbar-link, .topbar-user, .topbar-divider { display: none; }.content-wrap { padding: 26px 14px 38px; }.page-heading h1 { font-size: 25px; }.heading-actions { flex-wrap: wrap; }.metric-grid { gap: 9px; }.metric-card { min-height: 112px; padding: 14px; }.metric-card strong { font-size: 24px; }.panel-head { padding: 16px 14px; }.panel-head .segmented-control { max-width: 50%; overflow-x: auto; }.task-row { grid-template-columns: 26px minmax(0, 1fr) 50px; gap: 9px; padding: 11px 14px; }.task-signal { display: none; }.task-action { grid-column: 2/-1; justify-content: flex-start; margin-top: -2px; }.task-action span { display: none; }.panel-footer-link { margin-left: 14px; }.lower-grid { gap: 12px; }.trend-chart { padding-inline: 14px; }.chart-summary { margin-inline: 14px; }.insight-body { padding-inline: 14px; }.resource-toolbar { padding: 13px 14px; }.filter-actions { align-items: flex-start; flex-direction: column; }.resource-tabs { width: 100%; overflow-x: auto; }.resource-tabs button { flex: 1; white-space: nowrap; }.table-footer { padding-inline: 14px; }.followup-summary, .pack-kpis, .overview-kpis { gap: 9px; }.mini-stat, .pack-kpis > div, .overview-kpis article { min-height: 92px; padding: 13px; }.mini-stat strong, .pack-kpis strong { font-size: 22px; }.pack-grid { gap: 10px; }.modal-card { padding: 17px; }.import-steps { gap: 5px; }.import-steps span { font-size: 8px; }.import-steps b { width: 18px; height: 18px; }.modal-foot { flex-wrap: wrap; }.modal-foot button { flex: 1; }.modal-detail-grid { grid-template-columns: 1fr; }.toast { right: 14px; bottom: 14px; } }

/* .AIOS作战平台 typography pass: readable product scale for the Operate surface. */
.brand-block { padding-bottom: 30px; }
.brand-word { color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.main-content { min-height: 100vh; }
.content-wrap { padding-top: 42px; }
.mobile-menu-float { display: none; }
body { font-size: 14px; }
.nav-label { font-size: 12px; }
.nav-item { min-height: 46px; }
.nav-item span { font-size: 14px; }
.nav-item em { font-size: 11px; }
.route-card-head { font-size: 12px; }
.route-switch button { font-size: 12px; }
.route-card small, .user-block small { font-size: 11px; }
.user-block b { font-size: 13px; }
.page-heading h1 { font-size: clamp(28px, 2.35vw, 34px); }
.page-heading p { font-size: 14px; }
.eyebrow { font-size: 11px; }
.primary-button, .secondary-button, .small-select, .filter-button { font-size: 13px; }
.metric-card { min-height: 136px; }
.metric-label { font-size: 13px; }
.metric-card strong { font-size: 31px; }
.metric-card strong small { font-size: 13px; }
.metric-meta { font-size: 12px; }
.panel-head h2 { font-size: 17px; }
.panel-head p { font-size: 12px; }
.segmented-control button { font-size: 12px; }
.task-row { min-height: 84px; }
.task-customer strong { font-size: 14px; }
.task-customer small, .task-signal small { font-size: 11px; }
.task-signal span { font-size: 12px; }
.score { font-size: 22px; }
.score small { font-size: 11px; }
.task-action span, .task-action button { font-size: 12px; }
.panel-footer-link, .text-button { font-size: 12px; }
.customer-head h2 { font-size: 19px; }
.customer-head p, .customer-score span, .score-grade, .customer-section p, .evidence-list div, .next-action span, .next-action strong, .readiness span { font-size: 12px; }
.customer-section h3 { font-size: 13px; }
.customer-score strong { font-size: 34px; }
.insight-body > strong { font-size: 15px; }
.insight-body > p, .insight-evidence b { font-size: 12px; }
.insight-evidence span { font-size: 11px; }
.updated-label, .chart-summary { font-size: 11px; }
.chart-summary b { font-size: 13px; }
.resource-search input { font-size: 13px; }
.data-row.data-head { font-size: 12px; }
.data-row { min-height: 76px; }
.resource-customer strong { font-size: 13px; }
.resource-customer small, .region-cell, .owner-cell, .status-chip, .row-action, .table-footer { font-size: 11px; }
.score-cell { font-size: 17px; }
.mini-stat span, .pack-kpis span, .overview-kpis span { font-size: 12px; }
.mini-stat strong, .pack-kpis strong { font-size: 28px; }
.mini-stat b, .pack-kpis p, .overview-kpis small { font-size: 11px; }
.followup-customer strong, .feedback-cell, .next-cell, .due-cell { font-size: 12px; }
.followup-customer small { font-size: 11px; }
.pack-card-head strong { font-size: 14px; }
.pack-card-head small, .pack-card-foot, .pack-status { font-size: 11px; }
.overview-kpis strong { font-size: 29px; }
.overview-kpis b { font-size: 11px; }
.bar-row > span, .region-bars span, .bar-row strong, .region-bars strong, .funnel span, .funnel b { font-size: 12px; }
.alert-item b { font-size: 12px; }
.alert-item small, .alert-item .text-button { font-size: 11px; }
.modal-head h2 { font-size: 21px; }
.modal-head p, .upload-zone small, .import-note p, .file-name, .detail-fact span, .modal-detail-note { font-size: 12px; }
.upload-zone strong { font-size: 14px; }
.import-note b, .detail-fact strong { font-size: 13px; }

@media (max-width: 640px) {
  .mobile-menu-float { position: fixed; top: 12px; left: 12px; z-index: 20; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 5px 16px rgba(34, 49, 80, .12); }
  .mobile-menu-float svg { width: 19px; height: 19px; }
  .content-wrap { padding-top: 66px; }
  .sidebar.is-open .brand-block { padding-top: 48px; }
  .brand-word { font-size: 20px; }
  .page-heading h1 { font-size: 28px; }
  .page-heading p { font-size: 13px; }
  .metric-card { min-height: 122px; }
  .metric-label { font-size: 12px; }
  .metric-card strong { font-size: 27px; }
  .task-row { min-height: 94px; }
  .task-customer strong { font-size: 13px; }
  .panel-head h2 { font-size: 16px; }
  .panel-head p { font-size: 11px; }
}

/* Shared page heading and type clarity pass. */
body { font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif; font-synthesis: none; text-rendering: optimizeLegibility; }
.page-heading { align-items: center; min-height: 42px; margin-bottom: 24px; }
.page-heading > div:first-child { min-width: 0; }
.heading-actions { margin-left: auto; flex-shrink: 0; }
.page-heading h1 { font-weight: 700; letter-spacing: -.025em; }
.brand-word { font-weight: 700; letter-spacing: -.02em; }
.nav-item span { font-weight: 600; }
.customer-head h2 { font-weight: 700; letter-spacing: -.025em; }
.customer-score strong, .score, .score-cell { font-weight: 700; letter-spacing: -.035em; }
.metric-card strong, .mini-stat strong, .pack-kpis strong, .overview-kpis strong { font-weight: 700; letter-spacing: -.035em; }
.primary-button, .secondary-button, .small-select, .filter-button, .row-action, .text-button, .panel-footer-link { font-weight: 600; }
.eyebrow { display: none; }

@media (max-width: 860px) {
  .page-heading { align-items: flex-start; }
  .heading-actions { margin-left: 0; }
}

/* Final type scale: only 12 / 14 / 16 / 20px are used in the rendered UI. */
:root {
  --type-meta: 12px;
  --type-body: 14px;
  --type-section: 16px;
  --type-title: 20px;
}
body { font-size: var(--type-body); }
.brand-word { font-size: var(--type-section); }
.nav-label, .nav-item em, .route-card-head, .route-switch button, .route-card small, .user-block small { font-size: var(--type-meta); }
.nav-item span, .user-block b, .primary-button, .secondary-button, .small-select, .filter-button, .task-signal span, .task-action span, .task-action button, .panel-footer-link, .text-button, .resource-search input, .row-action, .followup-customer strong, .feedback-cell, .next-cell, .due-cell, .pack-card-head strong, .alert-item b, .upload-zone strong { font-size: var(--type-body); }
.page-heading h1, .metric-card strong, .score, .customer-score strong, .score-cell, .mini-stat strong, .pack-kpis strong, .overview-kpis strong, .modal-head h2 { font-size: var(--type-title); }
.panel-head h2, .customer-head h2, .customer-section h3, .insight-body > strong { font-size: var(--type-section); }
.panel-head p, .task-customer small, .task-signal small, .score small, .customer-head p, .customer-score span, .score-grade, .readiness span, .updated-label, .chart-summary, .chart-x-labels span, .insight-body > p, .insight-evidence b, .insight-evidence span, .resource-customer small, .region-cell, .owner-cell, .status-chip, .table-footer, .followup-customer small, .pack-card-head small, .pack-card-foot, .pack-status, .mini-stat span, .mini-stat b, .pack-kpis span, .pack-kpis p, .overview-kpis span, .overview-kpis b, .overview-kpis small, .bar-row > span, .region-bars span, .bar-row strong, .region-bars strong, .funnel span, .funnel b, .alert-item small, .alert-item .text-button, .modal-head p, .upload-zone small, .import-note p, .file-name, .detail-fact span, .detail-fact strong, .modal-detail-note { font-size: var(--type-meta); }
.customer-section p, .evidence-list div, .next-action strong { font-size: var(--type-body); }
.metric-card strong small, .overview-kpis strong small, .pack-kpis strong small { font-size: var(--type-meta); }
.chart-x-labels, .chart-y-labels, .chart-y-labels span, .customer-tier, .company-avatar, .user-avatar, .tier, .chart-summary b { font-size: var(--type-meta); }
.task-customer strong, .resource-customer strong { font-size: var(--type-body); }
.segmented-control button b, .pack-card-foot .text-button, .readiness-count { font-size: var(--type-body); }
.import-steps, .import-steps span, .import-steps b { font-size: var(--type-meta); }
.import-note b { font-size: var(--type-body); }

@media (max-width: 640px) {
  .brand-word, .page-heading h1 { font-size: var(--type-title); }
}

/* Shared canvas geometry: one full-width content frame for every page. */
.content-wrap { width: 100%; max-width: none; margin: 0; padding-left: 32px; padding-right: 32px; }
.nav-item.is-active { box-shadow: none; }

@media (max-width: 860px) {
  .content-wrap { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 640px) {
  .content-wrap { padding-left: 14px; padding-right: 14px; }
}

/* v5 experiment: DeepSeek-inspired system rendering, compact headers, gray-first UI. */
body {
  font-family: "AIOS UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:root {
  --ink: #20252d;
  --muted: #687383;
  --muted-2: #9aa3ae;
  --line: #e4e7ec;
  --line-strong: #d4d9e1;
  --blue-50: #f3f5f7;
  --blue-100: #e8ebef;
  --blue-500: #5c6f96;
  --blue-600: #435779;
  --blue-700: #2f3d56;
}

html { overflow-y: scroll; }

/* One compact top rhythm shared by home, resources, follow-ups, packs and analytics. */
.content-wrap { padding-top: 20px; }
.page-heading { min-height: 32px; margin-bottom: 16px; }
.page-heading h1 { line-height: 1.25; }
.dashboard-primary { display: flex; flex-direction: column; gap: 16px; }
.dashboard-primary > .insight-panel,
.dashboard-primary > .task-panel,
.dashboard-primary > .trend-panel { width: 100%; }
.dashboard-primary > .trend-panel { margin-top: 0; }

/* Reserve the brand color for data signals; actions and navigation use neutral ink. */
.primary-button { background: var(--ink); box-shadow: 0 7px 15px rgba(32, 37, 45, .14); }
.primary-button:hover { background: #11161e; box-shadow: 0 10px 20px rgba(32, 37, 45, .2); }
.nav-item.is-active { background: #f1f3f5; color: var(--ink); }
.nav-item.is-active svg { color: var(--ink); }
.nav-item:hover { background: #f7f8f9; color: var(--ink); }
.secondary-button, .small-select, .filter-button { color: #4f5968; }
.secondary-button:hover, .small-select:hover, .filter-button:hover { border-color: var(--line-strong); background: #f7f8f9; color: var(--ink); }
.segmented-control button.is-active { color: var(--ink); }
.task-row:hover, .task-row.is-selected { background: #f8f9fa; }
.task-action button { background: #f3f5f7; color: var(--ink); }
.task-action button:hover { background: #e9edf1; }
.panel-footer-link, .text-button, .row-action { color: var(--ink); }
.text-button:hover, .panel-footer-link:hover { color: #11161e; }
.row-action:hover { background: #f3f5f7; }
.score, .score-cell, .customer-score strong { color: var(--ink); }
.score-meter-fill { background: #6f7987; }
.customer-card { border-color: var(--line); background: #fff; box-shadow: var(--shadow); }
.next-action { border-color: var(--line); background: #f7f8fa; }
.next-action strong { color: var(--ink); }
.evidence-list svg { color: #6b7480; }
.insight-panel { background: #fff; }
.spark-label svg { color: var(--blue-500); }
.insight-evidence { box-shadow: inset 2px 0 0 #c4cad2; background: #f4f6f8; }
.insight-evidence span { color: var(--ink); }
.company-avatar { background: #eef0f2; color: var(--ink); }
.score-cell.high { color: var(--ink); }
.trend-line { stroke: var(--blue-500); }
.trend-line + circle { fill: var(--blue-700); }
.legend-dot { background: var(--blue-500); }

@media (max-width: 640px) {
  .content-wrap { padding-top: 66px; }
  .task-row { grid-template-columns: 28px minmax(0, 1fr) 64px; }
}

/* backend-system-generator: high-density queue / light theme pass. */
:root {
  --ca-bg: #f5f7fa;
  --ca-surface: #ffffff;
  --ca-surface-subtle: #f8fafc;
  --ca-ink: #0b1220;
  --ca-ink-2: #344054;
  --ca-ink-3: #667085;
  --ca-line: #e4eaf1;
  --ca-primary: #3e5abd;
  --ca-primary-hover: #334ca9;
  --ca-primary-soft: #eef1ff;
  --ca-primary-start: #4c6cda;
  --ca-primary-mid: #3e5abd;
  --ca-primary-end: #3145a7;
  --ca-primary-gradient: linear-gradient(105deg, #4c6cda 0%, #3e5abd 52%, #3145a7 100%);
  --ca-primary-gradient-hover: linear-gradient(105deg, #4563ca 0%, #334ca9 52%, #2b3c96 100%);
  --ca-ai: #6857f5;
  --ca-ai-soft: #f0eeff;
  --ca-ai-ink: #5545db;
  --ca-success: #13b981;
  --ca-success-soft: #e8f8f2;
  --ca-success-ink: #087f5b;
  --ca-info: #0ea5c6;
  --ca-info-soft: #e7f8fc;
  --ca-info-ink: #087f9a;
  --ca-warning: #f59e0b;
  --ca-warning-soft: #fff7e5;
  --ca-warning-ink: #a15c00;
  --ca-critical: #f0445a;
  --ca-critical-soft: #fff0f2;
  --ca-critical-ink: #c62842;
  --ca-chart-grid: #e7ecf2;
  --ca-chart-axis: #667085;
  --ca-chart-track: #eef2f6;
  --ca-font-sans: "AIOS UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --ca-shadow-card: 0 1px 2px rgb(16 24 40 / 4%);
  --ca-shadow-float: 0 8px 24px rgb(16 24 40 / 8%);
  --ca-shadow-primary: 0 4px 12px rgb(49 69 167 / 18%);
  --ca-focus: 0 0 0 3px rgb(62 90 189 / 26%);
  --blue-700: var(--ca-primary-end);
  --blue-600: var(--ca-primary-mid);
  --blue-500: var(--ca-primary-start);
  --blue-100: var(--ca-primary-soft);
  --blue-50: #f8faff;
  --ink: var(--ca-ink);
  --muted: var(--ca-ink-3);
  --muted-2: #98a2b3;
  --line: var(--ca-line);
  --line-strong: #d0d5dd;
  --surface: var(--ca-surface);
  --canvas: var(--ca-bg);
  --green: var(--ca-success);
  --green-bg: var(--ca-success-soft);
  --amber: var(--ca-warning-ink);
  --amber-bg: var(--ca-warning-soft);
  --red: var(--ca-critical-ink);
  --red-bg: var(--ca-critical-soft);
  --sidebar: 224px;
  --topbar: 60px;
  --shadow: var(--ca-shadow-card);
}

html { min-width: 320px; overflow-y: scroll; background: var(--ca-bg); }
body {
  color: var(--ca-ink);
  background: var(--ca-bg);
  font-family: var(--ca-font-sans);
  font-variant-numeric: tabular-nums;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
button, input { font-family: inherit; }
:focus-visible { outline: none; box-shadow: var(--ca-focus); }

.app-shell { display: block; min-height: 100vh; }
.sidebar {
  width: var(--sidebar);
  padding: 20px 12px 16px;
  border-right-color: var(--ca-line);
  background: var(--ca-surface);
}
.brand-block { padding: 0 8px 24px; }
.brand-word { color: var(--ca-ink); font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.nav-label, .route-card-head, .route-card small, .user-block small { color: var(--ca-ink-3); }
.nav-label { margin: 0 10px 8px; font-size: 11px; font-weight: 600; }
.nav-item {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ca-ink-2);
  font-size: 13px;
  font-weight: 500;
}
.nav-item svg { width: 16px; height: 16px; }
.nav-item.is-active { background: var(--ca-primary-soft); color: var(--ca-primary-end); box-shadow: none; font-weight: 600; }
.nav-item.is-active svg { color: var(--ca-primary); }
.nav-item:hover { background: var(--ca-surface-subtle); color: var(--ca-ink); }
.sidebar-bottom { gap: 12px; }
.route-card { padding: 12px; border-color: var(--ca-line); border-radius: 10px; box-shadow: none; }
.route-card-head { font-size: 11px; }
.route-switch { margin: 8px 0; background: var(--ca-surface-subtle); }
.route-switch button { min-height: 30px; border-radius: 6px; color: var(--ca-ink-3); font-size: 12px; }
.route-switch button.is-active { background: var(--ca-surface); color: var(--ca-primary); box-shadow: var(--ca-shadow-card); }
.user-block { padding: 12px 8px 0; border-top-color: var(--ca-line); }
.user-block b { font-size: 12px; }
.user-avatar { width: 30px; height: 30px; background: var(--ca-ink); color: #fff; font-size: 12px; }

.main-content { margin-left: var(--sidebar); min-height: 100vh; }
.mobile-menu-float { display: none !important; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar);
  padding: 0 24px;
  border-bottom: 1px solid var(--ca-line);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(8px);
}
.topbar-left, .topbar-actions, .breadcrumbs, .topbar-search, .topbar-user { display: flex; align-items: center; }
.topbar-left, .topbar-actions { gap: 12px; }
.breadcrumbs { gap: 8px; min-width: 0; color: var(--ca-ink-3); font-size: 11px; font-weight: 600; letter-spacing: .05em; }
.breadcrumbs strong { overflow: hidden; color: var(--ca-ink); font-size: 13px; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumbs i { color: var(--ca-ink-3); font-size: 16px; font-style: normal; }
.topbar-search { width: min(310px, 28vw); height: 34px; gap: 8px; padding: 0 9px; border: 1px solid var(--ca-line); border-radius: 8px; background: var(--ca-surface-subtle); color: var(--ca-ink-3); }
.topbar-search svg { width: 15px; height: 15px; flex: 0 0 auto; }
.topbar-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ca-ink); font-size: 12px; }
.topbar-search kbd { min-width: 18px; padding: 1px 5px; border: 1px solid var(--ca-line); border-radius: 4px; background: var(--ca-surface); color: var(--ca-ink-3); font-size: 10px; text-align: center; }
.topbar-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid var(--ca-line); border-radius: 999px; color: var(--ca-ink-2); font-size: 11px; white-space: nowrap; }
.topbar-notice { position: relative; width: 30px; height: 30px; padding: 0; background: transparent; color: var(--ca-ink-3); }
.topbar-notice svg { width: 17px; height: 17px; }
.topbar-notice span { position: absolute; top: 5px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--ca-critical); }
.topbar-user { gap: 7px; padding: 2px 0; background: transparent; color: var(--ca-ink-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.topbar-user .user-avatar { width: 26px; height: 26px; flex-basis: 26px; }
.topbar-user svg { width: 13px; height: 13px; transform: rotate(45deg); }
.mobile-menu { display: none; }

.content-wrap { width: 100%; max-width: none; margin: 0; padding: 20px 30px 40px; }
.page-heading { min-height: 64px; margin-bottom: 16px; align-items: center; }
.page-heading h1 { color: var(--ca-ink); font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.035em; }
.heading-actions { gap: 8px; }
.primary-button, .secondary-button, .small-select, .filter-button { min-height: 32px; border-radius: 8px; padding: 0 12px; font-size: 12px; font-weight: 600; }
.primary-button { color: #fff; background-color: var(--ca-primary); background-image: var(--ca-primary-gradient); border: 1px solid var(--ca-primary-end); box-shadow: var(--ca-shadow-primary); }
.primary-button:hover { background-image: var(--ca-primary-gradient-hover); transform: none; }
.secondary-button, .small-select, .filter-button { border: 1px solid var(--ca-line); background: var(--ca-surface); color: var(--ca-ink-2); }
.secondary-button:hover, .small-select:hover, .filter-button:hover { border-color: #c5cdd8; background: var(--ca-surface-subtle); color: var(--ca-ink); }
.eyebrow { display: none; }

.dashboard-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; }
.dashboard-primary { display: block; }
.panel { border-color: var(--ca-line); border-radius: var(--ca-radius-card, 12px); background: var(--ca-surface); box-shadow: var(--ca-shadow-card); }
.panel-head { min-height: 40px; padding: 16px; }
.panel-head h2, .customer-section h3 { color: var(--ca-ink); font-size: 14px; line-height: 20px; font-weight: 700; }
.panel-head p { margin-top: 2px; color: var(--ca-ink-3); font-size: 12px; line-height: 16px; }
.segmented-control { padding: 3px; border-radius: 7px; background: var(--ca-surface-subtle); }
.segmented-control button { min-height: 26px; border-radius: 6px; color: var(--ca-ink-3); font-size: 12px; font-weight: 600; }
.segmented-control button.is-active { color: var(--ca-primary-end); box-shadow: var(--ca-shadow-card); }
.task-row { grid-template-columns: 28px minmax(170px, 1.18fr) minmax(170px, 1fr) 70px 106px; min-height: 64px; gap: 12px; padding: 10px 16px; border-bottom-color: var(--ca-line); }
.task-row:hover, .task-row.is-selected { background: #fbfcff; }
.tier { width: 28px; height: 24px; border-radius: 7px; font-size: 11px; font-weight: 700; }
.tier-s { background: var(--ca-critical-soft); color: var(--ca-critical-ink); }
.tier-a { background: var(--ca-warning-soft); color: var(--ca-warning-ink); }
.tier-b { background: var(--ca-primary-soft); color: var(--ca-primary-end); }
.task-customer strong, .task-signal span { font-size: 13px; font-weight: 600; }
.task-customer small, .task-signal small, .task-action span { color: var(--ca-ink-3); font-size: 12px; }
.score { color: var(--ca-ink); font-size: 16px; font-weight: 700; }
.score small { color: var(--ca-ink-3); font-size: 11px; }
.task-action button { background: var(--ca-primary-soft); color: var(--ca-primary-end); font-size: 12px; font-weight: 600; }
.task-action button:hover { background: #e3e8ff; }
.panel-footer-link, .text-button, .row-action { color: var(--ca-primary-mid); font-size: 12px; font-weight: 600; }
.panel-footer-link { margin: 0 16px 12px; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 16px; margin-top: 16px; }
.trend-panel, .insight-panel { min-width: 0; }
.trend-chart { height: 220px; padding: 0 16px; }
.chart-y-labels, .chart-x-labels { color: var(--ca-chart-axis); font-size: 11px; }
.chart-gridlines i { background: var(--ca-chart-grid); }
.trend-line { stroke: var(--ca-primary); stroke-width: 2; }
.trend-line + circle { fill: var(--ca-primary-end); }
.legend-dot { background: var(--ca-primary); }
.chart-summary { margin: 0 16px 14px; color: var(--ca-ink-3); font-size: 12px; }
.chart-summary b { color: var(--ca-ink); font-size: 12px; }
.insight-panel { background: var(--ca-surface); }
.spark-label svg { color: var(--ca-ai); }
.updated-label { color: var(--ca-ink-3); font-size: 11px; }
.insight-body { padding: 0 16px 16px; }
.insight-body > strong { color: var(--ca-ink); font-size: 14px; }
.insight-body > p { margin: 6px 0 12px; color: var(--ca-ink-2); font-size: 12px; line-height: 18px; }
.insight-evidence { padding: 9px 10px; box-shadow: inset 2px 0 0 var(--ca-ai); background: var(--ca-ai-soft); }
.insight-evidence span { color: var(--ca-ai-ink); font-size: 11px; }
.insight-evidence b { color: var(--ca-ink-2); font-size: 11px; line-height: 16px; }

.customer-panel { top: 76px; }
.customer-card { padding: 16px; border-color: var(--ca-line); border-radius: var(--ca-radius-card, 12px); background: var(--ca-surface); box-shadow: var(--ca-shadow-card); }
.customer-head h2 { color: var(--ca-ink); font-size: 16px; line-height: 20px; }
.customer-head p, .customer-score span, .customer-section p, .evidence-list div, .next-action span { color: var(--ca-ink-3); font-size: 12px; }
.customer-tier { background: var(--ca-critical-soft); color: var(--ca-critical-ink); font-size: 11px; }
.customer-score { padding: 14px 0 10px; }
.customer-score strong { color: var(--ca-ink); font-size: 28px; }
.score-grade { color: var(--ca-success-ink); font-size: 12px; }
.score-meter { height: 6px; background: var(--ca-chart-track); }
.score-meter-fill { background: var(--ca-primary-gradient); }
.customer-section { padding: 12px 0; border-bottom-color: var(--ca-line); }
.evidence-list { gap: 7px; }
.evidence-list svg { color: var(--ca-primary); }
.next-action { padding: 10px; border-color: var(--ca-line); background: var(--ca-surface-subtle); }
.next-action strong { color: var(--ca-ink); font-size: 12px; }
.readiness span { padding: 6px 8px; background: var(--ca-surface-subtle); color: var(--ca-ink-3); font-size: 11px; }
.readiness span.is-ready { background: var(--ca-success-soft); color: var(--ca-success-ink); }
.customer-footer { margin-top: 12px; }

.resource-panel, .table-card { border-radius: 12px; box-shadow: var(--ca-shadow-card); }
.resource-toolbar { padding: 12px 16px; border-bottom-color: var(--ca-line); }
.resource-search input { height: 32px; border-color: var(--ca-line); background: var(--ca-surface-subtle); font-size: 12px; }
.resource-search input:focus { border-color: var(--ca-primary); box-shadow: var(--ca-focus); }
.data-row { min-height: 52px; padding: 0 16px; border-bottom-color: var(--ca-line); }
.data-row.data-head { min-height: 40px; background: var(--ca-surface-subtle); color: var(--ca-ink-3); font-size: 11px; }
.resource-customer strong, .followup-customer strong, .pack-card-head strong { font-size: 13px; }
.resource-customer small, .followup-customer small, .region-cell, .owner-cell, .feedback-cell, .next-cell, .due-cell { font-size: 12px; }
.company-avatar { background: var(--ca-primary-soft); color: var(--ca-primary-end); }
.tier-avatar { border: 1px solid currentColor; border-radius: 7px; font-size: 13px !important; font-weight: 800; }
.tier-avatar.tier-s { background: #eef4ff; color: #315bc4; }
.tier-avatar.tier-a { background: #edf9f3; color: #16845b; }
.tier-avatar.tier-b { background: #fff6e8; color: #a86608; }
.home-recommendation-loading { display: grid; place-items: center; min-height: 260px; padding: 40px; color: var(--ca-ink-3); text-align: center; }
.home-recommendation-loading.is-logo { min-height: 420px; }
.home-loading-logo { display: block; width: 52px; height: 52px; animation: home-logo-pulse 1.35s ease-in-out infinite; }
@keyframes home-logo-pulse { 0%,100% { opacity: .42; transform: scale(.92) rotate(0deg); } 50% { opacity: 1; transform: scale(1.08) rotate(90deg); } }
.home-loading-row { display: grid; grid-template-columns: minmax(220px,1fr) 18px minmax(180px,.72fr); gap: 28px; align-items: center; min-height: 104px; padding: 18px 8px; border-bottom: 1px solid #e8ebf0; }
.home-loading-row > i { width: 14px; height: 14px; border-radius: 5px; background: #e8ebf0; }
.detail-skeleton { display: grid; gap: 10px; width: 100%; }
.detail-skeleton i { display: block; width: var(--skeleton-width, 88%); height: 13px; border-radius: 6px; background: linear-gradient(90deg,#edf0f4 20%,#f8f9fb 48%,#edf0f4 76%); background-size: 220% 100%; animation: detail-shimmer 1.25s ease-in-out infinite; }
@keyframes detail-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.home-recommendation-loading .home-recommendation-spinner { width: 26px; height: 26px; margin-bottom: 12px; border: 2px solid #dbe3ef; border-top-color: var(--ca-primary); border-radius: 50%; animation: spin .8s linear infinite; }
.home-recommendation-loading strong { color: var(--ca-ink); font-size: 15px; }
.home-recommendation-loading p { max-width: 480px; margin: 7px 0 0; font-size: 12px; line-height: 20px; }
.score-cell { font-size: 14px; }
.score-cell.high { color: var(--ca-ink); }
.status-chip, .pack-status { font-size: 11px; }
.row-action:hover { background: var(--ca-primary-soft); }
.table-footer { padding: 10px 16px; background: var(--ca-surface-subtle); color: var(--ca-ink-3); font-size: 11px; }
.followup-summary, .pack-kpis, .overview-kpis { gap: 12px; margin-bottom: 16px; }
.mini-stat, .pack-kpis > div, .overview-kpis article { min-height: 92px; padding: 14px 16px; border-color: var(--ca-line); border-radius: 12px; box-shadow: var(--ca-shadow-card); }
.mini-stat span, .pack-kpis span, .overview-kpis span { font-size: 12px; }
.mini-stat strong, .pack-kpis strong, .overview-kpis strong { font-size: 26px; }
.pack-grid { gap: 12px; }
.pack-card { padding: 16px; border-color: var(--ca-line); border-radius: 12px; box-shadow: var(--ca-shadow-card); }
.pack-card-head small, .pack-card-foot, .pack-status { font-size: 11px; }
.pack-bar i.ready { background: var(--ca-primary); }
.pack-bar i.ai { background: var(--ca-ai); }
.analytics-grid { gap: 16px; }
.bar-row > i b, .region-bars i b { background: var(--ca-primary); }
.funnel div::before { background: var(--ca-primary-soft); }
.funnel b { color: var(--ca-primary-end); }

.modal { border-radius: 12px; box-shadow: var(--ca-shadow-float); }
.modal-card { padding: 20px; }
.modal-head h2 { font-size: 16px; }
.upload-zone { border-color: #b9c7dd; background: var(--ca-surface-subtle); color: var(--ca-primary-end); }
.toast { background: var(--ca-ink); box-shadow: var(--ca-shadow-float); }

@media (max-width: 1180px) {
  .dashboard-layout { grid-template-columns: minmax(0, 1fr); }
  .customer-panel { position: static; }
}

/* Complete home advice copy and high-legibility company research dialog. */
#view-home .insight-body { overflow: visible; }
#view-home .insight-body .advice-paragraph { display: block; overflow: visible; margin: 8px 0 10px; font-size: 13px !important; line-height: 20px !important; }
#view-home .insight-evidence b { display: block; overflow: visible; font-size: 12px !important; line-height: 18px !important; text-overflow: clip; white-space: normal; }
.detail-modal .modal-head h2 { font-size: 20px !important; line-height: 28px !important; }
.detail-modal .modal-head p { color: #536174; font-size: 13px !important; line-height: 20px !important; }
.detail-modal .detail-overview dt { color: #59677a; font-size: 13px; line-height: 19px; }
.detail-modal .detail-overview dd { color: #172033; font-size: 14px; line-height: 22px; }
.detail-modal .detail-section h3 { margin-bottom: 8px; color: #111827; font-size: 15px; line-height: 22px; }
.detail-modal .detail-section p { color: #344054; font-size: 15px; line-height: 26px; }
.detail-modal .detail-next span, .detail-modal .detail-next small { color: #59677a; font-size: 13px; line-height: 20px; }
.detail-modal .detail-next strong { font-size: 15px; line-height: 22px; }
@media (max-width: 860px) {
  :root { --sidebar: 224px; }
  .topbar { padding-inline: 16px; }
  .topbar-search { width: 240px; }
}
@media (max-width: 640px) {
  .sidebar { width: min(288px, calc(100vw - 48px)); }
  .main-content { margin-left: 0; }
  .topbar { min-height: 56px; padding: 0 12px; }
  .mobile-menu { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; background: transparent; color: var(--ca-ink-2); }
  .topbar-search, .topbar-chip, .topbar-notice, .topbar-user > span:not(.user-avatar), .topbar-user > svg { display: none; }
  .content-wrap { padding: 16px 12px 32px; }
  .page-heading { min-height: auto; margin-bottom: 12px; align-items: flex-start; flex-direction: column; }
  .page-heading h1 { font-size: 24px; }
  .heading-actions { width: 100%; }
  .heading-actions button { flex: 1; }
  .task-row { grid-template-columns: 28px minmax(0, 1fr) 64px; gap: 9px; padding: 10px 12px; }
  .task-signal { display: none; }
  .task-action { grid-column: 2 / -1; justify-content: flex-start; margin-top: -2px; }
  .task-action span { display: none; }
  .lower-grid { grid-template-columns: 1fr; gap: 12px; }
  .trend-chart { padding-inline: 12px; }
  .chart-summary { margin-inline: 12px; }
  .insight-body { padding-inline: 12px; }
  .followup-summary, .pack-kpis, .overview-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack-grid, .analytics-grid { grid-template-columns: 1fr; }
}

/* Operations overview template: KPI row, primary workspace, exception rail, support modules. */
#view-analytics .overview-kpis { margin-bottom: 16px; }
#view-analytics .overview-workspace { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr); gap: 16px; margin-bottom: 16px; }
#view-analytics .overview-workspace > .panel, #view-analytics .overview-support-grid > .panel { min-width: 0; }
#view-analytics .distribution-panel, #view-analytics .action-panel, #view-analytics .overview-support-grid .panel { min-height: 250px; }
#view-analytics .overview-support-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 0; }
#view-analytics .panel-head { padding-bottom: 13px; }
#view-analytics .distribution-bars, #view-analytics .funnel { padding: 13px 16px 0; }
#view-analytics .region-bars { padding: 13px 16px 4px; }
#view-analytics .alert-list { padding: 9px 16px 4px; }
#view-analytics .chart-summary { padding: 13px 16px 15px; }

/* Restored original pack content: category cards + material list, with route-aware files. */
#view-packs .pack-route-context { display: flex; align-items: baseline; gap: 9px; margin: 0 0 16px; color: var(--ca-ink-3); font-size: 12px; line-height: 18px; }
#view-packs .pack-route-context strong { color: var(--ca-ink); font-size: 18px; font-weight: 700; }
#view-packs .pack-route-context small { color: var(--ca-ink-3); font-size: 12px; }
#view-packs .pack-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
#view-packs .pack-category-card { position: relative; display: block; min-width: 0; min-height: 158px; padding: 0; overflow: hidden; border: 1px solid var(--ca-line); border-radius: 12px; background: var(--ca-surface); color: var(--ca-ink); text-align: left; cursor: pointer; box-shadow: var(--ca-shadow-card); }
#view-packs .pack-category-card:hover { border-color: #c8d2e3; box-shadow: var(--ca-shadow-float); }
#view-packs .pack-category-card.is-selected { outline: 2px solid var(--ca-primary); outline-offset: 2px; }
#view-packs .pack-category-visual { display: block; width: 100%; height: 158px; overflow: hidden; background: #e9eef5; }
#view-packs .pack-category-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
#view-packs .pack-category-copy { position: absolute; right: 12px; bottom: 12px; left: 12px; z-index: 1; display: grid; gap: 3px; color: #fff; text-shadow: 0 1px 2px rgb(15 23 42 / 28%); }
#view-packs .pack-category-copy::before { content: ""; position: absolute; inset: -42px -12px -12px; z-index: -1; background: linear-gradient(180deg, transparent, rgb(15 23 42 / 72%)); }
#view-packs .pack-category-copy strong { font-size: 15px; line-height: 20px; font-weight: 700; }
#view-packs .pack-category-copy small { overflow: hidden; color: rgb(255 255 255 / 88%); font-size: 11px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
#view-packs .pack-material-card { overflow: hidden; border: 1px solid var(--ca-line); border-radius: 12px; background: var(--ca-surface); box-shadow: var(--ca-shadow-card); }
#view-packs .pack-material-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 16px; border-bottom: 1px solid var(--ca-line); }
#view-packs .pack-material-head h2 { margin: 0 0 4px; color: var(--ca-ink); font-size: 15px; line-height: 20px; font-weight: 700; }
#view-packs .pack-material-head p { margin: 0; color: var(--ca-ink-3); font-size: 11px; line-height: 16px; }
#view-packs .pack-material-status { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; color: var(--ca-success-ink); font-size: 11px; line-height: 16px; white-space: nowrap; }
#view-packs .pack-material-status svg { width: 14px; height: 14px; }
#view-packs .pack-material-list-head, #view-packs .pack-material-row { display: grid; grid-template-columns: minmax(180px, 1.1fr) minmax(220px, 1.5fr) 110px 100px 128px; gap: 12px; align-items: center; padding: 0 16px; }
#view-packs .pack-material-list-head { min-height: 36px; background: var(--ca-surface-subtle); color: var(--ca-ink-3); font-size: 11px; }
#view-packs .pack-material-row { min-height: 58px; border-bottom: 1px solid var(--ca-line); color: var(--ca-ink-2); font-size: 12px; }
#view-packs .pack-material-row:last-child { border-bottom: 0; }
#view-packs .pack-material-row.is-unavailable { background: #fbfcfd; color: #aab4c2; }
#view-packs .pack-material-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
#view-packs .pack-material-name strong { min-width: 0; overflow: hidden; color: var(--ca-ink); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
#view-packs .pack-material-row.is-unavailable .pack-material-name strong { color: #aab4c2; }
#view-packs .pack-file-type { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 24px; border-radius: 6px; background: var(--ca-primary-soft); color: var(--ca-primary); font-size: 10px; font-weight: 700; }
#view-packs .pack-file-type.is-ai { background: var(--ca-ai-soft); color: var(--ca-ai-ink); }
#view-packs .pack-material-description, #view-packs .pack-material-updated { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-packs .pack-material-updated { color: var(--ca-ink-3); }
#view-packs .pack-material-ready { display: inline-flex; align-items: center; gap: 5px; color: var(--ca-success-ink); font-size: 11px; white-space: nowrap; }
#view-packs .pack-material-ready.is-unavailable { color: #98a4b4; }
#view-packs .pack-material-ready svg { width: 14px; height: 14px; }
#view-packs .pack-material-actions { display: flex; justify-content: flex-end; gap: 7px; }
#view-packs .pack-material-actions button { min-height: 28px; padding: 5px 10px; border: 1px solid var(--ca-line); border-radius: 7px; background: var(--ca-surface); color: var(--ca-ink-2); font-size: 11px; cursor: pointer; }
#view-packs .pack-material-actions button:disabled { cursor: not-allowed; opacity: .45; }
#view-packs .pack-material-all { display: grid; gap: 0; }
#view-packs .pack-material-section { border-bottom: 1px solid var(--ca-line); }
#view-packs .pack-material-section:last-child { border-bottom: 0; }
#view-packs .pack-material-section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 16px 10px; background: #fbfcfd; }
#view-packs .pack-material-section-head h3 { margin: 0 0 3px; color: var(--ca-ink); font-size: 13px; line-height: 18px; font-weight: 700; }
#view-packs .pack-material-section-head p { margin: 0; color: var(--ca-ink-3); font-size: 11px; line-height: 16px; }
#view-packs .pack-material-section-head > span { color: var(--ca-ink-3); font-size: 11px; white-space: nowrap; }
#view-packs .pack-material-section .pack-material-list-head { border-top: 1px solid var(--ca-line); }

@media (max-width: 1023px) {
  #view-packs .pack-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #view-packs .pack-material-list { overflow-x: auto; }
  #view-packs .pack-material-list-head, #view-packs .pack-material-row { min-width: 740px; }
  #view-analytics .overview-workspace { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  #view-packs .pack-route-context { align-items: flex-start; flex-direction: column; gap: 2px; }
  #view-packs .pack-category-grid { gap: 8px; }
  #view-packs .pack-category-card, #view-packs .pack-category-visual { min-height: 126px; height: 126px; }
  #view-packs .pack-material-head { padding: 14px 12px; }
  #view-analytics .overview-support-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Final compact type contract requested for the front and admin previews. */
:root { --type-title: 18px; --type-section: 16px; --type-body: 14px; --type-meta: 12px; }
.topbar { display: none !important; }
.content-wrap { padding-top: 20px !important; }
.page-heading h1, .home-heading h1 { font-size: 18px !important; line-height: 24px !important; }
.panel-head h2, .customer-head h2, .customer-section h3, .insight-body > strong, .pack-material-head h2, .pack-material-section-head h3 { font-size: 16px !important; line-height: 22px !important; }
.page-heading p, .panel-head p, .primary-button, .secondary-button, .small-select, .filter-button, .segmented-control button, .task-customer strong, .task-signal span, .task-action button, .panel-footer-link, .text-button, .customer-section p, .evidence-list div, .next-action strong, .insight-body > p, .resource-customer strong, .feedback-cell, .next-cell, .due-cell, .row-action, .pack-material-row, .pack-material-name strong, .pack-material-description, .heading-actions button { font-size: 14px !important; }
.task-customer small, .task-signal small, .task-action span, .customer-head p, .customer-score span, .score-grade, .readiness span, .updated-label, .chart-summary, .resource-customer small, .region-cell, .owner-cell, .status-chip, .table-footer, .followup-customer small, .pack-material-head p, .pack-material-section-head p, .pack-material-section-head > span, .pack-material-status, .pack-category-copy small, .alert-item small, .alert-item .text-button, .route-card small, .user-block small { font-size: 12px !important; }
.metric-card strong, .score, .customer-score strong, .score-cell, .mini-stat strong, .overview-kpis strong { font-size: 26px !important; }
.metric-label, .mini-stat span, .pack-kpis span, .overview-kpis span { font-size: 14px !important; }
.pack-category-copy strong { font-size: 16px !important; }

/* Hierarchical region picker and route-aware customer briefing. */
.detail-modal { width: min(920px, calc(100vw - 40px)); max-height: none; overflow: visible; }
.detail-modal-card { max-height: none; overflow: visible; }
.detail-overview { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 24px; margin-top: 20px; padding: 18px; border-radius: 12px; background: var(--ca-surface-subtle); }
.detail-overview > div { display: grid; align-content: center; justify-items: start; border-right: 1px solid var(--ca-line); }
.detail-overview > div strong { margin-top: 12px; font-size: 30px; line-height: 1; }
.detail-overview > div small { margin-top: 5px; color: var(--ca-ink-3); font-size: 12px; }
.detail-overview dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 20px; margin: 0; }
.detail-overview dt { color: var(--ca-ink-3); font-size: 12px; }
.detail-overview dd { margin: 4px 0 0; color: var(--ca-ink); font-size: 13px; line-height: 20px; overflow-wrap: anywhere; }
.detail-section { padding: 16px 0; border-bottom: 1px solid var(--ca-line); }
.detail-section h3 { margin: 0 0 7px; font-size: 14px; }
.detail-section p { margin: 0; color: var(--ca-ink-2); font-size: 13px; line-height: 22px; }
.detail-next { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--ca-primary-soft); }
.detail-next span,.detail-next small { color: var(--ca-ink-3); font-size: 12px; }
.detail-next strong { display: block; margin-top: 4px; color: var(--ca-ink); font-size: 14px; }
.company-research-intro { margin-top: 14px; }
.detail-action-bar { margin-inline: -22px; padding: 16px 22px 0; background: var(--ca-surface); }
.detail-action-bar .secondary-button[hidden] { display: none; }
.detail-action-bar .primary-button { min-width: 122px; }
.detail-modal { max-width: calc(100vw - 32px); overflow: hidden; }
.detail-modal-card { display: flex; width: min(900px, calc(100vw - 32px)); max-width: 100%; max-height: min(900px, calc(100vh - 32px)); padding: 24px; overflow: hidden; flex-direction: column; box-sizing: border-box; }
.detail-modal-card > #modalCustomerBody { min-width: 0; overflow-y: auto; overflow-x: hidden; padding-right: 4px; }
.detail-action-bar { flex: 0 0 auto; margin: 0 !important; padding: 16px 0 0 !important; }
.assignment-modal-card { width: min(520px, calc(100vw - 32px)); }
.assignment-field { display: grid; margin-top: 16px; gap: 7px; color: #344054; font-size: 13px; font-weight: 600; }
.assignment-field select, .assignment-field input, .assignment-field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--ui-border); border-radius: 9px; background: #fff; color: #172033; font: inherit; box-sizing: border-box; }
.assignment-note { margin-top: 14px; padding: 11px 12px; border-radius: 9px; background: #f5f7ff; color: #59677a; font-size: 12px; line-height: 18px; }
.region-picker-menu { min-width: 280px; max-height: min(580px, calc(100vh - 150px)); scrollbar-width: thin; scrollbar-color: #aeb8c7 transparent; }
.region-picker-menu::-webkit-scrollbar { width: 3px; }
.region-picker-menu::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.region-picker-menu::-webkit-scrollbar-track { margin-block: 14px; background: transparent; }
.region-picker-menu::-webkit-scrollbar-thumb { min-height: 30px; border-radius: 99px; background: #aeb8c7; }
.region-option { grid-template-columns: 18px minmax(0,1fr) 14px; padding-inline: 12px; white-space: nowrap; writing-mode: horizontal-tb; }
.region-option.level-1 { padding-inline-start: 28px; }
.region-option.level-2 { padding-inline-start: 46px; }
.region-toggle,.region-toggle-placeholder { display: inline-grid; place-items: center; width: 18px; height: 18px; }
.region-toggle[aria-expanded="true"] { transform: rotate(90deg); }
.home-recommendation-loading .primary-button { margin-top: 16px; }
@media (max-width:640px){.detail-overview{grid-template-columns:1fr}.detail-overview>div{padding-bottom:14px;border-right:0;border-bottom:1px solid var(--ca-line)}.detail-overview dl{grid-template-columns:1fr}.detail-next{align-items:flex-start;flex-direction:column}}

/* OCTANS brand alignment and one-screen home density. */
.brand-block { padding: 0 12px 0; }
.brand { display: block; width: 156px; height: 34px; }
.brand-logo { display: block; width: 138px; height: auto; max-height: 42px; object-fit: contain; object-position: left center; }
.main-nav { margin-top: 70px; }
#view-home .dashboard-layout { min-height: 0 !important; gap: 12px; }
#view-home .lower-grid { flex: 0 0 auto !important; gap: 12px; margin-top: 12px; }
#view-home .task-row { min-height: 62px !important; padding-top: 8px !important; padding-bottom: 8px !important; }
#view-home .panel-footer-link { padding-top: 10px; padding-bottom: 10px; }
#view-home .lower-grid > .panel { height: 284px !important; min-height: 0; }
#view-home .trend-panel .trend-chart { height: 194px !important; margin-top: 0 !important; padding-top: 8px; }
#view-home .insight-body { min-height: 0; padding: 0 16px 14px; }
#view-home .insight-body .advice-paragraph { display: -webkit-box; margin: 8px 0 10px; overflow: hidden; font-size: 13px !important; line-height: 21px !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
#view-home .insight-evidence { gap: 2px; padding: 8px 10px; }
#view-home .insight-evidence > span { font-size: 12px !important; line-height: 18px !important; }
#view-home .insight-evidence b { overflow: hidden; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
#view-home .customer-section { padding-top: 12px; padding-bottom: 12px; }
#view-home .customer-card { min-height: 0; }
.trend-point-hit { cursor: crosshair; }
.trend-point-marker { shape-rendering: geometricPrecision; }

@media (max-width: 767px) {
  .content-wrap { padding-top: 16px !important; }
  .page-heading h1, .home-heading h1 { font-size: 18px !important; }
  .panel-head h2, .customer-head h2, .customer-section h3 { font-size: 16px !important; }
}

/* AIOS UI foundation v2: role-based type, local font rendering and semantic color. */
:root {
  --ui-font: "AIOS UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --ui-canvas: #f4f6f9;
  --ui-surface: #ffffff;
  --ui-surface-subtle: #f8fafc;
  --ui-surface-active: #eef2f7;
  --ui-border: #e2e7ee;
  --ui-border-strong: #cfd7e3;
  --ui-text: #101828;
  --ui-text-secondary: #475467;
  --ui-text-muted: #7a8699;
  --ui-brand: #3e5abd;
  --ui-brand-hover: #334ca9;
  --ui-brand-soft: #eef1ff;
  --ui-success: #168a63;
  --ui-success-soft: #e8f7f1;
  --ui-warning: #b76a00;
  --ui-warning-soft: #fff5e2;
  --ui-danger: #c73a4d;
  --ui-danger-soft: #fff0f2;
  --ui-info: #1677a3;
  --ui-info-soft: #eaf6fb;
  --ui-ai: #6757d9;
  --ui-ai-soft: #f1efff;
  --ca-bg: var(--ui-canvas);
  --ca-surface: var(--ui-surface);
  --ca-surface-subtle: var(--ui-surface-subtle);
  --ca-ink: var(--ui-text);
  --ca-ink-2: var(--ui-text-secondary);
  --ca-ink-3: var(--ui-text-muted);
  --ca-line: var(--ui-border);
  --ca-primary: var(--ui-brand);
  --ca-primary-hover: var(--ui-brand-hover);
  --ca-primary-soft: var(--ui-brand-soft);
  --ca-success: var(--ui-success);
  --ca-success-soft: var(--ui-success-soft);
  --ca-success-ink: var(--ui-success);
  --ca-warning: var(--ui-warning);
  --ca-warning-soft: var(--ui-warning-soft);
  --ca-critical: var(--ui-danger);
  --ca-critical-soft: var(--ui-danger-soft);
  --ca-ai: var(--ui-ai);
  --ca-ai-soft: var(--ui-ai-soft);
  --ink: var(--ui-text);
  --muted: var(--ui-text-secondary);
  --muted-2: var(--ui-text-muted);
  --line: var(--ui-border);
  --line-strong: var(--ui-border-strong);
  --surface: var(--ui-surface);
  --page-bg: var(--ui-canvas);
  --blue-50: var(--ui-brand-soft);
  --blue-500: var(--ui-brand);
  --blue-600: var(--ui-brand);
  --blue-700: var(--ui-brand-hover);
  --green: var(--ui-success);
  --green-bg: var(--ui-success-soft);
  --amber: var(--ui-warning);
  --amber-bg: var(--ui-warning-soft);
}

html, body, button, input, select, textarea { font-family: var(--ui-font) !important; font-synthesis: none; font-kerning: normal; }
*, *::before, *::after { letter-spacing: 0 !important; }
body { color: var(--ui-text); background: var(--ui-canvas); font-size: 14px; line-height: 20px; -webkit-font-smoothing: auto; text-rendering: optimizeLegibility; }
h1, h2, h3, strong, b { letter-spacing: 0 !important; }
.page-heading h1, .home-heading h1 { color: var(--ui-text); font-size: 18px !important; line-height: 24px !important; font-weight: 700; }
.panel-head h2, .customer-head h2, .modal-head h2, #view-packs .pack-material-head h2 { color: var(--ui-text); font-size: 16px !important; line-height: 22px !important; font-weight: 700; }
.customer-section h3, .insight-body > strong, .task-customer strong, .task-signal span, .resource-customer strong, .followup-customer strong, #view-packs .pack-material-name strong, #view-packs .pack-material-section-head h3, .alert-item b, .next-action strong { color: var(--ui-text); font-size: 14px !important; line-height: 20px !important; font-weight: 600; }
.primary-button, .secondary-button, .small-select, .filter-button, .segmented-control button, .task-action button, .panel-footer-link, .text-button, .row-action, .heading-actions button, .route-switch button, .nav-item span { font-size: 14px !important; line-height: 20px !important; font-weight: 600; }
.customer-section p, .evidence-list div, .insight-body > p, .insight-evidence b, .feedback-cell, .next-cell, .due-cell, #view-packs .pack-material-row, #view-packs .pack-material-description, .modal-detail-note { color: var(--ui-text-secondary); font-size: 14px !important; line-height: 22px !important; font-weight: 400; }
.page-heading p, .panel-head p, .task-customer small, .task-signal small, .task-action span, .customer-head p, .customer-score span, .score-grade, .readiness span, .updated-label, .chart-summary, .resource-customer small, .region-cell, .owner-cell, .status-chip, .table-footer, .followup-customer small, #view-packs .pack-material-head p, #view-packs .pack-material-section-head p, #view-packs .pack-material-section-head > span, #view-packs .pack-material-status, .pack-category-copy small, .alert-item small, .route-card small, .user-block small, .score small { color: var(--ui-text-muted); font-size: 12px !important; line-height: 18px !important; font-weight: 400; }
.score, .customer-score strong { color: var(--ui-text); font-size: 26px !important; line-height: 30px !important; font-weight: 700; font-variant-numeric: tabular-nums; }
.overview-kpis strong, .metric-card strong, .mini-stat strong, .score-cell { color: var(--ui-text); font-size: 24px !important; line-height: 28px !important; font-weight: 700; font-variant-numeric: tabular-nums; }

.primary-button { border-color: var(--ui-brand) !important; background: var(--ui-brand) !important; background-image: none !important; color: #fff !important; box-shadow: 0 4px 10px rgb(62 90 189 / 16%) !important; }
.primary-button:hover { border-color: var(--ui-brand-hover) !important; background: var(--ui-brand-hover) !important; }
.secondary-button, .small-select, .filter-button { border-color: var(--ui-border-strong) !important; background: var(--ui-surface) !important; color: var(--ui-text-secondary) !important; box-shadow: none !important; }
.text-button, .panel-footer-link, .row-action { color: var(--ui-brand) !important; }
.panel, .customer-card, #view-packs .pack-material-card { border-color: var(--ui-border) !important; background: var(--ui-surface) !important; box-shadow: 0 1px 2px rgb(16 24 40 / 4%) !important; }
.task-row:hover, .task-row.is-selected { background: var(--ui-surface-subtle) !important; }
.task-action button { background: var(--ui-brand-soft) !important; color: var(--ui-brand) !important; }
.segmented-control { background: var(--ui-surface-active) !important; }
.segmented-control button.is-active { background: var(--ui-surface) !important; color: var(--ui-text) !important; }
.tier-s, .customer-tier.tier-s { background: var(--ui-danger-soft) !important; color: var(--ui-danger) !important; }
.tier-a, .customer-tier.tier-a { background: var(--ui-warning-soft) !important; color: var(--ui-warning) !important; }
.tier-b, .customer-tier.tier-b { background: var(--ui-info-soft) !important; color: var(--ui-info) !important; }
.score-meter { background: var(--ui-surface-active) !important; }
.score-meter-fill { background: var(--ui-brand) !important; }
.score-grade { color: var(--ui-success) !important; font-weight: 600; }
.readiness span { background: var(--ui-surface-subtle) !important; color: var(--ui-text-muted) !important; }
.readiness span.is-ready { background: var(--ui-success-soft) !important; color: var(--ui-success) !important; font-weight: 500; }
.insight-panel { background: var(--ui-surface) !important; }
.spark-label svg { color: var(--ui-ai) !important; }
.insight-evidence { border: 1px solid #ded9ff; background: var(--ui-ai-soft) !important; box-shadow: none !important; }
.insight-evidence span { color: var(--ui-ai) !important; }

.dashboard-layout { align-items: stretch !important; }
.customer-panel { position: static !important; display: flex; align-self: stretch; min-height: 100%; }
.customer-card { display: flex !important; flex-direction: column; width: 100%; min-height: 100%; }
.customer-section h3 { margin-bottom: 8px; }
.customer-facts dl { display: grid; gap: 0; margin: 0; }
.customer-facts dl > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 7px 0; }
.customer-facts dt { color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }
.customer-facts dd { margin: 0; color: var(--ui-text-secondary); font-size: 14px; line-height: 20px; font-weight: 500; overflow-wrap: anywhere; }
.customer-footer { margin-top: auto !important; padding-top: 16px; }
#view-packs .pack-material-ready:not(.is-unavailable), #view-packs .pack-material-status { color: var(--ui-success) !important; }
#view-packs .pack-file-type.is-ai { background: var(--ui-ai-soft) !important; color: var(--ui-ai) !important; }

/* GEO scores use the original continuous scale on both business routes. */
.geo-score-value { color: var(--geo-score-color) !important; }
.score-meter-fill { background: var(--geo-score-color) !important; }
.score-meter.is-pending .score-meter-fill { background: var(--ui-border-strong) !important; opacity: .72; }

/* Direction arrows are intentionally absent across the experiment UI. */
svg:has(use[href="#i-arrow"]) { display: none !important; }

.route-card { padding: 8px; }
.route-switch { margin: 0; }

.task-panel .segmented-control { display: none !important; }
.insight-body > .text-button { display: none !important; }
.insight-body { display: flex; flex-direction: column; min-height: 236px; }
.advice-grid { display: grid; gap: 0; margin: 12px 0; border-top: 1px solid var(--ui-border); }
.advice-grid > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--ui-border); }
.advice-grid span { color: var(--ui-text-muted); font-size: 12px; line-height: 20px; }
.advice-grid b { color: var(--ui-text-secondary); font-size: 14px; line-height: 20px; font-weight: 500; }
.insight-body .insight-evidence { margin-top: auto; }

/* Filled icon language shared by navigation, actions and statuses. */
.nav-item svg, .evidence-list svg, .readiness svg, .spark-label svg,
.primary-button svg, .upload-zone svg, .import-note svg, .pack-material-ready svg,
.pack-material-status svg, .alert-icon svg {
  fill: currentColor !important;
  stroke: none !important;
}
svg:has(use[href="#i-menu"]), svg:has(use[href="#i-search"]),
svg:has(use[href="#i-upload"]), svg:has(use[href="#i-close"]),
svg:has(use[href="#i-more"]), svg:has(use[href="#i-filter"]),
svg:has(use[href="#i-phone"]), svg:has(use[href="#i-bell"]) {
  fill: currentColor !important;
  stroke: none !important;
}
.nav-item svg { width: 18px; height: 18px; }

/* Homepage hierarchy after removing the page title. */
#view-home { padding-top: 0; }
#view-home .dashboard-layout { margin-top: 0; }
.task-row { grid-template-columns: 30px minmax(170px, 1.22fr) minmax(170px, 1fr) 80px 64px; }
.task-action { justify-content: flex-end; }

/* Lower the plot into the available card space without changing its data. */
.trend-panel .trend-chart { margin-top: 32px; }

.insight-body { min-height: 268px; }
.insight-body .advice-paragraph {
  margin: 14px 0 18px;
  color: var(--ui-text-secondary);
  font-size: 14px !important;
  line-height: 24px !important;
}

.aios-tabler { display: inline-block; flex: 0 0 auto; width: 1em; height: 1em; vertical-align: -.125em; shape-rendering: geometricPrecision; text-rendering: geometricPrecision; }
.aios-tabler[data-aios-icon^="arrow"], .aios-tabler[data-aios-icon^="chevron"] { display: none !important; }

/* Tabler: linear navigation/actions, filled semantic states. */
.nav-item .aios-tabler { width: 18px; height: 18px; align-self: center; }
.evidence-list .aios-tabler, .readiness .aios-tabler, .pack-material-ready .aios-tabler, .pack-material-status .aios-tabler { width: 18px !important; height: 18px !important; align-self: center; display: block; opacity: 1; }
.spark-label .aios-tabler { width: 18px !important; height: 18px !important; align-self: center; }
.alert-icon .aios-tabler, .metric-icon .aios-tabler { width: 20px !important; height: 20px !important; align-self: center; }

/* Override the legacy sprite rules: they must never flatten Tabler outline icons. */
.aios-tabler[data-tabler-theme="outline"] { fill: none !important; stroke: currentColor !important; stroke-width: 2 !important; }
.aios-tabler[data-tabler-theme="filled"] { fill: currentColor !important; stroke: none !important; }
.aios-tabler[data-tabler-theme="filled"] { shape-rendering: geometricPrecision; }

/* Trend interaction: the plot sits lower in the card and exposes seven readable hover targets. */
.trend-panel .panel-head .small-select { display: none !important; }
.trend-panel .trend-chart { height: 238px; margin-top: 32px !important; padding-top: 18px; box-sizing: border-box; }
.trend-panel .chart-main { overflow: visible; }
.trend-panel .chart-main svg { overflow: visible; }
.trend-hover-guide { display: none; pointer-events: none; stroke: #98a2b3; stroke-width: 1; stroke-dasharray: 3 3; opacity: .82; vector-effect: non-scaling-stroke; }
.trend-hover-guide.is-visible { display: block; }
.trend-point-hit { fill: transparent; stroke: none; cursor: pointer; }
.trend-point-marker { fill: var(--ui-surface); stroke: var(--ui-brand); stroke-width: 2; opacity: 0; pointer-events: none; vector-effect: non-scaling-stroke; transition: opacity .16s ease, r .16s ease; }
.trend-point-node:hover .trend-point-marker, .trend-point-node.is-active .trend-point-marker { opacity: 1; }
.trend-tooltip { position: fixed; z-index: 40; width: 218px; padding: 12px 14px; border: 1px solid var(--ui-border); border-radius: 10px; background: var(--ui-surface); color: var(--ui-text); box-shadow: 0 16px 32px rgb(16 24 40 / 30%); opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity .16s ease, transform .16s ease; }
.trend-tooltip.show { opacity: 1; transform: translateY(0); }
.trend-tooltip strong, .trend-tooltip b, .trend-tooltip span, .trend-tooltip small { display: block; }
.trend-tooltip strong { color: var(--ui-text-muted); font-size: 12px; line-height: 18px; font-weight: 500; }
.trend-tooltip b { margin-top: 3px; color: var(--ui-brand); font-size: 16px; line-height: 22px; font-weight: 700; }
.trend-tooltip span { margin-top: 5px; color: var(--ui-text-secondary); font-size: 12px; line-height: 18px; }
.trend-tooltip small { margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--ui-border); color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }

/* All system messages use the same white floating surface. */
.toast { right: 24px !important; bottom: 24px !important; padding: 11px 15px !important; border-color: var(--ui-border) !important; border-radius: 10px !important; background: var(--ui-surface) !important; color: var(--ui-text-secondary) !important; box-shadow: 0 16px 32px rgb(16 24 40 / 30%) !important; font-size: 14px !important; line-height: 20px !important; }

/* AI recommendation title and shared list density/hover behavior. */
.brand-word { color: var(--ui-text) !important; font-size: 16px !important; line-height: 22px !important; font-weight: 700 !important; letter-spacing: 0 !important; }
.insight-panel .panel-head h2, .insight-panel .spark-label { font-size: 16px !important; line-height: 22px !important; font-weight: 700 !important; }
.task-row { min-height: 76px !important; padding-top: 14px !important; padding-bottom: 14px !important; transition: background .16s ease, box-shadow .16s ease; }
.task-row:hover, .task-row.is-selected { background: #f5f7ff !important; box-shadow: inset 3px 0 0 var(--ui-brand); }
.resource-table .data-row:not(.data-head), .followup-table .data-row:not(.data-head) { min-height: 78px; padding-top: 13px; padding-bottom: 13px; transition: background .16s ease, box-shadow .16s ease; }
.resource-table .data-row:not(.data-head):hover, .followup-table .data-row:not(.data-head):hover { background: #f5f7ff !important; box-shadow: inset 3px 0 0 var(--ui-brand); }
.nav-item, .evidence-list div, .readiness span, .spark-label, .primary-button, .secondary-button, .filter-button, .text-button, .panel-footer-link, .row-action { align-items: center; }

/* The trend footer repeats the chart's message and is intentionally removed from the home card. */
.trend-panel > .chart-summary { display: none !important; }

/* The resource import action is text-led; keep the upload glyph inside the modal only. */
#view-resources .heading-actions .primary-button .aios-tabler { display: none !important; }

/* Keep funnel labels readable as one semantic unit. */
#view-analytics .funnel span { white-space: nowrap; }

/* Selected navigation icons use one semantic accent per destination. */
.nav-item.is-active:nth-child(1) .aios-tabler { color: #3e5abd !important; }
.nav-item.is-active:nth-child(2) .aios-tabler { color: #168a63 !important; }
.nav-item.is-active:nth-child(3) .aios-tabler { color: #b76a00 !important; }
.nav-item.is-active:nth-child(4) .aios-tabler { color: #6757d9 !important; }
.nav-item.is-active:nth-child(5) .aios-tabler { color: #c73a4d !important; }

/* Keep SVG point markers visually circular even though the chart canvas is non-uniformly scaled. */
.trend-endpoint { fill: var(--ui-brand-hover); stroke: var(--ui-surface); stroke-width: 3; vector-effect: non-scaling-stroke; }

/* Selected rows retain the calm surface change without a decorative blue rail. */
.task-row:hover, .task-row.is-selected,
.resource-table .data-row:not(.data-head):hover, .followup-table .data-row:not(.data-head):hover { box-shadow: none !important; }

/* Route-aware resource actions: market adds a dedicated relationship column. */
.resource-table .data-row { grid-template-columns: minmax(220px, 1.5fr) minmax(125px, 1fr) 82px 74px 112px 84px; }
.resource-table.is-market .data-row { grid-template-columns: minmax(220px, 1.5fr) minmax(125px, 1fr) 82px 74px 112px 84px 84px; }
.resource-table .data-head > span:last-child,
.resource-table.is-market .data-head > span:nth-last-child(-n + 2) { text-align: center; }
.resource-action-cell { display: flex; align-items: center; justify-content: center; }
.resource-action-cell .row-action { white-space: nowrap; }

/* Navigation counts are not part of the action label. */
.main-nav .nav-item em { display: none !important; }

/* The evidence label is a section title, not secondary metadata. */
.insight-evidence > span { color: var(--ui-ai) !important; font-size: 14px !important; line-height: 20px !important; font-weight: 700 !important; }

/* The chart is intentionally anchored lower in its support card, leaving the title area calm. */
.trend-panel .trend-chart { height: 258px; margin-top: 14px !important; padding-top: 18px; }

@media (min-width: 1181px) {
  .content-wrap:has(#view-home.is-active) { padding-bottom: 16px; }
}

@media (min-width: 1181px) {
  #view-home .dashboard-layout { height: calc(100vh - 40px); min-height: 740px; align-items: stretch; }
  #view-home .dashboard-primary { display: grid; min-height: 0; grid-template-rows: minmax(0, 1fr) 284px; gap: 12px; }
  #view-home .task-panel { display: flex; min-height: 0; flex-direction: column; }
  #view-home #homeTasks { display: grid; min-height: 0; flex: 1 1 auto; grid-template-rows: repeat(5, minmax(0, 1fr)); }
  #view-home #homeTasks .task-row { min-height: 0 !important; height: auto; padding-top: 9px !important; padding-bottom: 9px !important; }
  #view-home .lower-grid { min-height: 0; margin-top: 0; }
  #view-home .lower-grid > .panel { height: 100%; min-height: 0; }
  #view-home .customer-panel, #view-home .customer-card { height: 100%; min-height: 0; }
  #view-home .customer-card { display: flex; overflow: auto; flex-direction: column; scrollbar-width: none; }
  #view-home .customer-card::-webkit-scrollbar { display: none; width: 0; height: 0; }
  #view-home .customer-action-dock { position: sticky; z-index: 3; bottom: 0; margin-top: auto; padding-top: 12px; background: var(--ui-surface); box-shadow: 0 -12px 18px var(--ui-surface); }
  #view-home .pack-readiness-section { margin-top: 0; padding-top: 16px; border-top: 1px solid var(--ui-border); }
  #view-home .customer-footer { margin-top: 12px !important; padding-top: 12px; border-top: 1px solid var(--ui-border); }
  #view-home .insight-body { overflow: hidden; }
  #view-home .advice-paragraph { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 6; }
}

.drawer-backdrop { position: fixed; z-index: 109; inset: 0; background: rgb(16 24 40 / 24%); }
.material-drawer { position: fixed; inset: 0 0 0 auto; display: flex; width: min(520px, 94vw); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; flex-direction: column; overflow: hidden; border: 0; border-left: 1px solid var(--ui-border); border-radius: 0; background: var(--ui-surface); box-shadow: -12px 0 36px rgb(16 24 40 / 18%); transform: translateX(100%); opacity: 0; transition: transform .22s cubic-bezier(.2,.8,.2,1),opacity .16s ease; }
.material-drawer::backdrop { background: rgb(16 24 40 / 34%); backdrop-filter: blur(1px); }
.material-drawer.is-open { transform: translateX(0); opacity: 1; }
@media (max-width: 560px) { .material-drawer { width: 100vw; } }
.material-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--ui-border); }
.material-drawer,.readiness-card { font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif !important; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.material-drawer-head h2 { margin: 0; color: #101828; font-size: 18px; line-height: 26px; font-weight: 700; letter-spacing: 0; }
.material-drawer-head p { margin: 4px 0 0; color: #667085; font-size: 12px; line-height: 18px; font-weight: 400; }
.material-drawer-body { display: flex; overflow-y: auto; padding: 20px 24px; flex: 1; flex-direction: column; gap: 10px; }
.material-drawer-summary { display: flex; margin-bottom: 8px; padding: 14px 16px; flex-direction: column; gap: 4px; border-radius: 12px; background: #f5f7ff; }
.material-drawer-summary strong { color: #101828; font-size: 14px; line-height: 20px; font-weight: 700; }
.material-drawer-summary span { color: #667085; font-size: 12px; line-height: 18px; }
.drawer-material-item { display: grid; align-items: center; padding: 14px 0; grid-template-columns: 36px minmax(0,1fr) auto; gap: 12px; border-bottom: 1px solid var(--ui-border); }
.drawer-material-item p { margin: 3px 0 0; color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }
.drawer-material-item > b { color: var(--ui-text-muted); font-size: 12px; }
.drawer-material-status { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #f5f6f7; color: #8792a2; }
.drawer-material-status.is-ready { background: #edf8f3; color: #18865b; }
.drawer-material-status svg { width: 17px; height: 17px; }
.material-drawer-foot { display: grid; padding: 16px 24px 24px; grid-template-columns: 1fr; gap: 10px; border-top: 1px solid var(--ui-border); }
.pack-readiness-section { padding-bottom: 14px; }
.readiness.readiness-cards { display: grid; margin-top: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.readiness-card { display: grid; min-width: 0; min-height: 62px; padding: 10px; grid-template-columns: 26px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 8px; border: 1px solid var(--ui-border); border-radius: 9px; background: #fff; color: var(--ui-text); text-align: left; }
.readiness-card:hover { border-color: #b8c5e8; background: #f8faff; }
.readiness-card > span { display: grid; width: 26px; height: 26px; grid-row: 1/3; place-items: center; border-radius: 7px; background: #f3f5f8; color: #8a95a5; }
.readiness-card > span svg { width: 14px; height: 14px; }
.readiness-card.is-ready > span { background: #edf8f3; color: #18865b; }
.readiness-card.is-running > span { background: #eef2ff; color: var(--ui-brand); }
.readiness-card strong { overflow: hidden; color: #101828; font-size: 14px; line-height: 20px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.readiness-card small { color: #667085; font-size: 12px; line-height: 18px; }
.readiness-card.is-ready { border-color: #b9dfd0; background: #f7fcfa; }
.readiness-card.is-ready strong,.readiness-card.is-ready small { color: #18794e; }
.readiness-card.is-ready > span { background: #e7f6ef; color: #16845b; }
.readiness-card.is-ready > span .aios-tabler { width: 18px !important; height: 18px !important; color: #16845b !important; fill: #16845b !important; opacity: 1 !important; }
.material-groups { display: grid; gap: 10px; }
.material-group { overflow: hidden; border: 1px solid var(--ui-border); border-radius: 11px; background: #fff; }
.material-group-head { display: grid; width: 100%; min-height: 58px; padding: 0 15px; grid-template-columns: 24px minmax(0,1fr) auto auto 14px; align-items: center; gap: 9px; background: #fff; color: var(--ui-text); text-align: left; }
.material-group-head:hover { background: #f8faff; }
.material-group-head > span { color: var(--ui-brand); }
.material-group-head > span svg { width: 16px; height: 16px; }
.material-group-head strong { color: #101828; font-size: 15px; line-height: 21px; font-weight: 650; }
.material-group-head small,.material-group-head b { color: #475467; font-size: 13px; line-height: 19px; font-weight: 500; }
.material-group:has(.material-file-row) { border-color: #c6e3d7; }
.material-group:has(.material-file-row) .material-group-head > span { color: #16845b; }
.material-group:has(.material-file-row) .material-group-head > span .aios-tabler { width: 17px !important; height: 17px !important; color: #16845b !important; fill: #16845b !important; opacity: 1 !important; }
.material-group:has(.material-file-row) .material-group-head b { color: #16845b; font-weight: 700; }
.material-group-head > svg { width: 13px; height: 13px; transform: rotate(90deg); transition: transform .16s ease; }
.material-group.is-expanded .material-group-head > svg { transform: rotate(-90deg); }
.material-group-head::after { content: "›"; color: #7f8a9a; font-size: 18px; line-height: 1; transform: rotate(90deg); transition: transform .16s ease; }
.material-group.is-expanded .material-group-head::after { transform: rotate(-90deg); }
.material-group-content { display: none; padding: 0 12px 12px; }
.material-group.is-expanded .material-group-content { display: grid; gap: 8px; }
.material-file-row { display: grid; min-width: 0; padding: 11px; grid-template-columns: 36px minmax(0,1fr); gap: 10px; border: 1px solid #edf0f5; border-radius: 9px; background: #fbfcfe; }
.material-file-type { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 8px; background: #eef2ff; color: var(--ui-brand); font-size: 9px; font-weight: 800; }
.material-file-row > div { min-width: 0; }
.material-file-row > div > strong { display: block; overflow: hidden; color: #101828; font-size: 14px; line-height: 20px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.material-file-row > div > small { display: block; margin-top: 2px; color: #667085; font-size: 12px; line-height: 18px; }
.material-file-actions { display: flex; grid-column: 2; justify-content: flex-end; gap: 5px; }
.material-file-actions button { min-height: 30px; padding: 4px 9px; border-radius: 6px; color: var(--ui-brand); font-size: 13px; font-weight: 600; }
.material-file-actions button:hover { background: #eef2ff; }
.material-empty { display: grid; min-height: 132px; padding: 20px 14px; place-items: center; align-content: center; text-align: center; }
.material-empty > span { display:grid; width:36px; height:36px; place-items:center; border-radius:50%; background:#eef2ff; color:#4560c4; }
.material-empty > span svg { width:20px; height:20px; stroke-width:2.2; }
.material-empty strong { margin-top: 10px; color: #101828; font-size: 15px; line-height: 22px; font-weight:650; }
.material-empty p { margin: 6px 0 12px; max-width: 34ch; color: #475467; font-size: 13px; line-height: 20px; }
.material-empty > small { margin-top: 8px; color: #667085; font-size: 12px; line-height:18px; }
.generate-solution-button { min-height: 34px; padding: 0 12px; }
.solution-empty { display: grid; min-height: 124px; padding: 18px 14px; grid-template-columns: 38px minmax(0,1fr); align-items: start; gap: 12px; border: 1px solid #e6eaf1; border-radius: 9px; background: #fbfcfe; text-align: left; }
.solution-empty > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; background: #eef2ff; color: var(--ui-brand); }
.solution-empty > span svg { width: 19px; height: 19px; }
.solution-empty > div { min-width: 0; }
.solution-empty strong { display: block; color: #101828; font-size: 14px; line-height: 21px; font-weight: 650; }
.solution-empty p { margin: 4px 0 0; max-width: 46ch; color: #667085; font-size: 12px; line-height: 19px; }
.solution-empty .generate-solution-button { grid-column: 1 / -1; width: 100%; margin-top: 2px; }
.solution-empty > small { grid-column: 1 / -1; color: #667085; font-size: 11px; line-height: 17px; text-align: center; }
.solution-progress { min-height: 124px; padding: 18px; border: 1px solid #d9e2f5; border-radius: 9px; background: #f8faff; }
.solution-progress-head { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 12px; }
.solution-progress-head > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; background: #e9efff; color: var(--ui-brand); }
.solution-progress-head > span svg { width: 19px; height: 19px; }
.solution-progress-head strong { display: block; color: #101828; font-size: 14px; line-height: 21px; }
.solution-progress-head p { margin: 2px 0 0; color: #667085; font-size: 12px; line-height: 18px; }
.solution-progress-head > b { color: var(--ui-brand); font-size: 16px; font-variant-numeric: tabular-nums; }
.solution-progress-track { height: 7px; margin-top: 14px; overflow: hidden; border-radius: 7px; background: #e5eaf3; }
.solution-progress-track i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--ui-brand); transform: scaleX(var(--solution-progress,0)); transform-origin: left center; transition: transform .3s ease; }
.solution-progress > small { display: block; margin-top: 8px; color: #667085; font-size: 11px; line-height: 17px; }
@media (max-width: 640px) { .solution-empty { grid-template-columns: 38px minmax(0,1fr); } }
.solution-empty.is-input-required { border-color: #f0d5ad; background: #fffaf3; }
.solution-empty.is-input-required > span { background: #fff0d9; color: #b76612; }

.proposal-input-modal { width: min(660px, calc(100vw - 32px)); max-width: none; padding: 0; overflow: visible; border-radius: 22px; }
.proposal-input-card { width: 100%; max-width: none; max-height: min(820px, calc(100vh - 32px)); padding: 0; overflow: auto; border-radius: 22px; }
.proposal-input-head { display: grid; padding: 24px 26px 18px; grid-template-columns: 44px minmax(0,1fr) 36px; align-items: start; gap: 13px; border-bottom: 1px solid #edf0f5; }
.proposal-input-alert { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 11px; background: #eef2ff; color: var(--ui-brand); }
.proposal-input-alert svg { width: 21px; height: 21px; }
.proposal-input-head span { display: block; margin-bottom: 3px; color: var(--ui-brand); font-size: 12px; line-height: 18px; font-weight: 700; }
.proposal-input-head h2 { margin: 0; color: #101828; font-size: 20px; line-height: 29px; font-weight: 700; }
.proposal-input-head p { margin: 4px 0 0; color: #667085; font-size: 13px; line-height: 20px; }
.proposal-input-reason { margin: 18px 26px 0; padding: 13px 15px; border: 1px solid #f0d5ad; border-radius: 9px; background: #fffaf3; }
.proposal-input-reason strong { color: #934b0c; font-size: 13px; line-height: 20px; }
.proposal-input-reason p { margin: 3px 0 0; color: #6f4a24; font-size: 12px; line-height: 19px; }
.proposal-input-fields { display: grid; padding: 18px 26px 4px; gap: 15px; }
.proposal-input-fields > label,.proposal-source-details label { display: grid; gap: 6px; color: #344054; font-size: 13px; line-height: 20px; font-weight: 650; }
.proposal-input-fields label span b { margin-left: 6px; color: #d92d20; font-size: 11px; font-weight: 650; }
.proposal-input-fields label span em { margin-left: 6px; color: #667085; font-size: 11px; font-style: normal; font-weight: 500; }
.proposal-input-fields input,.proposal-input-fields textarea { width: 100%; padding: 10px 12px; border: 1px solid #d6dbe4; border-radius: 8px; outline: none; background: #fff; color: #101828; font: inherit; font-size: 14px; line-height: 21px; box-sizing: border-box; transition: border-color .16s ease, box-shadow .16s ease; }
.proposal-input-fields textarea { min-height: 82px; resize: vertical; }
.proposal-input-fields input:focus,.proposal-input-fields textarea:focus { border-color: var(--ui-brand); box-shadow: 0 0 0 3px rgba(27,75,229,.11); }
.proposal-input-fields label > small { color: #667085; font-size: 11px; line-height: 17px; font-weight: 400; }
.proposal-source-details { overflow: hidden; border: 1px solid #e3e7ee; border-radius: 9px; background: #fbfcfe; }
.proposal-source-details summary { padding: 11px 13px; color: #475467; font-size: 13px; line-height: 20px; font-weight: 600; cursor: pointer; }
.proposal-source-details[open] summary { border-bottom: 1px solid #e8ebf0; }
.proposal-source-details > div { display: grid; padding: 13px; grid-template-columns: 1fr 1fr; gap: 12px; }
.proposal-input-error { margin: 10px 26px 0; padding: 10px 12px; border-radius: 8px; background: #fff1f0; color: #b42318; font-size: 12px; line-height: 19px; }
.proposal-input-foot { margin-top: 18px; padding: 16px 26px 20px; justify-content: space-between; border-top: 1px solid #edf0f5; }
.proposal-input-foot > span { max-width: 29ch; color: #667085; font-size: 11px; line-height: 17px; }
.proposal-input-foot > div { display: flex; gap: 9px; }
.proposal-input-modal button:focus-visible,.proposal-source-details summary:focus-visible { outline: 2px solid var(--ui-brand); outline-offset: 2px; }
@media (max-width: 640px) {
  .proposal-input-modal { width: calc(100vw - 20px); }
  .proposal-input-card { max-height: calc(100vh - 20px); border-radius: 16px; }
  .proposal-input-head { padding: 19px 17px 15px; grid-template-columns: 38px minmax(0,1fr) 32px; gap: 10px; }
  .proposal-input-alert { width: 38px; height: 38px; }
  .proposal-input-head h2 { font-size: 18px; line-height: 26px; }
  .proposal-input-reason { margin: 14px 17px 0; }
  .proposal-input-fields { padding: 15px 17px 2px; }
  .proposal-input-fields input,.proposal-input-fields textarea { font-size: 16px; }
  .proposal-source-details > div { grid-template-columns: 1fr; }
  .proposal-input-error { margin-inline: 17px; }
  .proposal-input-foot { padding: 14px 17px 17px; align-items: stretch; flex-direction: column; }
  .proposal-input-foot > span { max-width: none; }
  .proposal-input-foot > div { display: grid; grid-template-columns: 1fr 1.35fr; }
}
.material-drawer-foot .primary-button:disabled { background: #dce2ef; color: #7d8899; box-shadow: none; cursor: not-allowed; }

.user-avatar { border: 0; cursor: pointer; }
.customer-alert-bell { position: relative; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; flex: 0 0 auto; border: 0; border-radius: 7px; background: transparent !important; color: #8a95a5; box-shadow: none !important; transition: color .18s ease; }
.customer-alert-bell .aios-tabler,.customer-alert-bell svg { width: 20px !important; height: 20px !important; color: currentColor !important; stroke: currentColor !important; stroke-width: 2.2 !important; opacity: 1 !important; shape-rendering: geometricPrecision; }
.customer-alert-bell.has-unread { border: 0; background: transparent !important; color: #e12d3f !important; box-shadow: none !important; animation: customer-bell-cycle 2s ease-in-out infinite; transform-origin: 50% 18%; }
.customer-alert-count { position: absolute; top: -3px; right: -5px; display: grid; min-width: 17px; height: 17px; padding: 0 4px; place-items: center; border: 2px solid #fff; border-radius: 9px; background: #e12d3f; color: #fff; font-size: 9px; line-height: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.customer-alert-count[hidden] { display: none; }
@keyframes customer-bell-cycle { 0%,24%,100%{transform:rotate(0)} 4%,12%{transform:rotate(-13deg)} 8%,16%{transform:rotate(13deg)} 20%{transform:rotate(-6deg)} }
@media (prefers-reduced-motion: reduce) { .customer-alert-bell.has-unread { animation: none; } }

.touch-tracking-note { margin: 0; padding: 12px 14px; border-radius: 8px; background: #f5f7fb; color: var(--ui-text-muted); font-size: 12px; line-height: 19px; }
.notification-modal { width: min(640px, calc(100vw - 32px)); overflow: hidden; }
.notification-modal,.notification-modal button { font-family: "Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif !important; -webkit-font-smoothing: auto; text-rendering: geometricPrecision; }
.notification-modal .modal-card { width: 100%; max-width: 100%; max-height: min(720px, calc(100vh - 40px)); padding: 22px; overflow: hidden; box-sizing: border-box; }
.notification-modal .modal-head { position: relative; display: flex; min-width: 0; justify-content: flex-start; text-align: left; }
.notification-modal .modal-head .icon-button { position: absolute; top: -4px; right: 0; }
.notification-modal .modal-head h2 { margin: 0; color: #101828; font-size: 18px !important; line-height: 26px !important; font-weight: 700; }
.notification-modal .modal-head p { margin: 2px 0 0; color: #667085; font-size: 12px; line-height: 18px; }
.notification-list { display: grid; width: 100%; min-width: 0; min-height: 180px; max-height: min(520px, 60vh); margin: 14px auto 0; padding-right: 3px; overflow-x: hidden; overflow-y: auto; gap: 8px; }
.notification-item { position: relative; display: grid; width: 100%; min-width: 0; min-height: 72px; padding: 13px 14px; grid-template-columns: 52px minmax(0,1fr) 100px; align-items: center; gap: 10px; border: 1px solid var(--ui-border); border-radius: 10px; background: #fff; color: var(--ui-text); text-align: left; box-sizing: border-box; }
.notification-item:hover { border-color: #b8c5e8; background: #f8faff; }
.notification-item.is-unread { background: #f8faff; }
.notification-unread-dot { position: absolute; top: 12px; right: 12px; width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.notification-item.is-unread .notification-unread-dot { background: #e12d3f; }
.notification-item .notification-route { width: max-content; align-self: center; padding: 3px 7px; border-radius: 5px; background: #eef2ff; color: var(--ui-brand); font-size: 11px; line-height: 17px; font-weight: 500; }
.notification-main { display: grid; min-width: 0; gap: 3px; }
.notification-main strong { min-width: 0; overflow: hidden; color: #101828; font-size: 14px; line-height: 20px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.notification-main small { min-width: 0; overflow: hidden; color: #667085; font-size: 12px; line-height: 18px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.notification-item > b { justify-self: end; color: var(--ui-brand); font-size: 14px; line-height: 20px; font-weight: 600; text-align: right; white-space: nowrap; }
.notification-loading,.notification-empty { display: grid; min-height: 180px; place-items: center; align-content: center; gap: 5px; color: #667085; text-align: center; }
.notification-loading { grid-template-columns: 1fr; }
.notification-loading-mark { display: block; width: 52px; height: 52px; object-fit: contain; transform: none; }
.notification-loading small { margin-top: 7px; font-size: 12px; }
.notification-empty strong { color: #344054; font-size: 14px; }.notification-empty span { font-size: 12px; }
.notification-foot { justify-content: space-between; }.notification-foot > span { color: #667085; font-size: 12px; line-height: 18px; }
@media (max-width: 560px) { .notification-modal .modal-card { padding: 18px; }.notification-item { grid-template-columns: 48px minmax(0,1fr); }.notification-item > b { grid-column: 2; justify-self: start; }.notification-main small { white-space: normal; }.notification-foot { align-items: flex-end; gap: 12px; }.notification-foot > span { max-width: 24ch; } }
.feedback-modal { width: min(1020px, calc(100vw - 24px)); max-width: none; }
.feedback-modal .modal-card { width: 100%; max-height: min(760px, calc(100vh - 40px)); overflow: hidden; }
.feedback-workspace { display: grid; min-width: 0; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); border-top: 1px solid var(--ui-border); border-bottom: 1px solid var(--ui-border); }
.feedback-history,.feedback-compose { min-width: 0; padding: 20px 22px; }
.feedback-history { overflow-y: auto; max-height: 520px; border-right: 1px solid var(--ui-border); background: #fafbfc; }
.feedback-compose { display: grid; align-content: start; gap: 14px; }
.feedback-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.feedback-section-head h3 { margin: 0; font-size: 15px; }
.feedback-section-head span { color: var(--ui-text-muted); font-size: 12px; }
.feedback-history-item { padding: 14px 0; border-bottom: 1px solid var(--ui-border); }
.feedback-history-item:first-child { padding-top: 0; }
.feedback-history-item > div { display: flex; justify-content: space-between; gap: 12px; }
.feedback-history-item strong { font-size: 13px; }
.feedback-history-item time,.feedback-history-item small,.feedback-history-empty { color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }
.feedback-history-item p { margin: 8px 0; color: var(--ui-text); font-size: 13px; line-height: 20px; }
.feedback-time { display: grid; gap: 7px; font-size: 13px; font-weight: 600; }
.feedback-time input { height: 40px; padding: 0 11px; border: 1px solid var(--ui-border); border-radius: 8px; font: inherit; font-weight: 400; }
.feedback-file { display: grid; gap: 8px; padding: 14px; border: 1px dashed #b9c5d6; border-radius: 9px; color: var(--ui-text); font-size: 13px; }
.feedback-file input { font-size: 12px; }
.feedback-consent { display: flex; align-items: flex-start; gap: 8px; color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }
@media (max-width: 760px) { .feedback-workspace { grid-template-columns: 1fr; } .feedback-history { max-height: 220px; border-right: 0; border-bottom: 1px solid var(--ui-border); } }

@media (max-width: 1180px) {
  .customer-panel { min-height: auto; }
  .customer-card { min-height: 0; }
}

/* Final specificity: advice must finish inside the card without truncation. */
#view-home .insight-body { overflow: visible !important; }
#view-home .insight-body .advice-paragraph { display: block !important; overflow: visible !important; margin: 8px 0 10px !important; font-size: 13px !important; line-height: 20px !important; -webkit-line-clamp: unset !important; }

/* Customer communication feedback workspace · v2.7 */
.feedback-modal { width: min(1320px,calc(100vw - 48px)); max-width: none; padding: 0; border-radius: 22px; }
.feedback-modal .feedback-card { display: flex; width: 100%; max-width: none; height: min(820px,calc(100vh - 48px)); max-height: none; padding: 0; overflow: hidden; flex-direction: column; border-radius: 22px; box-sizing: border-box; }
.feedback-head { padding: 22px 26px 18px; }
.feedback-head h2 { margin: 0 0 5px; font-size: 20px; }
.feedback-head p { margin: 0; color: #697386; }
.feedback-head-actions { display: flex; align-items: center; gap: 12px; }
.feedback-service-status { display: inline-flex; min-height: 32px; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--canvas); color: var(--ink-500); font: inherit; font-size: 12px; cursor: pointer; }
.feedback-service-status i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--ink-300); }
.feedback-service-status.is-connected { background: var(--surface); color: var(--success); }
.feedback-service-status.is-connected i { background: var(--success); }
.feedback-service-status.is-disconnected { background: var(--surface); color: var(--warning); }
.feedback-service-status.is-disconnected i { background: var(--warning); }
.feedback-service-status.is-checking i { animation: feedback-service-pulse 1s ease-in-out infinite; }
.feedback-service-status:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@keyframes feedback-service-pulse { 50% { opacity: .35; } }
.feedback-workspace { grid-template-columns: 390px minmax(0,1fr); min-height: 0; height: auto; flex: 1 1 auto; overflow: hidden; border-color: #e5e7eb; }
.feedback-library { position: relative; display: flex; min-width: 0; min-height: 0; overflow: hidden; flex-direction: column; background: #f7f8fa; border-right: 1px solid #e5e7eb; }
.feedback-library-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 12px; }
.feedback-library-head h3 { margin: 0 0 3px; font-size: 15px; }
.feedback-library-head h3 span { color: #697386; font-weight: 500; }
.feedback-library-head small { color: #8a94a3; }
.feedback-manage { border: 0; background: transparent; color: #1b4be5; cursor: pointer; font-weight: 600; }
.feedback-search { display: flex; height: 38px; align-items: center; gap: 8px; margin: 0 22px 12px; padding: 0 11px; border: 1px solid #dfe3e9; border-radius: 9px; background: #fff; }
.feedback-search svg { width: 16px; height: 16px; }
.feedback-search input { min-width: 0; flex: 1; border: 0; outline: 0; font: inherit; font-size: 13px; }
.feedback-tabs { display: flex; gap: 4px; padding: 0 22px 12px; }
.feedback-tabs button { flex: 1; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #697386; cursor: pointer; }
.feedback-tabs button.is-active { border: 1px solid #dfe3e9; background: #fff; color: #17191c; font-weight: 600; }
.feedback-history { min-height: 0; max-height: none; flex: 1; overflow: auto; padding: 0 14px 68px; border: 0; background: transparent; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #b8c1ce transparent; }
.feedback-history::-webkit-scrollbar { width: 10px; }
.feedback-history::-webkit-scrollbar-track { background: transparent; }
.feedback-history::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background: #b8c1ce; background-clip: padding-box; }
.feedback-history::-webkit-scrollbar-thumb:hover { background: #8d98a8; background-clip: padding-box; }
.feedback-history-item { display: grid; grid-template-columns: 18px 42px minmax(0,1fr) auto; gap: 10px; align-items: center; margin: 0; padding: 12px 10px; border: 1px solid transparent; border-bottom-color: #e5e7eb; border-radius: 10px; cursor: pointer; }
.feedback-history-item:hover,.feedback-history-item.is-selected { border-color: #d9e2ff; background: #eef3ff; }
.feedback-file-thumb { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; overflow: hidden; border: 0; border-radius: 9px; background: #fff; color: #1b4be5; cursor: pointer; }
.feedback-file-thumb:focus-visible { outline: 2px solid #1b4be5; outline-offset: 2px; }
.feedback-file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feedback-file-thumb svg { width: 20px; height: 20px; }
.feedback-file-thumb.is-unavailable { background: #f5f6f7; color: #8a94a3; }
.feedback-thumb-loading { width: 100%; height: 100%; background: #edf0f4; }
.feedback-thumb-loading::after { content: ""; display: block; width: 45%; height: 100%; background: rgba(255,255,255,.72); animation: feedback-thumb-loading 1.1s ease-in-out infinite; }
@keyframes feedback-thumb-loading { from { transform: translateX(-100%); } to { transform: translateX(230%); } }
.feedback-gallery { display: grid; min-height: 100%; grid-template-rows: auto minmax(0,1fr); gap: 14px; padding: 2px 0 8px; }
.feedback-gallery > header { display: flex; align-items: center; justify-content: space-between; }
.feedback-gallery > header div { display: grid; gap: 3px; }
.feedback-gallery > header strong { color: #17191c; font-size: 15px; }
.feedback-gallery > header small { color: #697386; font-size: 12px; }
.feedback-gallery-grid { display: grid; min-height: 0; padding: 2px 8px 12px 2px; grid-template-columns: repeat(auto-fill,minmax(148px,1fr)); gap: 14px; align-content: start; overflow: auto; scrollbar-gutter: stable; }
.feedback-gallery-grid::-webkit-scrollbar { width: 9px; }
.feedback-gallery-grid::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: #aab2bf; background-clip: padding-box; }
.feedback-gallery-item { display: grid; min-width: 0; gap: 8px; padding: 0; overflow: hidden; border: 1px solid #e3e7ed; border-radius: 12px; background: #fff; color: #343a40; text-align: left; cursor: pointer; }
.feedback-gallery-item:hover { border-color: #aebef1; background: #f8faff; }
.feedback-gallery-item:focus-visible { outline: 2px solid #1b4be5; outline-offset: 2px; }
.feedback-gallery-preview { display: grid; width: 100%; aspect-ratio: 4/3; place-items: center; overflow: hidden; background: #f3f5f8; }
.feedback-gallery-preview img { width: 100%; height: 100%; object-fit: contain; }
.feedback-gallery-file-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; background: #eef3ff; }
.feedback-gallery-file-icon svg { width: 22px; height: 22px; }
.feedback-gallery-copy { display: grid; min-width: 0; gap: 2px; padding: 0 10px 10px; }
.feedback-gallery-copy strong { overflow: hidden; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.feedback-gallery-copy small { color: #697386; font-size: 11px; }
.feedback-gallery-empty { display: grid; min-height: 260px; place-items: center; align-content: center; gap: 6px; color: #697386; text-align: center; }
.feedback-gallery-empty strong { color: #343a40; font-size: 14px; }
.feedback-file-copy { min-width: 0; }
.feedback-file-copy strong,.feedback-file-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feedback-file-copy strong { margin-bottom: 4px; font-size: 14px; font-weight: 600; line-height: 20px; }
.feedback-file-copy small { color: #697386; font-size: 12px; line-height: 18px; }
.feedback-file-status { display: flex; align-items: center; gap: 7px; padding: 4px 0; border: 0; background: transparent; color: #697386; font-size: 12px; line-height: 18px; cursor: pointer; white-space: nowrap; }
.feedback-file-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.feedback-file-status.is-analyzed { color: #18865b; }
.feedback-file-status.is-analyzed i { width: 7px; height: 7px; background: #18865b; }
.feedback-file-status.is-unrelated { color: var(--ca-critical-ink); }
.feedback-file-status.is-uncertain { color: var(--ca-warning-ink); }
.feedback-file-status.is-analyzing { color: #1b4be5; }
.feedback-file-status.is-analyzing i { width: 14px; height: 14px; border: 2px solid #c9d6ff; border-top-color: #1b4be5; background: transparent; animation: feedback-spin .8s linear infinite; }
.feedback-file-status:disabled { opacity: 1; cursor: default; }
.feedback-selectbox { width: 17px; height: 17px; accent-color: #1b4be5; }
.feedback-history-item:not(.is-managing) { grid-template-columns: 42px minmax(0,1fr) auto; }
.feedback-history-item:not(.is-managing) .feedback-selectbox { display: none; }
.feedback-bulkbar { position: absolute; right: 14px; bottom: 12px; left: 14px; display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border: 1px solid #dfe3e9; border-radius: 11px; background: #fff; box-shadow: 0 8px 24px rgba(16,24,40,.12); font-size: 12px; }
.feedback-bulkbar[hidden] { display: none; }
.feedback-bulkbar button { border: 0; background: transparent; color: #c4322a; cursor: pointer; font-weight: 600; }
.feedback-compose { align-content: start; overflow: auto; padding: 24px 30px 32px; gap: 18px; }
.feedback-section-head { align-items: flex-start; margin: 0; }
.feedback-section-head h3 { margin: 0 0 5px; font-size: 17px; }
.feedback-section-head p { margin: 0; color: #697386; font-size: 12px; }
.feedback-ai-badge { display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px; border-radius: 999px; background: #eef3ff; color: #1b4be5; font-size: 12px; font-weight: 600; }
.feedback-time,.feedback-note { display: grid; gap: 8px; color: #343a40; font-size: 13px; font-weight: 600; }
.feedback-time input,.feedback-note textarea { border: 1px solid #d3d7de; border-radius: 10px; background: #fff; font: inherit; font-weight: 400; outline: none; }
.feedback-time input { height: 42px; padding: 0 12px; }
.feedback-note textarea { min-height: 132px; padding: 12px; resize: vertical; line-height: 1.6; }
.feedback-time input:focus,.feedback-note textarea:focus { border-color: #1b4be5; box-shadow: 0 0 0 2px rgba(27,75,229,.1); }
.feedback-dropzone { display: grid; min-height: 148px; place-items: center; align-content: center; gap: 6px; border: 1px dashed #aebbd1; border-radius: 14px; background: #fafbfc; text-align: center; cursor: pointer; }
.feedback-dropzone.is-dragging { border-color: #1b4be5; background: #eef3ff; }
.feedback-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.feedback-upload-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: #eef3ff; }
.feedback-upload-icon svg { width: 20px; height: 20px; }
.feedback-dropzone strong { font-size: 13px; }
.feedback-dropzone small { color: #7d8795; font-size: 11px; }
.feedback-queue { display: grid; gap: 8px; }
.feedback-compose.is-reviewing > .feedback-section-head,.feedback-compose.is-reviewing > .feedback-time,.feedback-compose.is-reviewing > .feedback-note,.feedback-compose.is-reviewing > .feedback-dropzone { display: none; }
.feedback-compose.is-reviewing .feedback-queue { display: block; }
.feedback-review-panel { display: grid; gap: 18px; }
.feedback-detail-head { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 12px; }
.feedback-detail-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: #f1edff; }
.feedback-detail-icon svg { width: 25px; height: 25px; }
.feedback-detail-head strong,.feedback-detail-head small { display: block; }
.feedback-detail-head strong { font-size: 14px; line-height: 20px; font-weight: 600; }
.feedback-detail-head small { margin-top: 4px; color: #697386; font-size: 12px; line-height: 18px; }
.feedback-detail-state { display: flex; align-items: center; gap: 7px; color: #697386; font-size: 12px; }
.feedback-detail-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.feedback-detail-state.is-running { color: #1b4be5; }
.feedback-detail-state.is-complete { color: #18865b; }
.feedback-detail-state.is-unrelated { color: var(--ca-critical-ink); }
.feedback-detail-state.is-uncertain { color: var(--ca-warning-ink); }
.feedback-review-file { display: grid; gap: 14px; padding: 18px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; }
.feedback-review-file > div > strong,.feedback-review-file > div > small { display: block; }
.feedback-review-file > div > small { margin-top: 5px; color: #697386; }
.feedback-review-image { display: block; width: 100%; max-height: 360px; border-radius: 10px; object-fit: contain; background: #f5f6f7; }
.feedback-review-audio { width: 100%; }
.feedback-audio-player { display: grid; grid-template-columns: 46px minmax(0,1fr) 82px; align-items: center; gap: 14px; padding: 16px; border: 1px solid #dfe4ec; border-radius: 12px; }
.feedback-audio-player > div { min-width: 0; }
.feedback-play-button { display: grid; width: 46px; height: 46px; place-items: center; border: 0; border-radius: 50%; background: #1b4be5; color: #fff; cursor: pointer; font-size: 15px; }
.feedback-waveform { display: grid; width: 100%; height: 46px; grid-template-columns: repeat(70,minmax(1px,1fr)); align-items: center; gap: 2px; overflow: hidden; }
.feedback-waveform i { display: block; width: 100%; max-width: 3px; height: var(--h); justify-self: center; border-radius: 2px; background: #dce2ec; }
.feedback-waveform i.is-played { background: #1b4be5; }
.feedback-audio-time { display: block; margin-top: 3px; color: #697386; font-size: 12px; font-variant-numeric: tabular-nums; }
.feedback-play-button svg { width: 21px; height: 21px; }
.feedback-audio-player select { height: 38px; border: 1px solid #d3d7de; border-radius: 8px; background: #fff; font-size: 12px; }
.feedback-transcript-head { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; }
.feedback-transcript-head strong { font-size: 14px; }
.feedback-transcript-head span { color: #697386; font-size: 12px; }
.feedback-recognition-retry { display: inline-flex; width: fit-content; min-height: 34px; align-items: center; justify-content: center; margin-top: 2px; padding: 0 12px; border: 1px solid #d3d7de; border-radius: 999px; background: #fff; color: #343a40; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.feedback-recognition-retry:disabled { cursor: wait; opacity: .6; }
.feedback-recognition-retry:focus-visible { outline: 2px solid #1b4be5; outline-offset: 2px; }
.feedback-transcript { min-height: 180px; padding: 14px 16px; border: 1px solid #dfe4ec; border-radius: 10px; background: #fff; }
.feedback-transcript summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.feedback-transcript summary::-webkit-details-marker { display: none; }
.feedback-transcript summary span { display: flex; align-items: baseline; gap: 10px; }
.feedback-transcript summary strong { color: var(--ca-ink); font-size: 14px; line-height: 22px; }
.feedback-transcript summary small,.feedback-transcript summary b { color: var(--ca-ink-3); font-size: 13px; font-weight: 500; line-height: 21px; }
.feedback-transcript p { display: grid; grid-template-columns: 80px auto minmax(0,1fr); gap: 10px; margin: 0; padding: 9px 0; color: #4c5665; font-size: 12px; line-height: 20px; }
.feedback-transcript > p { display: block; max-height: 260px; margin-top: 12px; padding: 12px 0 0; overflow: auto; border-top: 1px solid var(--ca-line); color: var(--ca-ink-2); font-size: 14px; line-height: 23px; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-transcript time { color: #1b4be5; }
.feedback-material-relevance { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 12px; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--ca-critical); border-radius: 10px; background: var(--ca-critical-soft); }
.feedback-material-relevance > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 9px; background: var(--ca-surface); color: var(--ca-critical-ink); }
.feedback-material-relevance strong { display: block; color: var(--ca-critical-ink); font-size: 15px; line-height: 23px; }
.feedback-material-relevance p { margin: 4px 0 0; color: var(--ca-ink-2); font-size: 14px; line-height: 22px; }
.feedback-material-relevance small { display: block; margin-top: 5px; color: var(--ca-ink-3); font-size: 13px; line-height: 21px; }
.feedback-material-relevance.is-uncertain { border-color: var(--ca-warning); background: var(--ca-warning-soft); }
.feedback-material-relevance.is-uncertain > span { background: var(--ca-surface); color: var(--ca-warning-ink); }
.feedback-material-relevance.is-uncertain strong { color: var(--ca-warning-ink); }
.feedback-relevance-result { padding: 18px; }
.feedback-relevance-result h4 { margin: 16px 0 8px; color: var(--ca-ink); font-size: 20px; line-height: 28px; }
.feedback-relevance-result > p { margin: 0; color: var(--ca-ink-2); font-size: 15px; line-height: 24px; }
.feedback-relevance-result > div { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ca-line); }
.feedback-relevance-result > div strong,.feedback-relevance-result > div span { display: block; }
.feedback-relevance-result > div strong { color: var(--ca-ink); font-size: 14px; line-height: 22px; }
.feedback-relevance-result > div span { margin-top: 5px; color: var(--ca-ink-2); font-size: 14px; line-height: 23px; }
.feedback-relevance-result > small { display: block; margin-top: 16px; color: var(--ca-ink-3); font-size: 13px; line-height: 21px; }
.feedback-review-document { display: flex; min-height: 160px; align-items: center; justify-content: center; gap: 12px; border-radius: 10px; background: #f7f8fa; }
.feedback-review-document svg { width: 32px; height: 32px; }
.feedback-review-summary { padding: 16px; border-radius: 12px; background: #f7f8fa; }
.feedback-review-summary p { margin: 7px 0 0; color: #4c5665; line-height: 1.7; }
.feedback-foot .is-analysis-ready { background: #1b4be5; box-shadow: 0 6px 14px rgba(27,75,229,.2); }
@keyframes feedback-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .feedback-service-status span { display: none; } .feedback-service-status { width: 32px; justify-content: center; padding: 0; } }
.feedback-queue-item { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid #e5e7eb; border-radius: 10px; }
.feedback-queue-item > span:first-child { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 8px; background: #f5f6f7; }
.feedback-queue-item strong,.feedback-queue-item small { display: block; }
.feedback-queue-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.feedback-queue-item small { margin-top: 3px; color: #7d8795; font-size: 11px; }
.feedback-queue-item button { border: 0; background: transparent; color: #697386; cursor: pointer; font-size: 18px; }
.feedback-foot { min-height: 72px; align-items: center; justify-content: space-between; margin: 0; padding: 14px 24px; box-sizing: border-box; }
.feedback-foot > span { color: #7d8795; font-size: 11px; }
.feedback-foot > div { display: flex; gap: 10px; }
.feedback-viewer { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: #101216; color: #fff; }
.feedback-viewer::backdrop { background: #101216; }
.feedback-viewer-head { position: absolute; z-index: 2; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; background: #101216; }
.feedback-viewer-head small { display: block; margin-top: 5px; color: #aeb4bf; }
.feedback-viewer-head button { border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 28px; }
.feedback-viewer-stage { display: grid; width: 100%; height: 100%; place-items: center; overflow: hidden; }
.feedback-viewer-stage img { max-width: 82vw; max-height: 80vh; object-fit: contain; transition: transform .18s ease; }
.feedback-viewer-tools { position: absolute; bottom: 22px; left: 50%; display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 12px; background: rgba(28,31,38,.94); transform: translateX(-50%); }
.feedback-viewer-tools button,.feedback-viewer-tools a,.feedback-viewer-tools span { min-width: 40px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: #fff; text-align: center; text-decoration: none; cursor: pointer; }
.feedback-viewer-tools button:hover,.feedback-viewer-tools a:hover { background: #343841; }
.feedback-viewer-tools .is-danger { color: #ff8b84; }
.feedback-analysis-modal { width: min(1120px,calc(100vw - 48px)); max-width: none; padding: 0; border-radius: 22px; }
.feedback-compose.is-reviewing { overflow: hidden; padding: 16px 20px 20px; }
.feedback-compose.is-reviewing .feedback-queue { min-height: 0; height: 100%; }
.feedback-image-view { display: grid; height: 100%; min-height: 0; grid-template-rows: auto minmax(0,1fr); gap: 12px; }
.feedback-image-view > header { display: grid; grid-template-columns: auto minmax(120px,1fr) auto; align-items: center; gap: 14px; min-height: 42px; }
.feedback-image-view > header > strong { overflow: hidden; font-size: 14px; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.feedback-image-view > header > div { display: flex; align-items: center; gap: 6px; }
.feedback-exit-view,.feedback-image-view > header button,.feedback-image-view > header a { display: inline-flex; min-width: 34px; height: 34px; align-items: center; justify-content: center; gap: 6px; padding: 0 9px; border: 1px solid #dfe4ec; border-radius: 8px; background: #fff; color: #4c5665; text-decoration: none; cursor: pointer; }
.feedback-exit-view svg { width: 16px; height: 16px; transform: rotate(180deg); }
.feedback-image-view > header button svg,.feedback-image-view > header a svg { width: 17px; height: 17px; }
.feedback-image-status { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; color: #18865b; font-size: 12px; white-space: nowrap; }
.feedback-image-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.feedback-image-stage { position: relative; display: grid; width: 100%; height: 100%; min-height: 0; place-items: center; overflow: hidden; border: 1px solid #e3e7ed; border-radius: 12px; background: #f3f5f8; }
.feedback-image-stage img { display: block; margin: 0 auto; transition: transform .18s ease; cursor: zoom-in; }
.feedback-image-stage.is-fit-all img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; }
.feedback-image-stage.is-manual { display: block; overflow: auto; scrollbar-width: none; }
.feedback-image-stage.is-manual::-webkit-scrollbar { display: none; }
.feedback-image-stage.is-manual img { position: static; width: auto; height: auto; max-width: none; max-height: none; transform-origin: top center; }
.feedback-image-stage .feedback-media-loading { position: absolute; inset: 0; display: grid; place-items: center; }
.feedback-media-loading { color: #697386; font-size: 13px; }
.feedback-review-media { display: grid; min-height: 260px; place-items: center; overflow: hidden; border: 1px solid #e3e7ed; border-radius: 12px; background: #f3f5f8; }
.feedback-review-media img { width: 100%; max-height: 480px; object-fit: contain; }
.feedback-image-stage.is-unavailable,.feedback-review-media.is-unavailable,.analysis-card.is-unavailable { background: #fafafa; }
.feedback-media-error { display: grid; max-width: 360px; place-items: center; gap: 8px; padding: 24px; color: #697386; text-align: center; }
.feedback-media-error svg { width: 24px; height: 24px; color: #b96800; }
.feedback-media-error b { color: #343a40; font-size: 14px; }
.feedback-media-error small { font-size: 12px; }
.feedback-play-button:disabled,.feedback-audio-player select:disabled { cursor: wait; opacity: .55; }
.feedback-ocr { overflow: hidden; border: 1px solid #dfe4ec; border-radius: 10px; background: #fff; }
.feedback-ocr summary { display: flex; min-height: 52px; align-items: center; justify-content: space-between; padding: 0 14px; cursor: pointer; list-style: none; }
.feedback-ocr summary::-webkit-details-marker { display: none; }
.feedback-ocr summary span b,.feedback-ocr summary span small { display: block; }
.feedback-ocr summary span b { font-size: 13px; line-height: 19px; }
.feedback-ocr summary span small { margin-top: 2px; color: #697386; font-size: 12px; }
.feedback-ocr summary svg { width: 17px; height: 17px; transition: transform .18s ease; }
.feedback-ocr[open] summary svg { transform: rotate(180deg); }
.feedback-ocr p { max-height: 140px; overflow: auto; margin: 0; padding: 12px 14px; border-top: 1px solid #edf0f4; color: #4c5665; font-size: 13px; line-height: 22px; white-space: pre-wrap; }
.feedback-foot button:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; }
.analysis-foot-end { justify-content: flex-end !important; gap: 10px; }
.resource-table .resource-customer strong { font-size: 14px !important; line-height: 21px !important; }
.resource-table .resource-customer small { font-size: 12px !important; line-height: 18px !important; }
.resource-table .region-cell,.resource-table .owner-cell { color: #566174 !important; font-size: 13px !important; line-height: 20px !important; }
.next-action-copy { margin: 0; color: var(--ui-text-muted); font-size: 14px !important; line-height: 22px !important; text-align: left; }
.insight-body .advice-paragraph { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; }
.insight-body .insight-evidence b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.feedback-analysis-modal .feedback-analysis-card { display: flex; width: 100%; max-width: none; max-height: calc(100vh - 48px); padding: 0; overflow: hidden; flex-direction: column; border-radius: 22px; box-sizing: border-box; }
.feedback-analysis-modal .modal-head { padding: 22px 26px 18px; }
.feedback-analysis-modal .feedback-ai-badge { display: none; }
.feedback-analysis-modal .modal-head h2 { font-size: 20px !important; line-height: 28px !important; }
.feedback-analysis-modal .modal-head p { font-size: 12px !important; line-height: 18px !important; }
.feedback-analysis-modal .modal-foot { margin: 0; padding: 14px 24px; }
.feedback-analysis-body { overflow: auto; padding: 26px; background: #f7f8fa; }
.analysis-hero { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 24px; margin-bottom: 18px; padding: 24px; border-radius: 16px; background: #fff; }
.analysis-score strong { display: block; color: #17191c; font-size: 64px; line-height: 1; }
.analysis-score span { color: #697386; font-size: 12px; }
.analysis-conclusion h3 { margin: 0 0 8px; font-size: 22px; }
.analysis-conclusion p { margin: 0 0 14px; color: #697386; line-height: 1.6; }
.analysis-next { padding: 12px 14px; border-radius: 10px; background: #eef3ff; color: #183b9f; font-weight: 600; }
.analysis-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.analysis-card { padding: 18px; border-radius: 14px; background: #fff; }
.analysis-card h4 { margin: 0 0 12px; font-size: 14px; }
.analysis-card p,.analysis-card li { color: #4c5665; font-size: 13px; line-height: 1.65; }
.analysis-card ul { margin: 0; padding-left: 18px; }
.analysis-evidence { grid-column: 1/-1; }
.analysis-evidence button { margin: 4px 6px 4px 0; padding: 7px 10px; border: 1px solid #d9e2ff; border-radius: 8px; background: #eef3ff; color: #1b4be5; cursor: pointer; }
.analysis-file-results { display: grid; gap: 10px; }
.analysis-file-results article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 12px; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fafbfc; }
.analysis-file-results strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.analysis-file-results span { color: #18865b; font-size: 12px; font-weight: 600; }
.analysis-file-results span.is-failed,.analysis-file-results span.is-awaiting_provider { color: #b96800; }
.analysis-file-results p { grid-column: 1/-1; margin: 0; }
.feedback-modal,.feedback-analysis-modal { font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
.feedback-modal :is(button,input,textarea,select,p,span,small,time,a,td,th),.feedback-analysis-modal :is(button,input,textarea,select,p,span,small,time,a,td,th) { font-size: max(12px,1em); }
.analysis-metrics { display: grid; grid-template-columns: .8fr 1.1fr .8fr 1.25fr; border: 1px solid #dfe4ec; border-radius: 12px; background: #fff; }
.analysis-metrics > div { min-width: 0; padding: 20px; border-right: 1px solid #e5e7eb; }
.analysis-metrics > div:last-child { border-right: 0; }
.analysis-metrics span { display: block; margin-bottom: 12px; color: #17191c; font-size: 13px; font-weight: 600; }
.analysis-metrics strong { display: block; color: #1b4be5; font-size: 26px; line-height: 1.2; }
.analysis-metrics strong small { font-size: 12px; font-weight: 500; }
.analysis-metrics p { margin: 9px 0 0; color: #697386; font-size: 12px; line-height: 18px; }
.analysis-metrics b { display: block; min-height: 40px; font-size: 14px; line-height: 20px; }
.analysis-metrics button { margin-top: 10px; padding: 9px 14px; border: 0; border-radius: 8px; background: #17191c; color: #fff; font-weight: 600; cursor: pointer; }
.analysis-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 14px; margin-top: 14px; }
.analysis-left,.analysis-right { display: grid; align-content: start; border: 1px solid #dfe4ec; border-radius: 12px; background: #fff; overflow: hidden; }
.analysis-left > section,.analysis-right > section { padding: 18px; border-bottom: 1px solid #e5e7eb; }
.analysis-left > section:last-child,.analysis-right > section:last-child { border-bottom: 0; }
.analysis-layout h4 { margin: 0 0 12px; font-size: 14px; line-height: 20px; }
.analysis-layout p,.analysis-layout td { color: #4c5665; font-size: 12px; line-height: 20px; }
.analysis-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.analysis-tags span { padding: 6px 11px; border: 1px solid #9db7ff; border-radius: 6px; color: #1b4be5; }
.analysis-layout table { width: 100%; border-collapse: collapse; }
.analysis-layout td { padding: 8px 4px; border-bottom: 1px solid #eef0f3; }
.analysis-chain { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.analysis-chain b { font-size: 13px; }
.analysis-chain i { color: #697386; font-style: normal; }
.analysis-signal { display: grid; grid-template-columns: 24px 65px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #eef0f3; }
.analysis-signal button { width: 22px; height: 22px; padding: 0; border: 1px solid #9db7ff; border-radius: 50%; background: #fff; color: #1b4be5; }
.analysis-signal time,.analysis-signal button:last-child { color: #1b4be5; font-size: 12px; text-decoration: none; }
.analysis-signal button:last-child { width: auto; height: auto; border: 0; border-radius: 0; white-space: nowrap; }
.analysis-signal p { margin: 0; }
.analysis-action-row { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 0; }
.analysis-action-row b { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #1b4be5; color: #fff; font-size: 12px; }
.analysis-action-row span { font-size: 12px; }
.analysis-action-row small { color: #697386; font-size: 12px; }
@media (max-width: 900px) { .analysis-metrics { grid-template-columns: 1fr 1fr; }.analysis-metrics > div:nth-child(2) { border-right: 0; }.analysis-layout { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .feedback-modal { padding: 0; } .feedback-modal .feedback-card { width: 100vw; height: 100vh; border-radius: 0; } .feedback-workspace { grid-template-columns: 300px minmax(0,1fr); } }
@media (max-width: 760px) { .feedback-workspace { display: block; overflow: auto; } .feedback-library { min-height: 300px; border-right: 0; border-bottom: 1px solid #e5e7eb; } .feedback-history { max-height: 240px; } .feedback-compose { overflow: visible; padding: 20px; } .feedback-foot > span { display: none; } .analysis-hero,.analysis-grid { grid-template-columns: 1fr; } .analysis-evidence { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .feedback-viewer-stage img { transition: none; } }

/* Customer-level cumulative AI analysis — distilled 5-second reading view. */
.feedback-analysis-modal { width: min(1160px,calc(100vw - 48px)); }
.feedback-analysis-modal .feedback-analysis-card { max-height: calc(100vh - 40px); }
.feedback-analysis-modal .modal-head { align-items: flex-start; padding: 22px 28px 18px; }
.feedback-analysis-modal .modal-head h2 { margin: 0 0 7px; color: #17191c; font-size: 22px !important; font-weight: 650; }
.feedback-analysis-modal .modal-head p { color: #697386; font-size: 13px !important; }
.feedback-analysis-body { display: grid; gap: 16px; padding: 20px 28px 22px; background: #fff; }
.analysis-summary-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.analysis-summary-metrics article { display: flex; min-height: 94px; align-items: center; gap: 15px; padding: 16px 20px; border: 1px solid #dfe4ec; border-radius: 14px; background: #fff; box-sizing: border-box; }
.analysis-summary-metrics article > span { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 12px; background: #eef3ff; color: #1b4be5; }
.analysis-summary-metrics svg { width: 22px; height: 22px; }
.analysis-summary-metrics small { display: block; margin-bottom: 5px; color: #697386; font-size: 13px; }
.analysis-summary-metrics strong { display: block; overflow: hidden; color: #1b4be5; font-size: 22px; font-weight: 650; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.analysis-summary-metrics .metric-intent > span { background: #eef3ff; color: #1b4be5; }
.analysis-summary-metrics .metric-intent strong { color: #1b4be5; }
.analysis-summary-metrics .metric-state > span { background: #eaf7f1; color: #18865b; }
.analysis-summary-metrics .metric-state strong { color: #18865b; }
.analysis-summary-metrics .metric-concern > span { background: #fff4e5; color: #b96800; }
.analysis-summary-metrics .metric-concern strong { color: #b96800; }
.analysis-summary-metrics em { margin-left: 3px; color: #343a40; font-size: 13px; font-style: normal; font-weight: 500; }
.analysis-truth,.analysis-quotes { border: 1px solid #dfe4ec; border-radius: 14px; background: #fff; }
.analysis-truth { padding: 18px 22px 20px; }
.analysis-truth header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.analysis-truth h3,.analysis-quotes h3 { display: flex; align-items: center; gap: 9px; margin: 0; color: #17191c; font-size: 16px; font-weight: 650; }
.analysis-truth h3 svg,.analysis-quotes h3 svg { width: 20px; height: 20px; }
.analysis-truth header > span { padding: 5px 9px; border-radius: 999px; background: #eef3ff; color: #1b4be5; font-size: 12px; font-weight: 600; white-space: nowrap; }
.analysis-truth > p { max-width: 76ch; margin: 14px 0 0; color: #252a32; font-size: 15px; line-height: 1.85; }
.analysis-quotes { padding: 18px 20px 4px; }
.analysis-quotes > article { display: grid; grid-template-columns: 34px minmax(0,1.15fr) minmax(0,.95fr) auto; align-items: center; gap: 12px; min-height: 60px; border-bottom: 1px solid #eef0f3; }
.analysis-quotes > article:last-child { border-bottom: 0; }
.analysis-quote-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #f2efff; color: #7357e8; }
.analysis-quote-icon svg { width: 17px; height: 17px; }
.analysis-quotes p { min-width: 0; margin: 0; color: #343a40; font-size: 13px; line-height: 1.65; }
.analysis-quotes p b { color: #17191c; }
.analysis-quotes .analysis-reading { color: #1b4be5; }
.analysis-quotes small { max-width: 220px; overflow: hidden; color: #697386; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.analysis-change { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 14px 20px; border: 1px solid #b9caff; border-radius: 14px; background: #f5f8ff; }
.analysis-change > span { color: #1b4be5; }
.analysis-change > span svg { width: 24px; height: 24px; }
.analysis-change strong { color: #17191c; font-size: 14px; }
.analysis-change p { margin: 4px 0 0; color: #4c5665; font-size: 13px; }
.analysis-change > b { color: #1b4be5; font-size: 25px; font-weight: 650; white-space: nowrap; }
.feedback-analysis-modal .modal-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px 18px; }
.analysis-foot-actions { display: flex; gap: 10px; }
.feedback-analysis-modal :is(.primary-button,.secondary-button) { min-height: 40px; font-size: 14px; }
.analysis-loading,.analysis-error { padding: 48px 32px; border: 1px solid #dfe4ec; border-radius: 14px; text-align: center; }
.analysis-loading strong,.analysis-error strong { display: block; color: #17191c; font-size: 18px; line-height: 1.5; }
.analysis-loading p,.analysis-error p { max-width: 560px; margin: 10px auto 0; color: #697386; font-size: 14px; line-height: 1.7; }
.analysis-quotes [data-analysis-source] { margin: 4px 0 0; padding: 0; border: 0; background: transparent; color: #3159c9; font-size: 12px; cursor: pointer; }
.analysis-quotes [data-analysis-source]:hover { text-decoration: underline; }
.analysis-error button { margin-top: 20px; }

/* Fast, non-blocking loading states for analytics and team drill-downs. */
.team-workbench-loading { display: flex; align-items: center; gap: 14px; min-height: 320px; justify-content: center; color: var(--ui-text-muted); }
.team-workbench-loading > i { width: 22px; height: 22px; border: 2px solid #dfe5ef; border-top-color: var(--ca-primary); border-radius: 50%; animation: spin .8s linear infinite; }
.team-workbench-loading strong,.team-workbench-loading span { display: block; }
.team-workbench-loading strong { color: var(--ui-text); font-size: 14px; }
.team-workbench-loading span { margin-top: 3px; font-size: 12px; }
.analytics-skeleton { display: block; min-height: 430px; padding: 44px 34px; text-align: left; }
.analytics-skeleton-head { display: grid; gap: 12px; margin-bottom: 28px; }
.analytics-skeleton-head i,.analytics-skeleton-grid i { display: block; border-radius: 7px; background: linear-gradient(90deg,#edf0f4 20%,#f8f9fb 48%,#edf0f4 76%); background-size: 220% 100%; animation: detail-shimmer 1.25s ease-in-out infinite; }
.analytics-skeleton-head i:first-child { width: 38%; height: 20px; }
.analytics-skeleton-head i:last-child { width: 62%; height: 12px; }
.analytics-skeleton-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 30px; }
.analytics-skeleton-grid i { height: 82px; }
.analytics-skeleton > strong,.analytics-skeleton > span { display: block; text-align: center; }
.analytics-skeleton > strong { color: var(--ui-text); font-size: 15px; }
.analytics-skeleton > span { margin-top: 6px; color: var(--ui-text-muted); font-size: 12px; }
.analytics-single-loader { display: grid; place-items: center; align-content: center; min-height: 430px; padding: 44px 34px; color: var(--ui-text-muted); text-align: center; }
.analytics-single-loader img { display: block; width: 52px; height: 52px; margin-bottom: 18px; object-fit: contain; transform: none; animation: none; }
.analytics-single-loader strong { color: var(--ui-text); font-size: 15px; }
.analytics-single-loader span { margin-top: 7px; font-size: 12px; }
.analysis-node-recommendation { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 14px; padding: 14px 16px; border: 1px solid #dbe4f4; border-radius: 12px; background: #f7f9ff; }
.analysis-node-recommendation div { min-width: 0; }.analysis-node-recommendation small { display: block; color: #697386; font-size: 11px; }.analysis-node-recommendation strong { display: block; margin-top: 3px; color: #263249; font-size: 14px; }.analysis-node-recommendation p { margin: 4px 0 0; color: #697386; font-size: 12px; line-height: 18px; }.analysis-node-recommendation > span { flex: 0 0 auto; color: #18865b; font-size: 12px; }.analysis-node-recommendation.needs-confirmation { border-color: #f2d59b; background: #fffaf0; }.analysis-node-recommendation .primary-button { flex: 0 0 auto; }

/* System messages align to the top-center status area shown in the approved home layout. */
.toast { left: 50% !important; top: 34px !important; right: auto !important; bottom: auto !important; transform: translate(-50%,-8px) !important; }
.toast.show { transform: translate(-50%,0) !important; }
@media (max-width:640px) { .toast { top: 14px !important; max-width: calc(100vw - 28px); } .analytics-skeleton-grid { grid-template-columns: 1fr 1fr; } }
.analysis-decision { padding: 22px 24px; border: 1px solid #dfe4ec; border-radius: 14px; background: #fff; }
.analysis-decision > header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.analysis-decision > header div span { display: block; margin-bottom: 6px; color: #697386; font-size: 13px; }
.analysis-decision > header div strong { color: #17191c; font-size: 22px; line-height: 1.35; }
.analysis-decision > header > b { color: #1b4be5; font-size: 32px; line-height: 1; }
.analysis-decision > header > b small { margin-left: 3px; color: #697386; font-size: 13px; }
.analysis-decision > p { max-width: 74ch; margin: 18px 0 0; color: #252a32; font-size: 16px; font-weight: 500; line-height: 1.8; }
.analysis-concerns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.analysis-concerns > span { margin-right: 4px; color: #697386; font-size: 13px; }
.analysis-concerns > b { padding: 6px 10px; border-radius: 8px; background: #f5f6f7; color: #343a40; font-size: 13px; font-weight: 600; }
.analysis-recognized,.analysis-evidence-list { padding: 20px 22px; border: 1px solid #dfe4ec; border-radius: 14px; background: #fff; }
.analysis-recognized h3,.analysis-evidence-list h3 { display: flex; align-items: center; gap: 9px; margin: 0; color: #17191c; font-size: 17px; }
.analysis-recognized h3 svg,.analysis-evidence-list h3 svg { width: 20px; height: 20px; }
.analysis-section-help { margin: 7px 0 16px; color: #697386; font-size: 13px; line-height: 1.6; }
.analysis-recognized > div { display: grid; gap: 12px; }
.analysis-recognized article { padding: 15px 16px; border-radius: 10px; background: #f7f8fa; }
.analysis-recognized article header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.analysis-recognized article header strong { overflow-wrap: anywhere; color: #17191c; font-size: 14px; }
.analysis-recognized article header span { flex: 0 0 auto; color: #697386; font-size: 12px; }
.analysis-recognized article p { max-height: 150px; margin: 10px 0 0; overflow: auto; white-space: pre-wrap; color: #343a40; font-size: 14px; line-height: 1.75; }
.analysis-evidence-list { display: grid; gap: 0; }
.analysis-evidence-list h3 { margin-bottom: 6px; }
.analysis-evidence-list article { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid #eef0f3; }
.analysis-evidence-list article:last-child { border-bottom: 0; }
.analysis-evidence-list blockquote { margin: 0; color: #252a32; font-size: 14px; line-height: 1.75; }
.analysis-evidence-list article p { margin: 0; color: #1b4be5; font-size: 14px; line-height: 1.75; }
.analysis-empty-copy { margin: 12px 0 0; color: #697386; font-size: 14px; line-height: 1.7; }
@media (max-width: 900px) {
  .feedback-analysis-modal { width: 100vw; height: 100vh; margin: 0; }
  .feedback-analysis-modal .feedback-analysis-card { height: 100vh; max-height: none; border-radius: 0; }
  .analysis-summary-metrics { grid-template-columns: 1fr; }
  .analysis-summary-metrics article { min-height: 76px; }
  .analysis-quotes > article { grid-template-columns: 34px minmax(0,1fr); padding: 12px 0; }
  .analysis-quotes .analysis-reading,.analysis-quotes small { grid-column: 2; }
  .analysis-change { grid-template-columns: 32px minmax(0,1fr); }
  .analysis-change > b { grid-column: 2; font-size: 20px; }
  .analysis-evidence-list article { grid-template-columns: 1fr; gap: 8px; }
  .analysis-decision > header { align-items: flex-start; }
}
#view-home .insight-body .insight-evidence b { display: block !important; overflow: visible !important; font-size: 12px !important; line-height: 18px !important; text-overflow: clip !important; white-space: normal !important; }

/* 2026-08-19: stable home composition and centered high-resolution brand */
.brand-block { display: flex !important; align-items: center !important; justify-content: center !important; min-height: 64px; padding: 0 14px !important; }
.brand { display: flex !important; align-items: center; justify-content: center; width: 100% !important; height: 58px !important; }
.brand-logo { display: block; width: min(176px, 100%) !important; height: 56px !important; max-height: none !important; object-fit: contain !important; object-position: center !important; }
.brand-logo.animated-brand{display:flex!important;width:176px!important;height:56px!important;align-items:center;justify-content:center;gap:10px}.brand-logo.animated-brand img{width:46px;height:46px;object-fit:contain}.brand-logo.animated-brand strong{color:#050505;font-size:22px;font-weight:700;letter-spacing:.22em}.sidebar-bottom .user-avatar,.topbar-user .user-avatar{border-radius:50%!important;background:#4560c4!important;color:#fff!important}.tier,.tier-mark{border:0!important;box-shadow:none!important}.intent-score{display:block;color:#4560c4;font-size:18px;line-height:1}.intent-score+small{display:block;margin-top:4px;color:var(--muted);font-size:9px}
#view-home .insight-body .advice-paragraph { display: -webkit-box !important; overflow: hidden !important; margin: 8px 0 10px !important; max-height: 132px; font-size: 13px !important; line-height: 22px !important; -webkit-box-orient: vertical; -webkit-line-clamp: 6 !important; line-clamp: 6; }
#view-home .customer-section > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; }
#view-home .customer-section:not(.pack-readiness-section)>p,#view-home .customer-section:not(.pack-readiness-section) .evidence-list{min-height:44px}
.customer-section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.customer-section-title h3 { margin: 0 !important; }
.customer-section-title button { flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: var(--blue-600, #3157d5); font: inherit; font-size: 12px; line-height: 20px; cursor: pointer; }
.customer-section-title button[hidden] { display: none !important; }
#view-home .homepage-copy-section .homepage-copy-text { display: -webkit-box; min-height: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
#view-home .homepage-copy-section.homepage-copy-need .homepage-copy-text { -webkit-line-clamp: 5; line-clamp: 5; }
#view-home .homepage-copy-section.is-expanded .homepage-copy-text { display: block; overflow: visible; -webkit-line-clamp: unset; line-clamp: unset; }
#view-home .insight-body .insight-evidence b { display: -webkit-box !important; overflow: hidden !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }

/* 2026-08 formal homepage cleanup: evidence and ownership modules were removed. */
#view-home .insight-body { min-height: 0 !important; }
#view-home .insight-evidence,
#view-home .customer-routing { display: none !important; }
#view-home .customer-action-dock { margin-top: 8px; }
.ai-advice-list { display: grid; gap: 10px; }
.ai-advice-item { display: grid; min-width: 0; padding: 10px 11px; grid-template-columns: 32px minmax(0,1fr); align-items: start; gap: 10px; border: 1px solid var(--ui-border); border-radius: 10px; background: #fbfcfe; }
.ai-advice-item.is-primary { border-color: #ded9ff; background: #faf9ff; }
.ai-advice-item.is-success { border-color: #cfe6dc; background: #f8fcfa; }
.ai-advice-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: var(--ui-ai-soft); color: var(--ui-ai); }
.ai-advice-item.is-success .ai-advice-icon { background: var(--ui-success-soft); color: var(--ui-success); }
.ai-advice-icon svg { width: 17px; height: 17px; }
.ai-advice-item strong { display: block; color: var(--ui-text); font-size: 14px; line-height: 20px; font-weight: 650; }
.ai-advice-item p { display: -webkit-box; margin: 3px 0 0; overflow: hidden; color: var(--ui-text-secondary); font-size: 12px; line-height: 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.customer-content-scroll { min-height: 0; }
@media (min-width: 1181px) {
  #view-home .customer-card { overflow: hidden !important; }
  #view-home .customer-content-scroll { flex: 1 1 auto; overflow: auto; padding-right: 2px; scrollbar-width: none; }
  #view-home .customer-content-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }
  #view-home .customer-action-dock { position: static !important; z-index: auto; flex: 0 0 auto; margin-top: 0 !important; padding-top: 10px; background: var(--ui-surface); box-shadow: none; }
  #view-home .pack-readiness-section { padding-top: 12px; padding-bottom: 10px; }
  #view-home .customer-footer { margin-top: 8px !important; padding-top: 10px; }
}
.detail-v4-left section > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; }
.detail-evidence-list p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }

.research-source { display: inline-flex; margin-top: 8px; color: var(--ui-brand); font-size: 12px; line-height: 18px; text-decoration: none; }
.research-source:hover { text-decoration: underline; }
.research-source.is-pending { color: #9a6700; }
.brand-logo.animated-brand{width:166px!important;max-width:none!important;flex:0 0 166px!important;transform:translateX(-6px)!important}.brand-logo.animated-brand img{width:46px!important;height:46px!important}.brand-logo.animated-brand strong{font-family:var(--ui-font)!important;font-size:22px!important;font-weight:600!important;line-height:1!important;letter-spacing:.24em!important;white-space:nowrap}
.detail-action-bar [hidden]{display:none!important}
#view-home .task-row{grid-template-columns:30px minmax(230px,.82fr) minmax(340px,1.55fr) 80px 64px!important}
.market-crawl-summary{margin:3px 0 0!important;color:#697386;font-size:12px!important;line-height:18px}.detail-action-bar:has(#detailSecondaryAction[hidden]){padding-top:14px!important}.company-detail-module:nth-child(1) header>svg{color:#2563eb}.company-detail-module:nth-child(2) header>svg{color:#7c3aed}.company-detail-module:nth-child(3) header>svg{color:#059669}.company-detail-module:nth-child(4) header>svg{color:#d97706}.company-detail-module:nth-child(5) header>svg{color:#0284c7}.company-detail-module:nth-child(6) header>svg{color:#8b5cf6}
#view-packs .pack-upload-button{min-height:30px;padding:5px 12px;border:1px solid var(--ca-line);border-radius:7px;background:#fff;color:var(--ui-brand);font-size:11px;font-weight:600;cursor:pointer}
#view-packs .pack-delete-button{display:grid!important;place-items:center;width:17px!important;min-width:17px!important;height:17px!important;min-height:17px!important;padding:0 0 1px!important;border:0!important;border-radius:50%!important;background:rgba(105,115,134,.16)!important;color:rgba(52,58,64,.68)!important;font-family:var(--ui-font)!important;font-size:12px!important;font-weight:400!important;line-height:1!important}
#view-packs .pack-delete-button:hover{background:rgba(196,50,42,.14)!important;color:#c4322a!important}
.brand-logo.animated-brand .octans-mark-image{width:46px!important;height:46px!important;flex:0 0 46px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;object-fit:contain!important}
.brand-logo.animated-brand .brand-wordmark{width:107px!important;height:16px!important;flex:0 0 107px!important;object-fit:fill!important}
.evidence-list div{gap:0!important;padding-left:0!important}.readiness-card:not(.is-ready)>span{color:#98a2b3!important}
@media(max-width:1200px){#view-home .task-row{grid-template-columns:28px minmax(190px,.9fr) minmax(260px,1.4fr) 70px 64px!important}}

/* 客户详情：销售决策卡，结构与 2026-08-21 参考稿一致。 */
.detail-modal{width:min(980px,calc(100vw - 40px))!important;border-radius:20px!important;background:#fff!important}
.detail-modal-card{position:relative;display:flex;width:100%!important;height:min(820px,calc(100vh - 36px));max-height:min(820px,calc(100vh - 36px))!important;padding:24px 28px 18px!important;overflow:hidden!important;flex-direction:column}
.detail-modal .modal-head{align-items:center;min-height:42px;padding:0 2px}
.detail-modal .modal-head>div{display:flex;min-width:0;align-items:baseline;gap:12px}
.detail-modal .modal-head h2{overflow:hidden;color:#122033;font-size:23px!important;line-height:32px!important;font-weight:700;letter-spacing:-.025em!important;text-overflow:ellipsis;white-space:nowrap}
.detail-modal .modal-head p{margin:0!important;color:#7a879b;font-size:14px!important;line-height:22px!important;white-space:nowrap}
.detail-modal .icon-button{width:34px;height:34px;color:#7e8794}
.detail-modal-card>#modalCustomerBody{display:flex;min-height:0;margin-top:8px;padding-right:8px!important;overflow-x:hidden!important;overflow-y:auto!important;flex:1 1 auto;flex-direction:column;scrollbar-gutter:stable}
.detail-identity-tags{position:absolute;z-index:3;top:24px;right:72px;display:flex;min-height:28px;margin:0;align-items:center;justify-content:flex-end;gap:8px}
.detail-identity-tags span{display:inline-flex;min-height:26px;padding:4px 12px;align-items:center;border-radius:999px;background:#f0f4fa;color:#52657d;font-size:12px;line-height:18px;font-weight:600;white-space:nowrap}
.detail-identity-tags span::before{width:6px;height:6px;margin-right:6px;border-radius:50%;background:#ff3b9b;content:""}
.detail-identity-tags span.is-priority{background:#fff1c9;color:#8c6400}
.detail-identity-tags span.is-priority::before{background:#f6b800}
.detail-identity-tags span:last-child::before{border-radius:2px;background:#f2bd3a}
.detail-company-intro{display:block;margin-top:16px;padding:13px 16px;border-radius:12px;background:#f4f7fb}
.detail-company-intro p{margin:0;color:#34445a;font-size:14px;line-height:24px}
.detail-modal .detail-live-progress{margin:10px 0 0;padding:10px 14px;border:1px solid #dce5f4;border-radius:10px;background:#fbfcff}
.detail-modal .detail-live-progress header p,.detail-modal .detail-live-progress ul{display:none}
.detail-modal .detail-live-progress header>div{display:flex;justify-content:space-between;color:#52657d;font-size:12px}
.detail-modal .detail-live-progress-track{height:4px;margin-top:8px;border-radius:4px;background:#e8edf5;overflow:hidden}
.detail-modal .detail-live-progress-track i{display:block;height:100%;background:#1b4be5}
.detail-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
.detail-metric-grid>div{display:grid;min-height:78px;padding:12px;place-content:center;text-align:center;border:1px solid #e1e6ee;border-radius:11px;background:#fafbfc}
.detail-metric-grid strong{color:#142237;font-size:28px;line-height:34px;font-weight:700;letter-spacing:-.035em}
.detail-metric-grid span{margin-top:2px;color:#78869a;font-size:12px;line-height:18px}
.detail-metric-grid>div.is-pending strong{color:#8995a7;font-size:18px;letter-spacing:0}
.detail-contact-card{margin-top:12px;padding:13px 16px;border:1px solid #e1e6ee;border-radius:11px;background:#fff}
.detail-contact-card h3{margin:0 0 10px;color:#172033;font-size:14px;line-height:20px}
.detail-contact-card dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0}
.detail-contact-card dl>div{min-width:0;padding-right:10px;border-right:1px solid #edf0f4}
.detail-contact-card dl>div:last-child{padding-right:0;border-right:0}
.detail-contact-card dt{color:#8995a7;font-size:11px;line-height:17px}
.detail-contact-card dd{margin:2px 0 0;overflow:hidden;color:#334155;font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}
.detail-contact-card a{color:#1b4be5;text-decoration:none}
.detail-contact-card a:hover{text-decoration:underline}
.detail-decision-grid{display:grid;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-top:16px;flex:1 1 auto}
.detail-decision-grid>section{min-width:0;padding:17px 18px;border:1px solid #e1e6ee;border-radius:12px;background:#fbfcfd;overflow:hidden}
.detail-decision-grid h3{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:#162238;font-size:15px;line-height:22px}
.detail-decision-grid h3::before{display:grid;width:14px;height:14px;place-items:center;border-radius:3px;background:#12b76a;content:"";box-shadow:inset 0 0 0 4px #12b76a}
.detail-script-card h3::before{background:#f2bc35;box-shadow:inset 0 0 0 4px #f2bc35}
.detail-activity-card ul,.detail-script-card ol{display:grid;gap:0;margin:0;padding:0;list-style:none}
.detail-activity-card li,.detail-script-card li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;padding:9px 0;border-bottom:1px dashed #dce2ea}
.detail-activity-card li:last-child,.detail-script-card li:last-child{border-bottom:0}
.detail-activity-card li.is-empty{display:block;padding:8px 0 10px}
.detail-activity-card li.is-empty p{width:100%;max-width:none;color:#667085;line-height:22px;overflow-wrap:break-word;word-break:normal}
.detail-activity-card li>span,.detail-script-card li>span{display:grid;width:16px;height:16px;margin-top:3px;place-items:center;border-radius:3px;background:#edf1f6;color:#5d6c80;font-size:10px;line-height:1;font-weight:700}
.detail-script-card li>span{background:#0797d6;color:#fff}
.detail-activity-card li p,.detail-script-card li p{min-width:0;margin:0;color:#334155;font-size:13px;line-height:21px;overflow-wrap:anywhere;word-break:normal}
.detail-activity-card li p b{display:block;color:#172033;font-size:12px;font-weight:650}
.detail-activity-card li p a{display:inline-block;margin-left:8px;color:#1b4be5;font-size:12px;text-decoration:none;white-space:nowrap}
.detail-activity-card li p a:hover{text-decoration:underline}
.detail-script-card li p b{display:inline-block;min-width:48px;margin-right:5px;color:#172033}
.detail-key-judgement,.detail-sales-goal{margin-top:12px;padding:11px 13px;border:1px solid #a9e7bd;border-radius:8px;background:#f0fff5;color:#287044;font-size:13px;line-height:21px}
.detail-sales-goal{border-color:#f1cf66;background:#fffbea;color:#6e5513}
.detail-evidence-panel{margin-top:14px;border:1px solid #e1e6ee;border-radius:10px;background:#fbfcfd}
.detail-evidence-panel summary{display:flex;min-height:42px;padding:10px 14px;align-items:center;justify-content:space-between;color:#334155;font-size:13px;font-weight:650;cursor:pointer;list-style:none}
.detail-evidence-panel summary::-webkit-details-marker{display:none}
.detail-evidence-panel summary span{color:#78869a;font-size:11px;font-weight:500}
.detail-evidence-panel>div{padding:0 14px 14px;border-top:1px solid #edf0f4}
.detail-evidence-panel ul{display:grid;gap:0;margin:0 0 12px;padding:0;list-style:none}
.detail-evidence-panel li{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:10px;padding:10px 0;align-items:start;border-bottom:1px dashed #e1e6ee;font-size:12px;line-height:19px}
.detail-evidence-panel li span{color:#718096}.detail-evidence-panel li p{margin:0;color:#334155}.detail-evidence-panel li a{color:#1b4be5;text-decoration:none;white-space:nowrap}
.detail-empty-evidence{margin:12px 0;color:#78869a;font-size:12px}
.detail-action-bar{align-items:center!important;margin-top:0!important;padding-top:14px!important;flex:0 0 auto}
.detail-action-bar #detailAssignAction{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center}
.detail-research-footer{display:flex;min-width:0;margin-right:auto;flex:1 1 auto;align-items:center}
.detail-research-summary{display:flex;min-width:0;max-width:390px;padding:0;border:0;background:transparent;align-items:center;gap:9px;color:#52657d;text-align:left;cursor:pointer}
.detail-research-summary strong{overflow:hidden;color:#52657d;font-size:12px;line-height:18px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.detail-research-summary span{flex:0 0 auto;color:#1b4be5;font-size:11px;line-height:18px}
.detail-research-footer .detail-live-progress{width:min(330px,100%);margin:0;padding:0;border:0;background:transparent}
.detail-research-footer .detail-live-progress header>div{gap:10px}.detail-research-footer .detail-live-progress strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.detail-verification-note{margin:7px 2px 0;color:#667085;font-size:11px;line-height:17px}
@media(max-height:760px) and (min-width:801px){.detail-modal-card{padding-top:18px!important;padding-bottom:14px!important}.detail-company-intro{margin-top:10px;padding:9px 13px}.detail-company-intro p{display:-webkit-box;overflow:hidden;line-height:21px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.detail-metric-grid{margin-top:10px}.detail-metric-grid>div{min-height:60px;padding:7px}.detail-metric-grid strong{font-size:22px;line-height:27px}.detail-contact-card{margin-top:9px;padding:9px 13px}.detail-contact-card h3{margin-bottom:6px}.detail-decision-grid{margin-top:10px}.detail-decision-grid>section{padding:11px 14px}.detail-decision-grid h3{margin-bottom:5px}.detail-activity-card li,.detail-script-card li{padding:5px 0}.detail-key-judgement,.detail-sales-goal{margin-top:7px;padding:7px 9px;line-height:18px}.detail-action-bar{padding-top:9px!important}}
@media(max-width:800px){.detail-modal{width:100vw!important;max-width:none!important;height:100vh;margin:0;border-radius:0!important}.detail-modal-card{height:100vh;max-height:none!important;padding:18px!important}.detail-modal-card>#modalCustomerBody{overflow-y:auto!important;scrollbar-width:none}.detail-modal-card>#modalCustomerBody::-webkit-scrollbar{display:none}.detail-identity-tags{position:static;margin:10px 0 12px;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.detail-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-contact-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-contact-card dl>div{border-right:0}.detail-decision-grid{grid-template-columns:1fr;flex:0 0 auto}.detail-modal .modal-head>div{display:block}.detail-modal .modal-head p{margin-top:2px!important}.detail-action-bar{display:grid!important;grid-template-columns:1fr 1fr 1.25fr;gap:8px}.detail-research-footer{display:none}.detail-action-bar button{min-width:0!important;padding-inline:8px!important;font-size:12px!important;white-space:nowrap}}

/* 客户跟进 2.1.0：卡片筛选、双路线节点和可解释意向画像。 */
.page-heading-copy { min-width: 0; }
.page-heading-copy p { margin: 5px 0 0; color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }
.followup-summary .followup-stat-card { appearance: none; width: 100%; min-height: 100px; padding: 16px 18px; border: 1px solid var(--ui-border); border-radius: 11px; background: #fff; color: var(--ui-text); font: inherit; text-align: left; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease; }
.followup-summary .followup-stat-card:hover { border-color: #b9c7ee; background: #fbfcff; box-shadow: 0 5px 14px rgba(27,75,229,.08); transform: translateY(-1px); }
.followup-summary .followup-stat-card.is-active { border-color: var(--ui-brand); background: #f5f8ff; box-shadow: 0 0 0 2px rgba(27,75,229,.12); }
.followup-summary .followup-stat-card:focus-visible { outline: 3px solid rgba(27,75,229,.22); outline-offset: 2px; }
.followup-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.followup-filter-chip { min-height: 25px; padding: 3px 9px; border: 1px solid #cdd7ee; border-radius: 999px; background: #f6f8ff; color: var(--ui-brand); font-size: 11px; line-height: 17px; cursor: pointer; }
.followup-filter-chip:hover { border-color: var(--ui-brand); background: #eef3ff; }
.followup-toolbar > div:first-child { min-width: 260px; }
.followup-toolbar .followup-search { width: min(360px, 100%); }
.followup-filter-actions { margin-left: auto; }
.followup-table { min-width: 1160px; }
.followup-table.is-market .data-row { grid-template-columns: 36px minmax(178px,1.15fr) minmax(118px,.82fr) minmax(350px,2.35fr) minmax(90px,.72fr) minmax(86px,.74fr) minmax(140px,.9fr); gap: 14px; }
.followup-table.is-operator { min-width: 1280px; }
.followup-table.is-operator .data-row { grid-template-columns: 36px minmax(180px,1.15fr) minmax(96px,.7fr) minmax(96px,.7fr) minmax(350px,2.25fr) minmax(92px,.72fr) minmax(78px,.58fr) minmax(140px,.9fr); gap: 14px; }
.followup-person-cell strong { display: block; overflow: hidden; color: #344054; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.followup-table .data-row:not(.data-head) { min-height: 112px; }
.followup-table .data-head { min-height: 42px; }
.followup-table .data-head span { white-space: nowrap; }
.followup-sort-button { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; cursor: pointer; }
.followup-sort-button:hover, .followup-sort-button:focus-visible, .followup-sort-button.is-active { color: var(--ui-text); }
.followup-sort-button:focus-visible { outline: 2px solid rgba(27,75,229,.28); outline-offset: 3px; border-radius: 4px; }
.followup-sort-indicator { position: relative; width: 8px; height: 12px; flex: 0 0 8px; }
.followup-sort-indicator::before, .followup-sort-indicator::after { content: ""; position: absolute; left: 1px; width: 6px; height: 4px; background: currentColor; opacity: .38; }
.followup-sort-indicator::before { top: 1px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.followup-sort-indicator::after { bottom: 1px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.followup-sort-button[data-direction="asc"] .followup-sort-indicator::before, .followup-sort-button[data-direction="desc"] .followup-sort-indicator::after { opacity: 1; }
.followup-sort-button[data-direction="asc"] .followup-sort-indicator::after, .followup-sort-button[data-direction="desc"] .followup-sort-indicator::before { opacity: .16; }
.followup-table .data-row.is-recently-touched { background: #eef3ff; box-shadow: inset 0 0 0 1px #c7d4ff; transition: background .8s ease, box-shadow .8s ease; }
.followup-new-label { display: inline-flex; margin-left: 8px; padding: 2px 6px; border-radius: 999px; background: #dfe8ff; color: var(--ui-brand); font-size: 10px; line-height: 16px; font-style: normal; font-weight: 600; vertical-align: 1px; }
.followup-pagination { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--ui-border); color: var(--ui-text-muted); font-size: 12px; }
.followup-pagination > div { display: flex; gap: 8px; }
.followup-pagination .secondary-button { min-width: 72px; min-height: 34px; padding: 6px 14px; }
.followup-pagination .secondary-button:disabled { cursor: not-allowed; opacity: .45; }
.followup-customer, .followup-customer > span, .followup-last-action, .followup-intent-cell { min-width: 0; }
.followup-customer > span, .followup-last-action, .followup-intent-cell { display: grid; align-content: center; gap: 4px; }
.followup-customer strong { overflow: hidden; color: var(--ui-text); font-size: 14px; line-height: 21px; text-overflow: ellipsis; white-space: nowrap; }
.followup-customer small, .followup-last-action small { color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }
.followup-status-chip { border: 1px solid var(--status-line) !important; background: var(--status-soft) !important; color: var(--status-color) !important; }
.resource-plan-status { min-width: 82px; justify-content: center; white-space: nowrap; border: 1px solid var(--ui-border); background: var(--ui-surface-subtle); color: var(--ui-text-muted); }
.resource-plan-status.is-success { border-color: var(--ui-success); background: var(--ui-success-soft); color: var(--ui-success); }
.resource-plan-status.is-running { border-color: var(--ui-brand); background: var(--ui-brand-soft); color: var(--ui-brand); }
.resource-plan-status.is-pending { border-color: var(--ui-warning); background: var(--ui-warning-soft); color: var(--ui-warning); }
.resource-plan-status.is-failed { border-color: var(--ui-danger); background: var(--ui-danger-soft); color: var(--ui-danger); }
.followup-last-action strong { color: var(--ui-text); font-size: 13px; line-height: 19px; font-weight: 600; white-space: nowrap; }
.followup-intent-cell { justify-items: start; }
.followup-intent-cell .intent-score { font-size: 28px; line-height: 32px; font-weight: 600; font-variant-numeric: tabular-nums; }
.followup-node-cell { min-width: 0; align-self: center; }
.followup-node-track { display: grid; min-width: 390px; grid-template-columns: repeat(var(--node-count), minmax(42px, 1fr)); align-items: start; }
.followup-node { position: relative; display: grid; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ui-text-muted); font: inherit; text-align: center; cursor: pointer; }
.followup-node.is-pending { cursor: default; }
.followup-node.is-pending:hover span { color: var(--ui-text-muted); }
.followup-node::after { content: ""; position: absolute; z-index: 0; top: 8px; left: calc(50% + 9px); width: calc(100% - 18px); height: 1px; background: #dbe2ed; }
.followup-node.is-done::after { background: var(--node-line); }
.followup-node:last-child::after { display: none; }
.followup-node i { position: relative; z-index: 1; display: block; width: 15px; height: 15px; margin: 1px auto 8px; border: 2px solid var(--node-line); border-radius: 50%; background: #fff; box-sizing: border-box; }
.followup-node.is-done i { border-color: var(--node-color); background: var(--node-color); box-shadow: inset 0 0 0 3px #fff; }
.followup-node.is-current i { border-color: var(--node-color); background: var(--node-color); box-shadow: inset 0 0 0 3px #fff, 0 0 0 4px var(--node-soft); }
.followup-node span { display: block; min-height: 38px; padding: 0 2px; color: inherit; font-size: 12px; line-height: 18px; word-break: keep-all; }
.followup-node.is-current span { color: var(--node-color); font-weight: 700; }
.followup-node:hover span, .followup-node:focus-visible span { color: var(--node-color); }
.followup-node:focus-visible { outline: 0; }
.followup-node:focus-visible i { outline: 3px solid rgba(27,75,229,.2); outline-offset: 2px; }
.followup-actions { display: flex; align-items: center; align-content: center; flex-wrap: wrap; gap: 8px; }
.followup-actions .row-action { min-height: 32px; padding: 5px 9px; white-space: nowrap; }
.followup-node-popover { position: fixed; z-index: 80; max-width: calc(100vw - 24px); padding: 16px; border: 1px solid #cbd5e7; border-radius: 12px; background: #fff; box-shadow: 0 14px 34px rgba(31,48,80,.16); pointer-events: auto; }
.followup-node-popover[hidden] { display: none; }
.followup-popover-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid #edf0f5; }
.followup-popover-head span { color: var(--ui-text); font-size: 14px; font-weight: 700; }
.followup-popover-head b { color: var(--ui-brand); font-size: 11px; font-weight: 600; }
.followup-popover-event { margin-top: 12px; }
.followup-popover-time { display: grid; grid-template-columns: minmax(88px, auto) 1fr; align-items: baseline; column-gap: 16px; padding-bottom: 10px; border-bottom: 1px solid #edf0f5; }
.followup-popover-time p { margin-top: 0; font-variant-numeric: tabular-nums; text-align: right; }
.followup-popover-event strong { display: block; color: var(--ui-text-muted); font-size: 12px; line-height: 18px; font-weight: 600; }
.followup-popover-event p { margin: 3px 0 0; color: var(--ui-text); font-size: 13px; line-height: 20px; }
.followup-popover-facts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.followup-popover-facts span { padding: 3px 7px; border-radius: 5px; background: #f4f6fa; color: #667085; font-size: 10px; line-height: 16px; }
.followup-detail-modal { width: min(820px, calc(100vw - 24px)); max-width: none; }

/* DeepSeek-backed homepage brief and enterprise research detail. */
#view-home .customer-card,
#view-home .insight-panel,
.detail-modal { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
#view-home .customer-content-scroll { display: flex; min-height: 0; flex-direction: column; }
#view-home .deepseek-search-block { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--ui-border, #e5e7eb); }
#view-home .deepseek-search-block > header,
#view-home .geo-summary-card > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#view-home .deepseek-search-block h3,
#view-home .geo-summary-card h3 { margin: 0; color: var(--ui-text, #17191c); font-size: 14px; line-height: 20px; font-weight: 650; }
#view-home .deepseek-search-block > header span { color: var(--ui-success, #18865b); font-size: 12px; line-height: 18px; font-weight: 650; white-space: nowrap; }
#view-home .deepseek-search-block.is-empty > header span { color: var(--ui-warning, #b96800); }
#view-home .deepseek-search-summary { display: -webkit-box; margin: 10px 0 9px; overflow: hidden; color: var(--ui-text-secondary, #4c5665); font-size: 13px; line-height: 22px; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; }
#view-home .deepseek-key-facts { margin: 0; }
#view-home .deepseek-key-facts > div { display: grid; min-width: 0; padding: 6px 0; grid-template-columns: 66px minmax(0,1fr); gap: 8px; border-top: 1px solid #eef0f3; }
#view-home .deepseek-key-facts dt { color: #697386; font-size: 12px; line-height: 20px; }
#view-home .deepseek-key-facts dd { margin: 0; overflow: hidden; color: #343a40; font-size: 13px; line-height: 20px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
#view-home .deepseek-search-block > footer { display: flex; margin-top: 7px; align-items: center; justify-content: space-between; gap: 10px; }
#view-home .deepseek-search-block > footer span { overflow: hidden; color: #7a879b; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
#view-home .deepseek-search-block > footer button { flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: #1b4be5; font-size: 12px; line-height: 18px; cursor: pointer; }
#view-home .deepseek-search-block > footer button:focus-visible { border-radius: 4px; outline: 2px solid #1b4be5; outline-offset: 2px; }
#view-home .deepseek-empty-state { margin-top: 10px; padding: 11px 12px; border-radius: 10px; background: #f6f7f9; }
#view-home .deepseek-empty-state strong { display: block; color: #343a40; font-size: 12px; line-height: 18px; }
#view-home .deepseek-empty-state p { margin: 5px 0 8px; color: #697386; font-size: 12px; line-height: 19px; }
#view-home .deepseek-empty-state div { display: flex; flex-wrap: wrap; gap: 6px; }
#view-home .deepseek-empty-state div span { padding: 3px 8px; border: 1px solid #dfe4ec; border-radius: 999px; background: #fff; color: #697386; font-size: 12px; line-height: 18px; }
#view-home .deepseek-empty-state > button { margin-top: 9px; padding: 0; border: 0; background: transparent; color: #1b4be5; font-size: 12px; line-height: 18px; cursor: pointer; }
#view-home .deepseek-empty-state > button:focus-visible { border-radius: 4px; outline: 2px solid #1b4be5; outline-offset: 2px; }
#view-home .geo-summary-anchor { flex: 0 0 auto; margin-top: auto; padding-top: 16px; }
#view-home .geo-summary-card { margin-top: 0; padding: 14px 14px 13px; border: 1px solid #9eb8ff; border-radius: 10px; background: #f8faff; }
#view-home .geo-summary-card > header span { max-width: 172px; overflow: hidden; padding: 2px 8px; border: 1px solid #bed0ff; border-radius: 6px; color: #1b4be5; font-size: 12px; line-height: 18px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
#view-home .geo-summary-card > p { display: -webkit-box; margin: 10px 0 11px; overflow: hidden; color: #46556c; font-size: 13px; line-height: 22px; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; }
#view-home .geo-summary-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #697386; font-size: 12px; line-height: 18px; }
#view-home .geo-summary-card > footer b { color: #52657d; font-size: 12px; font-weight: 600; }
#view-home .geo-summary-card.is-empty { border-color: #d9e0ec; background: #fafbfc; }
#view-home .geo-summary-card.is-empty > header span { border-color: #d9e0ec; color: #697386; }

.detail-modal { width: min(1160px, calc(100vw - 48px)) !important; }
.detail-modal-card { box-sizing: border-box; height: min(820px, calc(100vh - 40px)) !important; max-height: min(820px, calc(100vh - 40px)) !important; padding: 22px 26px 16px !important; }
.detail-modal .modal-head { min-height: 48px; align-items: flex-start; }
.detail-modal .modal-head > div { display: block; min-width: 0; }
.detail-modal .modal-head h2 { max-width: 780px; font-size: 20px !important; line-height: 28px !important; }
.detail-modal .modal-head p { margin-top: 3px !important; font-size: 12px !important; line-height: 18px !important; }
.detail-modal .modal-head .icon-button { flex: 0 0 40px; width: 40px; height: 40px; }
.detail-modal-card > #modalCustomerBody { margin-top: 8px; padding: 0 4px 2px 0 !important; overflow-x: hidden !important; overflow-y: auto !important; -ms-overflow-style: none; scrollbar-gutter: auto; scrollbar-width: none; }
.detail-modal-card > #modalCustomerBody::-webkit-scrollbar { display: none; width: 0; height: 0; }
.deepseek-detail-status { display: flex; min-height: 40px; align-items: center; justify-content: space-between; gap: 16px; }
.deepseek-detail-status > div { display: flex; min-width: 0; align-items: center; gap: 12px; }
.deepseek-detail-status > div > span { display: inline-flex; align-items: center; gap: 7px; color: #18865b; font-size: 13px; line-height: 20px; font-weight: 650; white-space: nowrap; }
.deepseek-detail-status > div > span.is-not_found,
.deepseek-detail-status > div > span.is-failed,
.deepseek-detail-status > div > span.is-searching { color: #b96800; }
.deepseek-detail-status svg { width: 16px; height: 16px; }
.deepseek-detail-status small { overflow: hidden; color: #7a879b; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.deepseek-detail-status .secondary-button { display: inline-flex; min-width: 92px; height: 38px; padding-inline: 16px; flex: 0 0 auto; align-items: center; justify-content: center; font-size: 13px; line-height: 20px; white-space: nowrap; }
.deepseek-detail-layout { display: grid; min-height: 0; margin-top: 12px; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .95fr); grid-template-rows: 412px 116px; column-gap: 18px; row-gap: 12px; flex: 0 0 auto; }
.deepseek-detail-main { display: grid; min-width: 0; height: 412px; grid-template-rows: 172px 228px; align-content: start; gap: 12px; overflow: hidden; }
.deepseek-detail-main > section,
.deepseek-detail-sidebar > section { border: 1px solid #dfe4ec; border-radius: 12px; background: #fff; }
.deepseek-detail-main h3,
.deepseek-detail-sidebar h3,
.deepseek-visibility-wide h3 { margin: 0; color: #17191c; font-size: 15px; line-height: 22px; font-weight: 650; }
.deepseek-overview-card { height: 172px; padding: 15px 17px; overflow: hidden; border-color: #cbd9ff !important; background: #f8faff !important; }
.deepseek-overview-card p { display: -webkit-box; margin: 7px 0 0; overflow: hidden; color: #46556c; font-size: 13px; line-height: 21px; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; }
.deepseek-business-section { padding: 13px 17px 10px; }
.deepseek-business-section dl { margin: 8px 0 0; }
.deepseek-business-section dl > div { display: grid; padding: 7px 0; grid-template-columns: 102px minmax(0,1fr); gap: 12px; border-top: 1px solid #eef0f3; }
.deepseek-business-section dt { color: #343a40; font-size: 13px; line-height: 21px; font-weight: 600; }
.deepseek-business-section dd { margin: 0; color: #52657d; font-size: 13px; line-height: 21px; }
.deepseek-signal-section { height: 228px; padding: 13px 17px 14px; overflow: hidden; }
.deepseek-signal-section > ol { display: grid; margin: 9px 0 0; padding: 0; gap: 4px; list-style: none; }
.deepseek-signal-section li { display: grid; min-width: 0; min-height: 40px; padding: 7px 10px; grid-template-columns: 24px minmax(0,1fr); align-items: start; gap: 9px; border-radius: 8px; background: #f8faff; }
.deepseek-signal-section li > span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 7px; background: #e8efff; color: #1b4be5; font-size: 12px; line-height: 1; font-weight: 700; }
.deepseek-signal-section li:nth-child(even) > span { background: #e7f5ef; color: #18865b; }
.deepseek-signal-section li p { display: -webkit-box; margin: 0; overflow: hidden; color: #46556c; font-size: 13px; line-height: 21px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.deepseek-visibility-section { padding: 13px 17px 14px; }
.deepseek-visibility-wide { grid-column: 1 / -1; padding: 0; border: 0; border-radius: 0; background: transparent; }
.deepseek-visibility-section > div { display: grid; margin-top: 9px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.deepseek-visibility-section > div > div { display: grid; min-width: 0; padding: 11px 12px; grid-template-columns: 22px minmax(0,1fr); align-items: center; gap: 2px 8px; border: 1px solid #e5e7eb; border-radius: 9px; background: #fbfcfe; }
.deepseek-visibility-section > div > div > span { grid-row: 1 / 3; }
.deepseek-visibility-section svg { width: 15px; height: 15px; }
.deepseek-visibility-section .is-success > span { color: #18865b; }
.deepseek-visibility-section .is-warning > span { color: #b96800; }
.deepseek-visibility-section b { color: #343a40; font-size: 13px; line-height: 20px; font-weight: 600; }
.deepseek-visibility-section em { overflow: hidden; color: #52657d; font-size: 12px; line-height: 20px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.deepseek-detail-sidebar { display: grid; min-width: 0; height: 412px; align-content: stretch; gap: 12px; overflow: hidden; }
.deepseek-geo-panel { height: 412px; padding: 16px; overflow: hidden; border-color: #9eb8ff !important; background: #f8faff !important; }
.deepseek-geo-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.deepseek-geo-panel > header span { max-width: 170px; overflow: hidden; padding: 2px 8px; border: 1px solid #bed0ff; border-radius: 6px; color: #1b4be5; font-size: 12px; line-height: 18px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.deepseek-geo-panel > p { margin: 12px 2px 13px; color: #46556c; font-size: 13px; line-height: 21px; }
.deepseek-geo-panel h4 { margin: 0; padding-top: 11px; border-top: 1px solid #d9e3ff; color: #343a40; font-size: 13px; line-height: 20px; }
.deepseek-geo-panel ol { display: grid; margin: 8px 0 0; padding: 0; gap: 7px; list-style: none; }
.deepseek-geo-panel li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 8px; align-items: start; }
.deepseek-geo-panel li > span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 6px; background: #4f73e8; color: #fff; font-size: 12px; line-height: 1; font-weight: 650; }
.deepseek-geo-panel li p { margin: 0; color: #52657d; font-size: 13px; line-height: 21px; }
.deepseek-geo-panel li.is-empty { display: block; }
.deepseek-detail-empty { grid-column: 1/-1; padding: 13px; border-radius: 10px; background: #f6f7f9; }
.deepseek-detail-empty strong { color: #343a40; font-size: 12px; }
.deepseek-detail-empty p { margin: 4px 0 0; color: #697386; font-size: 11px; line-height: 18px; }
.detail-modal .detail-action-bar { min-height: 52px; margin-top: 11px !important; padding-top: 11px !important; flex: 0 0 auto; }
.detail-modal .detail-action-bar button { min-height: 40px; font-size: 13px; line-height: 20px; white-space: nowrap; }
.deepseek-footer-summary { display: flex; min-width: 0; align-items: center; gap: 9px; }
.deepseek-footer-summary strong { overflow: hidden; color: #52657d; font-size: 12px; line-height: 18px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.deepseek-footer-summary span { flex: 0 0 auto; color: #7a879b; font-size: 12px; line-height: 18px; }

@media (max-height: 760px) and (min-width: 801px) {
  .detail-modal-card { padding-top: 16px !important; padding-bottom: 12px !important; }
  .deepseek-detail-status { min-height: 32px; }
  .deepseek-detail-layout { margin-top: 8px; grid-template-rows: 340px 104px; gap: 12px; }
  .deepseek-detail-main,
  .deepseek-detail-sidebar { height: 340px; gap: 8px; }
  .deepseek-detail-main { height: 340px; grid-template-rows: 132px 200px; }
  .deepseek-overview-card { height: 132px; }
  .deepseek-overview-card p { -webkit-line-clamp: 3; line-clamp: 3; }
  .deepseek-signal-section { height: 200px; }
  .deepseek-signal-section li { min-height: 34px; padding-top: 4px; padding-bottom: 4px; }
  .deepseek-geo-panel { height: 340px; }
  .deepseek-overview-card,
  .deepseek-business-section,
  .deepseek-signal-section,
  .deepseek-visibility-section,
  .deepseek-geo-panel { padding-top: 10px; padding-bottom: 9px; }
}

@media (max-width: 900px) {
  .detail-modal-card > #modalCustomerBody { overflow-y: auto !important; }
  .deepseek-detail-layout { grid-template-columns: 1fr; grid-template-rows: auto; }
  .deepseek-detail-main,
  .deepseek-detail-sidebar { height: auto; grid-template-rows: auto; overflow: visible; }
  .deepseek-overview-card,
  .deepseek-signal-section,
  .deepseek-geo-panel { height: auto; }
  .deepseek-visibility-section > div { grid-template-columns: 1fr; }
  .deepseek-detail-status > div { display: block; }
  .deepseek-detail-status small { display: block; margin-top: 2px; }
}
.followup-detail-card { width: 100%; max-height: min(820px, calc(100vh - 30px)); overflow: hidden; }
.followup-detail-route { display: block; margin-bottom: 5px; color: var(--ui-brand); font-size: 11px; line-height: 17px; font-weight: 700; }
.followup-detail-card #followupDetailTitle { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.followup-detail-card .modal-head p { margin-top: 5px; }
#followupDetailBody { overflow-y: auto; padding: 2px 24px 20px; }
.followup-detail-overview { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--ui-border); }
.followup-detail-overview > div { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 12px 14px; border: 1px solid #e5e9f1; border-radius: 9px; background: #fbfcfe; }
.followup-detail-overview span, .followup-detail-overview small { color: var(--ui-text-muted); font-size: 11px; line-height: 17px; }
.followup-detail-overview strong { overflow: hidden; color: var(--ui-text); font-size: 15px; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
.followup-detail-overview strong.is-warning { color: #ad6800; }
.followup-detail-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.followup-detail-section-head h3 { margin: 0; color: var(--ui-text); font-size: 15px; line-height: 22px; }
.followup-detail-section-head p { margin: 4px 0 0; color: var(--ui-text-muted); font-size: 11px; line-height: 17px; }
.followup-intent-detail { padding: 18px 0; border-bottom: 1px solid var(--ui-border); }
.followup-intent-weight { flex: 0 0 auto; padding: 4px 8px; border-radius: 5px; background: #eef3ff; color: var(--ui-brand); font-size: 11px; line-height: 17px; }
.followup-intent-dimensions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 22px; }
.followup-intent-dimensions > div { display: grid; grid-template-columns: 72px 38px minmax(0,1fr); align-items: center; gap: 8px; }
.followup-intent-dimensions span { color: #5c6677; font-size: 11px; }
.followup-intent-dimensions strong { color: var(--ui-text); font-size: 12px; text-align: right; }
.followup-intent-dimensions i { display: block; height: 5px; overflow: hidden; border-radius: 99px; background: #e8edf5; }
.followup-intent-dimensions i b { display: block; height: 100%; border-radius: inherit; background: var(--ui-brand); }
.followup-blockers { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 14px; }
.followup-blockers span { color: var(--ui-text-muted); font-size: 11px; }
.followup-blockers em { padding: 3px 8px; border-radius: 5px; background: #fff6e5; color: #a66a00; font-size: 11px; font-style: normal; line-height: 17px; }
.followup-detail-timeline { padding: 18px 0 0; }
.followup-detail-node-list { position: relative; display: grid; gap: 0; }
.followup-detail-node-list::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 7px; width: 1px; background: #dfe5ef; }
.followup-detail-node { position: relative; display: grid; grid-template-columns: 16px minmax(0,1fr); gap: 12px; padding-bottom: 15px; }
.followup-detail-node > i { position: relative; z-index: 1; width: 15px; height: 15px; border: 2px solid var(--node-line); border-radius: 50%; background: #fff; box-sizing: border-box; }
.followup-detail-node.is-done > i { border-color: var(--node-color); background: var(--node-color); box-shadow: inset 0 0 0 3px #fff; }
.followup-detail-node.is-current > i { border-color: var(--node-color); background: var(--node-soft); box-shadow: 0 0 0 4px var(--node-soft); }
.followup-detail-node strong, .followup-detail-node span, .followup-detail-node small { display: block; }
.followup-detail-node strong { color: var(--ui-text); font-size: 13px; line-height: 20px; }
.followup-detail-node.is-current strong { color: var(--node-color); }
.followup-detail-node span { margin-top: 2px; color: var(--ui-text); font-size: 12px; line-height: 19px; }
.followup-detail-node small { margin-top: 2px; color: var(--ui-text-muted); font-size: 11px; line-height: 18px; }
@media (max-width: 1100px) { .followup-toolbar { align-items: flex-start; flex-direction: column; } .followup-filter-actions { width: 100%; margin-left: 0; flex-wrap: wrap; } }
@media (max-width: 900px) { .followup-summary { grid-template-columns: repeat(2, minmax(0,1fr)); } .followup-table { min-width: 1160px; } .followup-table.is-operator { min-width: 1280px; } }
@media (max-width: 640px) { .followup-summary { grid-template-columns: 1fr; } .followup-detail-overview, .followup-intent-dimensions { grid-template-columns: 1fr; } #followupDetailBody { padding-left: 16px; padding-right: 16px; } .followup-detail-card .modal-foot { flex-wrap: wrap; } }
.deepseek-detail-error{margin:0 0 14px;padding:12px 14px;border:1px solid #fecaca;border-radius:10px;background:#fff7f7;color:#991b1b}.deepseek-detail-error strong{display:block;font-size:14px}.deepseek-detail-error p{margin:5px 0 0;font-size:13px;line-height:1.55;color:#7f1d1d}.deepseek-detail-error.is-warning{border-color:#fde68a;background:#fffbeb;color:#92400e}.deepseek-detail-error.is-warning p{color:#78350f}

/* Record customer feedback · local redesign v3 */
.feedback-modal {
  width: min(1460px, calc(100vw - 48px));
  border-radius: 22px;
}
.feedback-modal .feedback-card {
  height: min(860px, calc(100vh - 40px));
  border-radius: 22px;
  font-size: 14px;
}
.feedback-modal :where(button,input,textarea,select,p,span,small,time,a,li) {
  font-size: 13px;
  line-height: 20px;
}
.feedback-head {
  min-height: 88px;
  align-items: center;
  padding: 18px 28px;
}
.feedback-head h2 {
  margin: 0;
  color: #17191c;
  font-size: 22px;
  line-height: 30px;
  font-weight: 680;
  letter-spacing: -.02em;
}
.feedback-head p {
  margin-top: 5px;
  color: #697386;
  font-size: 13px;
  line-height: 20px;
}
.feedback-head .icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid #d3d7de;
  border-radius: 11px;
}
.feedback-head .icon-button svg { width: 18px; height: 18px; }
.feedback-service-status {
  min-height: 36px;
  padding: 0 13px;
  border-color: #d3d7de;
  font-size: 13px;
  font-weight: 600;
}
.feedback-service-status.is-connected { border-color: #cfe4d9; background: #edf8f3; color: #176b4c; }
.feedback-service-status.is-degraded { border-color: #f1d6aa; background: #fff7e8; color: #965500; }
.feedback-service-status.is-disconnected { border-color: #ead6b5; background: #fff8ec; color: #965500; }
.feedback-flow {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 0 28px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #fbfcfd;
  color: #697386;
}
.feedback-flow span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.feedback-flow b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #d3d7de;
  border-radius: 50%;
  background: #fff;
  color: #697386;
  font-size: 13px;
}
.feedback-flow span.is-active { color: #1b4be5; font-weight: 650; }
.feedback-flow span.is-active b { border-color: #b9c8ff; background: #eef3ff; color: #1b4be5; }
.feedback-flow i { width: 38px; height: 1px; background: #d3d7de; }
.feedback-workspace {
  display: grid;
  min-height: 0;
  flex: 1 1 auto;
  grid-template-columns: 320px minmax(520px, 1.4fr) minmax(330px, .84fr);
  overflow: hidden;
  border-top: 0;
  border-bottom: 0;
}
.feedback-library {
  background: #fafbfc;
  border-right: 1px solid #e5e7eb;
}
.feedback-library-head { padding: 20px 18px 13px; }
.feedback-library-head h3 { margin-bottom: 3px; font-size: 16px; line-height: 23px; }
.feedback-library-head h3 span {
  display: inline-flex;
  min-width: 26px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eceff2;
  color: #596271;
  font-size: 13px;
}
.feedback-library-head small,.feedback-manage { font-size: 13px; line-height: 20px; }
.feedback-search { height: 40px; margin: 0 18px 12px; }
.feedback-search input { color: #343a40; font-size: 13px; }
.feedback-search input::placeholder { color: #697386; opacity: 1; }
.feedback-tabs { gap: 5px; padding: 0 18px 13px; }
.feedback-tabs button { height: 34px; font-size: 13px; }
.feedback-history { padding: 0 11px 18px; }
.feedback-history-item {
  grid-template-columns: 46px minmax(0,1fr) auto;
  gap: 11px;
  min-height: 70px;
  padding: 11px 10px;
  border-bottom-color: #e5e7eb;
  border-radius: 11px;
}
.feedback-history-item:not(.is-managing) { grid-template-columns: 46px minmax(0,1fr) auto; }
.feedback-history-item.is-managing { grid-template-columns: 20px 46px minmax(0,1fr); }
.feedback-history-item.is-managing .feedback-file-status { grid-column: 3; justify-self: start; }
.feedback-file-thumb { width: 46px; height: 46px; border: 1px solid #e1e5eb; }
.feedback-file-copy strong { margin-bottom: 2px; font-size: 14px; line-height: 21px; }
.feedback-file-copy small,.feedback-file-status { font-size: 13px; line-height: 20px; }
.feedback-file-status { align-self: end; justify-self: end; }
.feedback-history-empty { padding: 24px 12px; color: #697386; font-size: 13px; line-height: 21px; }
.feedback-privacy {
  margin: auto 0 0;
  padding: 13px 18px 16px;
  border-top: 1px solid #e5e7eb;
  color: #697386;
  font-size: 13px;
  line-height: 20px;
}
.feedback-compose {
  display: block;
  min-width: 0;
  overflow: auto;
  padding: 22px 24px 26px;
}
.feedback-section-head { display: flex; align-items: flex-start; justify-content: space-between; }
.feedback-section-head h3 { margin: 0 0 4px; font-size: 17px; line-height: 24px; }
.feedback-section-head p { font-size: 13px; line-height: 20px; }
.feedback-draft-state {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #f0f2f5;
  color: #697386;
  font-size: 13px;
  white-space: nowrap;
}
.feedback-compose-meta {
  display: grid;
  grid-template-columns: minmax(0,1fr) 205px;
  gap: 14px;
  margin-top: 18px;
}
.feedback-channel { min-width: 0; margin: 0; padding: 0; border: 0; }
.feedback-channel legend,.feedback-time > span,.feedback-note > span {
  display: block;
  margin-bottom: 8px;
  color: #343a40;
  font-size: 14px;
  line-height: 21px;
  font-weight: 650;
}
.feedback-channel > div {
  display: grid;
  height: 42px;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 5px;
  padding: 4px;
  border-radius: 10px;
  background: #f0f2f5;
}
.feedback-channel button { border: 0; border-radius: 8px; background: transparent; color: #697386; font-size: 13px; }
.feedback-channel button.is-active {
  border: 1px solid #dfe3e9;
  background: #fff;
  color: #17191c;
  font-weight: 650;
  box-shadow: 0 2px 6px rgba(16,24,40,.06);
}
.feedback-time { display: block; }
.feedback-time input { height: 42px; font-size: 14px; }
.feedback-note { display: block; margin-top: 15px; }
.feedback-note textarea {
  display: block;
  width: 100%;
  min-height: 126px;
  font-size: 14px;
  line-height: 22px;
}
.feedback-note textarea::placeholder { color: #697386; opacity: 1; }
.feedback-quick-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.feedback-quick-tags button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #dfe3e9;
  border-radius: 999px;
  background: #fff;
  color: #596271;
  font-size: 13px;
}
.feedback-quick-tags button:hover,.feedback-quick-tags button.is-selected { border-color: #bdcbfb; background: #eef3ff; color: #1b4be5; }
.feedback-evidence-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
}
.feedback-evidence-head strong { font-size: 14px; line-height: 21px; }
.feedback-evidence-head span { color: #697386; font-size: 13px; line-height: 20px; text-align: right; }
.feedback-dropzone {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  padding: 16px;
  border-color: #aebee8;
  border-radius: 12px;
  background: #fafcff;
  text-align: left;
}
.feedback-upload-icon { position: relative; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; }
.feedback-upload-icon:empty::before {
  content: "";
  width: 16px;
  height: 16px;
  border: solid #1b4be5;
  border-width: 0 2px 2px 0;
  transform: rotate(225deg) translate(-2px,-2px);
}
.feedback-upload-icon:empty::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 8px;
  margin-top: 9px;
  border: solid #1b4be5;
  border-width: 0 0 2px 0;
}
.feedback-dropzone > span:last-child { display: block; }
.feedback-dropzone strong { display: block; font-size: 14px; line-height: 21px; }
.feedback-dropzone small { display: block; margin-top: 3px; color: #697386; font-size: 13px; line-height: 20px; }
.feedback-queue { margin-top: 10px; }
.feedback-queue-item { min-height: 58px; padding: 10px 12px; }
.feedback-queue-item strong,.feedback-queue-item small { font-size: 13px; line-height: 20px; }
.feedback-compose.is-reviewing { overflow: hidden; padding: 18px 20px 22px; }
.feedback-compose.is-reviewing > .feedback-section-head,
.feedback-compose.is-reviewing > .feedback-compose-meta,
.feedback-compose.is-reviewing > .feedback-note,
.feedback-compose.is-reviewing > .feedback-quick-tags,
.feedback-compose.is-reviewing > .feedback-evidence-head,
.feedback-compose.is-reviewing > .feedback-dropzone { display: none; }
.feedback-detail-head strong,.feedback-transcript-head strong { font-size: 14px; line-height: 21px; }
.feedback-detail-head small,.feedback-detail-state,.feedback-transcript-head span,.feedback-audio-time,
.feedback-recognition-retry,.feedback-image-status,.feedback-ocr summary span small { font-size: 13px; line-height: 20px; }
.feedback-transcript p { font-size: 13px; line-height: 21px; }
.feedback-recognition-state { padding: 16px 0 0; border-top: 1px solid #e5e7eb; }
.feedback-recognition-state strong { display: block; font-size: 15px; line-height: 22px; }
.feedback-recognition-state p { margin: 5px 0 0; color: #566174; font-size: 14px; line-height: 22px; }
.feedback-insight {
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  flex-direction: column;
  border-left: 1px solid #e5e7eb;
  background: #fbfcfe;
}
.feedback-insight-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 18px 15px;
  border-bottom: 1px solid #e5e7eb;
}
.feedback-insight-head h3 { margin: 0 0 4px; font-size: 17px; line-height: 24px; }
.feedback-insight-head p { margin: 0; color: #697386; font-size: 13px; line-height: 20px; }
.feedback-ai-badge { min-height: 28px; padding: 0 9px; font-size: 13px; }
.feedback-insight-body { min-height: 0; flex: 1 1 auto; overflow: auto; padding: 17px 18px; }
.feedback-insight-empty { padding: 4px 0; }
.feedback-conclusion-mark { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 16px; border-radius: 13px; background: #eef3ff; color: #1b4be5; }
.feedback-conclusion-mark svg { width: 22px; height: 22px; }
.feedback-insight-empty strong { display: block; font-size: 15px; line-height: 22px; }
.feedback-insight-empty p { margin: 8px 0 14px; color: #566174; font-size: 13px; line-height: 21px; }
.feedback-insight-empty ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: #697386; }
.feedback-insight-empty li { font-size: 13px; line-height: 20px; }
.feedback-insight-progress { display: grid; align-content: start; }
.feedback-insight-progress-mark { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 13px; border-radius: 12px; background: #eef3ff; color: #1b4be5; }
.feedback-insight-progress-mark svg { width: 21px; height: 21px; }
.feedback-insight-progress > strong { font-size: 15px; line-height: 22px; }
.feedback-insight-progress > p { margin: 7px 0 14px; color: #566174; font-size: 13px; line-height: 21px; }
.feedback-insight-progress > div { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #e5e7eb; }
.feedback-insight-progress > div span,.feedback-insight-progress > div b { font-size: 13px; line-height: 20px; }
.feedback-insight-progress > div b { color: #697386; font-weight: 600; }
.feedback-insight-score { padding-bottom: 16px; border-bottom: 1px solid #e5e7eb; }
.feedback-insight-score > div:first-child { display: flex; align-items: flex-end; justify-content: space-between; }
.feedback-insight-score span { color: #566174; font-size: 13px; }
.feedback-insight-score strong { color: #1b4be5; font-size: 32px; line-height: 36px; }
.feedback-insight-score strong small { font-size: 13px; font-weight: 500; }
.feedback-insight-score-track { height: 6px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: #e5e9f0; }
.feedback-insight-score-track i { display: block; height: 100%; border-radius: inherit; background: #1b4be5; }
.feedback-insight-block { padding: 15px 0; border-bottom: 1px solid #e5e7eb; }
.feedback-insight-block h4 { margin: 0 0 8px; font-size: 14px; line-height: 21px; }
.feedback-insight-block > strong { display: block; margin-bottom: 5px; font-size: 15px; line-height: 22px; }
.feedback-insight-block p { margin: 0; color: #566174; font-size: 13px; line-height: 21px; }
.feedback-insight-block blockquote { margin: 0; padding: 11px 12px; border-radius: 10px; background: #f0f2f5; color: #4c5665; font-size: 13px; line-height: 21px; }
.feedback-insight-block button { margin-top: 8px; padding: 0; border: 0; background: transparent; color: #1b4be5; font-size: 13px; line-height: 20px; text-align: left; }
.feedback-insight-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.feedback-insight-tags span { padding: 4px 8px; border-radius: 7px; background: #f0f2f5; color: #566174; font-size: 13px; line-height: 20px; }
.feedback-insight-next { margin-top: 15px; padding: 13px; border: 1px solid #c7d3fb; border-radius: 12px; background: #f4f7ff; }
.feedback-insight-next > span { color: #1b4be5; font-size: 13px; font-weight: 650; }
.feedback-insight-next strong { display: block; margin-top: 5px; color: #26324c; font-size: 14px; line-height: 21px; }
.feedback-insight-next p { margin: 5px 0 0; color: #566174; font-size: 13px; line-height: 20px; }
.feedback-insight-source-count { margin: 13px 0 0; color: #697386; font-size: 13px; line-height: 20px; }
.feedback-conclusion { padding: 6px 0 24px; }
.feedback-conclusion h4 { margin: 0 0 14px; color: #17191c; font-size: 18px; line-height: 26px; }
.feedback-conclusion-main { margin: 0; color: #20242b; font-size: 16px; line-height: 27px; font-weight: 600; }
.feedback-conclusion-inference { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid #e5e7eb; color: #3f4855; font-size: 15px; line-height: 25px; }
.feedback-conclusion-inference b { color: #1b4be5; }
.feedback-conclusion > small { display: block; margin-top: 18px; color: #697386; font-size: 13px; line-height: 21px; }
.feedback-insight-service {
  display: none;
  grid-template-columns: 9px minmax(0,1fr);
  gap: 9px;
  align-items: start;
  padding: 14px 18px 16px;
  border-top: 1px solid #e5e7eb;
}
.feedback-insight-service > span { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: #aab2bf; }
.feedback-insight-service p { margin: 0; color: #697386; font-size: 13px; line-height: 20px; }
.feedback-insight-service.is-connected > span { background: #18865b; }
.feedback-insight-service.is-degraded > span,.feedback-insight-service.is-disconnected > span { background: #b96800; }
.feedback-foot {
  min-height: 72px;
  padding: 14px 24px;
}
.feedback-foot > span { color: #697386; font-size: 13px; line-height: 20px; }
.feedback-foot button { min-height: 40px; font-size: 14px; }
.feedback-modal :where(button,input,textarea,select):focus-visible { outline: 2px solid #1b4be5; outline-offset: 2px; }

@media (max-width: 1240px) {
  .feedback-modal { width: calc(100vw - 24px); }
  .feedback-workspace { grid-template-columns: 280px minmax(460px,1fr) 320px; }
  .feedback-compose { padding-inline: 20px; }
  .feedback-evidence-head span { display: none; }
}
@media (max-width: 1080px) {
  .feedback-modal .feedback-card { height: 100vh; max-height: none; border-radius: 0; }
  .feedback-modal { width: 100vw; max-width: none; margin: 0; border-radius: 0; }
  .feedback-workspace { overflow: auto; grid-template-columns: 270px minmax(500px,1fr); grid-template-areas: "library compose" "library insight"; }
  .feedback-library { grid-area: library; position: sticky; top: 0; height: 100%; }
  .feedback-compose { grid-area: compose; overflow: visible; }
  .feedback-insight { grid-area: insight; min-height: 520px; border-top: 1px solid #e5e7eb; border-left: 0; }
}
@media (max-width: 760px) {
  .feedback-head { min-height: 78px; padding: 15px 16px; }
  .feedback-head h2 { font-size: 20px; line-height: 28px; }
  .feedback-flow { padding: 0 16px; overflow-x: auto; }
  .feedback-workspace { display: block; overflow: auto; }
  .feedback-library { position: static; min-height: 300px; height: auto; }
  .feedback-compose,.feedback-insight { padding-inline: 16px; }
  .feedback-compose-meta { grid-template-columns: 1fr; }
  .feedback-insight { min-height: 480px; }
  .feedback-foot { align-items: stretch; flex-direction: column; }
  .feedback-foot > div { width: 100%; }
  .feedback-foot button { flex: 1; }
}

/* Author display:flex must not override route visibility. */
.main-nav .nav-item[hidden]{display:none!important}
