﻿:root {
      --bg: #f5f7fb;
      --panel: #ffffff;
      --text: #172033;
      --muted: #657085;
      --line: #dce3ef;
      --primary: #1f66d1;
      --primary-dark: #164d9c;
      --soft: #eaf2ff;
      --green: #1f8a5f;
      --yellow: #b7791f;
      --red: #bf3030;
      --purple: #6f45c9;
      --shadow: 0 16px 40px rgba(23, 32, 51, 0.08);
      --radius: 18px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-width: 0;
      overflow-x: hidden;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.55;
    }

    button { font: inherit; }
    .app {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 280px minmax(0, 1fr);
      transition: grid-template-columns 0.25s ease;
    }

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

    aside {
      background: linear-gradient(180deg, #102954 0%, #193f7f 100%);
      color: #fff;
      padding: 24px 18px;
      position: sticky;
      top: 0;
      height: 100vh;
      overflow-y: auto;
      min-width: 0;
      transition: padding 0.25s ease;
    }

    .app.sidebar-collapsed aside {
      overflow: hidden;
      padding: 0;
    }

    .brand {
      display: flex;
      gap: 12px;
      align-items: center;
      margin-bottom: 22px;
    }

    .brand-mark {
      width: 42px;
      height: 42px;
      border-radius: 14px;
      background: #fff;
      color: var(--primary);
      display: grid;
      place-items: center;
      font-weight: 800;
    }

    .brand h1 {
      margin: 0;
      font-size: 17px;
      line-height: 1.25;
    }

    .brand p {
      margin: 3px 0 0;
      color: rgba(255,255,255,0.74);
      font-size: 12px;
    }

    .nav-group-label {
      text-transform: uppercase;
      font-size: 11px;
      letter-spacing: 1px;
      color: rgba(255,255,255,0.55);
      margin: 18px 10px 10px;
    }

    .nav-btn {
      width: 100%;
      min-height: 44px;
      border: 0;
      background: transparent;
      color: rgba(255,255,255,0.84);
      text-align: left;
      padding: 12px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      font-size: 14px;
      margin-bottom: 4px;
    }

    .nav-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
    .nav-btn.active { background: #fff; color: #17376d; font-weight: 700; }
    .nav-icon { width: 24px; text-align: center; font-weight: 800; }

    main {
      min-width: 0;
      padding: 26px 30px 50px;
    }

    .topbar {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: center;
      margin-bottom: 22px;
    }

    .topbar h2 { margin: 0; font-size: 24px; }
    .topbar p { margin: 4px 0 0; color: var(--muted); }
    .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      border: 1px solid var(--line);
      background: #fff;
      color: var(--text);
      border-radius: 999px;
      padding: 10px 15px;
      cursor: pointer;
      font-weight: 650;
      box-shadow: 0 4px 14px rgba(23, 32, 51, 0.04);
      text-decoration: none;
    }

    .btn.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
    .btn:hover { transform: translateY(-1px); }

    .hero {
      background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.34), transparent 26%), linear-gradient(135deg, #1f66d1 0%, #744de2 100%);
      border-radius: 24px;
      padding: 28px;
      color: #fff;
      box-shadow: var(--shadow);
      margin-bottom: 22px;
      position: relative;
      overflow: hidden;
    }

    .hero:after {
      content: "";
      position: absolute;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      background: rgba(255,255,255,0.14);
      right: -70px;
      bottom: -90px;
    }

    .hero h3 {
      margin: 0 0 10px;
      font-size: 28px;
      line-height: 1.2;
      max-width: 900px;
      position: relative;
      z-index: 1;
    }

    .hero p {
      margin: 0;
      color: rgba(255,255,255,0.88);
      max-width: 900px;
      position: relative;
      z-index: 1;
    }

    .grid { display: grid; gap: 16px; }
    .grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .card {
      min-width: 0;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 18px;
      box-shadow: var(--shadow);
    }

    .card h4 { margin: 0 0 10px; font-size: 17px; }
    .card p { color: var(--muted); margin: 0; }
    .card ul { margin: 8px 0 0; padding-left: 20px; }
    .card li { margin: 6px 0; }

    .kpi { display: flex; flex-direction: column; gap: 6px; }
    .kpi .number { font-size: 30px; font-weight: 800; color: var(--primary); }
    .kpi .label { color: var(--muted); font-size: 13px; }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 10px;
      border-radius: 999px;
      background: var(--soft);
      color: var(--primary-dark);
      font-size: 12px;
      font-weight: 700;
      margin: 3px 5px 3px 0;
    }

    .pill.green { background: #e8f7f0; color: var(--green); }
    .pill.yellow { background: #fff5df; color: var(--yellow); }
    .pill.red { background: #ffe9e9; color: var(--red); }
    .pill.purple { background: #f0ebff; color: var(--purple); }

    .section { display: none; animation: fade .22s ease-out; }
    .section.active { display: block; }
    @keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

    .section-title { margin: 28px 0 12px; font-size: 20px; }
    .apollo-section { margin: -26px -30px -50px; }
    .apollo-section iframe { display: block; width: 100%; height: 100vh; border: none; }
    .timeline { display: grid; gap: 12px; }

    .timeline-item {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 16px;
      display: grid;
      grid-template-columns: 120px minmax(0,1fr) 130px;
      gap: 16px;
      align-items: start;
      box-shadow: 0 10px 26px rgba(23, 32, 51, 0.05);
    }

    .day-number { font-weight: 800; color: var(--primary); }
    .status { justify-self: end; }

    /* Calendar Schedule */
    .cal-wrapper { display: flex; flex-direction: column; gap: 16px; }
    .cal-grid {
      display: grid;
      grid-template-columns: 72px repeat(6, 1fr);
      gap: 8px;
    }
    .cal-week-label {
      display: flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 700; letter-spacing: .06em;
      text-transform: uppercase; color: var(--muted);
    }
    .cal-cell {
      background: var(--panel);
      border: 2px solid var(--line);
      border-radius: 12px;
      padding: 10px 8px;
      cursor: pointer;
      display: flex; flex-direction: column; gap: 5px;
      min-height: 82px;
      transition: border-color .15s, box-shadow .15s, transform .12s;
    }
    .cal-cell:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(31,102,209,.14); }
    .cal-cell.active { border-color: var(--primary); background: rgba(31,102,209,.05); box-shadow: 0 0 0 3px rgba(31,102,209,.16); }
    .cal-day-num { font-size: 19px; font-weight: 800; color: var(--primary); line-height: 1; }
    .cal-theme { font-size: 10.5px; color: var(--muted); line-height: 1.3; flex: 1; }
    .cal-dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; align-self: flex-end; }
    .cal-cell.status-ready .cal-dot,
    .cal-cell.status-done .cal-dot  { background: #22c55e; }
    .cal-cell.status-in-progress .cal-dot { background: #f59e0b; }
    .cal-detail {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 22px 24px;
      min-height: 90px;
      box-shadow: 0 2px 12px rgba(23,32,51,.06);
    }
    .cal-detail-header {
      display: flex; align-items: center; gap: 12px;
      margin-bottom: 14px; flex-wrap: wrap;
    }
    .cal-detail-header h4 { margin: 0; font-size: 17px; flex: 1; }
    .cal-detail p { margin: 6px 0 0; color: var(--muted); }

    .log-item,
    .project-item {
      border-left: 4px solid var(--primary);
      padding: 14px 16px;
      background: #fff;
      border-radius: 12px;
      border-top-left-radius: 4px;
      border-bottom-left-radius: 4px;
      margin-bottom: 12px;
      border-top: 1px solid var(--line);
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .log-item h4,
    .project-item h4 { margin: 0 0 6px; }
    .log-meta { color: var(--muted); font-size: 13px; margin-bottom: 8px; }

    pre {
      margin: 10px 0 0;
      white-space: pre-wrap;
      overflow-x: auto;
      background: #172033;
      color: #f5f7fb;
      border-radius: 14px;
      padding: 14px;
      font-family: "SFMono-Regular", Consolas, monospace;
      font-size: 13px;
    }

    .hamburger {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 12px;
      font-size: 20px;
      cursor: pointer;
      flex-shrink: 0;
      box-shadow: 0 4px 14px rgba(23,32,51,0.04);
    }

    .sidebar-close {
      display: none;
      position: absolute;
      top: 14px;
      right: 14px;
      width: 32px;
      height: 32px;
      border: 0;
      background: rgba(255,255,255,0.15);
      color: #fff;
      border-radius: 50%;
      font-size: 16px;
      cursor: pointer;
      align-items: center;
      justify-content: center;
    }

    .sidebar-close:hover { background: rgba(255,255,255,0.28); }

    #sidebar-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(17,24,39,0.45);
      z-index: 199;
    }

    #sidebar-overlay.active { display: block; }

    .topbar-left { display: contents; }

    .footer-note {
      margin-top: 22px;
      padding: 16px 18px;
      border-radius: 16px;
      background: #fff8e6;
      border: 1px solid #f2d28d;
      color: #6b4b0c;
    }

    .update-form {
      display: grid;
      gap: 14px;
    }

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

    .update-form label {
      display: grid;
      gap: 6px;
      color: var(--text);
      font-weight: 700;
      font-size: 14px;
    }

    .update-form input,
    .update-form textarea {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 11px 12px;
      color: var(--text);
      background: #fff;
      font: inherit;
      font-weight: 400;
      resize: vertical;
    }

    .update-form input:focus,
    .update-form textarea:focus {
      outline: 2px solid rgba(31, 102, 209, 0.18);
      border-color: var(--primary);
    }

    .form-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .form-note {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
    }

    .guide-shell {
      max-width: 1180px;
      margin: 0 auto;
      padding: 30px;
    }

    .guide-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 22px;
    }

    .guide-intro {
      margin-bottom: 20px;
    }

    .guide-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      margin-bottom: 22px;
    }

    .guide-list {
      margin: 10px 0 0;
      padding-left: 20px;
    }

    .guide-list li {
      margin: 8px 0;
      color: var(--muted);
    }

    .accordion {
      display: grid;
      gap: 12px;
    }

    .accordion-item {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 18px;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .accordion-item summary {
      list-style: none;
      cursor: pointer;
      padding: 18px 20px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .accordion-item summary::-webkit-details-marker {
      display: none;
    }

    .accordion-item summary::after {
      content: "+";
      font-size: 22px;
      color: var(--primary);
      line-height: 1;
    }

    .accordion-item[open] summary::after {
      content: "-";
    }

    .accordion-body {
      padding: 0 20px 20px;
    }

    /* VAPI floating chat button */
    #vapi-btn {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 9999;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: var(--primary);
      color: #fff;
      border: none;
      cursor: pointer;
      box-shadow: 0 6px 24px rgba(31, 102, 209, 0.45);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    }
    #vapi-btn:hover {
      background: var(--primary-dark);
      transform: scale(1.07);
      box-shadow: 0 10px 32px rgba(31, 102, 209, 0.55);
    }
    #vapi-btn.active {
      background: #bf3030;
      box-shadow: 0 6px 24px rgba(191, 48, 48, 0.45);
    }
    #vapi-btn .vapi-icon { pointer-events: none; line-height: 1; }

    .guide-stack {
      display: grid;
      gap: 16px;
    }

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

    .step-list li {
      margin: 10px 0;
      color: var(--muted);
    }

    .xmind-section { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 4px; }
    .xmind-section-summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 10px; border-left: 4px solid var(--primary); user-select: none; }
    .xmind-section-summary::-webkit-details-marker { display: none; }
    .xmind-section-summary::before { content: "▶"; font-size: 11px; color: var(--primary); transition: transform 0.18s; flex-shrink: 0; }
    .xmind-section[open] > .xmind-section-summary::before { transform: rotate(90deg); }
    .xmind-section-body { padding: 8px 20px 18px 24px; display: grid; gap: 8px; }

    .xmind-nested { border-left: 3px solid var(--line); border-radius: 0 10px 10px 0; background: var(--bg); overflow: hidden; }
    .xmind-nested-summary { list-style: none; cursor: pointer; padding: 9px 14px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; color: var(--text); user-select: none; }
    .xmind-nested-summary::-webkit-details-marker { display: none; }
    .xmind-nested-summary::before { content: "▶"; font-size: 9px; color: var(--muted); transition: transform 0.18s; flex-shrink: 0; }
    .xmind-nested[open] > .xmind-nested-summary::before { transform: rotate(90deg); }
    .xmind-nested-body { padding: 4px 14px 10px 18px; display: grid; gap: 6px; }

    .xmind-leaf { display: flex; align-items: flex-start; gap: 8px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
    .xmind-dot { color: var(--primary); font-size: 8px; margin-top: 4px; flex-shrink: 0; }
    .xmind-note { font-size: 12px; color: var(--muted); margin-top: 4px; font-style: italic; }

    .excel-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
    .excel-table { width: 100%; border-collapse: collapse; font-size: 14px; }
    .excel-table th { background: var(--primary); color: #fff; padding: 10px 14px; text-align: left; font-weight: 700; white-space: nowrap; }
    .excel-table td { padding: 9px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
    .excel-table tbody tr:nth-child(even) { background: var(--bg); }
    .excel-table tbody tr:hover { background: var(--soft); }

    .md-preview h1 { font-size: 26px; margin: 0 0 12px; }
    .md-preview h2 { font-size: 20px; margin: 16px 0 8px; }
    .md-preview h3 { font-size: 17px; margin: 14px 0 6px; }
    .md-preview p { margin: 0 0 10px; color: var(--text); }
    .md-preview ul { margin: 0 0 10px; padding-left: 22px; }
    .md-preview li { margin: 5px 0; }
    .md-preview a { color: var(--primary); text-decoration: underline; }
    .md-preview strong { font-weight: 700; }
    .md-preview em { font-style: italic; }
    .md-preview code { background: #f0f2f7; border-radius: 6px; padding: 2px 6px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; }

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

      aside {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 280px;
        z-index: 200;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        padding: 18px;
      }

      aside.sidebar-open { transform: translateX(0); }

      .sidebar-close { display: flex; }

      .topbar-left {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      main { padding: 18px 14px 36px; }
      .topbar { flex-direction: column; align-items: stretch; gap: 12px; }
      .actions { justify-content: flex-start; }
      .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
      .guide-grid { grid-template-columns: 1fr; }
      .form-grid { grid-template-columns: 1fr; }
      .timeline-item { grid-template-columns: 1fr; }
      .status { justify-self: start; }
      .hero { padding: 22px; }
      .hero h3 { font-size: 22px; }
    }

    @media (max-width: 520px) {
      .guide-shell { padding: 18px 14px 36px; }
      .actions { width: 100%; }
      .hero { border-radius: 18px; }
      .card { border-radius: 14px; }
      .cal-grid { grid-template-columns: 48px repeat(3, 1fr); }
      .cal-theme { display: none; }
    }

    /* ── TMX Section ─────────────────────────────────────────── */
    #tmx-page {
      --tmx-bg: #eef2f7;
      --tmx-line: #d7deeb;
      --tmx-text: #11233d;
      --tmx-muted: #5f7088;
      --tmx-blue: #2766d8;
      --tmx-soft: #f5f8fc;
      --tmx-shadow: 0 12px 30px rgba(18,35,61,.08);
      background: var(--tmx-bg);
      color: var(--tmx-text);
      padding: 24px 28px 40px;
      font-family: "Microsoft YaHei","PingFang SC","Segoe UI",Arial,sans-serif;
      min-height: calc(100vh - 76px);
      margin: -26px -30px -50px;
    }
    .tmx-btn { border: none; border-radius: 999px; padding: 9px 15px; font-size: 13px; font-weight: 700; cursor: pointer; background: #fff; color: var(--tmx-text); box-shadow: var(--tmx-shadow); font-family: inherit; transition: .15s; }
    .tmx-btn:hover { opacity: .88; }

    .tmx-subnav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; align-items: center; }
    .tmx-nav-caption { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--tmx-muted); margin: 2px 4px 0; }
    .tmx-nav-item { display: inline-flex; gap: 5px; align-items: center; padding: 7px 13px; border-radius: 999px; background: #fff; color: var(--tmx-muted); font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid var(--tmx-line); transition: .15s; text-decoration: none; white-space: nowrap; }
    .tmx-nav-item:hover { background: rgba(39,102,216,.07); color: var(--tmx-blue); border-color: var(--tmx-blue); }
    .tmx-nav-item.tmx-active { background: var(--tmx-blue); color: #fff; border-color: var(--tmx-blue); font-weight: 800; }
    .tmx-nav-num { font-weight: 900; font-size: 12px; }

    .tmx-hero { background: linear-gradient(120deg,#2766d8 0%,#4f69e7 36%,#6b59e8 72%,#8a65eb 100%); border-radius: 22px; padding: 22px 22px 20px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--tmx-shadow); margin-bottom: 16px; }
    .tmx-hero::after { content:""; position:absolute; right:-58px; top:-30px; width:190px; height:190px; border-radius:50%; background:rgba(255,255,255,.1); pointer-events:none; }
    .tmx-hero h3 { position: relative; margin: 0; font-size: 22px; line-height: 1.2; }
    .tmx-hero p { position: relative; margin: 8px 0 0; color: rgba(255,255,255,.92); font-size: 14px; }
    .tmx-stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; position: relative; }
    .tmx-stat { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); padding: 8px 12px; border-radius: 14px; min-width: 105px; }
    .tmx-stat strong { display: block; font-size: 18px; line-height: 1.1; }
    .tmx-stat span { font-size: 12px; color: rgba(255,255,255,.9); }

    .tmx-search-panel { background: #fff; border: 1px solid var(--tmx-line); border-radius: 18px; padding: 13px 16px; box-shadow: var(--tmx-shadow); margin-bottom: 18px; }
    .tmx-search-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
    .tmx-search-box { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; background: var(--tmx-soft); border: 1px solid var(--tmx-line); border-radius: 14px; padding: 0 14px; }
    .tmx-search-box input { width: 100%; border: none; outline: none; background: transparent; padding: 11px 0; font-size: 14px; color: var(--tmx-text); font-family: inherit; }
    .tmx-search-meta { font-size: 13px; color: var(--tmx-muted); }

    .tmx-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
    .tmx-info-card { background: #fff; border: 1px solid var(--tmx-line); border-radius: 20px; padding: 16px; box-shadow: var(--tmx-shadow); }
    .tmx-card-icon { width: 38px; height: 38px; border-radius: 12px; background: #eef3ff; display: grid; place-items: center; font-size: 20px; margin-bottom: 10px; }
    .tmx-info-card h4 { margin: 0 0 7px; font-size: 16px; color: var(--tmx-text); }
    .tmx-info-card p { margin: 0; color: var(--tmx-muted); line-height: 1.7; font-size: 14px; }

    .tmx-flow { display: grid; grid-template-columns: repeat(7,1fr); gap: 10px; margin-top: 12px; }
    .tmx-flow-item { background: #fff; border: 1px solid var(--tmx-line); border-radius: 16px; padding: 12px 10px; position: relative; box-shadow: var(--tmx-shadow); }
    .tmx-flow-item:not(:last-child)::after { content:"→"; position:absolute; right:-10px; top:26px; color:var(--tmx-blue); font-weight:900; z-index:2; font-size:14px; }
    .tmx-flow-code { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #edf3ff; color: var(--tmx-blue); font-weight: 800; font-size: 12px; }
    .tmx-flow-item p { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--tmx-text); }

    .tmx-method-list { display: flex; flex-direction: column; gap: 14px; }
    .tmx-method-row { display: grid; grid-template-columns: 100px 1fr; gap: 16px; background: #fff; border: 1px solid var(--tmx-line); border-radius: 20px; padding: 14px 16px; box-shadow: var(--tmx-shadow); }
    .tmx-method-meta .tmx-label { font-size: 12px; color: var(--tmx-muted); display: block; margin-bottom: 6px; }
    .tmx-method-code { font-size: 22px; font-weight: 900; color: var(--tmx-blue); line-height: 1.1; word-break: break-word; }
    .tmx-method-type { margin-top: 8px; display: inline-block; padding: 5px 9px; border-radius: 999px; background: #eef6ff; color: #2d5ec5; font-size: 12px; font-weight: 800; }
    .tmx-method-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
    .tmx-method-title-group { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
    .tmx-method-icon { width: 40px; height: 40px; border-radius: 12px; background: #eef3ff; display: grid; place-items: center; font-size: 20px; flex: none; }
    .tmx-method-body h4 { margin: 0; font-size: 20px; line-height: 1.25; color: var(--tmx-text); }
    .tmx-method-subtitle { margin-top: 6px; color: var(--tmx-muted); font-size: 14px; }
    .tmx-method-body p { margin: 10px 0 0; font-size: 14px; line-height: 1.7; color: var(--tmx-text); }
    .tmx-method-body p .k { font-weight: 900; }
    .tmx-method-body ul { margin: 8px 0 0 18px; padding: 0; color: var(--tmx-muted); }
    .tmx-method-body li { margin: 5px 0; line-height: 1.65; font-size: 14px; }
    .tmx-method-badge { padding: 6px 9px; border-radius: 999px; background: #f3f6fb; color: var(--tmx-muted); font-size: 12px; font-weight: 800; white-space: nowrap; flex-shrink: 0; }

    .tmx-sec-block { margin-top: 20px; }
    .tmx-sec-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
    .tmx-sec-header h3 { margin: 0; font-size: 22px; color: var(--tmx-text); line-height: 1.2; }
    .tmx-sec-header p { margin: 6px 0 0; color: var(--tmx-muted); font-size: 14px; max-width: 860px; }
    .tmx-flow-header { margin: 18px 0 8px; }
    .tmx-flow-header h3 { margin: 0; font-size: 18px; color: var(--tmx-text); }

    .tmx-empty-state { display: none; background: #fff; border: 1px dashed var(--tmx-line); border-radius: 18px; padding: 24px; text-align: center; color: var(--tmx-muted); margin-top: 20px; }
    .tmx-footer-note { margin-top: 20px; color: var(--tmx-muted); font-size: 13px; line-height: 1.7; padding: 12px 2px; border-top: 1px solid var(--tmx-line); }

    @media (max-width: 1100px) {
      .tmx-card-grid { grid-template-columns: repeat(2,1fr); }
      .tmx-flow { grid-template-columns: repeat(4,1fr); }
    }
    @media (max-width: 820px) {
      .tmx-method-row { grid-template-columns: 1fr; }
      .tmx-card-grid { grid-template-columns: 1fr; }
      .tmx-flow { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 600px) {
      #tmx-page { padding: 16px 14px 28px; margin: -26px -16px -50px; }
      .tmx-flow { grid-template-columns: 1fr; }
      .tmx-flow-item:not(:last-child)::after { display: none; }
    }
