
  html, body { background: var(--slate-50); }
  .container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
  main.container { padding-top: 4px; padding-bottom: 32px; }

  /* ============================================================
     BREADCRUMB
     ============================================================ */
  .breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--slate-500); padding: 16px 0 4px; flex-wrap: wrap; }
  .breadcrumb a { color: var(--slate-500); transition: color .15s var(--ease); }
  .breadcrumb a:hover { color: var(--green-dark); }
  .breadcrumb .sep { color: var(--slate-300); }
  .breadcrumb .current { color: var(--slate-900); font-weight: 500; }

  /* ============================================================
     HERO
     ============================================================ */
  .complaint-hero {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 28px 32px 24px;
    margin-bottom: 20px;
  }
  .ch-top {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
  }
  /* .ch-status-pill removed — hero status now uses the canonical
     `.badge .badge-lg .badge-<status>` from design-system.css. Same uppercase
     pill treatment, but driven by the single-source-of-truth colors so this
     page can't drift from the rest of the site. */
  .ch-meta {
    font-size: 13px; color: var(--slate-500);
    display: inline-flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
  }
  .ch-meta .meta-dot { width: 3px; height: 3px; background: var(--slate-300); border-radius: 50%; }
  .ch-id {
    display: inline-flex; align-items: center; gap: 4px;
    font-family: monospace;
    font-size: 12px;
    color: var(--slate-500);
    background: var(--slate-100);
    padding: 2px 8px;
    border-radius: var(--radius-xs);
  }

  .ch-title {
    font-size: var(--fs-4xl);   /* v1.2.91: 28 → 32 via token (hero parity) */
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.2;
    letter-spacing: -.018em;
    max-width: 800px;
    margin-bottom: 14px;
  }

  .ch-context-row {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap;
  }
  .ch-vendor-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px 4px 4px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    color: var(--slate-700);
    font-weight: 500;
    font-size: 12px;
    transition: all .15s var(--ease);
  }
  .ch-vendor-link:hover { background: var(--green-50); border-color: var(--green-200); color: var(--green-dark); }
  .ch-vendor-link .va {
    width: 20px; height: 20px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    flex-shrink: 0;
    border: 1px solid var(--slate-200);
  }
  .ch-vendor-link .va img { width: 100%; height: 100%; object-fit: cover; }
  .ch-product-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    color: var(--slate-700);
    font-weight: 500;
    font-size: 12px;
    transition: all .15s var(--ease);
  }
  .ch-product-link:hover { border-color: var(--slate-300); color: var(--slate-900); }
  .ch-product-link svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

  /* ============================================================
     STATUS TIMELINE
     ============================================================ */
  .status-timeline {
    display: flex;
    /* v1.2.114: align-items flex-start so dots anchor to the top of each step column.
       Was `center` — if any step's label wraps to 2 lines (common with KA), the dot
       of that step shifted vertically, breaking the horizontal connector-line geometry
       between dots. flex-start keeps dots horizontally aligned regardless of label height. */
    align-items: flex-start;
    gap: 0;
    padding: 22px 32px 26px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .status-timeline::-webkit-scrollbar { display: none; }
  .status-step {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 110px;
    position: relative;
    text-align: center;
  }
  .status-dot {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--slate-100);
    border: 2px solid var(--white);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--slate-400);
    transition: all .25s var(--ease);
    z-index: 2;
    box-shadow: 0 0 0 1px var(--slate-200);
  }
  .status-dot svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
  .status-step.is-done .status-dot {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 0 0 1px var(--green);
  }
  .status-step.is-current .status-dot {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: 0 0 0 4px #DBEAFE;
    animation: pulseDot 2s var(--ease) infinite;
  }
  @keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 4px #DBEAFE; }
    50% { box-shadow: 0 0 0 8px #DBEAFE40; }
  }
  .status-step.is-blocked .status-dot {
    background: var(--red-500);
    color: var(--white);
    box-shadow: 0 0 0 1px var(--red-500);
  }
  .status-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 16px;
    /* Pull the connector line back so it leaves a clear gap around each dot.
       Was 16px (dot radius) — that put the line flush against the dot's
       1px box-shadow ring and made the green progress visually "kiss" the
       upcoming gray dot. 22px (radius + 6px breathing room) reads as an
       intentional separator. */
    left: calc(50% + 22px);
    right: calc(-50% + 22px);
    height: 2px;
    background: var(--slate-200);
    z-index: 1;
  }
  .status-step.is-done:not(:last-child)::after { background: var(--green); }

  .status-step-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--slate-700);
    letter-spacing: .02em;
  }
  .status-step.is-done .status-step-label { color: var(--green-dark); }
  .status-step.is-current .status-step-label { color: #1D4ED8; }
  .status-step.is-blocked .status-step-label { color: var(--red-600); }
  /* v1.2.114: future-step label slate-400 → slate-500 for readability while staying muted. */
  .status-step.is-future .status-step-label { color: var(--slate-500); font-weight: 500; }
  /* v1.2.114: timestamp text was barely readable — slate-400 / 11px / default weight.
     Bumped to slate-600 / 12px / 500 so the dates + counters under each step are scannable. */
  .status-step-time {
    font-size: 12px;
    color: var(--slate-600);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }

  /* ============================================================
     LAYOUT
     ============================================================ */
  .layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
  @media (max-width: 1024px) { .layout { grid-template-columns: 1fr; } }

  .card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 18px;
  }
  .card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid var(--slate-100);
    gap: 12px;
  }
  .card-title {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--slate-900);
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  .card-title svg { width: 14px; height: 14px; stroke: var(--slate-500); fill: none; stroke-width: 2; }
  .card-action-link {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green-dark);
  }
  .card-body { padding: 22px; }

  /* ============================================================
     COMPLAINT BODY (problem description, expected outcome, etc)
     ============================================================ */
  .complaint-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--slate-700);
  }
  .complaint-body p { margin-bottom: 14px; }
  .complaint-body p:last-child { margin-bottom: 0; }

  .quote-box {
    margin: 18px 0;
    padding: 16px 18px;
    background: var(--slate-50);
    border-left: 3px solid var(--slate-300);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 14px;
    color: var(--slate-700);
    font-style: italic;
  }

  /* Detail rows */
  .detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
  }
  @media (max-width: 600px) { .detail-grid { grid-template-columns: 1fr; } }
  .detail-row {
    display: flex; flex-direction: column; gap: 2px;
    padding: 12px 0;
    border-bottom: 1px solid var(--slate-100);
  }
  .detail-row:nth-last-child(-n+2) { border-bottom: none; }
  @media (max-width: 600px) { .detail-row:nth-last-child(-n+2) { border-bottom: 1px solid var(--slate-100); } .detail-row:last-child { border-bottom: none; } }
  .detail-label {
    /* v1.2.93: was 11px uppercase eyebrow-style label, slate-500. User wanted
       these to read as proper section headings (bigger than body + darker grey),
       since labels like "What happened" / "Expected resolution" / "Visibility"
       are the structural lead-ins to each block. Bumped to 18 / slate-700 /
       no uppercase (uppercase doesn't apply to Georgian script anyway, and
       on Latin labels makes them feel like sub-chrome, not headings). */
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 4px;
  }
  .detail-value {
    font-size: var(--fs-base);   /* 14, tokenized */
    color: var(--slate-900);
    font-weight: 500;
  }
  /* `detail-row-block` is for fields whose value is a multi-line paragraph
     (the complaint description, expected resolution) — these need to span the
     full grid width and the value renders as a rich block under the label. */
  .detail-row-block { grid-column: 1 / -1; padding: 14px 0; }
  .detail-row-block .detail-value-rich {
    /* v1.2.93: bumped 14→15 (var(--fs-md)) so prose body matches site body
       size — pairs cleanly with the larger 18px detail-label heading above. */
    font-size: var(--fs-md);
    color: var(--slate-800);
    font-weight: 400;
    line-height: 1.65;
    margin-top: 6px;
  }
  .detail-row-block .detail-value-rich p { margin: 0 0 8px; }
  .detail-row-block .detail-value-rich p:last-child { margin-bottom: 0; }

  /* Attachments */
  .attach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
  .attach-tile {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    background: var(--slate-100);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--slate-200);
    transition: all .15s var(--ease);
  }
  .attach-tile:hover { border-color: var(--green-200); transform: translateY(-2px); }
  .attach-tile img { width: 100%; height: 100%; object-fit: cover; }
  .attach-tile.is-pdf {
    background: var(--white);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px;
  }
  .attach-tile.is-pdf svg { width: 32px; height: 32px; stroke: var(--red-500); fill: var(--red-50); stroke-width: 1.5; }
  .attach-tile.is-pdf .file-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--slate-700);
    padding: 0 12px;
    text-align: center;
    word-break: break-all;
  }
  .attach-tile.is-pdf .file-size { font-size: 11px; color: var(--slate-500); }
  .attach-meta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 6px 8px;
    background: linear-gradient(0deg, rgba(0,0,0,.6), transparent);
    color: var(--white);
    font-size: 11px;
    font-weight: 500;
  }

  /* ============================================================
     CONVERSATION THREAD
     ============================================================ */
  .thread { display: flex; flex-direction: column; }
  .thread-msg {
    padding: 18px 22px;
    border-bottom: 1px solid var(--slate-100);
    display: flex; gap: 14px;
    position: relative;
  }
  .thread-msg:last-child { border-bottom: none; }
  .thread-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    color: var(--white);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 14px;
    overflow: hidden;
  }
  .thread-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .thread-avatar.is-vendor { background: var(--white); border: 1px solid var(--slate-200); }
  .thread-avatar.is-admin { background: linear-gradient(135deg, #1E40AF, #3B82F6); }
  .thread-msg-body { flex: 1; min-width: 0; }
  .thread-msg-head {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
  }
  .thread-msg-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--slate-900);
    display: inline-flex; align-items: center; gap: 5px;
  }
  .thread-msg-name svg.verified { width: 12px; height: 12px; fill: var(--green); }
  .thread-msg-role {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  .thread-msg-role.is-user { background: var(--slate-100); color: var(--slate-700); }
  .thread-msg-role.is-vendor { background: var(--green-50); color: var(--green-dark); border: 1px solid var(--green-200); }
  .thread-msg-role.is-admin { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
  .thread-msg-time {
    margin-left: auto;
    font-size: 12px;
    color: var(--slate-500);
  }
  .thread-msg-text {
    /* v1.2.51: 14→16px / 1.6→1.7 per PDF audit (body 3.5/10 — threads
       are the prime reading surface, deserves prose treatment). */
    font-size: var(--fs-xl);            /* 16px */
    color: var(--slate-700);
    line-height: var(--lh-relaxed);     /* 1.7 */
  }
  .thread-msg-text p { margin-bottom: 12px; }
  .thread-msg-text p:last-child { margin-bottom: 0; }

  .thread-system-row {
    padding: 14px 22px;
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-100);
    display: flex; align-items: center; gap: 10px;
    font-size: 13px;
    color: var(--slate-600);
  }
  .thread-system-row.is-warning { background: #FEF2F2; color: var(--red-600); border-bottom-color: #FECACA; }
  .thread-system-row.is-success { background: var(--green-50); color: var(--green-dark); border-bottom-color: var(--green-100); }
  .thread-system-row svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
  .thread-system-row b { font-weight: 700; }

  /* ============================================================
     SIMILAR COMPLAINTS (3-row mini list)
     ============================================================ */
  .similar-list { display: flex; flex-direction: column; }
  .similar-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--slate-100);
    align-items: center;
    transition: background .15s var(--ease);
    text-decoration: none;
    color: inherit;
  }
  .similar-row:last-child { border-bottom: none; }
  .similar-row:hover { background: var(--slate-50); }
  .similar-row-meta { min-width: 0; }
  .similar-row-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-900);
    line-height: 1.35;
    margin-bottom: 4px;
  }
  .similar-row-sub {
    font-size: 12px;
    color: var(--slate-500);
    display: inline-flex; align-items: center; gap: 6px;
    flex-wrap: wrap;
  }
  .similar-row-sub .meta-dot { width: 3px; height: 3px; background: var(--slate-300); border-radius: 50%; }
  /* .similar-row-status removed — similar list now uses canonical `.badge
     .badge-<status>` from design-system.css. */

  /* ============================================================
     ENGAGEMENT BAR (helpful, share)
     ============================================================ */
  .engage-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 18px 22px;
    flex-wrap: wrap;
  }
  .engage-btn {
    display: inline-flex; align-items: center; gap: 7px;
    height: 38px;
    padding: 0 16px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-700);
    cursor: pointer;
    transition: all .15s var(--ease);
  }
  .engage-btn:hover { border-color: var(--slate-300); color: var(--slate-900); background: var(--slate-50); }
  .engage-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .engage-btn.is-primary { background: var(--green); color: var(--white); border-color: var(--green); }
  .engage-btn.is-primary:hover { background: var(--green-hover); }
  .engage-btn .count { color: var(--slate-500); font-weight: 700; }
  .engage-btn.is-primary .count { color: var(--white); }
  .engage-text { color: var(--slate-500); font-size: 13px; flex: 1; min-width: 0; }
  .engage-text strong { color: var(--slate-900); font-weight: 700; }

  /* ============================================================
     SIDEBAR
     ============================================================ */
  .sidebar { display: flex; flex-direction: column; gap: 16px; align-self: start; }

  .sb-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .sb-section { padding: 18px 20px; }
  .sb-section + .sb-section { border-top: 1px solid var(--slate-100); }
  .sb-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 10px;
  }
  .sb-label svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

  .sb-vendor {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-md);
    transition: all .15s var(--ease);
  }
  .sb-vendor:hover { border-color: var(--green-200); background: var(--green-50); }
  .sb-vendor-logo {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    flex-shrink: 0;
  }
  .sb-vendor-logo img { width: 100%; height: 100%; object-fit: cover; }
  .sb-vendor-meta { flex: 1; min-width: 0; }
  .sb-vendor-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--slate-900);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  /* Verified check next to vendor name — visual signal only, no text wording.
     Matches the same checkmark pattern used in company hero + card-company. */
  .sb-vendor-check {
    display: inline-flex; align-items: center; justify-content: center;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--green-600);
    color: var(--white);
    flex-shrink: 0;
  }
  .sb-vendor-check svg {
    width: 9px; height: 9px;
    stroke: currentColor; fill: none; stroke-width: 3;
  }
  /* Rating row — two compact icon+number stats (FB mark + score, star + customer
     rating) instead of the old "FB Score 8.0 · Verified" text. */
  .sb-vendor-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    font-size: 12px;
    color: var(--slate-700);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }
  .sb-vendor-stat {
    display: inline-flex; align-items: center; gap: 4px;
  }
  .sb-vendor-stat--muted {
    color: var(--slate-500);
    font-weight: 400;
  }
  .sb-vendor-fb-mark {
    width: 14px; height: 14px;
    object-fit: contain;
    flex-shrink: 0;
  }
  .sb-vendor-rating .sb-vendor-stat svg {
    width: 12px; height: 12px;
    fill: var(--amber-500);
    flex-shrink: 0;
  }
  .sb-vendor-arrow { width: 14px; height: 14px; stroke: var(--slate-400); fill: none; stroke-width: 2; }

  .sb-product {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-md);
    transition: all .15s var(--ease);
  }
  .sb-product:hover { border-color: var(--slate-200); background: var(--slate-50); }
  .sb-product-thumb {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--slate-100);
    flex-shrink: 0;
  }
  .sb-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .sb-product-meta { flex: 1; min-width: 0; }
  .sb-product-name { font-size: 13px; font-weight: 600; color: var(--slate-900); }
  .sb-product-cat { font-size: 12px; color: var(--slate-500); margin-top: 2px; }

  .sb-filer {
    display: flex; align-items: center; gap: 12px;
    padding: 4px 0;
  }
  .sb-filer-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    color: var(--white);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .sb-filer-meta { flex: 1; min-width: 0; }
  .sb-filer-name {
    display: flex; align-items: center; gap: 5px;
    font-size: 14px; font-weight: 700; color: var(--slate-900);
  }
  .sb-filer-name svg.verified { width: 13px; height: 13px; fill: var(--green); }
  .sb-filer-meta-line {
    font-size: 12px;
    color: var(--slate-500);
    margin-top: 2px;
  }

  /* v1.2.100: timeline rows redesigned. Previous flex space-between layout
     forced label + value to share row width — long Georgian labels like
     "კომპანიის პირველი პასუხი" wrapped to 2 lines while dates ALSO wrapped,
     creating misaligned cross-stacking. Now stacked vertically per row
     (key above, value below) so each pair reads as a clean atomic unit. */
  .sb-meta-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 10px 0;
    border-bottom: 1px solid var(--slate-100);
  }
  .sb-meta-row:last-child { border-bottom: none; padding-bottom: 0; }
  .sb-meta-row:first-of-type { padding-top: 4px; }
  .sb-meta-key {
    color: var(--slate-500);
    font-size: var(--fs-sm);          /* 13 */
    font-weight: 500;
    line-height: 1.35;
  }
  .sb-meta-val {
    color: var(--slate-900);
    font-weight: 600;
    font-size: var(--fs-base);        /* 14 */
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
  }
  .sb-meta-val.is-warn { color: #B45309; }
  .sb-meta-val.is-success { color: var(--green-dark); }

  .reply-counter-block {
    padding: 12px 14px;
    background: var(--slate-50);
    border-radius: var(--radius-md);
    margin-top: 10px;
  }
  .reply-counter-bar {
    height: 6px;
    background: var(--slate-200);
    border-radius: 999px;
    overflow: hidden;
    margin: 6px 0;
  }
  .reply-counter-bar > span { display: block; height: 100%; background: var(--amber-500); width: 50%; transition: width .6s var(--ease-out); }
  .reply-counter-text {
    font-size: 12px;
    color: var(--slate-700);
    display: flex; justify-content: space-between;
  }
  .reply-counter-text b { color: var(--slate-900); font-weight: 700; }
  /* ============================================================
     MOBILE — comprehensive padding/gap pass
     ============================================================
     Same rhythm as public-product.css (16px container, compressed
     card/section chrome, dropped hardcoded min-widths). Was previously
     just 4 rules and the complaint single felt visually disjointed from
     the rest of the site on mobile. */
  @media (max-width: 600px) {
    /* Page chrome */
    .container { padding: 0 16px; }
    .layout { gap: 14px; }
    .sidebar { gap: 14px; }

    /* Hero */
    .complaint-hero { padding: 20px 16px 18px; border-radius: var(--radius-lg); margin-bottom: 14px; }
    .ch-top { gap: 8px; margin-bottom: 12px; }
    .ch-title { font-size: 22px; margin-bottom: 12px; }
    .ch-meta { font-size: 12px; gap: 6px; }
    .ch-context-row { gap: 6px; }

    /* Status timeline — already had a partial mobile rule; tighten further */
    .status-timeline { padding: 16px 12px 18px; gap: 4px; margin-bottom: 14px; border-radius: var(--radius-lg); align-items: flex-start; }
    .status-step { min-width: 90px; gap: 6px; }
    .status-dot { width: 28px; height: 28px; }
    .status-dot svg { width: 12px; height: 12px; }
    .status-step-label { font-size: 11px; }
    /* v1.2.114: bumped from 10px → 11px so the date/counter is still readable on mobile. */
    .status-step-time { font-size: 11px; }
    .status-step:not(:last-child)::after { top: 14px; left: calc(50% + 18px); right: calc(-50% + 18px); }

    /* Cards */
    .card { margin-bottom: 14px; border-radius: var(--radius-lg); }
    .card-header { padding: 14px 16px; flex-wrap: wrap; gap: 6px 10px; }
    .card-title { font-size: 13px; }
    .card-action-link { font-size: 12px; }
    .card-body { padding: 16px; }

    /* Complaint body + detail rows */
    .complaint-body { font-size: 14px; }
    .detail-row { padding: 10px 0; }
    .detail-value { font-size: 13px; }
    .quote-box { padding: 14px 16px; margin: 14px 0; font-size: 13px; }

    /* Attachments — drop minmax floor so 2 cols fit on 320px phones */
    .attach-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }

    /* Thread messages */
    .thread-msg { padding: 14px 16px; gap: 10px; }
    .thread-avatar { width: 32px; height: 32px; font-size: 13px; }
    .thread-msg-head { gap: 6px; margin-bottom: 4px; }
    .thread-msg-name { font-size: 13px; }
    /* #18: break the date onto its own line under the name + role tags so it stops
       colliding with them on narrow phones. */
    .thread-msg-head { flex-wrap: wrap; }
    .thread-msg-time { font-size: 11px; margin-left: 0; flex-basis: 100%; }
    .thread-msg-text { font-size: var(--fs-lg); /* 15px on mobile — v1.2.51 was 13px, too small for reading */ }
    .thread-system-row { padding: 12px 16px; font-size: 12px; }

    /* Similar list */
    /* #18: stack the status badge UNDER the title (was crammed to the right). The row now
       has the full width, so #18.1 restores a READABLE scale — the earlier 12/11px shrink
       made the similar-complaints text too small on mobile. */
    .similar-row { padding: 12px 16px; gap: 6px; grid-template-columns: 1fr; }
    .similar-row-title { font-size: 15px; line-height: 1.35; }
    .similar-row-sub { font-size: 13px; }
    .similar-row .badge { justify-self: start; height: 24px; padding: 0 10px; font-size: var(--fs-sm); }

    /* Engage bar */
    .engage-bar { padding: 14px 16px; gap: 8px; }
    .engage-btn { height: 36px; padding: 0 14px; font-size: 12px; }

    /* Sidebar */
    .sb-section { padding: 16px; }
    .sb-vendor, .sb-product { padding: 10px 12px; gap: 10px; }
    .sb-vendor-logo, .sb-product-thumb { width: 36px; height: 36px; }
    .sb-vendor-name { font-size: 13px; }
    .sb-filer { gap: 10px; }
    .sb-filer-avatar { width: 38px; height: 38px; font-size: 14px; }
    .sb-meta-row { padding: 8px 0; }    /* v1.2.100: stacked layout — keep tokenized font sizes from desktop rule */
    .reply-counter-block { padding: 10px 12px; }
  }

