    :root {
      --bg: #f7f8fa;
      --paper: #ffffff;
      --ink: #1f2933;
      --line: #e7eaf0;
      --accent: #d8892e;
      --accent-deep: #8a4f16;
      --accent-soft: #fff7ed;
      --card-shadow: 0 10px 30px rgba(31, 41, 51, 0.05);
      --radius: 16px;
    }
    * {
      box-sizing: border-box;
    }
    body {
      margin: 0;
      font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
      background: var(--bg);
      color: var(--ink);
      overflow-x: hidden;
    }
    .page {
      max-width: var(--max-width-view, 1200px);
      margin: 0 auto;
      padding: 18px 14px 40px;
      min-width: 0;
    }
    .case-filters {
      position: sticky;
      z-index: 20;
      top: 60px;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(10px);
    }
    .case-filters {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      align-items: end;
      padding: 13px 14px;
      border: 1px solid var(--line);
      border-radius: 8px;
      box-shadow: 0 8px 24px rgba(31, 41, 51, 0.08);
    }
    .case-filter-promise {
      grid-column: 1 / -1;
      margin: 0;
      padding: 10px;
      border: 1px solid #e87900;
      border-radius: 8px;
      background: linear-gradient(135deg, #ff9800, #ed7000);
      color: #fff;
      font-size: 17px;
      font-weight: 900;
      line-height: 1.5;
      text-align: center;
      box-shadow: 0 3px 8px rgba(237, 112, 0, .22);
    }
    /* 右侧「微信同号 + 复制」：与三个下拉等宽，四列平分筛选栏宽度 */
    .case-filter-contact {
      justify-self: stretch;
      align-self: end;
      width: 100%;
      min-width: 0;
    }
    /* 四列放不下时降为两列：右侧号码块加上复制按钮最小内容宽约 182px，
       4 × 182 + 间距 + 内边距 ≈ 786px，因此 860px 以下改用 2 × 2。 */
    @media (max-width: 860px) {
      .case-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    .case-phone-box {
      display: flex;
      align-items: center;
      gap: 8px;
      height: 38px;
      padding: 0 6px 0 12px;
      border: 1px solid #ded6cd;
      border-radius: 6px;
      background: #fff;
    }
    .case-phone-number {
      color: #2d251d;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }
    .case-phone-copy {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      height: 26px;
      margin-left: auto;
      padding: 0 10px;
      border: 1px solid #e6d8c4;
      border-radius: 999px;
      background: #fff7ed;
      color: #a8621a;
      font: 600 12px/1 "Microsoft YaHei", "微软雅黑", sans-serif;
      white-space: nowrap;
      cursor: pointer;
      transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    }
    .case-phone-copy svg {
      width: 13px;
      height: 13px;
    }
    .case-phone-copy:hover {
      background: #ffedd6;
      border-color: #e0b781;
    }
    .case-phone-copy.is-copied {
      background: #eaf7ee;
      border-color: #a9d8ba;
      color: #1f7a45;
    }
    /* 复制结果提示 .copy-toast 已提到 assets/css/common.css，全站复用 */
    .case-filter-field {
      display: grid;
      gap: 5px;
      min-width: 0;
    }
    .case-filter-label {
      color: #665b50;
      font-size: 12px;
      line-height: 1.4;
      font-weight: 700;
    }
    .case-filter-select {
      width: 100%;
      min-width: 0;
      height: 38px;
      padding: 0 34px 0 10px;
      border: 1px solid #ded6cd;
      border-radius: 6px;
      outline: none;
      background: #fff;
      color: #2d251d;
      font: 600 13px/1.4 "Microsoft YaHei", sans-serif;
      cursor: pointer;
    }
    .case-filter-select:hover {
      border-color: #cda26f;
    }
    .case-filter-select:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(216, 137, 46, 0.14);
    }
    /* 筛选下拉：原生 select 只存值（隐藏），展开面板用自绘的 .select-menu，
       与 POA 成功案例页（poa-success-cases）保持同一套样式。 */
    .case-filter-field .custom-select {
      position: relative;
      min-width: 0;
      z-index: 1;
    }
    .case-filter-field .custom-select.open {
      z-index: 35;
    }
    .case-filter-select.native-filter {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      border: 0;
      opacity: 0;
      pointer-events: none;
    }
    .select-trigger {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      height: 38px;
      padding: 0 34px 0 10px;
      border: 1px solid #ded6cd;
      border-radius: 6px;
      outline: none;
      background: #fff;
      color: #2d251d;
      font: 600 13px/1.4 "Microsoft YaHei", sans-serif;
      text-align: left;
      white-space: nowrap;
      cursor: pointer;
      transition: border-color 0.18s ease, box-shadow 0.18s ease;
    }
    .select-trigger:hover {
      border-color: #cda26f;
    }
    .select-trigger:focus-visible {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(216, 137, 46, 0.14);
    }
    .select-trigger .chevron {
      position: absolute;
      top: 50%;
      right: 12px;
      width: 13px;
      height: 13px;
      color: #8a939e;
      pointer-events: none;
      transform: translateY(-50%);
    }
    .select-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      left: 0;
      z-index: 30;
      display: none;
      max-height: 280px;
      overflow-y: auto;
      padding: 6px;
      border: 1px solid #e0e4e9;
      border-radius: 10px;
      background: #fff;
      box-shadow: 0 18px 40px rgba(31, 35, 41, 0.13);
    }
    .custom-select.open .select-menu {
      display: grid;
      gap: 2px;
    }
    .select-option {
      width: 100%;
      min-height: 36px;
      padding: 8px 11px;
      border: 0;
      border-radius: 7px;
      background: transparent;
      color: #3b444e;
      font: 500 13px/1.5 "Microsoft YaHei", sans-serif;
      text-align: left;
      white-space: normal;
      overflow-wrap: anywhere;
      cursor: pointer;
    }
    .select-option:hover,
    .select-option[aria-selected="true"] {
      background: #fff5e8;
      color: #a85a12;
    }
    .case-empty {
      display: none;
      padding: 46px 20px;
      border: 1px dashed #d8c8b6;
      border-radius: 8px;
      background: var(--paper);
      color: #756b61;
      text-align: center;
      font-size: 14px;
    }
    .case-empty.is-visible {
      display: block;
    }
    .case-list {
      display: grid;
      gap: 12px;
      min-width: 0;
      cursor: pointer;
    }
    .case-list-ending {
      margin: 8px 0 2px;
      padding: 18px 20px 6px;
      color: var(--accent-deep);
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1.6;
      text-align: center;
    }
    .case-list-ending::before,
    .case-list-ending::after {
      display: inline-block;
      width: 30px;
      height: 1px;
      margin: 0 10px 0.35em;
      background: #e6bd8c;
      content: "";
    }
    .case-card {
      display: grid;
      gap: 18px;
      min-width: 0;
      overflow: hidden;
      padding: 20px 18px;
      border-radius: var(--radius);
      background: var(--paper);
      border: 1px solid var(--line);
      box-shadow: var(--card-shadow);
    }
    .case-card[hidden] {
      display: none !important;
    }
    .case-text {
      margin: 0;
      white-space: normal;
      font-family: "SimSun", "Songti SC", "Microsoft YaHei", serif;
      overflow-wrap: anywhere;
      display: block;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      font-size: 14px;
      line-height: 1.82;
      color: var(--ink);
    }
    .case-body {
      display: block;
      white-space: normal;
      word-break: break-word;
      overflow-wrap: anywhere;
    }
    .case-paragraph,
    .case-status,
    .case-timeline,
    .case-timeline-item {
      display: block;
    }
    .case-paragraph {
      margin: 0;
    }
    .case-paragraph+.case-paragraph {
      margin-top: 9px;
    }
    .case-timeline {
      display: grid;
      gap: 6px;
      margin: 13px 0 0;
      padding: 10px 12px;
      border: 1px solid #f2dfc5;
      border-left: 3px solid var(--accent);
      border-radius: 8px;
      background: #fffaf3;
    }
    .case-timeline+.case-paragraph {
      margin-top: 11px;
    }
    .case-timeline-item {
      display: grid;
      grid-template-columns: 18px minmax(0, 1fr);
      gap: 6px;
      align-items: start;
    }
    .case-timeline-icon {
      color: var(--accent);
      font-family: "Microsoft YaHei", sans-serif;
      font-weight: 800;
      line-height: 1.82;
    }
    .case-timeline-text {
      display: block;
      min-width: 0;
    }
    .case-status {
      margin-top: 13px;
      padding: 9px 11px;
      border: 1px solid #f0dfcc;
      border-radius: 8px;
      background: #fffdf8;
      color: #5d3b14;
      font-weight: 700;
    }
    .case-data-highlight {
      display: inline;
      margin: 0 1px;
      padding: 0 4px 1px;
      border-radius: 4px;
      background: linear-gradient(180deg,
          transparent 46%,
          rgba(216, 137, 46, 0.24) 46%);
      box-decoration-break: clone;
      -webkit-box-decoration-break: clone;
      color: #8a4f16;
      font-weight: 800;
      overflow-wrap: anywhere;
      word-break: break-word;
    }
    .case-title-line {
      position: relative;
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      margin: 0 0 16px;
      padding: 12px 15px 13px 16px;
      overflow: visible;
      border: 1px solid #f0dfcc;
      border-radius: 14px;
      background:
        radial-gradient(circle at 96% 12%,
          rgba(216, 137, 46, 0.14),
          transparent 34%),
        linear-gradient(135deg,
          var(--accent-soft) 0%,
          #fffdf9 56%,
          #f8ecdc 100%);
      box-shadow: 0 10px 24px rgba(138, 79, 22, 0.08);
      font-size: 16px;
      line-height: 1.58;
      font-weight: 800;
      color: #111827;
    }
    .case-title-line::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 4px;
      background: linear-gradient(180deg,
          #f3b15b 0%,
          var(--accent) 52%,
          var(--accent-deep) 100%);
    }
    .case-title-line::after {
      content: "";
      position: absolute;
      right: 14px;
      bottom: 8px;
      width: 58px;
      height: 1px;
      background: linear-gradient(90deg,
          transparent,
          rgba(216, 137, 46, 0.45));
    }
    .case-title-badge {
      position: relative;
      z-index: 1;
      display: inline-flex;
      flex: 0 0 auto;
      align-items: center;
      justify-content: center;
      min-width: 54px;
      margin-top: 0;
      padding: 3px 10px 4px;
      border: 1px solid rgba(255, 255, 255, 0.72);
      border-radius: 999px;
      background: linear-gradient(135deg,
          #2b2117 0%,
          var(--accent-deep) 100%);
      box-shadow: 0 5px 12px rgba(138, 79, 22, 0.18);
      color: #fffaf1;
      font-size: 12px;
      line-height: 1.2;
      font-family: "Microsoft YaHei", sans-serif;
      font-weight: 800;
      white-space: nowrap;
    }
    .case-title-prefix {
      display: none;
    }
    .case-title-heading {
      position: relative;
      z-index: 1;
      display: block;
      flex: 1 1 auto;
      min-width: 0;
      max-width: 100%;
      overflow-wrap: anywhere;
      word-break: break-word;
    }
    .case-title-line .case-data-highlight {
      padding: 1px 5px 2px;
      border: 1px solid rgba(216, 137, 46, 0.24);
      background: rgba(255, 247, 237, 0.9);
      box-shadow: 0 2px 8px rgba(138, 79, 22, 0.08);
      color: #7c3e0a;
    }
    .case-meta {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
      margin: -7px 0 16px;
      font-family: "Microsoft YaHei", sans-serif;
    }
    .case-meta-item {
      min-width: 0;
      padding: 8px 10px;
      border: 1px solid #ece7df;
      border-radius: 6px;
      background: #faf9f7;
    }
    .case-meta-label,
    .case-meta-value {
      display: block;
    }
    .case-meta-label {
      margin-bottom: 2px;
      color: #7a746c;
      font-size: 11px;
      line-height: 1.4;
    }
    .case-meta-value {
      color: #342a20;
      font-size: 13px;
      line-height: 1.45;
      font-weight: 700;
      overflow-wrap: anywhere;
    }
    @media (min-width: 900px) {
      .case-card {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 18px;
      }
    }
    @media (max-width: 520px) {
      body {
        background: #faf6ef;
      }
      .case-filters {
        position: relative;
        top: auto;
      }
      .case-filters.is-stuck {
        position: fixed;
        z-index: 30;
        top: 54px;
        left: 10px;
        right: 10px;
        backdrop-filter: blur(10px);
      }
      .page {
        width: 100%;
        max-width: 100%;
        padding: 8px 10px 24px;
        overflow-x: hidden;
      }
      .case-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 8px;
        padding: 10px;
        border-color: #eadfd4;
        box-shadow: 0 3px 12px rgba(92, 72, 45, 0.08);
        backdrop-filter: none;
      }
      .case-filter-field {
        grid-template-columns: minmax(0, 1fr);
        align-items: center;
        gap: 6px;
      }
      .case-filter-label {
        font-size: 11px;
      }
      .case-filter-select {
        height: 36px;
        font-size: 12px;
      }
      .select-trigger {
        height: 36px;
        font-size: 12px;
      }
      .select-menu {
        max-height: 240px;
      }
      .case-filter-contact {
        justify-self: stretch;
        max-width: none;
      }
      .case-phone-box {
        height: 36px;
        min-width: 0;
        gap: 4px;
        padding: 0 5px;
      }
      .case-phone-number {
        font-size: clamp(10px, 3vw, 12px);
      }
      .case-phone-copy {
        flex-shrink: 0;
        gap: 3px;
        padding: 0 5px;
        font-size: 11px;
      }
      .case-card {
        display: block;
        width: 100%;
        max-width: 100%;
        inline-size: 100%;
        max-inline-size: 100%;
        min-width: 0;
        gap: 12px;
        padding: 14px 14px 13px;
        border-color: #eadfd4;
        border-radius: 10px;
        box-shadow: 0 3px 12px rgba(92, 72, 45, 0.1);
      }
      .case-text {
        inline-size: 100%;
        max-inline-size: 100%;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.72;
        color: #4d473f;
      }
      .case-body {
        max-width: 100%;
        word-break: break-word;
      }
      .case-paragraph+.case-paragraph {
        margin-top: 8px;
      }
      .case-timeline {
        gap: 5px;
        margin-top: 11px;
        padding: 9px 10px;
        border-radius: 7px;
      }
      .case-timeline+.case-paragraph {
        margin-top: 10px;
      }
      .case-timeline-item {
        grid-template-columns: 16px minmax(0, 1fr);
        gap: 5px;
      }
      .case-timeline-icon {
        line-height: 1.72;
      }
      .case-status {
        margin-top: 11px;
        padding: 8px 9px;
        border-radius: 7px;
      }
      .case-title-line {
        display: flex;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-bottom: 11px;
        padding: 8px 9px 9px;
        overflow: visible;
        white-space: normal;
        border: 1px solid #ecdcca;
        border-radius: 12px;
        background:
          radial-gradient(circle at 98% 0%,
            rgba(216, 137, 46, 0.16),
            transparent 38%),
          linear-gradient(135deg, #fff8ed 0%, #fffdf8 58%, #f7ead8 100%);
        box-shadow: 0 6px 16px rgba(92, 72, 45, 0.08);
        color: #111827;
        font-size: 13px;
        line-height: 1.42;
        font-weight: 800;
      }
      .case-title-line::before {
        width: 2px;
      }
      .case-title-line::after {
        right: 10px;
        bottom: 7px;
        width: 42px;
      }
      .case-title-badge {
        min-width: 36px;
        margin: 0 2px 0 0;
        padding: 2px 6px 3px;
        border-color: rgba(255, 255, 255, 0.68);
        background: linear-gradient(135deg, #2a2118 0%, #9a5a19 100%);
        color: #fffaf1;
        font-size: 10px;
        box-shadow: 0 4px 10px rgba(138, 79, 22, 0.16);
      }
      .case-list > .case-card:nth-child(-n + 3) .case-title-badge {
        align-self: center;
        inline-size: 36px;
        min-width: 36px;
        max-width: 36px;
        block-size: 36px;
        padding: 4px 6px;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
      }
      .case-list > .case-card:nth-child(n + 4) .case-title-badge {
        align-self: center;
        text-align: center;
      }
      .case-title-prefix {
        display: none;
      }
      .case-title-heading {
        display: block;
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
      }
      .case-data-highlight {
        padding: 0 3px 1px;
        border-radius: 3px;
      }
      .case-title-line .case-data-highlight {
        margin: 0;
        padding: 0 3px 1px;
        overflow-wrap: anywhere;
        word-break: break-word;
      }
      .case-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin: -3px 0 11px;
      }
      .case-meta-item {
        display: block;
        padding: 7px 8px;
      }
      .case-meta-label {
        margin-bottom: 2px;
        font-size: 10px;
      }
      .case-meta-value {
        font-size: 12px;
      }
      .case-list-ending {
        margin-top: 4px;
        padding-top: 14px;
        font-size: 14px;
      }
    }
    /* 案例筛选模块：展开与收起。 */
    .case-filter-heading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .case-filter-heading strong { font-size: 14px; color: #243444; }
    #tro-filter-toggle { min-width: 60px; min-height: 36px; padding: 7px 12px; border: 1px solid #454545; border-radius: 8px; background: #505050; color: #fff; font-family: inherit; font-weight: 700; font-size: 14px; line-height: 1.4; cursor: pointer; box-shadow: 0 3px 8px rgba(0,0,0,.14); }
    #tro-filter-toggle:focus-visible { outline: 2px solid #ff9600; outline-offset: 2px; }
    .case-filters.is-collapsed > :not(.case-filter-heading) { display: none !important; }
/* Page breadcrumb appearance, previously set on the element. */
body.trocase-content-page .breadcrumb-prefix { color: #999; margin-right: 8px; }

/* Document-imported TRO case evidence previews. */
.tro-case-gallery { display:flex; flex-wrap:wrap; gap:12px; margin-top:18px; padding-top:16px; border-top:1px dashed #e3e7ed; }
.tro-case-gallery .tro-case-image-toggle { display:block; width:180px; height:128px; border:1px solid #e0e5ed; border-radius:8px; overflow:hidden; background:#f8f9fc; }
.tro-case-gallery img { display:block; width:100%; height:100%; object-fit:contain; transition:transform .2s; }
.tro-case-gallery .tro-case-image-toggle:hover img { transform:scale(1.04); }
.tro-case-gallery .tro-case-image-toggle:focus-visible { outline:2px solid #ff9600; outline-offset:3px; }
@media(max-width:520px) { .tro-case-gallery { gap:8px; } .tro-case-gallery .tro-case-image-toggle { width:calc(50% - 6px); height:110px; } }

.case-filter-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }
#tro-filter-reset { min-width:60px; min-height:36px; padding:7px 12px; border:1px solid #ffb566; border-radius:8px; background:#fffaf3; color:#b86105; font:inherit; font-size:14px; font-weight:700; line-height:1.4; cursor:pointer; }
#tro-filter-reset:hover { background:#fff0da; border-color:#ff9600; }
#tro-filter-reset:focus-visible { outline:2px solid #ff9600; outline-offset:2px; }

/* Match POA case evidence overlay, zoom and click-to-close behavior. */
body.lightbox-open { overflow: hidden; }
.image-lightbox { position: fixed; inset: 0; z-index: 2147483647; display: flex; align-items: center; justify-content: center; padding: clamp(48px, 6vh, 72px) clamp(48px, 6vw, 96px); background: rgba(10, 14, 18, .88); overscroll-behavior: contain; }
.image-lightbox[hidden] { display: none; }
.image-lightbox img { display: block; max-width: min(1100px, calc(100vw - 96px)); max-height: min(760px, calc(100vh - 96px)); width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 70px rgba(0, 0, 0, .4); cursor: zoom-out; touch-action: none; user-select: none; transform: scale(1); transform-origin: center center; transition: transform .2s ease; }
.image-lightbox-close { position: absolute; top: 18px; right: 22px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255, 255, 255, .48); border-radius: 50%; background: rgba(20, 24, 28, .56); color: #fff; font-size: 27px; line-height: 1; }
.image-lightbox-close:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
@media(max-width:520px) { .image-lightbox { padding:14px; } .image-lightbox img { max-width:96vw; max-height:calc(100dvh - 28px); } .image-lightbox-close { top:10px; right:10px; width:38px; height:38px; } }

.tro-case-gallery .tro-case-image-toggle { padding:0; cursor:zoom-in; font:inherit; }

dialog.image-lightbox { margin:0; width:100vw; height:100dvh; max-width:none; max-height:none; border:0; box-sizing:border-box; }
dialog.image-lightbox::backdrop { background:transparent; }

/* Contact label, number and copy stay together beside the header actions. */
.case-filter-heading { gap:12px; }
.case-filter-heading > strong { flex-shrink:0; }
.case-toolbar-contact { margin-left:auto; min-width:0; }
.case-toolbar-contact .case-phone-box { display:flex; align-items:center; height:36px; gap:8px; }
.case-toolbar-contact .case-filter-label { white-space:nowrap; }
.case-toolbar-contact .case-phone-copy { flex-shrink:0; }
@media(min-width:521px) { .case-filters { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:520px) {
 .case-filter-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:8px; row-gap:8px; }
 .case-filter-heading > strong { grid-column:1 / -1; }
 .case-toolbar-contact { grid-column:1; grid-row:2; width:100%; margin:0; }
 .case-filter-actions { grid-column:2; grid-row:2; }
 .case-toolbar-contact .case-phone-box { padding:0 4px; gap:4px; }
 .case-toolbar-contact .case-filter-label { font-size:10px; }
 .case-toolbar-contact .case-phone-number { font-size:11px; letter-spacing:0; }
 .case-toolbar-contact .case-phone-copy { padding:0 4px; }
 .case-toolbar-contact .case-phone-copy > span { display:none; }
}
