.row-meta,
.row-excerpt,
.media-url {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.row-meta.no-margin {
  margin-top: 0;
}

.row-excerpt {
  display: -webkit-box;
  max-width: 620px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.content-table-wrap .row-excerpt {
  display: none;
}

.review-note {
  color: #7a5600;
}

.row-actions,
.side-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.row-actions .table-link {
  display: inline-flex;
  align-items: center;
}

.row-primary-action {
  gap: 6px;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  font-size: 0.8rem;
}

.row-primary-action:hover {
  border-color: #d71920;
  background: #fff7f7;
}

.content-create-fab {
  position: fixed;
  z-index: 30;
  right: 26px;
  bottom: 26px;
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid #bd111b;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 10px 24px rgba(132, 18, 26, 0.24);
  color: #fff;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.content-create-fab:hover {
  background: var(--red-2);
  box-shadow: 0 14px 30px rgba(132, 18, 26, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.content-create-fab:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.content-create-fab .admin-icon {
  width: 25px;
  height: 25px;
}

.author-list-cell {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.author-list-cell--link:hover strong,
.author-list-cell--link:focus-visible strong {
  color: var(--red);
}

.author-list-cell--link:focus-visible {
  border-radius: 8px;
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.author-list-cell__body,
.author-list-contact {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.author-list-contact .table-link,
.author-list-contact .row-meta {
  overflow-wrap: anywhere;
}

.author-list-cell img,
.author-avatar-fallback,
.author-choice img,
.author-editor-summary img {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f7f8fa;
  object-fit: cover;
}

.author-avatar-fallback {
  display: inline-grid;
  place-items: center;
  color: #4c5563;
  font-size: 0.78rem;
  font-weight: 900;
}

.author-avatar-fallback--large,
.author-editor-summary img {
  width: 54px;
  height: 54px;
  font-size: 1rem;
}

.author-editor-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}

.author-editor-summary strong,
.author-editor-summary span {
  display: block;
}

.author-editor-summary span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
}

.author-profile-preview {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.author-profile-preview img {
  width: 100%;
  max-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #f7f8fa;
}

.author-profile-preview figcaption {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.muted-action {
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f8fa;
  color: #313844;
  font-size: 0.78rem;
  font-weight: 800;
}

.state-pill,
.access-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f8fa;
  color: #313844;
  font-size: 0.75rem;
  font-weight: 850;
  white-space: nowrap;
}

.state-pill-published,
.state-pill-active {
  border-color: #a7dfbd;
  background: #f0fbf4;
  color: #19683a;
}

.state-pill-draft,
.state-pill-in_review {
  border-color: var(--line);
  background: #f7f8fa;
}

.state-pill-changes_requested {
  border-color: #f0d78d;
  background: #fff9e8;
  color: #7a5600;
}

.state-pill-scheduled {
  border-color: #b9d6ff;
  background: #f1f7ff;
  color: #1d5ea7;
}

.state-pill-archived {
  opacity: 0.7;
}

.state-pill-inactive {
  border-color: var(--line);
  background: #f7f8fa;
  color: var(--muted);
}

.state-pill-out_of_stock {
  border-color: #f0d78d;
  background: #fff9e8;
  color: #7a5600;
}

.state-pill-low_stock {
  border-color: #f0d78d;
  background: #fff9e8;
  color: #7a5600;
}

.state-pill-available {
  border-color: #a7dfbd;
  background: #f0fbf4;
  color: #19683a;
}

.state-pill-untracked {
  color: var(--muted);
}

.store-product-preview {
  display: grid;
  width: min(100%, 340px);
  min-height: 140px;
  margin: 0 16px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.store-product-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.event-admin-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.event-admin-cell img,
.event-admin-thumb-empty {
  width: 62px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8fa;
  object-fit: cover;
}

.event-admin-thumb-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.event-admin-cell small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.event-admin-preview {
  display: grid;
  width: min(100%, 460px);
  min-height: 190px;
  margin: 0 16px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.event-admin-preview img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.event-feature-check {
  align-content: center;
  min-height: 42px;
}

.store-admin-help {
  display: grid;
  gap: 4px;
  margin: 16px 16px 0;
  border: 1px solid #d8e5dd;
  border-radius: 8px;
  background: #f6fbf7;
  color: #24573a;
  padding: 13px 14px;
}

.store-admin-help strong {
  color: #153c27;
}

.store-admin-help span {
  color: #4b6b58;
  font-size: 0.86rem;
  font-weight: 700;
}

.store-stock-cell small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.store-stock-card {
  margin-bottom: 14px;
}

.store-stock-overview {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 16px 0;
}

.store-stock-overview strong {
  font-size: 1.15rem;
}

.store-stock-overview span,
.store-stock-history small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.form-grid--stock-adjust {
  grid-template-columns: minmax(150px, 0.45fr) minmax(220px, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 16px;
}

.form-grid--stock-adjust button {
  min-height: 42px;
}

.store-stock-history {
  border-top: 1px solid var(--line);
  padding: 14px 16px 16px;
}

.store-stock-history h3 {
  margin: 0 0 10px;
  font-size: 0.88rem;
}

.store-stock-history ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-stock-history li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 750;
}

.store-stock-history li:first-child {
  border-top: 0;
}

.store-stock-delta--up {
  color: #19683a;
}

.store-stock-delta--down {
  color: var(--red);
}

.access-pill-public {
  border-color: var(--line);
}

.access-pill-registered,
.access-pill-subscriber,
.access-pill-paid {
  border-color: #efb4b8;
  background: var(--soft-red);
  color: var(--red);
}

.access-pill-private {
  border-color: #f0d78d;
  background: #fff9e8;
  color: #7a5600;
}

.contact-list {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.contact-list article {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.contact-list strong,
.contact-list span {
  display: block;
}

.contact-list span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-list p {
  margin: 8px 0 0;
  color: #363c46;
  line-height: 1.5;
}

.contact-list--inbox {
  padding: 0 12px 12px;
}

.contact-list--compact {
  gap: 6px;
  padding: 10px 12px 12px;
}

.contact-card {
  display: grid;
  gap: 8px;
}

.contact-card--compact {
  gap: 6px;
  padding: 10px !important;
}

.contact-card--answered {
  background: #f7fbf8;
  border-color: #cfe2d5;
}

.contact-card--spam {
  background: #fff7f7;
  border-color: #f0cbcb;
}

.contact-card__head,
.contact-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 16px;
}

.contact-card__meta {
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.contact-card__message {
  margin: 0 !important;
  overflow-wrap: anywhere;
  line-height: 1.42;
}

.contact-card--compact .contact-card__message {
  font-size: 0.88rem;
}

.contact-card__message--empty,
.contact-card__footer small {
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-card__footer {
  align-items: center;
  padding-top: 7px;
  border-top: 1px solid var(--line);
}

.contact-card--compact .contact-card__footer {
  padding-top: 6px;
}

.contact-status-form {
  margin-left: auto;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-left: auto;
}

.contact-card__actions .contact-status-form {
  margin-left: 0;
}

.contact-status-form .button-link,
.contact-status-form .text-link {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.contact-status-pill {
  display: inline-flex !important;
  width: fit-content;
  margin: 0 !important;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.72rem !important;
  font-weight: 700;
  line-height: 1.2;
}

.contact-status-pill--pending {
  background: #fff4d8;
  color: #7a5600;
}

.contact-status-pill--answered {
  background: #e8f5ec;
  color: #24573a;
}

.contact-status-pill--spam {
  background: #fde8e8;
  color: #8a2020;
}

.contact-inbox-tabs {
  display: flex;
  gap: 8px;
  padding: 0 12px 12px;
}

.contact-inbox-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-inbox-tabs a[aria-current='page'] {
  border-color: var(--red);
  background: var(--soft-red);
  color: var(--red);
}

.contact-inbox-tabs span {
  display: inline-grid !important;
  min-width: 1.35rem;
  place-items: center;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.08);
  color: inherit;
  font-size: 0.72rem !important;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  padding: 16px;
}

.roadmap-grid div,
.roadmap-grid a {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: inherit;
  text-decoration: none;
}

.roadmap-grid strong {
  display: block;
  margin-bottom: 0;
}

.roadmap-grid p {
  margin-top: 8px;
}

.quick-action-grid a {
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.quick-action-grid p {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.action-list {
  display: grid;
  gap: 0;
  padding: 6px 16px;
}

.action-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.action-row:last-child {
  border-bottom: 0;
}

.action-row:hover,
.action-row:focus-visible {
  color: var(--red-2);
  outline: none;
}

.action-row__icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--muted-strong);
}

.action-row:hover .action-row__icon,
.action-row:focus-visible .action-row__icon {
  border-color: rgba(215, 31, 42, 0.34);
  background: var(--soft-red);
  color: var(--red);
}

.action-row__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.action-row__body strong,
.action-row__body small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-row__body strong {
  color: var(--text);
  font-weight: 820;
}

.action-row__body small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.attention-list,
.editorial-list {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.attention-item,
.editorial-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.attention-item {
  min-height: 52px;
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
}

.attention-item:hover,
.attention-item:focus-visible {
  border-color: #f0a5aa;
  background: #fff7f8;
  outline: none;
}

.attention-item span {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attention-item strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 62px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(215, 31, 42, 0.24);
  border-radius: 999px;
  background: var(--soft-red);
  color: var(--red);
  font-size: 0.86rem;
}

.attention-item strong b {
  font-size: 0.94rem;
}

.attention-item strong small {
  color: #8b1e27;
  font-size: 0.7rem;
  font-weight: 850;
}

.dashboard-empty {
  display: grid;
  gap: 6px;
  padding: 22px 16px;
  color: var(--muted);
}

.dashboard-empty strong {
  color: var(--text);
}

.editorial-list article {
  padding: 12px;
}

.editorial-list article > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.editorial-list a,
.editorial-list strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-weight: 820;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editorial-list a:hover {
  color: var(--red-2);
}

.editorial-list div > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.status-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.status-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.status-list span {
  color: var(--muted);
  text-align: right;
}

.toolbar-form,
.form-grid,
.compact-form,
.content-editor-form {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.toolbar-form {
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.toolbar-form--content {
  grid-template-columns: minmax(260px, 1.4fr) minmax(160px, 0.6fr) auto;
}

.content-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.content-filter-actions > * {
  min-height: 42px;
}

.content-filter-advanced {
  grid-column: 1 / -1;
  margin: 0 -16px -16px;
  border-top: 1px solid var(--line);
  background: #fbfcfd;
}

.content-filter-advanced summary {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.content-filter-advanced summary:hover {
  color: var(--text);
  background: var(--panel-2);
}

.content-filter-advanced summary small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.content-filter-advanced__fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
  padding: 2px 16px 16px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.form-grid--store-quick {
  grid-template-columns: minmax(220px, 1.2fr) minmax(140px, 0.6fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr);
}

.form-grid--social-upload {
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.form-grid--social-manual {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}

.settings-grid {
  display: grid;
  gap: 14px;
}

.settings-workspace {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.settings-workspace__content {
  min-width: 0;
}

.settings-module-nav {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.settings-module-nav__heading {
  display: grid;
  gap: 4px;
  padding: 2px 4px 10px;
  border-bottom: 1px solid var(--line);
}

.settings-module-nav__heading strong {
  color: var(--text);
  font-size: 0.92rem;
}

.settings-module-nav__heading span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.35;
}

.settings-module-nav__link {
  padding: 8px 9px;
  border-radius: 6px;
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.25;
  text-decoration: none;
}

.settings-module-nav__link:hover {
  background: var(--panel-2);
  color: var(--text);
}

.settings-module-nav__link.is-active {
  background: var(--soft-red);
  box-shadow: inset 3px 0 0 var(--red);
  color: var(--red);
}

.settings-overview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.settings-overview__heading {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.settings-overview__heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.06rem;
}

.settings-overview__heading p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.settings-module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-module {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.settings-module:hover {
  background: var(--panel-2);
}

.settings-module strong {
  color: var(--text);
  font-size: 0.94rem;
}

.settings-module span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 620;
  line-height: 1.4;
}

.settings-module small {
  margin-top: 3px;
  color: var(--red-2);
  font-size: 0.74rem;
  font-weight: 800;
}

.settings-advanced summary {
  display: grid;
  gap: 3px;
}

.settings-advanced summary small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.35;
}

.settings-section {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.settings-list {
  display: grid;
  gap: 10px;
}

.settings-list__item {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.settings-list__item legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.settings-list__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.settings-list__header strong {
  color: var(--text);
}

.settings-list__header small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.form-grid--settings {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
}

.span-2 {
  grid-column: span 2;
}

.toolbar-form label,
.form-grid label,
.compact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: none;
}

.toolbar-form label span,
.form-grid label span,
.compact-form label span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.3;
}

/* Further shared form controls live with the editor layout. */
