.complaints-page {
    background: var(--bg-light);
    color: var(--text-color);
}

.complaints-hero {
    position: relative;
    padding: 154px 0 34px;
    background:
        radial-gradient(circle at 16% 18%, rgba(60, 160, 193, 0.1), transparent 40%),
        radial-gradient(circle at 92% 10%, rgba(63, 160, 60, 0.12), transparent 36%);
}

.complaints-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 2.2rem;
    align-items: end;
}

.complaints-hero-copy h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.06;
    letter-spacing: -1.2px;
    margin-bottom: 1rem;
}

.complaints-hero-copy .highlight {
    color: transparent;
    background: linear-gradient(115deg, #2b99bd 0%, #4f9d3a 68%, #3fa03c 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.complaints-hero-copy .highlight::after {
    content: none;
}

.complaints-hero-copy p {
    margin-bottom: 1.6rem;
    font-size: 1.08rem;
    max-width: 62ch;
}

.complaints-hero-copy .btn-lg {
    min-width: 218px;
}

.complaints-hero-copy .btn.cta-locked,
.feed-shell-header .btn.cta-locked {
    opacity: 0.86;
    box-shadow: none;
}

.complaints-hero-visual {
    display: grid;
    gap: 0.9rem;
}

.hero-spotlight {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    position: relative;
    aspect-ratio: 16 / 9;
    background: #ffffff;
}

.hero-spotlight img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-spotlight::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 46%, rgba(15, 23, 42, 0.66) 100%);
}

.hero-spotlight figcaption {
    position: absolute;
    left: 1rem;
    bottom: 0.9rem;
    z-index: 2;
    margin: 0;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1px;
}

.complaints-hero-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.hero-kpi-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 1rem 0.95rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.hero-kpi-value {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
    margin-bottom: 0.35rem;
    font-variant-numeric: tabular-nums;
}

.hero-kpi-card p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.68);
}

.complaints-content {
    position: relative;
    padding-top: 1.5rem;
}

.complaints-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 24%);
    pointer-events: none;
}

.complaints-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
    gap: 1.2rem;
    align-items: start;
}

.complaints-feed-shell,
.slow-firms-panel {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.complaints-feed-shell {
    position: relative;
    overflow: hidden;
    padding: 1.35rem;
}

.complaints-feed-shell::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -140px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 160, 193, 0.14), transparent 70%);
    pointer-events: none;
}

.feed-shell-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}

.feed-title {
    margin: 0;
    font-size: 1.24rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.success-stories-page .slow-firm-days {
    color: #176534;
}

.success-stories-page .slow-firm-note {
    color: rgba(23, 101, 52, 0.62);
}

.feed-tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f1f5f9;
    padding: 0.33rem;
    border-radius: 999px;
}

.feed-tab {
    border: 0;
    border-radius: 999px;
    padding: 0.62rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.66);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feed-tab.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--start-color), var(--end-color));
    box-shadow: 0 8px 18px rgba(63, 160, 60, 0.25);
}

.feed-shell-note {
    position: relative;
    z-index: 2;
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.68);
}

.feed-toolbar {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
    align-items: end;
    margin-bottom: 0.82rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(241, 245, 249, 0.82));
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    padding: 0.72rem;
}

.feed-toolbar-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.56rem;
    flex: 1 1 420px;
    min-width: 280px;
}

.feed-search,
.feed-select-wrap {
    display: grid;
    gap: 0.26rem;
}

.feed-search {
    flex: 1 1 300px;
    min-width: 0;
}

.feed-select-wrap {
    min-width: 0;
}

.feed-field-title {
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.58);
}

.feed-search input,
.feed-select-wrap select {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.98);
    color: #0f172a;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feed-search input::placeholder {
    color: rgba(15, 23, 42, 0.46);
    font-weight: 500;
}

.feed-search input:focus,
.feed-select-wrap select:focus {
    outline: none;
    border-color: rgba(60, 160, 193, 0.5);
    box-shadow: 0 0 0 3px rgba(60, 160, 193, 0.12);
}

.feed-select-wrap select {
    min-width: 0;
    cursor: pointer;
}

.feed-results-meta {
    position: relative;
    z-index: 2;
    margin: 0 0 0.92rem;
    padding: 0.3rem 0.06rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: rgba(15, 23, 42, 0.62);
}

.feed-results-meta.is-notice {
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 0.5rem 0.72rem;
    font-size: 0.84rem;
}

.feed-results-meta.is-warning {
    border-color: rgba(217, 119, 6, 0.32);
    color: #92400e;
    background: rgba(255, 247, 237, 0.92);
}

.feed-results-meta.is-error {
    border-color: rgba(220, 38, 38, 0.28);
    color: #991b1b;
    background: rgba(254, 242, 242, 0.94);
}

.complaints-feed {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 0.95rem;
}

.feed-load-more-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.feed-load-more-btn {
    min-width: 228px;
}

.feed-load-more-btn[hidden] {
    display: none !important;
}

.complaint-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 24px;
    padding: 1.08rem;
    background:
        radial-gradient(140% 90% at 100% -8%, rgba(56, 189, 248, 0.13), transparent 55%),
        linear-gradient(158deg, #ffffff 6%, #f7fbff 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 16px 34px rgba(15, 23, 42, 0.09);
    content-visibility: auto;
    contain-intrinsic-size: 280px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.complaint-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.35), rgba(14, 165, 233, 0.72), rgba(34, 197, 94, 0.34));
    pointer-events: none;
}

.complaint-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 24px 44px rgba(15, 23, 42, 0.14);
}

.complaint-card-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}

.company-chip {
    display: flex;
    align-items: center;
    gap: 0.68rem;
}

.company-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    object-fit: contain;
    padding: 0.22rem;
}

.company-meta h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.company-meta p {
    margin: 0.1rem 0 0;
    font-size: 0.82rem;
    color: rgba(15, 23, 42, 0.55);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
}

.status-pill.pending {
    color: #8a5a00;
    background: #fff6db;
    border: 1px solid rgba(212, 139, 0, 0.22);
}

.status-pill.success {
    color: #176534;
    background: #dcfce7;
    border: 1px solid rgba(23, 101, 52, 0.2);
}

.complaint-title {
    margin: 0 0 0.54rem;
    font-size: 1.24rem;
    font-weight: 800;
    line-height: 1.34;
}

.complaint-summary {
    margin: 0;
    font-size: 1rem;
    color: rgba(15, 23, 42, 0.7);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.complaint-author-line {
    margin: 0.8rem 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.48rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(241, 245, 249, 0.8));
    padding: 0.52rem 0.62rem;
}

.author-line-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    background: rgba(255, 255, 255, 0.9);
    color: rgba(15, 23, 42, 0.78);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.18rem 0.48rem;
}

.author-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.46rem;
    min-width: 0;
}

.author-inline-name {
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
}

.author-inline-card {
    flex-wrap: wrap;
}

.author-inline-card .author-inline-name {
    font-size: 0.96rem;
}

.author-avatar {
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(51, 65, 85, 0.18);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
    background: #ffffff;
    flex: 0 0 auto;
}

.author-avatar-card {
    width: 2.05rem;
    height: 2.05rem;
}

.author-avatar-comment {
    width: 1.56rem;
    height: 1.56rem;
}

.membership-icon-wrap {
    width: 1.26rem;
    height: 1.26rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, 0.2);
    background: rgba(241, 245, 249, 0.85);
    flex: 0 0 auto;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    color: #334155;
}

.membership-icon {
    width: 0.86rem;
    height: 0.86rem;
    display: block;
}

.membership-icon-wrap.corporate-basic {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(22, 101, 52, 0.28);
    color: #166534;
}

.membership-icon-wrap.corporate-pro {
    background: rgba(59, 130, 246, 0.16);
    border-color: rgba(29, 78, 216, 0.28);
    color: #1d4ed8;
}

.membership-icon-wrap.corporate-enterprise {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(146, 64, 14, 0.28);
    color: #b45309;
}

.membership-icon-wrap.user-paid {
    background: rgba(59, 130, 246, 0.16);
    border-color: rgba(29, 78, 216, 0.28);
    color: #2563eb;
}

.author-package-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(14, 116, 144, 0.25);
    background: rgba(224, 242, 254, 0.65);
    color: #0f4e66;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 0.18rem 0.5rem;
}

.complaint-meta-row {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    border-radius: 999px;
    padding: 0.35rem 0.66rem;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: rgba(15, 23, 42, 0.72);
    font-size: 0.78rem;
    font-weight: 600;
}

.meta-pill::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.35);
}

.meta-pill.duration-pending::before {
    background: #f59e0b;
}

.meta-pill.duration-success::before {
    background: #22c55e;
}

.complaint-foot {
    margin-top: 0.95rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.complaint-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.card-time {
    font-size: 0.82rem;
    color: rgba(15, 23, 42, 0.56);
}

.feed-action-btn {
    font-family: inherit;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.55rem 0.84rem;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.46rem;
    white-space: nowrap;
}

.feed-action-btn .action-label {
    font-weight: 600;
}

.feed-action-btn .action-count {
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    opacity: 0.95;
    min-width: 2ch;
    text-align: right;
}

.feed-action-btn.similar {
    background: rgba(15, 23, 42, 0.07);
    color: rgba(15, 23, 42, 0.78);
    border-color: rgba(15, 23, 42, 0.18);
}

.feed-action-btn.support {
    background: rgba(60, 160, 193, 0.1);
    color: #1b7e99;
    border-color: rgba(60, 160, 193, 0.24);
}

.feed-action-btn.like {
    background: rgba(63, 160, 60, 0.1);
    color: #2f7b2d;
    border-color: rgba(63, 160, 60, 0.22);
}

.feed-action-btn.comment {
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.74);
    border-color: rgba(15, 23, 42, 0.14);
}

.feed-action-btn.is-active {
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.17);
}

.feed-action-btn.similar.is-active {
    background: linear-gradient(135deg, #334155, #0f172a);
}

.feed-action-btn.support.is-active {
    background: linear-gradient(135deg, #2b99bd, #3ca0c1);
}

.feed-action-btn.like.is-active {
    background: linear-gradient(135deg, #4f9d3a, #3fa03c);
}

.feed-action-btn.comment.is-active {
    background: linear-gradient(135deg, #1f7a93, #2b99bd);
}

.complaint-comments {
    margin-top: 0.86rem;
}

.comment-trigger-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.44rem;
}

.feed-action-btn.comment-upgrade {
    border-color: rgba(22, 163, 74, 0.26);
    background: rgba(22, 163, 74, 0.1);
    color: #166534;
    white-space: normal;
}

.complaint-comments-panel {
    margin-top: 0.62rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(241, 245, 249, 0.84));
    padding: 0.82rem;
    display: grid;
    gap: 0.64rem;
}

.complaint-comment-list {
    display: grid;
    gap: 0.46rem;
}

.complaint-comment-empty {
    margin: 0;
    border-radius: 12px;
    border: 1px dashed rgba(15, 23, 42, 0.16);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.78rem 0.82rem;
    font-size: 0.88rem;
    color: rgba(15, 23, 42, 0.62);
}

.complaint-comment-item {
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    padding: 0.72rem 0.76rem;
    display: grid;
    gap: 0.36rem;
}

.complaint-comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.44rem;
}

.comment-author-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.author-inline-comment .author-inline-name {
    font-size: 0.92rem;
}

.comment-author {
    font-size: 0.74rem;
    font-weight: 800;
    color: #0f172a;
}

.comment-role {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    padding: 0.17rem 0.48rem;
    font-size: 0.67rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.72);
    background: rgba(241, 245, 249, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.comment-role.corporate {
    color: #1f4d7a;
    border-color: rgba(30, 64, 175, 0.24);
    background: rgba(219, 234, 254, 0.84);
}

.comment-role.user {
    color: #166534;
    border-color: rgba(22, 101, 52, 0.24);
    background: rgba(220, 252, 231, 0.84);
}

.comment-plan {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    padding: 0.14rem 0.44rem;
    font-size: 0.66rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.64);
    background: rgba(241, 245, 249, 0.7);
    letter-spacing: 0.01em;
}

.comment-time {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.5);
}

.complaint-comment-text {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.5;
    color: rgba(15, 23, 42, 0.78);
    white-space: pre-wrap;
}

.complaint-comment-form {
    display: grid;
    gap: 0.4rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 0.52rem;
}

.comment-form-note {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.6);
}

.comment-input {
    width: 100%;
    min-height: 94px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.45;
    padding: 0.66rem 0.74rem;
    resize: vertical;
}

.comment-input:focus {
    outline: none;
    border-color: rgba(60, 160, 193, 0.52);
    box-shadow: 0 0 0 3px rgba(60, 160, 193, 0.12);
}

.comment-form-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.46rem;
}

.comment-form-meta {
    font-size: 0.76rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.58);
}

.comment-form-result {
    margin: 0;
    min-height: 1.1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.64);
}

.comment-form-result.is-success {
    color: #166534;
}

.comment-form-result.is-error {
    color: #991b1b;
}

.comment-auth-lock {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.66);
}

.comment-auth-lock .link-btn {
    border: 0;
    background: transparent;
    color: #1f7a93;
    text-decoration: underline;
    font-size: inherit;
    font-weight: 800;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.comment-upgrade-link {
    color: #1f7a93;
    font-weight: 800;
    text-decoration: underline;
}

.feed-empty {
    border-radius: 16px;
    border: 1px dashed rgba(15, 23, 42, 0.18);
    background: #f8fafc;
    color: rgba(15, 23, 42, 0.65);
    font-size: 0.95rem;
    padding: 1rem;
    text-align: center;
}

.slow-firms-panel {
    position: sticky;
    top: 108px;
    padding: 1.2rem;
}

.slow-firms-head h2 {
    margin-bottom: 0.55rem;
    font-size: 1.45rem;
}

.slow-firms-head p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.slow-firm-table-head {
    margin-top: 0.92rem;
    padding: 0 0.72rem 0.45rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr) minmax(118px, 0.56fr);
    gap: 0.56rem;
    align-items: center;
}

.slow-firm-table-head span {
    font-size: 0.67rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.48);
}

.slow-firm-table-head span:last-child {
    text-align: right;
}

.slow-firms-list {
    margin: 1.05rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.68rem;
}

.slow-firm-item {
    position: relative;
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr) minmax(118px, 0.56fr);
    align-items: center;
    gap: 0.62rem;
    border-radius: 18px;
    padding: 0.78rem 0.76rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 253, 0.9));
    border: 1px solid rgba(15, 23, 42, 0.09);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
    content-visibility: auto;
    contain-intrinsic-size: 92px;
    overflow: hidden;
}

.slow-firm-item::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(60, 160, 193, 0.62), rgba(63, 160, 60, 0.78));
    opacity: 0.35;
}

.slow-firm-rank-wrap {
    display: grid;
    justify-items: center;
    gap: 0.25rem;
}

.slow-firm-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.56rem;
    min-width: 0;
}

.slow-firm-main > div {
    min-width: 0;
}

.slow-firm-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    object-fit: contain;
    padding: 0.18rem;
    flex: 0 0 auto;
    box-shadow: 0 9px 18px rgba(15, 23, 42, 0.08);
}

.slow-firm-rank {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 0.84rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.95), rgba(226, 232, 240, 0.9));
    color: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.slow-firm-tier {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 16px;
    padding: 0.11rem 0.38rem;
    border-radius: 999px;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.72);
    background: rgba(226, 232, 240, 0.86);
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.slow-firm-tier-neutral {
    color: rgba(15, 23, 42, 0.56);
    background: rgba(241, 245, 249, 0.9);
    border-color: rgba(15, 23, 42, 0.1);
}

.slow-firm-item.podium-gold {
    border-color: rgba(183, 136, 23, 0.35);
    box-shadow: 0 16px 30px rgba(191, 145, 28, 0.2);
}

.slow-firm-item.podium-gold::before {
    opacity: 0.96;
    background: linear-gradient(180deg, rgba(255, 198, 58, 0.96), rgba(194, 132, 20, 0.9));
}

.slow-firm-item.podium-silver {
    border-color: rgba(100, 116, 139, 0.28);
    box-shadow: 0 15px 28px rgba(100, 116, 139, 0.17);
}

.slow-firm-item.podium-silver::before {
    opacity: 0.9;
    background: linear-gradient(180deg, rgba(203, 213, 225, 0.98), rgba(120, 132, 154, 0.82));
}

.slow-firm-item.podium-bronze {
    border-color: rgba(155, 97, 64, 0.28);
    box-shadow: 0 15px 28px rgba(146, 94, 60, 0.16);
}

.slow-firm-item.podium-bronze::before {
    opacity: 0.9;
    background: linear-gradient(180deg, rgba(209, 127, 68, 0.92), rgba(149, 83, 45, 0.84));
}

.slow-firm-item.podium-gold .slow-firm-rank,
.slow-firm-item.podium-silver .slow-firm-rank,
.slow-firm-item.podium-bronze .slow-firm-rank {
    color: #0f172a;
}

.slow-firm-item.podium-gold .slow-firm-rank {
    color: #5a3b03;
    background: linear-gradient(135deg, #ffe89b, #f4c955);
    border-color: rgba(172, 120, 14, 0.42);
}

.slow-firm-item.podium-silver .slow-firm-rank {
    color: #334155;
    background: linear-gradient(135deg, #f8fafc, #d4dde7);
    border-color: rgba(100, 116, 139, 0.32);
}

.slow-firm-item.podium-bronze .slow-firm-rank {
    color: #713b1d;
    background: linear-gradient(135deg, #f7ddcb, #d69e74);
    border-color: rgba(124, 58, 30, 0.34);
}

.slow-firm-item.podium-gold .slow-firm-tier {
    color: #5d4105;
    background: linear-gradient(135deg, #fff1bf, #f2cc67);
    border-color: rgba(172, 120, 14, 0.32);
}

.slow-firm-item.podium-silver .slow-firm-tier {
    color: #334155;
    background: linear-gradient(135deg, #f8fafc, #d5deea);
    border-color: rgba(100, 116, 139, 0.28);
}

.slow-firm-item.podium-bronze .slow-firm-tier {
    color: #6d381b;
    background: linear-gradient(135deg, #f8e3d5, #ddb28d);
    border-color: rgba(124, 58, 30, 0.3);
}

.slow-firm-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slow-firm-sub {
    margin: 0.08rem 0 0;
    font-size: 0.75rem;
    color: rgba(15, 23, 42, 0.56);
}

.slow-firm-metric {
    justify-self: end;
    display: grid;
    gap: 0.24rem;
    min-width: 0;
    width: min(100%, 142px);
}

.slow-firm-days {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.slow-firm-bar {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

.slow-firm-bar div {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--start-color), var(--end-color));
}

.slow-firm-note {
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.5);
}

.slow-firms-footnote {
    margin-top: 0.95rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 0.78rem;
    font-size: 0.79rem;
    color: rgba(15, 23, 42, 0.56);
}

.slow-firm-item.podium-gold .slow-firm-days {
    color: #5d4105;
}

.slow-firm-item.podium-silver .slow-firm-days {
    color: #334155;
}

.slow-firm-item.podium-bronze .slow-firm-days {
    color: #6d381b;
}

.complaints-page .footer {
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .complaints-layout {
        grid-template-columns: 1fr;
    }

    .slow-firms-panel {
        position: static;
    }
}

@media (max-width: 992px) {
    .complaints-hero {
        padding-top: 132px;
    }

    .complaints-hero-inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .hero-spotlight {
        max-width: 760px;
    }

    .complaints-hero-kpis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feed-shell-header {
        flex-wrap: wrap;
    }

    .comment-trigger-row {
        align-items: stretch;
    }

    .feed-action-btn.comment-upgrade {
        width: 100%;
        justify-content: center;
    }

    .feed-toolbar-actions {
        flex: 1 1 100%;
        min-width: 0;
    }

    .feed-search {
        flex: 1 1 100%;
    }

    .slow-firm-table-head {
        display: none;
    }

    .slow-firm-item {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 0.62rem 0.7rem;
    }

    .slow-firm-metric {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
        padding-left: calc(60px + 0.7rem);
    }
}

@media (max-width: 768px) {
    .complaints-hero {
        padding-top: 108px;
    }

    .complaints-hero-copy h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .complaints-hero-kpis {
        grid-template-columns: 1fr;
    }

    .feed-tabs {
        width: 100%;
        justify-content: space-between;
    }

    .feed-tab {
        flex: 1;
        text-align: center;
    }

    .complaint-card-head,
    .complaint-foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .complaint-card {
        border-radius: 20px;
        padding: 0.88rem;
    }

    .complaint-title {
        font-size: 1.08rem;
    }

    .complaint-summary {
        font-size: 0.9rem;
    }

    .complaint-author-line {
        padding: 0.44rem 0.52rem;
        gap: 0.4rem;
    }

    .author-line-label {
        font-size: 0.62rem;
        padding: 0.14rem 0.4rem;
    }

    .author-inline-card .author-inline-name {
        font-size: 0.86rem;
    }

    .author-inline-comment .author-inline-name {
        font-size: 0.82rem;
    }

    .author-avatar-card {
        width: 1.74rem;
        height: 1.74rem;
    }

    .author-avatar-comment {
        width: 1.34rem;
        height: 1.34rem;
    }

    .membership-icon-wrap {
        width: 1.1rem;
        height: 1.1rem;
    }

    .membership-icon {
        width: 0.74rem;
        height: 0.74rem;
    }

    .author-package-chip {
        font-size: 0.6rem;
    }

    .complaint-comment-item {
        padding: 0.6rem 0.64rem;
    }

    .comment-role,
    .comment-plan {
        font-size: 0.6rem;
    }

    .comment-time {
        margin-left: 0;
        font-size: 0.66rem;
    }

    .complaint-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .feed-action-btn {
        font-size: 0.82rem;
        padding: 0.5rem 0.75rem;
    }

    .feed-toolbar {
        padding: 0.62rem;
        border-radius: 14px;
    }

    .feed-toolbar-actions {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .feed-select-wrap {
        width: 100%;
        min-width: 0;
    }

    .feed-search input,
    .feed-select-wrap select {
        height: 40px;
        font-size: 0.85rem;
    }

    .feed-results-meta {
        font-size: 0.78rem;
        margin-bottom: 0.8rem;
    }

    .feed-load-more-btn {
        width: 100%;
        min-width: 0;
    }

    .slow-firm-item {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 0.58rem 0.62rem;
        padding: 0.62rem;
        border-radius: 14px;
    }

    .slow-firm-logo {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .slow-firm-rank {
        width: 34px;
        height: 34px;
        font-size: 0.78rem;
        border-radius: 10px;
    }

    .slow-firm-tier {
        font-size: 0.45rem;
        padding: 0.1rem 0.28rem;
    }

    .slow-firm-metric {
        grid-column: 1 / -1;
        width: 100%;
        padding-left: 0;
    }

    .slow-firm-note {
        font-size: 0.62rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .complaint-card,
    .feed-action-btn,
    .feed-tab,
    .btn {
        transition: none;
    }
}
