@layer publishme.patterns {
  .pm-channel-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
  }
  .pm-post-row-container {
    container: pm-post-row / inline-size;
  }
  .pm-post-row {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) minmax(56px, 76px) minmax(110px, 124px) 18px;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 25px;
    border: 0;
    border-bottom: 1px solid var(--pm-line, #dfe4d9);
    background: transparent;
    text-align: start;
    color: var(--pm-ink, #20261f);
    font-family: var(--pm-font, 'Manrope Variable', 'Manrope', system-ui, sans-serif);
    line-height: 1.5;
    cursor: pointer;
    touch-action: manipulation;
  }
  .pm-post-row:focus-visible {
    outline: 3px solid var(--pm-focus, #344a26);
    outline-offset: -4px;
  }
  .pm-post-row:hover:not(:disabled) {
    background: var(--pm-surface-soft, #eef1e9);
  }
  .pm-post-row:disabled {
    color: var(--pm-disabled-text, #6e7768);
    background: var(--pm-disabled-bg, #e8ece3);
    cursor: not-allowed;
  }
  .pm-post-row__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 52px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--pm-surface-soft, #eef1e9);
  }
  .pm-post-row__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .pm-post-row__text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
  }
  .pm-post-row__title {
    font-size: 14px;
    font-weight: 650;
    line-height: 1.6;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
  }
  .pm-post-row__meta {
    font-size: 11px;
    line-height: 1.6;
    color: var(--pm-muted, #656d63);
    overflow-wrap: anywhere;
  }
  .pm-post-row__channels,
  .pm-post-row__status {
    min-width: 0;
  }
  .pm-post-row__arrow {
    color: var(--pm-muted, #656d63);
  }
  @container pm-post-row (max-width:620px) {
    .pm-post-row {
      grid-template-columns: 43px minmax(0, 1fr) 53px;
      gap: 6px 10px;
      padding: 16px 14px;
    }
    .pm-post-row__media {
      grid-row: 1 / span 2;
      width: 43px;
      height: 48px;
    }
    .pm-post-row__title {
      font-size: 12px;
      line-height: 1.5;
    }
    .pm-post-row__text {
      gap: 4px;
    }
    .pm-post-row__meta {
      font-size: 10px;
    }
    .pm-post-row__channels {
      grid-column: 3;
      grid-row: 1;
    }
    .pm-post-row__channels .pm-channel-group {
      gap: 3px;
    }
    .pm-post-row__channels .pm-social-mark {
      width: 22px;
      height: 22px;
    }
    .pm-post-row__status {
      grid-column: 2 / span 2;
      grid-row: 2;
    }
    .pm-post-row__status .pm-status {
      font-size: 11px;
      padding: 3px 6px;
    }
    .pm-post-row__arrow {
      display: none;
    }
  }
  @media (forced-colors: active) {
    .pm-post-row {
      border-bottom: 1px solid CanvasText;
    }
    .pm-post-row:disabled {
      color: GrayText;
    }
  }
}
