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

  /* ============================================================
     PAGE HERO — title strip (matches companies.html)
     ============================================================ */
  .page-hero {
    margin-top: 24px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 28px 32px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
  }
  .page-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -60px;
    width: 360px; height: 360px;
    background-image: url('https://fairbusiness.mpulse.ge/wp-content/uploads/2024/11/Icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: .07;
    pointer-events: none;
    transform: rotate(-12deg);
  }
  .page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 600px 200px at 100% 0%, var(--green-50), transparent 70%);
    pointer-events: none;
  }
  .page-hero-content { position: relative; z-index: 1; }

  .breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: var(--fs-base); color: var(--slate-500);
    margin-bottom: 14px;
  }
  .breadcrumb a { transition: color .15s var(--ease); }
  .breadcrumb a:hover { color: var(--green-600); }
  .breadcrumb svg.home {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .breadcrumb .sep { color: var(--slate-300); font-size: var(--fs-xs); }
  .breadcrumb .current { color: var(--slate-900); font-weight: 500; }

  .page-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 11px;
    background: var(--white);
    border: 1px solid #FCD34D;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: #B45309;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 12px;
  }
  .page-eyebrow svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

  .page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -.025em;
    line-height: 1.1;
    margin-bottom: 8px;
  }
  .page-subtitle {
    font-size: var(--fs-md);
    color: var(--slate-600);
    line-height: 1.5;
    max-width: 540px;
  }

  .hero-stats {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 20px;
  }
  .hero-stat {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    font-size: var(--fs-base);
    color: var(--slate-700);
    box-shadow: var(--shadow-sm);
  }
  .hero-stat strong {
    color: var(--slate-900);
    font-weight: 700;
    font-feature-settings: 'tnum';
  }
  .hero-stat .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px var(--green-50);
  }
  .hero-stat svg {
    width: 13px; height: 13px;
    stroke: var(--slate-500); fill: none; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
  }

  /* ============================================================
     LAYOUT (sidebar + main)
     ============================================================ */
  .layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    margin: 24px 0 80px;
  }
  @media (max-width: 1024px) { .layout { grid-template-columns: 1fr; } }

  /* ============================================================
     FILTERS SIDEBAR (matches companies.html)
     ============================================================ */
  .filters {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    align-self: start;
    overflow: hidden;
  }
  .filters-head {
    display: flex; align-items: center;
    gap: 8px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--slate-100);
  }
  .filters-title {
    flex: 1; min-width: 0;
    font-size: var(--fs-base); font-weight: 700;
    color: var(--slate-900);
    display: flex; align-items: center; gap: 8px;
  }
  .filters-title svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none; stroke-width: 2;
    color: var(--slate-600);
  }
  .filter-count-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 6px;
    background: var(--green); color: var(--white);
    border-radius: 999px;
    font-size: var(--fs-xs); font-weight: 700;
  }
  .clear-filters {
    background: transparent;
    border: none;
    font-size: var(--fs-xs); font-weight: 500;
    color: var(--slate-500);
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 6px;
    border-radius: var(--radius-xs);
    transition: all .15s var(--ease);
  }
  .clear-filters:hover { background: var(--slate-100); color: var(--slate-900); }
  .clear-filters svg {
    width: 12px; height: 12px;
    stroke: currentColor; fill: none; stroke-width: 2;
  }

  .filter-group {
    padding: 16px 18px;
    border-bottom: 1px solid var(--slate-100);
  }
  .filter-group:last-child { border-bottom: none; }
  .filter-group-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
  }
  .filter-group-label {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--slate-500);
    display: flex; align-items: center; gap: 6px;
  }

  /* Info tooltip on filter labels */
  .label-tip {
    position: relative;
    display: inline-flex; align-items: center;
    cursor: help;
    color: var(--slate-300);
    transition: color .15s var(--ease);
  }
  .label-tip:hover { color: var(--slate-600); }
  .label-tip svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
  .label-tip::before {
    content: attr(data-tip);
    position: absolute;
    top: calc(100% + 8px);
    left: -8px;
    background: var(--slate-900);
    color: var(--white);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.45;
    white-space: normal;
    width: max-content;
    max-width: 220px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s var(--ease), visibility .15s var(--ease);
    z-index: 20;
    box-shadow: 0 8px 24px -6px rgba(0,0,0,.25);
  }
  .label-tip::after {
    content: '';
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    border: 5px solid transparent;
    border-bottom-color: var(--slate-900);
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s var(--ease), visibility .15s var(--ease);
  }
  .label-tip:hover::before, .label-tip:hover::after {
    opacity: 1; visibility: visible;
  }

  /* Categories hierarchical navigation */
  .cat-back {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px;
    margin: 0 -8px 8px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--slate-600);
    transition: all .15s var(--ease);
    border: 1px dashed var(--slate-200);
  }
  .cat-back:hover {
    background: var(--slate-50);
    color: var(--slate-900);
    border-color: var(--slate-300);
    border-style: solid;
  }
  .cat-back svg {
    width: 13px; height: 13px;
    stroke: currentColor; fill: none; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0;
    transition: transform .2s var(--ease);
  }
  .cat-back:hover svg { transform: translateX(-2px); }
  .cat-back .back-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--slate-400);
    line-height: 1;
    margin-bottom: 2px;
  }
  .cat-back .back-name { display: block; line-height: 1.2; }

  .cat-list {
    display: flex; flex-direction: column;
    gap: 1px;
    margin: 0 -8px;
  }
  .cat-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-base);
    color: var(--slate-700);
    transition: all .15s var(--ease);
    position: relative;
  }
  .cat-item:hover {
    background: var(--slate-50);
    color: var(--slate-900);
  }
  .cat-item .cat-name { flex: 1; min-width: 0; }
  .cat-item .cat-count {
    font-size: var(--fs-xs);
    color: var(--slate-500);
    background: var(--slate-100);
    padding: 2px 7px;
    border-radius: 999px;
    font-feature-settings: 'tnum';
    font-weight: 500;
  }
  .cat-item .cat-arrow {
    width: 13px; height: 13px;
    stroke: var(--slate-400); fill: none; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0;
    transition: transform .2s var(--ease);
    opacity: 0;
  }
  .cat-item:hover .cat-arrow { opacity: 1; transform: translateX(2px); }
  .cat-item.is-active {
    color: var(--green-dark);
    font-weight: 700;
  }

  /* Search input within sidebar */
  .filter-search-wrap {
    position: relative;
  }
  .filter-search-wrap input {
    width: 100%; height: 38px;
    padding: 0 36px 0 12px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    background: var(--slate-50);
    font-family: inherit; font-size: var(--fs-base);
    color: var(--slate-900);
    transition: all .15s var(--ease);
  }
  .filter-search-wrap input::placeholder { color: var(--slate-400); }
  .filter-search-wrap input:focus {
    outline: none; background: var(--white);
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(56,173,78,.12);
  }
  .filter-search-wrap svg {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 14px; height: 14px;
    stroke: var(--slate-400); fill: none; stroke-width: 2;
    pointer-events: none;
  }

  /* Checkbox list with optional status dot */
  .check-list {
    display: flex; flex-direction: column;
    gap: 2px;
    margin: 0 -6px;
  }
  .check-item {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background .15s var(--ease);
    user-select: none;
  }
  .check-item:hover { background: var(--slate-50); }
  .check-item input { display: none; }
  .check-box {
    width: 16px; height: 16px;
    border: 1.5px solid var(--slate-300);
    border-radius: var(--radius-xs);
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all .15s var(--ease);
  }
  .check-box svg {
    width: 10px; height: 10px;
    stroke: var(--white); fill: none; stroke-width: 3;
    stroke-linecap: round; stroke-linejoin: round;
    opacity: 0;
    transition: opacity .12s var(--ease);
  }
  .check-item input:checked + .check-box {
    background: var(--green);
    border-color: var(--green);
  }
  .check-item input:checked + .check-box svg { opacity: 1; }
  .check-item .check-label {
    font-size: var(--fs-base);
    color: var(--slate-700);
    flex: 1;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .check-item input:checked ~ .check-label { color: var(--slate-900); font-weight: 500; }
  .check-item .check-count {
    font-size: var(--fs-xs);
    color: var(--slate-500);
    font-feature-settings: 'tnum';
    background: var(--slate-100);
    padding: 2px 7px;
    border-radius: 999px;
  }
  .status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .status-dot.is-pending { background: var(--amber-500); }
  .status-dot.is-active { background: var(--blue-500); }
  .status-dot.is-replied { background: #8B5CF6; }
  .status-dot.is-resolved { background: var(--green); }
  .status-dot.is-unsolved { background: var(--red-500); }
  .status-dot.is-rejected { background: var(--slate-400); }

  /* ============================================================
     RESULTS TOOLBAR (matches companies.html)
     ============================================================ */
  .results-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }
  .results-count {
    font-size: var(--fs-base);
    color: var(--slate-600);
  }
  .results-count strong {
    color: var(--slate-900);
    font-weight: 700;
    font-feature-settings: 'tnum';
  }
  .toolbar-right {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
  }
  .sort-select {
    appearance: none;
    height: 36px;
    padding: 0 32px 0 14px;
    background: var(--white)
      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke="%2364748B" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>')
      no-repeat right 10px center / 12px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: inherit; font-size: var(--fs-base);
    color: var(--slate-700);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
  }
  .sort-select:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(56,173,78,.15);
  }

  /* ============================================================
     FILTERS — MOBILE BOTTOM SHEET
     ============================================================ */
  .filters-trigger {
    display: none;
    align-items: center; justify-content: center; gap: 8px;
    height: 40px;
    padding: 0 16px;
    background: var(--slate-900);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: var(--fs-base); font-weight: 600;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    cursor: pointer;
    transition: background .15s var(--ease);
  }
  .filters-trigger:hover { background: var(--slate-800); }
  .filters-trigger svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .filters-trigger .trigger-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px;
    padding: 0 6px;
    background: var(--green); color: var(--white);
    border-radius: 999px;
    font-size: var(--fs-xs); font-weight: 700;
  }

  .filters-mobile-close {
    display: none;
    width: 36px; height: 36px;
    background: var(--slate-100); border: none;
    border-radius: 50%;
    color: var(--slate-700);
    align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .15s var(--ease);
  }
  .filters-mobile-close:hover { background: var(--slate-200); }
  .filters-mobile-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

  .filters-grab {
    display: none;
    width: 40px; height: 4px;
    background: var(--slate-300);
    border-radius: 999px;
    margin: 10px auto 6px;
  }

  .filters-mobile-foot {
    display: none;
    position: sticky; bottom: 0;
    background: var(--white);
    border-top: 1px solid var(--slate-100);
    padding: 12px 16px;
    gap: 8px;
  }
  .filters-apply-btn {
    flex: 1;
    height: 44px;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: var(--fs-base); font-weight: 600;
    box-shadow: 0 4px 14px -2px rgba(56,173,78,.30);
    cursor: pointer;
    transition: background .15s var(--ease);
  }
  .filters-apply-btn:hover { background: var(--green-hover); }

  .filters-backdrop {
    position: fixed; inset: 0;
    background: rgba(15,23,42,.55);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
  }
  .filters-backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }

  @media (max-width: 1024px) {
    .filters {
      position: fixed;
      bottom: 0; left: 0; right: 0;
      top: auto;
      width: 100%; max-width: none;
      max-height: 88vh;
      border-radius: 18px 18px 0 0;
      transform: translateY(100%);
      visibility: hidden;
      pointer-events: none;
      z-index: 1000;
      transition: transform .35s var(--ease-out), visibility 0s linear .35s;
      overflow-y: auto;
      overscroll-behavior: contain;
      box-shadow: 0 -20px 60px -10px rgba(15,23,42,.25);
      display: flex; flex-direction: column;
    }
    .filters.is-open {
      transform: translateY(0);
      visibility: visible;
      pointer-events: auto;
      transition: transform .35s var(--ease-out), visibility 0s linear 0s;
    }
    .filters-grab { display: block; }
    .filters-head {
      position: sticky; top: 0;
      background: var(--white); z-index: 5;
      padding: 14px 22px 16px;
    }
    .filters-mobile-close { display: inline-flex; }
    .filters-mobile-foot { display: flex; }
    .filters-trigger { display: inline-flex; }
    body.has-filters-open { overflow: hidden; }
    .results-toolbar { gap: 8px; flex-wrap: wrap; }
    .results-count { width: 100%; order: -1; }
    .toolbar-right { width: 100%; gap: 8px; }
    .toolbar-right .sort-select { flex: 1; min-width: 0; }
  }

  /* Active filter chips */
  .active-filters {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 16px;
  }
  .active-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 6px 5px 10px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    font-size: var(--fs-xs); font-weight: 500;
    color: var(--slate-700);
    box-shadow: var(--shadow-sm);
  }
  .active-chip .chip-key {
    color: var(--slate-500);
    font-weight: 400;
  }
  .active-chip .chip-x {
    width: 18px; height: 18px;
    background: var(--slate-100);
    border: none; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--slate-500);
    transition: all .15s var(--ease);
    cursor: pointer;
  }
  .active-chip .chip-x:hover { background: var(--slate-900); color: var(--white); }
  .active-chip .chip-x svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2.5; }

  /* ============================================================
     COMPLAINT CARD (feed-style row)
     ============================================================ */
  .complaint-list { display: flex; flex-direction: column; gap: 14px; }

  .complaint-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    transition: all .2s var(--ease);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
  }
  .complaint-card:hover {
    border-color: var(--green-200);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-1px);
  }

  .cc-top-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
  }
  .cc-status-meta {
    font-size: var(--fs-xs); color: var(--slate-500);
    display: inline-flex; align-items: center; gap: 6px;
  }
  .cc-status-meta svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  .cc-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.35;
    letter-spacing: -.005em;
    margin-bottom: 8px;
  }
  .complaint-card:hover .cc-title { color: var(--green-dark); }

  .cc-excerpt {
    font-size: var(--fs-base);
    color: var(--slate-600);
    line-height: 1.55;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cc-context-row {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
    padding: 10px 0;
    border-top: 1px solid var(--slate-100);
    font-size: var(--fs-base);
    color: var(--slate-600);
  }
  .cc-vendor-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px 4px 4px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    color: var(--slate-700);
    font-weight: 600;
    font-size: var(--fs-xs);
  }
  .cc-vendor-chip .va {
    width: 20px; height: 20px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    flex-shrink: 0;
  }
  .cc-vendor-chip .va img { width: 100%; height: 100%; object-fit: cover; }
  .cc-product-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    color: var(--slate-700);
    font-weight: 500;
    font-size: var(--fs-xs);
  }
  .cc-product-chip svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }
  .cc-context-row .meta-dot { width: 3px; height: 3px; background: var(--slate-300); border-radius: 50%; }
  .cc-filer {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--slate-500);
    font-size: var(--fs-xs);
  }
  .cc-filer .fa {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    color: var(--white);
    font-size: var(--fs-xs);
    font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .cc-filer-name { color: var(--slate-700); font-weight: 600; }

  .cc-footer-row {
    display: flex; align-items: center; gap: 16px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--slate-100);
    flex-wrap: wrap;
  }
  .cc-footer-stat {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: var(--fs-xs);
    color: var(--slate-600);
    font-weight: 500;
  }
  .cc-footer-stat svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .cc-footer-stat strong { color: var(--slate-900); font-weight: 700; }

  /* Clickable helpful-vote button on a complaint card. Replaces the previous
     static "5 found helpful" stat. Visible inside the card link — the JS
     handler stops event propagation so clicking the button doesn't navigate. */
  .cc-helpful-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--slate-600);
    cursor: pointer;
    transition: background .12s var(--ease), color .12s var(--ease), border-color .12s var(--ease);
    font-family: inherit;
  }
  .cc-helpful-btn svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
  .cc-helpful-btn:hover { border-color: var(--green); color: var(--green-dark); }
  .cc-helpful-btn.is-voted {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
  }
  .cc-helpful-btn.is-voted .count,
  .cc-helpful-btn.is-voted .cc-helpful-label { color: #fff; }
  .cc-helpful-btn.is-throttled { opacity: .5; pointer-events: none; }
  .cc-helpful-btn.is-loading { opacity: .65; cursor: progress; }
  .cc-helpful-btn .count { font-weight: 700; }
  .cc-reply-counter {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 9px;
    background: var(--slate-50);
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--slate-700);
  }
  .cc-reply-counter.is-full {
    background: var(--amber-50);
    color: #B45309;
  }
  .cc-reply-counter svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }

  .cc-footer-spacer { flex: 1; }
  .cc-view-link {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--green-dark);
    font-size: var(--fs-base);
    font-weight: 700;
  }
  .cc-view-link svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .15s var(--ease); }
  .complaint-card:hover .cc-view-link svg { transform: translateX(2px); }

  /* Highlighted unresolved-warning ribbon */
  .cc-warning-ribbon {
    margin-top: 10px;
    padding: 8px 12px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-md);
    font-size: var(--fs-xs);
    color: var(--red-600);
    font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .cc-warning-ribbon svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

  /* ============================================================
     PAGINATION
     ============================================================ */
  .pagination {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 28px; padding: 18px 0;
    border-top: 1px solid var(--slate-200);
    flex-wrap: wrap; gap: 12px;
  }
  .pagination-info { font-size: var(--fs-base); color: var(--slate-600); }
  .pagination-info b { color: var(--slate-900); font-weight: 700; }
  .pager { display: flex; gap: 4px; }
  .pager-btn {
    height: 36px; min-width: 36px; padding: 0 12px;
    background: var(--white); border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: inherit; font-size: var(--fs-base); color: var(--slate-700);
    cursor: pointer;
    transition: all .15s var(--ease);
    display: inline-flex; align-items: center; gap: 4px;
  }
  .pager-btn:hover:not(:disabled) { border-color: var(--slate-300); color: var(--slate-900); }
  .pager-btn:disabled { opacity: .5; cursor: not-allowed; }
  .pager-btn.is-active { background: var(--slate-900); border-color: var(--slate-900); color: var(--white); }
  .pager-btn svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* ============================================================
     MOBILE — comprehensive padding/gap pass
     ============================================================
     Archive used to have zero ≤600px overrides aside from the existing
     1024px filter-drawer break. On phones the cards lost 48px of width to
     a 24px container padding and 22-24px card padding — barely any room for
     content. Bring the rhythm in line with the rest of the site. */
  @media (max-width: 600px) {
    .container { padding: 0 16px; }
    .page-hero { padding: 28px 16px 24px; }
    .page-title { font-size: 26px; }
    .page-subtitle { font-size: var(--fs-base); }
    .hero-stats { gap: 14px; flex-wrap: wrap; }

    .results-toolbar { padding: 12px 0; gap: 8px; }
    .results-count { font-size: var(--fs-base); }
    .toolbar-right { gap: 8px; }
    .sort-select { height: 36px; font-size: var(--fs-xs); }
    .filters-trigger { height: 36px; padding: 0 12px; font-size: var(--fs-xs); }

    .active-filters { gap: 6px; padding: 8px 0; }
    .active-chip { font-size: var(--fs-xs); padding: 4px 8px; }

    .complaint-list { gap: 10px; }
    .complaint-card { padding: 16px; border-radius: var(--radius-lg); }
    .cc-top-row { gap: 8px; margin-bottom: 6px; }
    .cc-status-meta { font-size: var(--fs-xs); }
    .cc-title { font-size: var(--fs-lg); margin-bottom: 6px; }
    .cc-excerpt { font-size: var(--fs-base); margin-bottom: 10px; -webkit-line-clamp: 3; }
    .cc-context-row { gap: 6px; padding: 8px 0 0; font-size: var(--fs-xs); }
    .cc-vendor-chip, .cc-product-chip { font-size: var(--fs-xs); padding: 3px 8px 3px 3px; }
    .cc-vendor-chip .va { width: 18px; height: 18px; }

    .pager { gap: 4px; padding: 18px 0 8px; }
    .pager-btn { height: 32px; min-width: 32px; padding: 0 10px; font-size: var(--fs-xs); }
  }


/* N7 (2026-06-09): mobile — long status badge drops to its own line above the meta */
@media (max-width: 600px){
  .cc-top-row{ flex-wrap:wrap; }
  .cc-top-row > .badge{ flex:0 0 100%; margin-bottom:2px; }
  .cc-top-row > .cc-status-meta{ flex:1 1 100%; }
}
