:root {
      --bg: #f5f7fb;
      --panel: #ffffff;
      --line: #e8ecf3;
      --line-strong: #d8deea;
      --text: #1f2937;
      --text-strong: #101828;
      --muted: #667085;
      --blue: #2962ff;
      --blue-strong: #1f50e0;
      --blue-400: #5b8cff;
      --blue-soft: #eef2ff;
      --green-soft: #dff7e8;
      --green-text: #067647;
      --gray-soft: #f2f4f7;
      --shadow: 0 10px 26px rgba(16, 24, 40, 0.06);
      --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 2px 6px rgba(16, 24, 40, 0.05);
      --shadow-md: 0 6px 18px rgba(16, 24, 40, 0.07), 0 2px 6px rgba(16, 24, 40, 0.04);
      --shadow-blue: 0 8px 20px rgba(41, 98, 255, 0.22);
      --blue-grad: linear-gradient(135deg, #5b8cff 0%, #2962ff 100%);
      --ring-blue: 0 0 0 4px rgba(41, 98, 255, 0.14);
    }

    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
      background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
      color: var(--text);
    }
    .app {
      display: flex;
      height: 100vh;
      overflow: hidden;
    }
    .chat {
      flex: 0 0 36%;
      min-width: 280px;
      transition: flex-basis 0.28s ease, min-width 0.28s ease, opacity 0.2s ease, padding 0.28s ease, margin 0.28s ease;
    }
    .chat.collapsed {
      flex: 0 0 0px;
      min-width: 0;
      opacity: 0;
      overflow: hidden;
      pointer-events: none;
      padding: 0;
      margin: 0;
    }
    .divider {
      flex: 0 0 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      cursor: col-resize;
      background: rgba(232, 236, 243, 0.5);
      border-left: 1px solid var(--line);
      border-right: 1px solid var(--line);
      position: relative;
      z-index: 10;
      user-select: none;
      transition: background 0.15s ease;
    }
    .divider:hover {
      background: rgba(41, 98, 255, 0.08);
    }
    .dividerHandle {
      width: 4px;
      height: 40px;
      border-radius: 999px;
      background: #c8cfd8;
      transition: background 0.15s ease;
    }
    .divider:hover .dividerHandle {
      background: var(--blue);
    }
    .dividerBtn {
      border: 1px solid var(--line);
      background: #fff;
      color: var(--muted);
      border-radius: 999px;
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 9px;
      cursor: pointer;
      padding: 0;
      line-height: 1;
      transition: all 0.15s ease;
    }
    .dividerBtn:hover {
      color: var(--blue);
      border-color: var(--blue);
      background: var(--blue-soft);
    }
    .right {
      flex: 1 1 0%;
      min-width: 0;
      transition: flex-basis 0.28s ease, min-width 0.28s ease, opacity 0.2s ease, padding 0.28s ease, margin 0.28s ease;
    }
    .right.collapsed {
      flex: 0 0 0px;
      min-width: 0;
      opacity: 0;
      overflow: hidden;
      pointer-events: none;
      padding: 0;
      margin: 0;
    }
    .divider.collapsed {
      flex: 0 0 0px;
      border: 0;
      overflow: hidden;
      pointer-events: none;
      opacity: 0;
    }
    .panelRestore {
      position: fixed;
      z-index: 100;
      top: 50%;
      transform: translateY(-50%);
      width: 28px;
      height: 56px;
      border: 1px solid var(--line);
      background: #fff;
      color: var(--muted);
      border-radius: 0 10px 10px 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      cursor: pointer;
      box-shadow: 2px 0 12px rgba(16, 24, 40, 0.08);
      transition: all 0.15s ease;
      padding: 0;
    }
    .panelRestore:hover {
      color: var(--blue);
      border-color: var(--blue);
      background: var(--blue-soft);
      box-shadow: 2px 0 16px rgba(41, 98, 255, 0.14);
    }
    .panelRestore[hidden] { display: none; }
    .panelRestore.restoreLeft {
      left: 0;
      border-radius: 0 10px 10px 0;
    }
    .panelRestore.restoreRight {
      right: 0;
      border-radius: 10px 0 0 10px;
    }
    .chat {
      display: flex;
      flex-direction: column;
      min-height: 0;
      overflow: hidden;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
      backdrop-filter: blur(12px);
      box-shadow: inset -1px 0 0 var(--line);
    }
    .chatHeader {
      flex: 0 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 18px;
      border-bottom: 1px solid var(--line);
      background: linear-gradient(180deg, #ffffff 0%, rgba(248, 250, 252, 0.85) 100%);
    }
    .headerTitle {
      display: flex;
      align-items: center;
      gap: 9px;
      font-size: 16px;
      font-weight: 750;
      letter-spacing: -0.01em;
      color: var(--text-strong);
    }
    .headerTitle::before {
      content: "";
      width: 7px;
      height: 18px;
      border-radius: 3px;
      background: var(--blue-grad);
      box-shadow: var(--shadow-blue);
      flex: 0 0 7px;
    }
    .headerSub {
      margin-top: 5px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }
    .selectorPanel {
      padding: 14px 16px 12px;
      border-bottom: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.78) 100%);
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .selectorTitle {
      font-size: 13px;
      font-weight: 750;
      letter-spacing: -0.005em;
      color: var(--text-strong);
    }
    .scopeRow {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .scopeChip {
      border: 1px solid var(--line-strong);
      background: #fff;
      color: #344054;
      border-radius: 999px;
      padding: 7px 13px;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: all 160ms ease;
    }
    .scopeChip:hover {
      border-color: var(--blue-400);
      background: var(--blue-soft);
      color: var(--blue-strong);
    }
    .scopeChip.active {
      border-color: rgba(91, 140, 255, 0.6);
      background: var(--blue-grad);
      color: #fff;
      box-shadow: var(--shadow-blue);
    }
    .productPicker {
      display: none;
      background: #f8fafc;
      border: 1px solid #e5eaf3;
      border-radius: 14px;
      padding: 12px;
      gap: 12px;
      flex-direction: column;
    }
    .productPicker.visible { display: flex; }
    .groupTitle {
      font-size: 12px;
      font-weight: 700;
      color: #475467;
      margin-bottom: 8px;
    }
    .checkGrid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px 10px;
    }
    .checkItem {
      display: flex;
      gap: 8px;
      align-items: flex-start;
      color: #344054;
      font-size: 12px;
      line-height: 1.5;
    }
    .routeBadge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: 999px;
      background: #f8fafc;
      border: 1px solid #e5eaf3;
      color: #475467;
      font-size: 12px;
      margin-right: 8px;
      margin-bottom: 6px;
    }
    .ghostBtn {
      border: 1px solid var(--line-strong);
      background: #fff;
      color: #344054;
      border-radius: 10px;
      padding: 8px 12px;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
    }
    .ghostBtn:hover {
      border-color: var(--blue-400);
      background: var(--blue-soft);
      color: var(--blue-strong);
      transform: translateY(-1px);
    }
    .ghostBtn:active {
      transform: translateY(0);
    }
    .chatScroll {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      overflow-x: hidden;
      scrollbar-width: thin;
      scrollbar-color: rgba(152, 162, 179, 0.5) transparent;
    }
    .chatScroll::-webkit-scrollbar { width: 8px; height: 8px; }
    .chatScroll::-webkit-scrollbar-track { background: transparent; }
    .chatScroll::-webkit-scrollbar-thumb {
      background: rgba(152, 162, 179, 0.45);
      border-radius: 999px;
      border: 2px solid transparent;
      background-clip: padding-box;
    }
    .chatScroll::-webkit-scrollbar-thumb:hover {
      background: rgba(108, 122, 142, 0.6);
      background-clip: padding-box;
    }
    .messages {
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .msg {
      max-width: 85%;
      min-width: 0;
      padding: 12px 14px;
      border-radius: 16px;
      white-space: pre-wrap;
      line-height: 1.6;
      box-shadow: var(--shadow-sm);
      transition: box-shadow 180ms ease, transform 180ms ease;
    }
    .msg:has(.chatBlocks) {
      max-width: 96%;
    }
    .msgText {
      white-space: normal;
      word-break: break-word;
      overflow-wrap: anywhere;
    }
    .msg.u .msgText {
      white-space: pre-wrap;
    }
    .msgText p {
      margin: 0 0 8px;
    }
    .msgText p:last-child {
      margin-bottom: 0;
    }
    .msgText strong {
      color: #344054;
      font-weight: 800;
    }
    .msgText ul,
    .msgText ol {
      margin: 4px 0 8px;
      padding-left: 20px;
    }
    .msgText li {
      margin: 2px 0;
      line-height: 1.6;
    }
    .msgText li::marker {
      color: #667085;
    }
    .chatBlocks {
      margin-top: 12px;
      display: grid;
      gap: 10px;
      white-space: normal;
    }
    .chatBlock {
      min-width: 0;
      border: 1px solid #e5eaf3;
      background: #f8fafc;
      border-radius: 12px;
      padding: 12px;
    }
    .chatBlockTitle {
      font-size: 13px;
      font-weight: 800;
      color: #344054;
      margin-bottom: 4px;
    }
    .chatBlockSub {
      color: var(--muted);
      font-size: 12px;
      margin-bottom: 10px;
      line-height: 1.5;
    }
    .chatTableWrap {
      overflow-x: auto;
    }
    .chatTable {
      width: 100%;
      min-width: 680px;
      border-collapse: collapse;
      font-size: 12px;
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
    }
    .chatTable th,
    .chatTable td {
      border-bottom: 1px solid #edf1f7;
      padding: 8px 9px;
      text-align: right;
      white-space: nowrap;
    }
    .chatTable th:first-child,
    .chatTable td:first-child {
      text-align: left;
    }
    .chatTable th {
      background: #eef4ff;
      color: #344054;
      font-weight: 800;
    }
    .chatTable tr:last-child td {
      border-bottom: 0;
    }
    .pos { color: #067647; font-weight: 800; }
    .neg { color: #b42318; font-weight: 800; }
    .u {
      margin-left: auto;
      background: var(--blue-grad);
      color: #fff;
      border: 1px solid rgba(91, 140, 255, 0.55);
      border-bottom-right-radius: 5px;
      box-shadow: var(--shadow-blue);
    }
    .a {
      margin-right: auto;
      background: #fff;
      color: var(--text);
      border: 1px solid var(--line);
      border-bottom-left-radius: 5px;
      box-shadow: var(--shadow-sm);
      transition: box-shadow 180ms ease, border-color 180ms ease;
    }
    .a:hover {
      border-color: #d8deea;
      box-shadow: var(--shadow-md);
    }
    .input {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      gap: 10px;
      border-top: 1px solid var(--line);
      padding: 14px 16px 16px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.96) 30%);
      box-shadow: 0 -8px 18px rgba(16, 24, 40, 0.03);
    }
    .inputWrap {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    textarea {
      width: 100%;
      resize: none;
      border: 1px solid var(--line-strong);
      border-radius: 14px;
      padding: 12px 14px;
      min-height: 64px;
      max-height: 180px;
      line-height: 1.6;
      font: inherit;
      background: #fff;
      box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.03);
      transition: border-color 160ms ease, box-shadow 160ms ease;
    }
    textarea::placeholder {
      color: #98a2b3;
    }
    textarea:focus {
      outline: none;
      border-color: var(--blue-400);
      box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.03), var(--ring-blue);
    }
    button.primaryBtn {
      border: 0;
      background: var(--blue-grad);
      color: #fff;
      border-radius: 14px;
      padding: 0 20px;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.01em;
      cursor: pointer;
      min-width: 84px;
      box-shadow: var(--shadow-blue);
      transition: transform 120ms ease, box-shadow 160ms ease, filter 160ms ease;
    }
    button.primaryBtn:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 24px rgba(41, 98, 255, 0.3);
      filter: brightness(1.04);
    }
    button.primaryBtn:active {
      transform: translateY(0);
      box-shadow: 0 4px 10px rgba(41, 98, 255, 0.2);
    }
    button.primaryBtn:disabled {
      transform: none;
      filter: none;
      box-shadow: none;
    }
    button:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
    /* 输入区按钮组：统一尺寸 + 精致图标，主次分明（仅影响 #kycBtn / #send） */
    .input #kycBtn,
    .input #send {
      min-height: 46px;
      border-radius: 14px;
      font-size: 14px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      line-height: 1;
    }
    .input #kycBtn {
      padding: 0 14px;
    }
    .input #send {
      padding: 0 18px;
    }
    .input #kycBtn::before,
    .input #send::after {
      content: "";
      width: 15px;
      height: 15px;
      flex: 0 0 15px;
      background: currentColor;
    }
    .input #kycBtn::before {
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") center / contain no-repeat;
      mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") center / contain no-repeat;
    }
    .input #send::after {
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.4 20.4l17.45-7.48a1 1 0 000-1.84L3.4 3.6a.993.993 0 00-1.39.91L2 9.12c0 .5.37.93.87.99L17 12 2.87 13.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91z'/%3E%3C/svg%3E") center / contain no-repeat;
      mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.4 20.4l17.45-7.48a1 1 0 000-1.84L3.4 3.6a.993.993 0 00-1.39.91L2 9.12c0 .5.37.93.87.99L17 12 2.87 13.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91z'/%3E%3C/svg%3E") center / contain no-repeat;
    }
    .input #send:disabled::after { opacity: 0.6; }
    .hint {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.4;
    }
    .productRecallBar {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 8px 14px;
      background: var(--blue-soft);
      border-bottom: 1px solid #dbe6ff;
      color: #2341b6;
      font-size: 12px;
    }
    .productRecallBar[hidden] { display: none; }
    .productRecallText { font-weight: 700; }
    .productRecallBtn {
      flex: 0 0 auto;
      border: 1px solid #b5c8ff;
      background: #fff;
      color: #2341b6;
      border-radius: 8px;
      padding: 5px 12px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
    }
    .productRecallBtn:hover { background: #eef2ff; }
    .productPopover {
      position: fixed;
      inset: 0;
      z-index: 60;
      background: rgba(16, 24, 40, 0.42);
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 56px 16px;
    }
    .productPopover[hidden] { display: none; }
    .productPopoverCard {
      width: 100%;
      max-width: 460px;
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 24px 56px rgba(16, 24, 40, 0.24);
      overflow: hidden;
    }
    .productPopoverHead {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 12px 14px;
      border-bottom: 1px solid var(--line);
      font-size: 13px;
      font-weight: 800;
      color: #344054;
    }
    .productPopoverClose {
      border: 1px solid var(--line);
      background: #fff;
      color: #344054;
      border-radius: 8px;
      padding: 4px 10px;
      font-size: 12px;
      cursor: pointer;
    }
    .productPopoverClose:hover { background: #f8fafc; }
    .productPopoverBody {
      padding: 12px 14px;
      max-height: 60vh;
      overflow: auto;
    }
    .productPopoverBody .productPicker {
      background: transparent;
      border: 0;
      padding: 0;
    }
    .right {
      min-height: 0;
      overflow: auto;
      padding: 18px;
    }
    .card {
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 16px;
      margin-bottom: 12px;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }
    .card::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 4px;
      background: linear-gradient(180deg, var(--header-accent, #2962ff), rgba(41, 98, 255, 0.08));
      opacity: 0.86;
    }
    .title {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .cardHeader,
    .profileMatrixHeader.decoratedCardHeader {
      margin: -4px -4px 12px;
      padding: 12px 13px;
      border: 1px solid var(--header-border, #e5eaf3);
      border-radius: 14px;
      background:
        radial-gradient(circle at 92% 10%, var(--header-glow, rgba(41, 98, 255, 0.16)), transparent 34%),
        linear-gradient(135deg, var(--header-bg-a, #f8fbff), var(--header-bg-b, #ffffff));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    .cardHeader {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
    }
    .profileMatrixHeader.decoratedCardHeader {
      align-items: center;
    }
    .cardHeader .title,
    .profileMatrixHeader.decoratedCardHeader .title {
      margin: 4px 0 0;
      color: #111827;
      font-size: 15px;
      font-weight: 850;
      letter-spacing: -0.01em;
    }
    .cardEyebrow {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--header-text, #2341b6);
      font-size: 10px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .cardHeaderIcon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 23px;
      height: 23px;
      padding: 0 6px;
      border-radius: 999px;
      background: var(--header-accent, #2962ff);
      color: #fff;
      font-size: 10px;
      line-height: 1;
      box-shadow: 0 8px 18px var(--header-shadow, rgba(41, 98, 255, 0.18));
    }
    .tone-scope { --header-accent: #475467; --header-text: #344054; --header-bg-a: #f8fafc; --header-bg-b: #ffffff; --header-glow: rgba(71, 84, 103, 0.14); --header-border: #e4e7ec; --header-shadow: rgba(71, 84, 103, 0.18); }
    .tone-system { --header-accent: #2962ff; --header-text: #2341b6; --header-bg-a: #f4f7ff; --header-bg-b: #ffffff; --header-glow: rgba(41, 98, 255, 0.17); --header-border: #dbe6ff; --header-shadow: rgba(41, 98, 255, 0.18); }
    .tone-profile { --header-accent: #0e9384; --header-text: #107569; --header-bg-a: #f0fdfa; --header-bg-b: #ffffff; --header-glow: rgba(14, 147, 132, 0.16); --header-border: #ccfbef; --header-shadow: rgba(14, 147, 132, 0.18); }
    .tone-plan { --header-accent: #175cd3; --header-text: #1849a9; --header-bg-a: #eff6ff; --header-bg-b: #ffffff; --header-glow: rgba(23, 92, 211, 0.16); --header-border: #d1e0ff; --header-shadow: rgba(23, 92, 211, 0.18); }
    .tone-asset { --header-accent: #d97706; --header-text: #b45309; --header-bg-a: #fffbeb; --header-bg-b: #ffffff; --header-glow: rgba(217, 119, 6, 0.18); --header-border: #fde68a; --header-shadow: rgba(217, 119, 6, 0.18); }
    .tone-gap { --header-accent: #dc2626; --header-text: #b42318; --header-bg-a: #fff5f5; --header-bg-b: #ffffff; --header-glow: rgba(220, 38, 38, 0.16); --header-border: #fecaca; --header-shadow: rgba(220, 38, 38, 0.16); }
    .tone-family { --header-accent: #0e7490; --header-text: #155e75; --header-bg-a: #ecfeff; --header-bg-b: #ffffff; --header-glow: rgba(14, 116, 144, 0.16); --header-border: #cffafe; --header-shadow: rgba(14, 116, 144, 0.18); }
    .tone-product { --header-accent: #1d4ed8; --header-text: #1e40af; --header-bg-a: #eef4ff; --header-bg-b: #ffffff; --header-glow: rgba(29, 78, 216, 0.18); --header-border: #c7d7fe; --header-shadow: rgba(29, 78, 216, 0.18); }
    .tone-dividend { --header-accent: #ca8a04; --header-text: #a16207; --header-bg-a: #fefce8; --header-bg-b: #ffffff; --header-glow: rgba(202, 138, 4, 0.18); --header-border: #fef08a; --header-shadow: rgba(202, 138, 4, 0.18); }
    .tone-policy { --header-accent: #0f766e; --header-text: #115e59; --header-bg-a: #f0fdfa; --header-bg-b: #ffffff; --header-glow: rgba(15, 118, 110, 0.18); --header-border: #99f6e4; --header-shadow: rgba(15, 118, 110, 0.18); }
    .tone-benefit { --header-accent: #16a34a; --header-text: #15803d; --header-bg-a: #f0fdf4; --header-bg-b: #ffffff; --header-glow: rgba(22, 163, 74, 0.16); --header-border: #bbf7d0; --header-shadow: rgba(22, 163, 74, 0.18); }
    .tone-cashflow { --header-accent: #067647; --header-text: #067647; --header-bg-a: #ecfdf3; --header-bg-b: #ffffff; --header-glow: rgba(6, 118, 71, 0.16); --header-border: #abefc6; --header-shadow: rgba(6, 118, 71, 0.18); }
    .tone-script { --header-accent: #9333ea; --header-text: #7e22ce; --header-bg-a: #faf5ff; --header-bg-b: #ffffff; --header-glow: rgba(147, 51, 234, 0.14); --header-border: #e9d5ff; --header-shadow: rgba(147, 51, 234, 0.16); }
    .tone-warning { --header-accent: #f97316; --header-text: #c2410c; --header-bg-a: #fff7ed; --header-bg-b: #ffffff; --header-glow: rgba(249, 115, 22, 0.16); --header-border: #fed7aa; --header-shadow: rgba(249, 115, 22, 0.16); }
    .tone-risk { --header-accent: #b42318; --header-text: #b42318; --header-bg-a: #fff1f2; --header-bg-b: #ffffff; --header-glow: rgba(180, 35, 24, 0.16); --header-border: #fecdd3; --header-shadow: rgba(180, 35, 24, 0.16); }
    .tone-route { --header-accent: #334155; --header-text: #334155; --header-bg-a: #f8fafc; --header-bg-b: #ffffff; --header-glow: rgba(51, 65, 85, 0.14); --header-border: #e2e8f0; --header-shadow: rgba(51, 65, 85, 0.16); }
    .small {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.7;
    }
    .key {
      color: #344054;
      font-weight: 600;
      margin-top: 10px;
      margin-bottom: 4px;
      font-size: 13px;
    }
    .tag {
      display: inline-block;
      padding: 5px 10px;
      border-radius: 999px;
      background: var(--blue-soft);
      color: #3730a3;
      font-size: 12px;
      margin: 2px 6px 2px 0;
    }
    .summaryGrid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 8px;
    }
    .summaryItem {
      background: #f8fafc;
      border: 1px solid #edf2f7;
      border-radius: 12px;
      padding: 10px 12px;
    }
    .summaryLabel {
      color: var(--muted);
      font-size: 11px;
      margin-bottom: 4px;
    }
    .summaryValue {
      color: var(--text);
      font-size: 13px;
      line-height: 1.5;
    }
    .profileMatrixHeader {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: flex-start;
      margin-bottom: 10px;
    }
    .profileMatrixProgress {
      flex: 0 0 auto;
      min-width: 76px;
      text-align: center;
      border-radius: 999px;
      background: #eef4ff;
      color: #2341b6;
      border: 1px solid #dbe6ff;
      padding: 7px 12px;
      font-size: 13px;
      font-weight: 800;
    }
    .profileStatusLegend {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin: 6px 0 12px;
    }
    .profileStatusPill {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      padding: 4px 9px;
      font-size: 12px;
      font-weight: 700;
      border: 1px solid transparent;
      white-space: nowrap;
    }
    .profileStatusPill.collected {
      background: #ecfdf3;
      color: #067647;
      border-color: #abefc6;
    }
    .profileStatusPill.missing {
      background: #f8fafc;
      color: #667085;
      border-color: #d0d5dd;
    }
    .profileStatusPill.computed {
      background: #eef4ff;
      color: #2341b6;
      border-color: #c7d7fe;
    }
    .profileStatusPill.default {
      background: #fffaeb;
      color: #b54708;
      border-color: #fedf89;
    }
    .profileGroup {
      margin-top: 12px;
    }
    .profileGroupTitle {
      color: #344054;
      font-size: 13px;
      font-weight: 800;
      margin-bottom: 6px;
    }
    .profileRows {
      border: 1px solid #edf2f7;
      border-radius: 12px;
      overflow: hidden;
      background: #fff;
    }
    .profileRow {
      display: grid;
      grid-template-columns: minmax(128px, 1fr) 104px minmax(160px, 1.2fr);
      gap: 10px;
      align-items: center;
      padding: 9px 11px;
      border-bottom: 1px solid #edf2f7;
      font-size: 13px;
    }
    .profileRow:last-child {
      border-bottom: 0;
    }
    .profileField {
      color: #475467;
      font-weight: 650;
    }
    .profileValue {
      color: var(--text);
      line-height: 1.5;
      word-break: break-word;
    }
    .metricValue {
      color: #d92d20;
      font-size: 16px;
      font-weight: 800;
      line-height: 1.4;
    }
    .metricValue.positive {
      color: #067647;
    }
    .progressTrack {
      width: 100%;
      height: 10px;
      background: #e9eef7;
      border-radius: 999px;
      overflow: hidden;
      margin: 10px 0 8px;
    }
    .progressBar {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, #2962ff 0%, #5b8cff 100%);
      border-radius: 999px;
      transition: width 240ms ease;
    }
    .timeline {
      margin-top: 12px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .timelineItem {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      opacity: 0.55;
    }
    .timelineItem.done,
    .timelineItem.active {
      opacity: 1;
    }
    .timelineDot {
      width: 20px;
      height: 20px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      flex: 0 0 20px;
      margin-top: 1px;
    }
    .timelineDot.done {
      background: var(--green-soft);
      color: var(--green-text);
    }
    .timelineDot.active {
      background: #dbe8ff;
      color: #175cd3;
    }
    .timelineDot.todo {
      background: var(--gray-soft);
      color: #98a2b3;
    }
    .timelineTitle {
      font-size: 12px;
      color: #344054;
      line-height: 1.4;
    }
    .timelineDesc {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.4;
      margin-top: 2px;
    }
    details.cardDetails {
      margin-top: 12px;
      border-top: 1px dashed #e4e7ec;
      padding-top: 10px;
    }
    details.cardDetails summary {
      cursor: pointer;
      color: #344054;
      font-size: 13px;
      font-weight: 600;
      list-style: none;
    }
    details.cardDetails summary::-webkit-details-marker { display: none; }
    details.cardDetails summary::after {
      content: "展开";
      float: right;
      color: var(--muted);
      font-weight: 400;
    }
    details.cardDetails[open] summary::after { content: "收起"; }
    .selectControl {
      width: 100%;
      border: 1px solid #d8deea;
      background: #fff;
      color: var(--text);
      border-radius: 12px;
      padding: 10px 12px;
      font: inherit;
      font-size: 13px;
      margin-top: 8px;
    }
    .planStage {
      background: #f8fafc;
      border: 1px solid #edf2f7;
      border-radius: 12px;
      padding: 10px 12px;
      margin-top: 8px;
    }
    .productStructure {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: 12px;
    }
    .productLayer {
      position: relative;
      min-height: 156px;
      border: 1px solid #dbe7ff;
      border-radius: 16px;
      padding: 14px 12px 12px;
      overflow: hidden;
      background: linear-gradient(145deg, #f8fbff 0%, #eef5ff 100%);
    }
    .productLayer::after {
      content: "";
      position: absolute;
      right: -28px;
      top: -28px;
      width: 86px;
      height: 86px;
      border-radius: 999px;
      background: rgba(41, 98, 255, 0.12);
    }
    .productLayer.layer2 {
      border-color: #bdebd1;
      background: linear-gradient(145deg, #f6fffa 0%, #e9f8ef 100%);
    }
    .productLayer.layer2::after {
      background: rgba(18, 183, 106, 0.12);
    }
    .productLayer.layer3 {
      border-color: #ffe0ad;
      background: linear-gradient(145deg, #fffaf3 0%, #fff0d8 100%);
    }
    .productLayer.layer3::after {
      background: rgba(247, 144, 9, 0.14);
    }
    .layerIndex {
      width: 28px;
      height: 28px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #ffffff;
      color: #175cd3;
      font-weight: 900;
      font-size: 13px;
      margin-bottom: 10px;
      box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
    }
    .productDeepDiveCard {
      background:
        radial-gradient(circle at 8% 8%, rgba(202, 138, 4, 0.07), transparent 30%),
        radial-gradient(circle at 92% 0%, rgba(14, 147, 132, 0.06), transparent 32%),
        rgba(255, 255, 255, 0.94);
    }
    .dividendHero {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      align-items: flex-start;
      border-radius: 18px;
      padding: 14px;
      background: linear-gradient(135deg, #fffdf5 0%, #ffffff 100%);
      border: 1px solid #fef08a;
      margin-bottom: 12px;
    }
    .dividendHeroTitle {
      color: #344054;
      font-size: 16px;
      line-height: 1.35;
      font-weight: 900;
      margin-bottom: 6px;
    }
    .dividendHeroBadge {
      flex: 0 0 auto;
      padding: 7px 10px;
      border-radius: 999px;
      background: #fefce8;
      border: 1px solid #fde68a;
      color: #a16207;
      font-size: 12px;
      font-weight: 800;
    }
    .dividendLayerStrip {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin: 12px 0;
    }
    .dividendStoryGrid {
      display: grid;
      grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
      gap: 14px;
      align-items: start;
      margin-top: 12px;
    }
    .dividendVisualPanel {
      border-radius: 20px;
      padding: 14px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96)),
        radial-gradient(circle at 50% 42%, rgba(14, 147, 132, 0.07), transparent 48%);
      border: 1px solid #edf2f7;
    }
    .dividendVisualTitle {
      display: flex;
      align-items: center;
      gap: 10px;
      color: #344054;
      font-size: 15px;
      line-height: 1.35;
      font-weight: 900;
      margin-bottom: 12px;
    }
    .dividendVisualTitle span {
      display: inline-grid;
      place-items: center;
      width: 30px;
      height: 30px;
      border-radius: 10px;
      color: #fff;
      background: #ca8a04;
      flex: 0 0 auto;
    }
    .dividendLayerStack {
      display: grid;
      gap: 10px;
    }
    .dividendScriptPanel {
      min-width: 0;
    }
    .dividendLayerCard {
      position: relative;
      min-height: 166px;
      border-radius: 18px;
      padding: 13px 13px 14px;
      color: #344054;
      overflow: hidden;
      border: 1px solid #edf2f7;
    }
    .dividendLayerCard::after {
      content: "";
      position: absolute;
      right: -34px;
      bottom: -44px;
      width: 120px;
      height: 120px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.54);
    }
    .dividendLayerCard.layer1 {
      background: linear-gradient(135deg, #f0fdfa, #ffffff);
      border-color: #99f6e4;
    }
    .dividendLayerCard.layer2 {
      background: linear-gradient(135deg, #fffbeb, #ffffff);
      border-color: #fde68a;
    }
    .dividendLayerCard.layer3 {
      background: linear-gradient(135deg, #eff6ff, #ffffff);
      border-color: #bfdbfe;
    }
    .dividendLayerTop {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
    }
    .dividendLayerNum {
      display: inline-grid;
      place-items: center;
      width: 28px;
      height: 28px;
      border-radius: 10px;
      background: #ffffff;
      border: 1px solid #e5eaf3;
      color: #a16207;
      font-weight: 900;
    }
    .dividendLayerRole {
      color: #667085;
      font-size: 12px;
      font-weight: 800;
      line-height: 1.4;
    }
    .dividendLayerTitle {
      font-size: 15px;
      line-height: 1.35;
      font-weight: 900;
      margin-bottom: 8px;
    }
    .dividendLayerText {
      position: relative;
      z-index: 1;
      font-size: 12px;
      line-height: 1.65;
      font-weight: 700;
    }
    .dividendLayerSource {
      position: relative;
      z-index: 1;
      margin-top: 10px;
      padding-top: 9px;
      border-top: 1px solid #edf2f7;
      color: #667085;
      font-size: 11px;
      line-height: 1.55;
    }
    .dividendHookGrid,
    .dividendEvidenceGrid,
    .dividendScenarioGrid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: 10px;
    }
    .dividendEvidenceGrid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dividendHook,
    .dividendEvidenceItem,
    .dividendScenarioItem {
      border-radius: 14px;
      padding: 11px 12px;
      background: rgba(255, 255, 255, 0.88);
      border: 1px solid #edf2f7;
    }
    .dividendVisualPanel .dividendHookGrid {
      grid-template-columns: 1fr;
      gap: 8px;
      margin-top: 10px;
    }
    .dividendVisualPanel .dividendHook {
      background: #fff;
    }
    .dividendHookTitle {
      color: #a16207;
      font-size: 14px;
      font-weight: 900;
      margin-bottom: 4px;
    }
    .dividendStructureNote {
      margin-top: 12px;
      border-radius: 16px;
      padding: 12px 14px;
      background: #f8fafc;
      border: 1px solid #e5eaf3;
      color: #344054;
      font-size: 12px;
      line-height: 1.7;
      font-weight: 700;
    }
    .dividendScriptList {
      display: grid;
      gap: 10px;
      margin-top: 8px;
    }
    .dividendScriptCard {
      overflow: hidden;
      border-radius: 16px;
      background: #fff;
      border: 1px solid #edf2f7;
    }
    .dividendScriptHead {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      background: #fffbeb;
      color: #344054;
      border-bottom: 1px solid #fde68a;
    }
    .dividendScriptTitle {
      font-size: 13px;
      font-weight: 900;
      line-height: 1.35;
    }
    .dividendScriptBadge {
      flex: 0 0 auto;
      border-radius: 999px;
      padding: 4px 8px;
      background: #fff;
      border: 1px solid #fde68a;
      color: #a16207;
      font-size: 11px;
      font-weight: 800;
    }
    .dividendScriptContent {
      padding: 12px 14px 14px;
      color: #344054;
      font-size: 13px;
      line-height: 1.8;
      font-weight: 700;
    }
    .dividendGuardrail {
      border-radius: 14px;
      padding: 10px 12px;
      background: rgba(217, 45, 32, 0.07);
      border: 1px solid rgba(217, 45, 32, 0.16);
      color: #7a271a;
      font-size: 12px;
      line-height: 1.7;
    }
    .policyMechanismCard {
      background:
        radial-gradient(circle at 8% 4%, rgba(14, 116, 144, 0.07), transparent 30%),
        radial-gradient(circle at 94% 8%, rgba(234, 88, 12, 0.06), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
    }
    .policyMechanismHero {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      align-items: flex-start;
      border-radius: 20px;
      padding: 15px;
      background:
        linear-gradient(135deg, rgba(240, 253, 250, 0.96), rgba(255, 255, 255, 0.94)),
        radial-gradient(circle at 92% 18%, rgba(14, 116, 144, 0.10), transparent 34%);
      border: 1px solid #ccfbef;
      color: #344054;
    }
    .policyMechanismHero .title,
    .policyMechanismHero .small {
      color: #667085;
    }
    .policyMechanismHeroTitle {
      color: #344054;
      font-size: 16px;
      line-height: 1.35;
      font-weight: 900;
      margin-bottom: 6px;
    }
    .policyMechanismBadge {
      flex: 0 0 auto;
      padding: 7px 10px;
      border-radius: 999px;
      background: #ffffff;
      border: 1px solid #99f6e4;
      color: #0f766e;
      font-size: 12px;
      font-weight: 900;
    }
    .policyMechanismChips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 12px 0 4px;
    }
    .policyMechanismChips span {
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.88);
      border: 1px solid #ccfbef;
      color: #0f4c5c;
      font-size: 12px;
      font-weight: 800;
    }
    .policySectionHead {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 12px;
      margin-top: 14px;
    }
    .policyPainHead {
      padding-top: 4px;
    }
    .policyPainCount {
      flex: 0 0 auto;
      padding: 6px 10px;
      border-radius: 999px;
      background: #fff7ed;
      border: 1px solid #fed7aa;
      color: #c2410c;
      font-size: 12px;
      font-weight: 900;
    }
    .policyMechanismGrid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: 10px;
    }
    .policyMechanismTile {
      position: relative;
      overflow: hidden;
      min-height: 154px;
      border-radius: 18px;
      padding: 12px;
      background: #fff;
      border: 1px solid rgba(14, 116, 144, 0.12);
      box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
    }
    .policyMechanismTile::after {
      content: "";
      position: absolute;
      right: -32px;
      bottom: -42px;
      width: 112px;
      height: 112px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.48);
    }
    .policyMechanismTileTop {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 9px;
    }
    .policyMechanismTileTop span {
      display: inline-grid;
      place-items: center;
      width: 28px;
      height: 28px;
      border-radius: 10px;
      color: #fff;
      background: #0f766e;
      font-size: 13px;
      font-weight: 900;
      box-shadow: 0 8px 18px rgba(14, 116, 144, 0.18);
    }
    .policyMechanismTileTop strong {
      color: #12303f;
      font-size: 13px;
      line-height: 1.35;
      font-weight: 900;
    }
    .policyMechanismText,
    .policyMechanismValue {
      position: relative;
      z-index: 1;
      color: #475467;
      font-size: 12px;
      line-height: 1.65;
      font-weight: 700;
    }
    .policyMechanismValue {
      margin-top: 9px;
      padding-top: 9px;
      border-top: 1px dashed rgba(14, 116, 144, 0.18);
      color: #0f4c5c;
    }
    .policyMechanismTile.tone1 {
      background: linear-gradient(145deg, #ecfeff, #ffffff);
    }
    .policyMechanismTile.tone2 {
      background: linear-gradient(145deg, #fff7ed, #ffffff);
    }
    .policyMechanismTile.tone2 .policyMechanismTileTop span {
      background: #d97706;
      box-shadow: 0 8px 18px rgba(234, 88, 12, 0.18);
    }
    .policyMechanismTile.tone3 {
      background: linear-gradient(145deg, #f0fdf4, #ffffff);
    }
    .policyMechanismTile.tone3 .policyMechanismTileTop span {
      background: #15803d;
      box-shadow: 0 8px 18px rgba(22, 163, 74, 0.18);
    }
    .policyMechanismTile.tone4 {
      background: linear-gradient(145deg, #eff6ff, #ffffff);
    }
    .policyMechanismTile.tone4 .policyMechanismTileTop span {
      background: #175cd3;
      box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
    }
    .policyMechanismTile.tone5 {
      background: linear-gradient(145deg, #fefce8, #ffffff);
    }
    .policyMechanismTile.tone5 .policyMechanismTileTop span {
      background: #a16207;
      box-shadow: 0 8px 18px rgba(202, 138, 4, 0.18);
    }
    .policyMechanismTile.tone6 {
      background: linear-gradient(145deg, #f5f3ff, #ffffff);
    }
    .policyMechanismTile.tone6 .policyMechanismTileTop span {
      background: #475467;
      box-shadow: 0 8px 18px rgba(124, 58, 237, 0.18);
    }
    .policyPainList {
      display: grid;
      gap: 10px;
      margin-top: 10px;
    }
    details.policyPainCard {
      margin-top: 0;
      padding: 0;
      border: 1px solid rgba(14, 116, 144, 0.13);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.90);
      overflow: hidden;
      box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    }
    details.policyPainCard summary {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      color: #12303f;
      font-size: 14px;
      font-weight: 900;
      background: linear-gradient(135deg, rgba(236, 254, 255, 0.94), rgba(255, 255, 255, 0.88));
    }
    details.policyPainCard summary::after {
      float: none;
      margin-left: auto;
      padding: 4px 8px;
      border-radius: 999px;
      background: rgba(14, 116, 144, 0.09);
      color: #0e7490;
      font-size: 11px;
      font-weight: 800;
    }
    .policyPainIndex {
      display: inline-grid;
      place-items: center;
      width: 28px;
      height: 28px;
      border-radius: 10px;
      color: #fff;
      background: #0e7490;
      font-size: 13px;
      font-weight: 900;
      flex: 0 0 auto;
    }
    .policyPainSummaryText {
      line-height: 1.35;
    }
    .policyPainBody {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      padding: 12px;
      background: rgba(255, 255, 255, 0.72);
    }
    .policyPainBlock,
    .policyCustomerTalk,
    .policyBoundaryNote {
      border-radius: 14px;
      padding: 11px 12px;
      color: #344054;
      font-size: 12px;
      line-height: 1.7;
      font-weight: 700;
      border: 1px solid rgba(15, 23, 42, 0.08);
    }
    .policyPainBlock.pain {
      background: #fff7ed;
      border-color: #fed7aa;
    }
    .policyPainBlock.mechanism {
      background: #ecfeff;
      border-color: #a5f3fc;
    }
    .policyPainBlock.works {
      background: #f0fdf4;
      border-color: #bbf7d0;
    }
    .policyPainLabel {
      color: #0f4c5c;
      font-size: 11px;
      font-weight: 900;
      margin-bottom: 5px;
      letter-spacing: 0.02em;
    }
    .policyCustomerTalk {
      grid-column: 1 / -1;
      background: #f0fdfa;
      border-color: #99f6e4;
      color: #134e4a;
      font-size: 13px;
    }
    .policyCustomerTalk .policyPainLabel {
      color: #0f766e;
    }
    .policyBoundaryNote {
      grid-column: 1 / -1;
      background: rgba(127, 29, 29, 0.05);
      border-color: rgba(220, 38, 38, 0.16);
      color: #7f1d1d;
    }
    .policyBoundaryNote .policyPainLabel {
      color: #991b1b;
    }
    .policyPainCard.tone2 .policyPainIndex {
      background: #ea580c;
    }
    .policyPainCard.tone2 summary::after {
      background: rgba(234, 88, 12, 0.09);
      color: #c2410c;
    }
    .policyPainCard.tone3 .policyPainIndex {
      background: #16a34a;
    }
    .policyPainCard.tone3 summary::after {
      background: rgba(22, 163, 74, 0.10);
      color: #15803d;
    }
    .policyPainCard.tone4 .policyPainIndex {
      background: #2563eb;
    }
    .policyPainCard.tone4 summary::after {
      background: rgba(37, 99, 235, 0.09);
      color: #1d4ed8;
    }
    .policyPainCard.tone5 .policyPainIndex {
      background: #ca8a04;
    }
    .policyPainCard.tone5 summary::after {
      background: rgba(202, 138, 4, 0.10);
      color: #a16207;
    }
    .policyManagerNotes {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 8px;
    }
    .policyManagerNote {
      position: relative;
      border-radius: 14px;
      padding: 10px 12px 10px 30px;
      background: rgba(255, 255, 255, 0.82);
      border: 1px solid rgba(14, 116, 144, 0.12);
      color: #344054;
      font-size: 12px;
      line-height: 1.65;
      font-weight: 700;
    }
    .policyManagerNote::before {
      content: "";
      position: absolute;
      left: 13px;
      top: 17px;
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #0e7490;
      box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.10);
    }
    .policyRiskBox {
      margin-top: 12px;
      color: #7f1d1d;
      font-size: 12px;
      line-height: 1.7;
      font-weight: 700;
    }
    .withdrawTableWrap {
      width: 100%;
      overflow-x: auto;
      margin-top: 8px;
      border: 1px solid #edf2f7;
      border-radius: 12px;
    }
    .withdrawTable {
      width: 100%;
      min-width: 760px;
      border-collapse: collapse;
      background: #fff;
      font-size: 12px;
    }
    .withdrawTable th,
    .withdrawTable td {
      border-bottom: 1px solid #edf2f7;
      padding: 8px;
      text-align: left;
      vertical-align: middle;
      white-space: nowrap;
    }
    .withdrawTable th {
      color: #475467;
      background: #f8fafc;
      font-weight: 700;
    }
    .moneyStrong {
      color: #d92d20;
      font-weight: 800;
    }
    .balanceStrong {
      color: #067647;
      font-weight: 800;
    }
    .miniInput {
      width: 118px;
      border: 1px solid #d8deea;
      border-radius: 8px;
      padding: 7px 8px;
      font: inherit;
      font-size: 12px;
      background: #fff;
    }
    .bulletList {
      margin-top: 10px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .bulletItem {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.7;
      padding-left: 12px;
      position: relative;
    }
    .bulletItem::before {
      content: "";
      width: 5px;
      height: 5px;
      border-radius: 999px;
      background: #98a2b3;
      position: absolute;
      left: 0;
      top: 9px;
    }
    .scriptStep {
      background: #fffaf3;
      border: 1px solid #ffe2b8;
      border-radius: 12px;
      padding: 10px 12px;
      margin-top: 8px;
    }
    .scriptStep .summaryLabel {
      color: #b54708;
      font-weight: 700;
    }
    .riskBox {
      background: #fff4f3;
      border: 1px solid #ffd1cc;
      border-radius: 12px;
      padding: 10px 12px;
      margin-top: 8px;
    }
    .moduleSummaryBox {
      background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
      border: 1px solid #e2e8f0;
      border-left: 3px solid #475467;
      border-radius: 10px;
      padding: 10px 14px;
      margin: 10px 0 12px;
    }
    .moduleSummaryLabel {
      display: flex;
      align-items: center;
      gap: 4px;
      color: #344054;
      font-weight: 700;
      font-size: 12px;
      margin-bottom: 4px;
    }
    .moduleSummaryText {
      color: #1f2937;
      font-size: 13px;
      line-height: 1.7;
    }
    .chartBox {
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      border: 1px solid #edf2f7;
      border-radius: 14px;
      padding: 12px;
      margin-top: 12px;
    }
    .chartTitle {
      color: #344054;
      font-size: 12px;
      font-weight: 800;
      margin-bottom: 8px;
    }
    .chartFlex {
      display: grid;
      grid-template-columns: 160px 1fr;
      gap: 12px;
      align-items: center;
    }
    .chartLegend {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .legendItem {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      color: var(--muted);
      font-size: 12px;
    }
    .legendLeft {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .legendDot {
      width: 9px;
      height: 9px;
      border-radius: 999px;
      flex: 0 0 9px;
    }
    .barChart {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .barRow {
      display: grid;
      grid-template-columns: 92px 1fr 78px;
      gap: 8px;
      align-items: center;
      font-size: 12px;
      color: var(--muted);
    }
    .barTrack {
      height: 12px;
      background: #eef2f7;
      border-radius: 999px;
      overflow: hidden;
    }
    .barFill {
      height: 100%;
      border-radius: 999px;
      min-width: 3px;
    }
    .stackBar {
      display: flex;
      height: 18px;
      border-radius: 999px;
      overflow: hidden;
      background: #eef2f7;
      margin-top: 8px;
    }
    .stackSegment {
      height: 100%;
      min-width: 2px;
    }
    .groupBarChart {
      margin-top: 4px;
    }
    .groupBarPlot {
      display: flex;
      align-items: flex-end;
      justify-content: space-around;
      gap: 8px;
      height: 168px;
      padding-top: 10px;
    }
    .groupBarGroup {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      height: 100%;
      min-width: 0;
    }
    .groupBarCols {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      gap: 3px;
      height: 100%;
    }
    .groupBarColWrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      height: 100%;
    }
    .groupBarCol {
      width: 14px;
      border-radius: 4px 4px 0 0;
      min-height: 2px;
      opacity: 0.92;
    }
    .groupBarVal {
      font-size: 9px;
      font-weight: 700;
      color: #475467;
      margin-bottom: 3px;
      white-space: nowrap;
      line-height: 1;
    }
    .groupBarAxis {
      display: flex;
      justify-content: space-around;
      gap: 8px;
      border-top: 1px solid #edf2f7;
      margin-top: 6px;
    }
    .groupBarAxisLabel {
      flex: 1;
      text-align: center;
      font-size: 11px;
      color: var(--muted);
      padding-top: 4px;
    }
    .groupBarColsStack {
      gap: 0;
    }
    .groupBarStackWrap {
      display: flex;
      flex-direction: row;
      align-items: stretch;
      justify-content: flex-end;
      height: 100%;
      min-height: 36px;
    }
    .groupBarRefTag {
      display: flex;
      align-items: center;
      gap: 3px;
      height: 100%;
    }
    .groupBarRefVal {
      font-size: 11px;
      font-weight: 800;
      white-space: nowrap;
      line-height: 1;
    }
    .groupBarRefBrace {
      width: 12px;
      height: 100%;
      display: block;
      flex: 0 0 12px;
    }
    .groupBarStackHead {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      margin-bottom: 4px;
      line-height: 1.1;
      text-align: center;
    }
    .groupBarValTotal {
      font-size: 11px;
      font-weight: 800;
      line-height: 1;
    }
    .groupBarSegInline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      font-size: 8px;
      font-weight: 700;
      white-space: nowrap;
    }
    .groupBarSegInline em {
      font-style: normal;
    }
    .groupBarSegDot {
      display: inline-block;
      width: 5px;
      height: 5px;
      border-radius: 999px;
      margin-right: 1px;
      flex: 0 0 5px;
    }
    .groupBarStack {
      display: flex;
      flex-direction: column-reverse;
      align-items: center;
      width: 46px;
      height: 100%;
      min-height: 36px;
      border-radius: 6px;
      box-sizing: border-box;
      overflow: hidden;
    }
    .groupStackSeg {
      width: 100%;
      min-height: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .groupStackSegVal {
      font-size: 11px;
      font-weight: 700;
      color: #ffffff;
      white-space: nowrap;
      line-height: 1;
      text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    }
    .groupStackSeg:first-child {
      border-radius: 0;
    }
    .groupStackSeg:not(:first-child):not(:last-child) {
      border-radius: 0;
    }
    .groupStackSeg:last-child {
      border-radius: 0;
    }
    .svgChart {
      width: 100%;
      min-height: 176px;
      overflow: visible;
    }
    .timelineViz {
      position: relative;
      display: flex;
      flex-wrap: nowrap;
      align-items: stretch;
      gap: 0;
      margin-top: 14px;
      padding: 2px 56px;
      overflow-x: auto;
    }
    .timelineVizItem {
      position: relative;
      flex: 1 1 116px;
      min-width: 116px;
      padding: 32px 8px 0;
      text-align: center;
    }
    .timelineDot {
      position: absolute;
      top: 5px;
      left: 50%;
      transform: translateX(-50%);
      width: 14px;
      height: 14px;
      border-radius: 999px;
      background: #2962ff;
      border: 3px solid #ffffff;
      box-shadow: 0 0 0 2px rgba(41, 98, 255, 0.25);
      z-index: 3;
    }
    .timelineVizItem[data-source="customer"] .timelineDot {
      background: #12b76a;
      box-shadow: 0 0 0 2px rgba(18, 183, 106, 0.25);
    }
    .timelineVizItem::before {
      content: "";
      position: absolute;
      top: 7px;
      right: calc(-50% + 7px);
      width: 16px;
      height: 10px;
      background: var(--line-to, #94a3b8);
      clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
      z-index: 2;
    }
    .timelineVizItem::after {
      content: "";
      position: absolute;
      top: 11px;
      left: calc(50% + 7px);
      right: calc(-50% + 23px);
      height: 2px;
      background: linear-gradient(90deg, var(--line-from, #cbd5e1), var(--line-to, #94a3b8));
      z-index: 1;
    }
    .timelineVizItem:last-child::after {
      right: -32px;
      background: repeating-linear-gradient(90deg, rgba(217, 45, 32, 0.55) 0 6px, rgba(217, 45, 32, 0) 6px 11px);
    }
    .timelineVizItem:last-child::before {
      right: -48px;
      background: rgba(217, 45, 32, 0.55);
    }
    .timelineVizItem:first-child .timelineLeadLeft {
      position: absolute;
      top: 11px;
      left: -48px;
      right: calc(50% + 23px);
      height: 2px;
      background: repeating-linear-gradient(90deg, rgba(217, 45, 32, 0.55) 0 6px, rgba(217, 45, 32, 0) 6px 11px);
      z-index: 1;
    }
    .timelineVizItem:first-child .timelineLeadArrow {
      position: absolute;
      top: 7px;
      right: calc(50% + 7px);
      width: 16px;
      height: 10px;
      background: rgba(217, 45, 32, 0.55);
      clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
      z-index: 1;
    }
    .timelineVizLabel {
      color: #344054;
      font-size: 12px;
      font-weight: 800;
      line-height: 1.4;
      word-break: break-word;
    }
    .timelineVizValue {
      margin-top: 8px;
      color: #d92d20;
      font-size: 15px;
      font-weight: 900;
      line-height: 1.3;
    }
    .timelineVizMeta {
      color: var(--muted);
      font-size: 11px;
      margin-top: 4px;
    }
    .timelineVizAge {
      display: inline-flex;
      flex-wrap: nowrap;
      align-items: center;
      gap: 8px;
      margin-bottom: 6px;
      padding: 3px 10px;
      border-radius: 999px;
      background: var(--age-bg, rgba(217, 45, 32, 0.1));
      color: #d92d20;
      line-height: 1.3;
    }
    .timelineVizAgePair {
      display: inline-flex;
      align-items: baseline;
      gap: 2px;
      white-space: nowrap;
      opacity: 0.6;
    }
    .timelineVizAgePair.is-primary {
      opacity: 1;
    }
    .timelineVizAgeSub {
      font-size: 12px;
      font-weight: 500;
      color: #344054;
      margin-right: 2px;
    }
    .timelineVizAgeNum {
      font-size: 15px;
      font-weight: 600;
      line-height: 1;
    }
    .timelineVizAgeUnit {
      font-size: 11px;
      font-weight: 500;
    }
    .timelineVizAgePair.is-primary .timelineVizAgeSub {
      font-weight: 800;
    }
    .timelineVizAgePair.is-primary .timelineVizAgeNum {
      font-size: 16px;
      font-weight: 900;
    }
    .timelineVizAgePair.is-primary .timelineVizAgeUnit {
      font-weight: 800;
    }
    @media (max-width: 960px) {
      .app { flex-direction: column; height: auto; min-height: 100vh; overflow: visible; }
      .chat { flex: none; overflow: visible; }
      .divider { display: none; }
      .right { flex: none; padding-top: 10px; overflow: visible; }
      .summaryGrid { grid-template-columns: 1fr; }
      .checkGrid { grid-template-columns: 1fr; }
      .productStructure { grid-template-columns: 1fr; }
      .dividendStoryGrid { grid-template-columns: 1fr; }
      .dividendLayerStrip,
      .dividendHookGrid,
      .dividendEvidenceGrid,
      .dividendScenarioGrid { grid-template-columns: 1fr; }
      .dividendLayerCard { min-height: auto; }
      .dividendHero { flex-direction: column; }
      .policyMechanismHero { flex-direction: column; }
      .policyMechanismGrid,
      .policyPainBody,
      .policyManagerNotes { grid-template-columns: 1fr; }
      .policySectionHead { align-items: flex-start; flex-direction: column; }
      .chartFlex { grid-template-columns: 1fr; }
      .barRow { grid-template-columns: 76px 1fr 68px; }
    }
    .hoverTip {
      position: fixed;
      z-index: 9999;
      max-width: 300px;
      padding: 9px 12px;
      background: #1f2937;
      color: #fff;
      font-size: 12px;
      line-height: 1.7;
      border-radius: 8px;
      box-shadow: 0 8px 22px rgba(16, 24, 40, 0.22);
      white-space: pre-line;
      pointer-events: none;
      display: none;
    }
    .chartFlex svg circle[data-tip] {
      cursor: pointer;
      transition: stroke-width 120ms ease;
    }
    .chartFlex svg circle[data-tip]:hover {
      stroke-width: 22;
    }
