:root {
  color-scheme: light;
  --blue: #c8102e;
  --blue-dark: #5f0717;
  --blue-soft: #fff1f3;
  --ink: #181818;
  --muted: #5f6b7a;
  --line: #d8dde6;
  --page: #f3f6f9;
  --panel: #ffffff;
  --gold: #b76100;
  --shadow: 0 6px 18px rgba(24, 24, 24, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family:
    "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.brandCluster,
.topNav,
.cardTitle,
.listingHero h2 {
  font-family:
    "Poppins", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input,
select {
  font: inherit;
  max-width: 100%;
  min-width: 0;
}

button {
  cursor: pointer;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.appHeader {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 32px 12px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.brandCluster {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue-dark);
  font-size: 20px;
}

.cloudLogo {
  width: 142px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.05;
}

.topNav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topNav a {
  padding: 16px 0 12px;
  color: var(--blue-dark);
  font-weight: 700;
  border-bottom: 3px solid transparent;
}

.topNav a.active {
  border-bottom-color: var(--blue);
}

.headerActions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}

.headerActions button,
.primaryAction,
.secondaryAction {
  min-height: 34px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  padding: 0 14px;
  font-weight: 700;
}

.secondaryAction {
  background: #fff;
  color: var(--blue-dark);
}

.authModal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(24, 24, 24, 0.42);
}

.authModal[hidden] {
  display: none;
}

.authDialog {
  position: relative;
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(24, 24, 24, 0.22);
}

.authDialog h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 24px;
}

.authDialog p {
  margin: 8px 0 20px;
  color: var(--muted);
}

.authCloseButton {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}

.authForm {
  display: grid;
  gap: 14px;
}

.authForm label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.authForm input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #9faab5;
  border-radius: 6px;
}

.authForm button[type="submit"] {
  min-height: 44px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.authMessage {
  min-height: 18px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.authMessage.error {
  color: #9b1c1c;
}

.searchHero {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(320px, 1fr);
  align-items: center;
  justify-content: center;
  gap: 44px;
  min-height: 152px;
  padding: 26px 32px;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  border-bottom: 1px solid var(--line);
}

.searchHero h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 30px;
  line-height: 1.18;
}

.searchHero p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.heroSearch {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 700;
  width: 100%;
  max-width: none;
}

.heroSearch input,
.filterSearch,
.filterInput {
  width: 100%;
  min-height: 46px;
  border: 1px solid #9faab5;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.heroSearch input {
  padding: 0 18px 0 12px;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(24, 24, 24, 0.08);
}

.homePage {
  min-height: calc(100vh - 76px);
  background: var(--page);
}

.adminPage {
  padding: 28px 32px 48px;
}

.adminShell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.adminHeader,
.panelHeader {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.adminHeader h1,
.adminPanel h2 {
  margin: 0;
  color: var(--blue-dark);
}

.adminHeader p,
.panelHeader p {
  margin: 6px 0 0;
  color: var(--muted);
}

.adminNotice,
.adminPanel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24, 24, 24, 0.08);
}

.adminNotice {
  padding: 14px 16px;
  color: #7d4b00;
  background: #fff7e8;
}

.adminNoticeList {
  display: grid;
  gap: 10px;
}

.adminReadinessHeader,
.adminReadinessWarning {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7e8;
}

.adminReadinessHeader {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
}

.adminReadinessHeader strong,
.adminReadinessWarning strong {
  color: #111;
}

.adminReadinessHeader span,
.adminReadinessWarning p {
  margin: 0;
  color: #6d5a38;
}

.adminReadinessWarning {
  padding: 12px 16px;
}

.adminReadinessWarning.isError {
  border-color: #efb1a8;
  background: #fff1ef;
}

.adminExportActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.workflowPage {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 48px;
  display: grid;
  gap: 18px;
}

.workflowHero,
.workflowPanel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24, 24, 24, 0.08);
}

.workflowHero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 22px;
  align-items: start;
  padding: 28px;
}

.workflowHero h1,
.workflowHero p,
.workflowPanel p {
  margin: 0;
}

.workflowHero h1 {
  margin-top: 8px;
  color: var(--blue-dark);
  font-size: 34px;
  line-height: 1.12;
}

.workflowHero p,
.workflowSteps,
.workflowMessage {
  color: var(--muted);
  line-height: 1.45;
}

.workflowSteps {
  margin: 0;
  padding: 18px 18px 18px 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfe;
}

.workflowSteps li + li {
  margin-top: 8px;
}

.workflowPanel {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.workflowForm {
  display: grid;
  gap: 14px;
  max-width: 680px;
}

.workflowForm label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.workflowForm input,
.workflowForm textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.workflowForm textarea {
  padding: 12px;
  resize: vertical;
}

.workflowMessage {
  min-height: 20px;
  font-weight: 800;
}

.workflowMessage.error {
  color: #9b1c1c;
}

.secondaryAction.danger {
  border-color: #b42318;
  color: #b42318;
}

.providerAccessHero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 22px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, var(--blue-soft) 100%);
  box-shadow: 0 3px 12px rgba(24, 24, 24, 0.08);
}

.providerAccessHero h1 {
  margin: 8px 0 0;
  color: var(--blue-dark);
  font-size: 32px;
  line-height: 1.14;
}

.providerAccessHero p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
  max-width: 560px;
}

.trustBadgeRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.trustBadgeRow li {
  position: relative;
  padding-left: 20px;
  color: var(--blue-dark);
  font-size: 12.5px;
  font-weight: 700;
}

.trustBadgeRow li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
}

.providerAccessCard {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24, 24, 24, 0.08);
}

.providerAccessCard span {
  color: #8f8f8f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.providerAccessCard strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.providerAccessCard small {
  color: var(--muted);
  font-weight: 600;
}

.providerAccessCard a {
  margin-top: 6px;
  font-weight: 800;
}

.aboutGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.aboutCard {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.aboutCard strong {
  color: var(--blue-dark);
  font-size: 15px;
}

.aboutCard p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.aboutCardIcon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}

.aboutCardIcon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.providerAccessActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.providerAccessUnavailable {
  background: #fff7e8;
  border-color: #f0d9ab;
}

.providerAccessUnavailable h2 {
  margin: 0;
  color: var(--blue-dark);
}

.providerAccessUnavailable .primaryAction {
  justify-self: start;
}

.providerAccessExplainer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.providerAccessExplainer article {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.providerAccessExplainer strong {
  color: var(--blue-dark);
}

.providerAccessExplainer span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.faqList {
  display: grid;
  gap: 10px;
}

.faqItem {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfe;
  padding: 4px 16px;
}

.faqItem summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

.faqItem summary::-webkit-details-marker {
  display: none;
}

.faqItem summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--blue);
  font-weight: 900;
}

.faqItem[open] summary::before {
  content: "\2212";
}

.faqItem p {
  margin: 0 0 14px 18px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13.5px;
}

.workflowFooter {
  padding: 4px 4px 20px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 860px) {
  .providerAccessHero,
  .aboutGrid,
  .providerAccessExplainer {
    grid-template-columns: 1fr;
  }
}

.adminPanel {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.adminWorkspace {
  display: grid;
  gap: 18px;
}

.adminGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.adminForm {
  display: grid;
  gap: 12px;
}

.adminForm label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.adminForm input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #9faab5;
  border-radius: 6px;
}

.adminForm button[type="submit"] {
  min-height: 44px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.adminList {
  display: grid;
  gap: 10px;
}

.adminItem {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfe;
}

.adminItemHeader {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.adminItem strong {
  color: var(--blue-dark);
}

.adminItem span,
.adminItem p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.statusPill {
  align-self: start;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid #cfe0f6;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.statusPill-published {
  border-color: #b9dfc8;
  background: #ecf8f0;
  color: #116332;
}

.statusPill-approved {
  border-color: #b9dfc8;
  background: #ecf8f0;
  color: #116332;
}

.statusPill-draft,
.statusPill-needs_review,
.statusPill-candidate {
  border-color: #ffd49f;
  background: #fff6e8;
  color: #8a4b00;
}

.statusPill-merged {
  border-color: #d3d8df;
  background: #f3f5f7;
  color: #59626d;
}

.statusPill-queued,
.statusPill-running {
  border-color: #cfe0f6;
  background: #edf4ff;
  color: var(--blue-dark);
}

.statusPill-failed {
  border-color: #f3b9b9;
  background: #fff0f0;
  color: #9b1c1c;
}

.adminBody {
  min-height: 100vh;
  background: #eef2f6;
}

.adminBusy,
.adminBusy button,
.adminBusy input,
.adminBusy textarea,
.adminBusy select {
  cursor: progress;
}

.adminLoginScreen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.adminLoginScreen[hidden],
.adminApp[hidden],
.adminSection {
  display: none;
}

.adminLoginCard {
  width: min(430px, 100%);
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.adminLoginCard h1,
.adminLoginCard p {
  margin: 0;
}

.adminLoginCard p {
  color: var(--muted);
  line-height: 1.45;
}

.adminLoginCard label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.adminLoginCard input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #9faab5;
  border-radius: 6px;
}

.adminLoginCard button[type="submit"] {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.adminApp {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  transition: grid-template-columns 160ms ease;
}

.adminApp.sidebarCollapsed {
  grid-template-columns: 82px minmax(0, 1fr);
}

.adminSidebar {
  z-index: 2;
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.adminBrandRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adminBrand {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 800;
}

.adminBrand:hover {
  text-decoration: none;
}

.adminBrandText {
  font-size: 18px;
}

.adminSidebarFooter {
  display: grid;
  gap: 8px;
}

.sidebarToggle {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}

.sidebarToggle svg,
.adminSideNav svg,
.publicSiteLink svg,
.iconButtonText svg,
.adminStats svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sidebarToggle svg,
.iconButtonText svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.adminApp.sidebarCollapsed .sidebarToggle svg {
  transform: rotate(180deg);
}

.adminSideNav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.adminSideNav button,
.publicSiteLink {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}

.adminSideNav button svg,
.publicSiteLink svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.adminSideNav button.active {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.publicSiteLink {
  border: 1px solid var(--line);
  justify-content: center;
}

.sidebarToggle:hover,
.publicSiteLink:hover {
  background: #fff;
  text-decoration: none;
}

.iconButtonText {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 7px;
}

.iconButtonText > svg,
.iconButtonText > span {
  flex: 0 0 auto;
}

.iconButtonText > span {
  display: inline-block;
  white-space: nowrap;
}

.isDisabled {
  pointer-events: none;
  opacity: 0.45;
}

.adminBody button,
.adminBody a.secondaryAction,
.adminBody a.primaryAction,
.adminBody summary {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  white-space: nowrap;
}

.adminBody button > svg,
.adminBody a.secondaryAction > svg,
.adminBody a.primaryAction > svg,
.adminBody summary > svg {
  flex: 0 0 auto;
}

.adminBody button > span,
.adminBody a.secondaryAction > span,
.adminBody a.primaryAction > span,
.adminBody summary > span {
  display: inline-block;
  min-width: 0;
  white-space: nowrap;
}

.adminCellAction button,
.adminCellAction a,
.paginationBar button,
.adminTopbarActions button,
.bulkActionBar button,
.adminDialogActions button {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
}

.adminApp.sidebarCollapsed .adminSidebar {
  padding-left: 14px;
  padding-right: 14px;
}

.adminApp.sidebarCollapsed .adminBrand {
  justify-content: center;
}

.adminApp.sidebarCollapsed .cloudLogo {
  width: 44px;
  height: 44px;
  font-size: 0;
}

.adminApp.sidebarCollapsed .cloudLogo::before {
  content: "RE";
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 13px;
  line-height: 1;
}

.adminApp.sidebarCollapsed .adminBrandText,
.adminApp.sidebarCollapsed .adminSideNav span,
.adminApp.sidebarCollapsed .sidebarToggle span,
.adminApp.sidebarCollapsed .publicSiteLink span {
  display: none;
}

.adminApp.sidebarCollapsed .adminBrandRow {
  display: grid;
  justify-items: center;
}

.adminApp.sidebarCollapsed .adminSideNav button,
.adminApp.sidebarCollapsed .sidebarToggle,
.adminApp.sidebarCollapsed .publicSiteLink {
  width: 100%;
  grid-template-columns: 1fr;
  justify-content: center;
  padding: 0;
}

.adminMain {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 24px 28px 42px;
}

.adminTopbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}

.adminTopbarActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  min-width: 0;
}

.adminTopbarActions > span {
  min-width: 0;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adminSection.active {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.adminStats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.adminStats article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 10px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(24, 24, 24, 0.06);
}

.adminStats span {
  color: var(--muted);
  font-weight: 800;
}

.adminStats strong {
  grid-column: 1 / -1;
  color: var(--blue-dark);
  font-size: 30px;
  line-height: 1;
}

.adminTwoColumn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  min-width: 0;
}

.adminTwoColumn > * {
  height: 100%;
}

.adminTable {
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
}

.adminTableHeader {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.72fr) minmax(92px, 0.45fr) minmax(92px, 0.48fr) minmax(150px, 0.78fr);
  gap: 12px;
  padding: 0 12px 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.adminTableHeader span {
  min-width: 0;
}

.adminTableHeader span:last-child {
  justify-self: end;
  text-align: right;
}

.adminTableRow {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.72fr) minmax(92px, 0.45fr) minmax(92px, 0.48fr) minmax(150px, 0.78fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfe;
  min-width: 0;
}

.adminPublishedTable .adminTableHeader,
.adminPublishedTable .adminTableRow {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.45fr) minmax(94px, 0.32fr) minmax(82px, 0.25fr) minmax(310px, 0.72fr);
}

.adminPublishedTable.adminSelectionMode .adminTableHeader,
.adminPublishedTable.adminSelectionMode .adminTableRow {
  grid-template-columns: 58px minmax(0, 1.15fr) minmax(0, 0.42fr) minmax(94px, 0.3fr) minmax(82px, 0.24fr) minmax(310px, 0.72fr);
}

.adminPublishedTable .adminTableHeader span:last-child {
  text-align: right;
}

.adminPublishedTable {
  overflow: visible;
}

.adminJobsTable .adminTableHeader,
.adminJobsTable .adminTableRow {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.82fr) minmax(96px, 0.45fr) minmax(140px, 0.58fr) minmax(190px, 0.82fr);
}

.adminReviewTable .adminTableHeader,
.adminReviewTable .adminTableRow {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.48fr) minmax(92px, 0.34fr) minmax(84px, 0.3fr) minmax(360px, 0.9fr);
}

.adminReviewTable.adminSelectionMode .adminTableHeader,
.adminReviewTable.adminSelectionMode .adminTableRow {
  grid-template-columns: 58px minmax(0, 1.12fr) minmax(0, 0.45fr) minmax(92px, 0.32fr) minmax(84px, 0.28fr) minmax(360px, 0.9fr);
}

.adminMissingDataTable .adminTableHeader,
.adminMissingDataTable .adminTableRow {
  grid-template-columns: minmax(220px, 1.05fr) minmax(300px, 1.35fr) minmax(96px, 0.28fr) minmax(300px, 0.9fr);
}

.adminOutreachTable .adminTableHeader,
.adminOutreachTable .adminTableRow {
  grid-template-columns: 28px minmax(150px, 0.7fr) minmax(150px, 0.4fr) minmax(140px, 0.55fr) minmax(180px, 0.5fr) minmax(240px, 0.55fr);
}

.adminOutreachTable .adminPublishedActions {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.adminCellSelect {
  display: flex;
  align-items: center;
  justify-content: center;
}

.adminCellSelect input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  cursor: pointer;
}

.adminCellSelect input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.adminBulkBar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 10px;
  border: 1px solid var(--blue);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark);
}

.adminBulkBar span {
  margin-right: auto;
}

.adminMissingDataTable .adminTableHeader span:nth-child(3),
.adminMissingDataTable .adminMissingDataRow .adminCell:nth-child(3) {
  justify-items: center;
  text-align: center;
}

.adminMissingDataTable .adminCellAction {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 6px;
}

.adminTagsTable .adminTableHeader,
.adminTagsTable .adminTableRow {
  grid-template-columns: minmax(180px, 0.85fr) minmax(110px, 0.32fr) minmax(180px, 0.75fr) minmax(180px, 0.75fr) minmax(260px, 0.9fr);
}

.adminRequestsTable .adminTableHeader,
.adminRequestsTable .adminTableRow {
  grid-template-columns: minmax(220px, 1fr) minmax(110px, 0.3fr) minmax(150px, 0.44fr) minmax(170px, 0.48fr) minmax(300px, 0.82fr);
}

.adminLeadsTable .adminTableHeader,
.adminLeadsTable .adminTableRow {
  grid-template-columns: minmax(190px, 0.8fr) minmax(180px, 0.65fr) minmax(280px, 1.2fr) minmax(100px, 0.34fr) minmax(150px, 0.5fr) minmax(140px, 0.42fr);
}

.adminCompactRequestsTable .adminTableHeader,
.adminCompactRequestsTable .adminTableRow {
  grid-template-columns: minmax(0, 1fr) 96px 104px;
}

.adminTagsTable input,
.adminTagsTable select {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #9faab5;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.adminTagsTable .adminCellAction {
  flex-wrap: nowrap;
}

.tagFilterBar {
  grid-template-columns: minmax(180px, 240px) minmax(180px, 240px);
  align-items: end;
}

.adminReviewTable .adminTableHeader span:last-child {
  text-align: right;
}

.adminCompactProviderTable .adminTableHeader,
.adminCompactProviderTable .adminTableRow {
  grid-template-columns: minmax(0, 1fr) 112px 96px;
}

.adminCompactJobsTable .adminTableHeader,
.adminCompactJobsTable .adminTableRow {
  grid-template-columns: minmax(0, 1fr) 112px 116px;
}

.adminCompactProviderTable .adminTableHeader span:nth-child(2),
.adminCompactProviderTable .adminTableHeader span:nth-child(3),
.adminCompactJobsTable .adminTableHeader span:nth-child(2),
.adminCompactJobsTable .adminTableHeader span:nth-child(3) {
  text-align: center;
}

.adminDashboardProviderRow .adminCell:nth-child(2),
.adminDashboardProviderRow .adminCell:nth-child(3),
.adminDashboardJobRow .adminCell:nth-child(2),
.adminDashboardJobRow .adminCell:nth-child(3) {
  justify-items: center;
  text-align: center;
}

.adminDashboardProviderRow,
.adminDashboardJobRow {
  min-height: 76px;
  height: 76px;
  align-items: start;
  overflow: hidden;
}

.adminDashboardProviderRow .adminCell,
.adminDashboardJobRow .adminCell {
  align-self: start;
}

.adminDashboardProviderRow .adminCellPrimary strong,
.adminDashboardJobRow .adminCellPrimary strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.adminDashboardJobIdentity .adminProviderLogo {
  background: #eef5ff;
  color: var(--blue-dark);
}

.adminCell {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.adminCellPrimary {
  align-content: center;
}

.adminCellAction {
  justify-content: end;
}

.adminIssueCell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adminIssueChip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff4e5;
  color: #7d4b00;
  font-size: 12px;
  font-weight: 800;
}

.adminCellLabel {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.adminTableRow strong,
.adminTableRow span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.adminTableRow strong,
.adminTableRow .adminCell > span,
.adminProviderIdentity span span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.adminTableRow .adminCell > span,
.adminProviderIdentity span span {
  white-space: nowrap;
}

.adminTableRow .statusPill {
  display: inline-flex;
}

.adminTableRow .adminCellPrimary > span:not(.adminCellLabel) {
  margin-top: 3px;
  color: var(--muted);
}

.adminTableRow .secondaryAction {
  white-space: nowrap;
}

.adminRequestsTable .adminCell > span small {
  display: block;
  margin-top: 4px;
  color: #777;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}

.adminPanel {
  min-width: 0;
}

.metricsSummaryGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0;
  border-top: 1px solid var(--admin-line-strong);
  border-left: 1px solid var(--admin-line-strong);
}

#metricsSummary.metricsSummaryGrid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metricsSummaryGrid article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
  min-height: 108px;
  padding: 18px;
  border: 0;
  border-right: 1px solid var(--admin-line-strong);
  border-bottom: 1px solid var(--admin-line-strong);
  background: #fff;
}

.metricsSummaryGrid article svg {
  width: 18px;
  height: 18px;
  color: var(--admin-red);
}

.metricsSummaryGrid span,
.metricsSummaryGrid small {
  color: #666;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metricsSummaryGrid strong,
.metricsSummaryGrid small {
  grid-column: 1 / -1;
}

.metricsSummaryGrid strong {
  color: #111;
  font-size: 32px;
  line-height: 1;
}

.metricsSummaryGrid article.metricCardAttention {
  background: var(--admin-soft-red);
}

.metricsSummaryGrid article.metricCardAttention strong {
  color: var(--admin-red);
}

.metricBreakdownList {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--admin-line);
}

.metricBreakdownList section {
  display: grid;
  gap: 0;
  padding-bottom: 14px;
}

.metricBreakdownList h3 {
  margin: 16px 0 8px;
  color: #111;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.metricBreakdownRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid var(--admin-line);
}

.metricBreakdownRow span {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #555;
  font-weight: 800;
}

.metricBreakdownRow span small {
  color: #777;
  font-size: 12px;
  font-weight: 600;
}

.metricBreakdownRow strong {
  color: #111;
  font-size: 18px;
}

.adminActivityTimeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--admin-line);
}

.adminActivityItem {
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1fr) minmax(150px, 0.4fr);
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--admin-line);
}

.adminActivityItem strong,
.adminActivityItem span {
  display: block;
}

.adminActivityItem strong {
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.adminActivityItem span,
.adminActivityItem small {
  color: #666;
  font-size: 12px;
  font-weight: 700;
}

.adminActivityItem p {
  margin: 0;
  color: #333;
  line-height: 1.45;
}

.adminActivityItem .adminActivityGroup {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f0f0ee;
  color: #555;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.adminActivityItem .adminActivityDate {
  margin-top: 2px;
}

.adminFilterBar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(160px, 0.6fr) auto auto;
  gap: 10px;
  align-items: end;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

#publishedFilters {
  grid-template-columns: minmax(180px, 0.72fr) minmax(128px, 0.36fr) minmax(128px, 0.36fr) auto auto;
}

#publishedFilters > button {
  min-width: 92px;
  justify-content: center;
}

.adminFilterBar label,
.adminDialogCard label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.adminDialogCard .adminCheckboxLabel {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-self: end;
  min-height: 40px;
}

.adminDialogCard .adminCheckboxLabel input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--blue);
}

.fieldHelp {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}

.adminFilterBar input,
.adminFilterBar select,
.adminDialogCard input,
.adminDialogCard select,
.adminDialogCard textarea {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #9faab5;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-transform: none;
}

.structuredEditGroup {
  display: grid;
  gap: 10px;
}

.structuredEditHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.structuredEditHeader > div {
  display: grid;
  gap: 4px;
}

.structuredHeaderActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.structuredEditHeader h3 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.structuredEntryList {
  display: grid;
  gap: 10px;
}

.structuredEntryRow {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(220px, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.structuredEntryRow label:nth-child(3) {
  grid-column: 1 / -1;
}

.structuredEntryRemove {
  justify-self: end;
}

.adminSearchControl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: stretch;
}

.adminFilterBar .adminSearchControl input {
  border-right: 0;
  border-radius: 6px 0 0 6px;
}

.adminSearchIconButton {
  min-width: 42px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 0 6px 6px 0;
  background: var(--blue);
  color: #fff;
}

.adminSearchIconButton svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.adminSearchIconButton path {
  fill: none;
  stroke: currentColor;
}

.adminDialogCard textarea {
  min-height: auto;
  padding: 10px;
  resize: vertical;
}

.tagPicker {
  align-items: stretch;
}

.tagPickerList {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid #9faab5;
  border-radius: 6px;
  background: #fff;
}

.tagChip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  max-width: 100%;
  padding: 0 6px 0 10px;
  border: 1px solid #c9d7e6;
  border-radius: 999px;
  background: #eef5fb;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

.tagChip button {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.emptyTagHint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.adminPublishedRow .adminCellLabel {
  display: none;
}

.adminJobRow .adminCellLabel,
.adminReviewRow .adminCellLabel,
.adminCompactRow .adminCellLabel {
  display: none;
}

.adminProviderIdentity {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.adminProviderLogo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
}

.adminProviderLogo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.adminCellAction {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.adminSelectCell {
  justify-content: center;
}

.adminReviewTable:not(.adminSelectionMode) .adminSelectCell,
.adminPublishedTable:not(.adminSelectionMode) .adminSelectCell,
.adminReviewTable:not(.adminSelectionMode) .adminTableHeader span:first-child,
.adminPublishedTable:not(.adminSelectionMode) .adminTableHeader span:first-child {
  display: none;
}

.adminSelectCell input,
.bulkSelectControl input {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
}

.adminReviewTable .adminCellAction {
  flex-wrap: nowrap;
}

.adminPublishedTable .adminCellAction {
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
}

.adminPublishedTable .compactAction {
  min-height: 34px;
  gap: 7px;
  padding: 0 14px;
  border-radius: 0;
  font-size: 11px;
  line-height: 1;
}

.adminPublishedTable .compactAction svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.compactAction {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  font-size: 12px;
  text-decoration: none;
}

.compactAction svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compactAction:hover {
  text-decoration: none;
}

.bulkActionBar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfe;
}

.bulkActionBar[hidden] {
  display: none;
}

.bulkSelectControl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.bulkActionBar select {
  min-height: 34px;
  min-width: 150px;
  padding: 0 10px;
  border: 1px solid #9faab5;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.bulkActionBar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

button.isLoading,
.secondaryAction.isLoading,
.primaryAction.isLoading {
  opacity: 0.78;
  pointer-events: none;
}

button.isLoading::after,
.secondaryAction.isLoading::after,
.primaryAction.isLoading::after {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: adminSpin 720ms linear infinite;
}

@keyframes adminSpin {
  to {
    transform: rotate(360deg);
  }
}

.adminToastRegion {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 40px));
  pointer-events: none;
}

.adminToast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 14px;
  border: 1px solid #b9dfc8;
  border-radius: 8px;
  background: #ecf8f0;
  color: #116332;
  box-shadow: 0 16px 40px rgba(24, 24, 24, 0.16);
  font-weight: 800;
  line-height: 1.35;
  pointer-events: auto;
  animation: adminToastIn 160ms ease-out;
}

.adminToast-error {
  border-color: #f3b9b9;
  background: #fff0f0;
  color: #9b1c1c;
}

.adminToast button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: currentColor;
  font-weight: 900;
}

.adminToast.dismiss {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

@keyframes adminToastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.paginationBar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.paginationBar span {
  color: var(--muted);
  font-weight: 800;
}

.paginationNumbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.paginationNumbers button {
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.paginationNumbers button.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.paginationGap {
  display: grid;
  place-items: center;
  min-width: 22px;
}

.paginationBar button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.adminDialog {
  width: min(820px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(24, 24, 24, 0.28);
}

.adminDialog::backdrop {
  background: rgba(24, 24, 24, 0.42);
}

.adminDialogCard {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #fff;
}

.adminEditGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.adminDialogActions {
  display: flex;
  justify-content: flex-end;
}

.marketplace {
  display: grid;
  grid-template-columns: 412px minmax(0, 1fr);
  gap: 32px;
  padding: 26px 32px 44px;
}

.filterDrawerButton,
.filterDrawerHeader {
  display: none;
}

.discoveryRail {
  min-width: 0;
}

.filterSearch {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  margin-bottom: 22px;
  padding: 0 12px;
}

.filterSearch span {
  color: var(--muted);
  font-weight: 700;
}

.filterSearch input {
  border: 0;
  outline: 0;
  min-width: 0;
}

.filterGroup {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}

.filterGroup h2 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.filterGroupHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  cursor: pointer;
}

.filterGroupHeader button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.filterGroupToggle {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 18px 0 0;
  color: var(--ink) !important;
  font-size: 14px !important;
  text-align: left;
}

.filterGroupToggle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
}

.filterGroup.isCollapsed .filterGroupToggle::after {
  transform: translateY(-35%) rotate(-135deg);
}

.filterGroup.isCollapsed .filterOptionSearch,
.filterGroup.isCollapsed .filterOptionList {
  display: none;
}

.filterOptionSearch {
  width: 100%;
  min-height: 38px;
  margin-bottom: 10px;
  padding: 0 10px;
  border: 1px solid #9faab5;
  border-radius: 6px;
  background: #fff;
}

.filterOptionList {
  display: grid;
  gap: 5px;
  max-height: 190px;
  overflow: auto;
  padding-right: 3px;
}

.filterOption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
}

.filterOption:hover {
  background: #fff;
}

.filterOption input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.filterOption span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filterOption strong {
  color: var(--muted);
  font-size: 12px;
}

.filterOptionEmpty {
  padding: 10px 8px;
  color: var(--muted);
  font-size: 13px;
}

.advancedButton {
  width: 100%;
  min-height: 44px;
  border: 2px solid var(--blue);
  border-radius: 4px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 800;
}

.listingArea {
  min-width: 0;
}

.profileMode .searchHero,
.profileMode .discoveryRail,
.profileMode .filterDrawerButton,
.profileMode .activeFilters,
.profileMode .profileList {
  display: none;
}

.profileMode .marketplace {
  display: block;
}

.profileMode .listingArea {
  max-width: 1120px;
  margin: 0 auto;
}

.profileList {
  display: grid;
  gap: 18px;
}

.activeFilters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.activeFilters[hidden] {
  display: none;
}

.activeFilters > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.activeFilters button {
  min-height: 30px;
  border: 1px solid #cfe0f6;
  border-radius: 4px;
  background: #edf4ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.resultsToolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.resultsHeader {
  display: grid;
  gap: 3px;
}

.resultsHeader h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 24px;
}

.resultsHeader span {
  color: var(--muted);
  font-weight: 700;
}

.sortControl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sortControl select {
  min-height: 38px;
  padding: 0 32px 0 10px;
  border: 1px solid #aeb8c4;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-transform: none;
}

.providerGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 22px;
}

.profileCard {
  display: grid;
  gap: 14px;
  min-height: 214px;
  padding: 24px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.profileCard.active,
.profileCard:hover {
  border-color: var(--blue);
}

.cardTop {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
}

.logoBox {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 7px;
  border: 1px solid #aeb8c4;
  border-radius: 14px;
  background: #dbe2ea;
  color: var(--blue-dark);
  font-weight: 800;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 1px 3px rgba(24, 24, 24, 0.14);
}

.logoBox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(24, 24, 24, 0.32));
}

.logoLarge {
  width: 86px;
  height: 86px;
}

.cardHeading {
  display: grid;
  gap: 4px;
}

.cardTitleRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.cardTitle {
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.18;
}

.verifiedBadge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 2px 7px;
  border: 1px solid #b9dfc8;
  border-radius: 4px;
  background: #ecf8f0;
  color: #116332;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.cardMeta,
.cardText,
.linkRow,
.activityMeta {
  color: var(--muted);
}

.ratingLine {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
}

.confidenceRating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.starRating {
  --rating: 0%;
  position: relative;
  display: inline-block;
  color: #b8c0cc;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1px;
}

.starBase,
.starFill {
  display: block;
  white-space: nowrap;
}

.starFill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--rating);
  overflow: hidden;
  color: var(--gold);
}

.confidencePercent {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 1px;
}

.cardText {
  display: block;
  line-height: 1.45;
}

.cardTags,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chipDisclosure {
  display: block;
}

.chipDisclosureList {
  overflow: visible;
}

.chipDisclosure:not(.isExpanded) .overflowChip {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #edf4ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.chipButton {
  border: 1px solid transparent;
  text-align: left;
}

.chipButton:hover,
.chipButton:focus-visible {
  border-color: var(--blue);
  text-decoration: none;
}

.chipMoreButton {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid #cfe0f6;
  border-radius: 4px;
  background: #fff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.chipMoreButton[hidden] {
  display: none;
}

.chipMoreButton:hover,
.chipMoreButton:focus-visible {
  border-color: var(--blue);
  background: #edf4ff;
}

.chip.warn {
  background: #fff4e5;
  color: #7d4b00;
}

.emptyResults {
  grid-column: 1 / -1;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
}

.detail {
  margin-top: 32px;
}

.profileMode .detail {
  margin-top: 0;
}

.backButton {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 18px 0 0 28px;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 800;
}

.backButton svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}

.detail + .profileList {
  margin-top: 34px;
}

.detailContent {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detailContent.empty {
  color: var(--muted);
}

.listingDetail {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
}

.detailSingleColumn {
  display: block;
}

.listingSidebar {
  display: grid;
  align-content: start;
  gap: 14px;
}

.listingSidebar h3,
.listingSidebar p {
  margin: 0;
}

.listingSidebar h3 {
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1.2;
}

.listingSidebar p,
.sidebarRating {
  color: var(--muted);
}

.priceBox {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.priceBox strong {
  color: var(--blue-dark);
  font-size: 24px;
}

.priceBox span {
  color: var(--muted);
  line-height: 1.45;
}

.getItNow,
.tryIt {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.getItNow {
  background: var(--blue);
  color: #fff;
}

.tryIt {
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue-dark);
}

.sidebarBlock {
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.sidebarBlock h4 {
  margin: 0;
  color: var(--ink);
}

.listingMain {
  min-width: 0;
}

.providerHeader {
  display: grid;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.providerHeaderFull {
  grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(180px, 1fr));
  align-items: start;
}

.providerHeaderIdentity {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.providerHeader h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 30px;
  line-height: 1.18;
}

.detailTitleRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.headerField {
  display: grid;
  gap: 8px;
}

.headerField h3 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.headerField h3 span {
  color: var(--muted);
  font-weight: 900;
}

.locationObject {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mutedLocation {
  color: var(--muted);
  font-weight: 700;
}

.locationObject span {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 6px;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fbfcfe;
  color: var(--ink);
  font-weight: 700;
}

.locationObject strong {
  color: var(--muted);
  font-size: 12px;
}

.linkSet {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.linkSet a,
.mutedLink {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fbfcfe;
  font-weight: 800;
}

.mutedLink {
  color: var(--muted);
  opacity: 0.72;
}

.listingHero {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.5fr);
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.listingHero h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1.2;
}

.publisher,
.platformLine,
.listingDescription,
.description {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.detailLinks {
  margin-top: 12px;
}

.mediaStrip {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 28px;
  margin: 28px 0 24px;
}

.mediaCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(24, 24, 24, 0.08);
  overflow: hidden;
}

.mediaPreview {
  min-height: 210px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dbe2ea, #f8fafc);
}

.sourcePreview {
  align-content: center;
  gap: 8px;
  padding: 22px;
  text-align: center;
  color: var(--blue-dark);
  letter-spacing: 0;
}

.sourcePreview strong {
  color: var(--blue-dark);
  font-size: 24px;
  font-weight: 900;
}

.sourcePreview span {
  max-width: 240px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.mediaCard p {
  margin: 0;
  padding: 14px;
  text-align: center;
  color: var(--ink);
}

.detailTabs {
  display: flex;
  gap: 38px;
  margin-top: 24px;
  border-bottom: 1px solid var(--line);
}

.detailTabs button {
  padding: 18px 0;
  border: 0;
  border-bottom: 4px solid transparent;
  background: transparent;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 800;
}

.detailTabs button.active {
  border-bottom-color: var(--blue);
}

.detailPanel {
  display: none;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
}

.detailPanel.active {
  display: block;
}

.evidenceGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.evidenceItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.evidenceItem span {
  color: var(--muted);
}

.evidenceItem strong.available {
  color: #1f7a3f;
}

.evidenceItem strong.missing {
  color: var(--blue-dark);
}

.evidenceItem.quality-green {
  border-left: 5px solid #1f7a3f;
}

.evidenceItem.quality-orange {
  border-left: 5px solid #b76100;
}

.evidenceItem.quality-red {
  border-left: 5px solid #b42318;
}

.highlightGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.highlightCard {
  padding: 16px;
  border-top: 4px solid var(--blue);
  background: #fbfcfe;
  color: var(--ink);
}

.highlightCard span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.section {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
}

.firstSection {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.section h3 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 16px;
}

.solutionGrid,
.editableEntryList {
  display: grid;
  gap: 12px;
}

.editableEntry {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.editableEntry h4,
.solutionGrid h4,
.activityChannel h4 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.editableEntry p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.editableEntry a {
  justify-self: start;
  font-weight: 800;
}

.activity,
.notes {
  display: grid;
  gap: 10px;
}

.activityChannel {
  display: grid;
  gap: 4px;
  padding-top: 16px;
}

.activityChannel + .activityChannel {
  border-top: 1px solid var(--line);
}

.qualitySummary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left-width: 6px;
  border-radius: 8px;
  background: #fbfcfe;
}

.qualitySummary span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.qualitySummary strong {
  color: var(--blue-dark);
  font-size: 28px;
}

.qualitySummary.quality-green {
  border-left-color: #1f7a3f;
}

.qualitySummary.quality-orange {
  border-left-color: #b76100;
}

.qualitySummary.quality-red {
  border-left-color: #b42318;
}

.activityItem,
.noteItem {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  line-height: 1.45;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

@media (max-width: 1160px) {
  .marketplace {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .providerGrid {
    grid-template-columns: 1fr;
  }

  .listingDetail {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .providerHeaderFull {
    grid-template-columns: 1fr 1fr;
  }

  .providerHeaderIdentity {
    grid-column: 1 / -1;
  }

  .listingHero,
  .mediaStrip,
  .highlightGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body {
    overflow-x: clip;
  }

  .appHeader,
  .searchHero,
  .marketplace {
    display: block;
    width: 100%;
    max-width: 100vw;
  }

  .appHeader {
    padding: 18px 20px;
  }

  .brandCluster {
    max-width: 100%;
  }

  .topNav,
  .headerActions {
    margin-top: 12px;
  }

  .topNav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 8px 20px;
  }

  .topNav a {
    padding: 8px 0;
  }

  .headerActions {
    gap: 12px;
  }

  .searchHero,
  .marketplace {
    padding-left: 20px;
    padding-right: 20px;
  }

  .marketplace {
    padding-top: 18px;
  }

  .searchHero > *,
  .marketplace > *,
  .heroSearch,
  .filterDrawerButton,
  .filterSearch,
  .filterGroup,
  .activeFilters,
  .resultsToolbar,
  .profileList,
  .providerGrid,
  .detail {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .searchHero h1 {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    font-size: 25px;
    overflow-wrap: anywhere;
  }

  .heroSearch {
    margin-top: 18px;
  }

  .filterDrawerButton {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin-bottom: 16px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel);
    color: var(--blue-dark);
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(24, 24, 24, 0.08);
  }

  .filterDrawerButton::after {
    content: "Open";
    color: var(--blue);
    font-size: 12px;
    text-transform: uppercase;
  }

  .discoveryRail {
    display: none;
  }

  .filtersOpen .discoveryRail {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: block;
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 18px 20px 28px;
    overflow: auto;
    background: var(--paper);
  }

  .filtersOpen {
    overflow: hidden;
  }

  .filterDrawerHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .filterDrawerHeader strong {
    color: var(--blue-dark);
    font-size: 20px;
  }

  .filterDrawerHeader button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    color: var(--blue);
    font-weight: 900;
  }

  .listingArea {
    margin-bottom: 24px;
  }

  .listingDetail,
  .listingHero,
  .mediaStrip,
  .highlightGrid,
  .adminApp,
  .adminStats,
  .adminTwoColumn,
  .adminGrid {
    grid-template-columns: 1fr;
  }

  .adminSidebar {
    position: static;
    height: auto;
  }

  .adminTopbar,
  .adminTopbarActions {
    display: grid;
    justify-content: stretch;
  }

  .adminTableRow,
  .adminPublishedTable .adminTableRow,
  .adminJobsTable .adminTableRow,
  .adminReviewTable .adminTableRow,
  .adminMissingDataTable .adminTableRow,
  .adminTagsTable .adminTableRow,
  .adminRequestsTable .adminTableRow,
  .adminLeadsTable .adminTableRow,
  .adminCompactProviderTable .adminTableRow,
  .adminCompactJobsTable .adminTableRow,
  .adminCompactRequestsTable .adminTableRow {
    grid-template-columns: 1fr;
  }

  .adminFilterBar,
  .adminEditGrid,
  .structuredEntryRow,
  .adminActivityItem {
    grid-template-columns: 1fr;
  }

  .adminFilterBar button,
  .adminDialogActions button {
    width: 100%;
    justify-content: center;
  }

  .adminTableHeader {
    display: none;
  }

  .paginationBar {
    display: grid;
  }

  .paginationBar > button,
  .paginationBar span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .paginationNumbers button {
    width: auto;
  }

  .listingDetail {
    padding: 20px;
  }

  .resultsToolbar {
    display: grid;
    align-items: start;
  }

  .sortControl {
    justify-content: space-between;
  }

  .sortControl select {
    min-width: 180px;
  }

  .providerHeaderFull {
    grid-template-columns: 1fr;
  }

  .detailTabs {
    gap: 18px;
    overflow-x: auto;
  }

  .detailTabs button {
    white-space: nowrap;
  }
}

@media (max-width: 430px) {
  .searchHero h1 {
    width: 330px;
    max-width: 330px;
    font-size: 24px;
  }

  .searchHero p,
  .heroSearch,
  .filterDrawerButton,
  .filterSearch,
  .filterGroup,
  .activeFilters,
  .resultsToolbar,
  .profileList,
  .providerGrid,
  .detail {
    width: 350px;
    max-width: 350px;
  }
}

/* 9a / 11a Swiss-Rocket visual system */
:root {
  --blue: #d0103a;
  --blue-dark: #111111;
  --blue-soft: #fff0f3;
  --ink: #111111;
  --muted: #898989;
  --line: #dedede;
  --page: #efede8;
  --paper: #efede8;
  --panel: #ffffff;
  --shadow: none;
}

body {
  background: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
}

.searchHero[hidden],
.staticPage[hidden],
#homePage[hidden],
#providersPage[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
.brandCluster,
.topNav,
.cardTitle,
.listingHero h2 {
  font-family: inherit;
}

.appHeader {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 48px;
  border: 0;
  border-bottom-color: #111;
  border-bottom: 1px solid #111;
  background: #fff;
}

.cloudLogo {
  width: auto;
  height: auto;
  min-width: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.cloudLogo::first-letter {
  color: var(--blue);
}

.topNav {
  justify-content: center;
  gap: 34px;
}

.topNav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8f8f8f;
  font-size: 13px;
  font-weight: 800;
  border-bottom-width: 2px;
}

.navBadge {
  display: inline-grid;
  place-items: center;
  min-height: 16px;
  padding: 0 5px;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topNav a.active {
  color: #111;
}

.headerCta,
.headerActions button,
.primaryAction,
.secondaryAction {
  display: inline-grid;
  place-items: center;
  min-height: 36px;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
  padding: 0 18px;
  font-weight: 800;
}

.primaryAction,
.headerActions button[type="submit"] {
  background: #111;
  color: #fff;
}

.searchHero,
.staticHero {
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  min-height: 252px;
  padding: 52px 48px 46px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-top: 0;
  background: #fff;
}

.searchHero h1,
.staticHero h1 {
  margin: 0;
  color: #111;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.searchHero h1::after,
.staticHero h1 span,
.resultsHeader h2 span {
  color: var(--blue);
}

.searchHero h1::after {
  content: ".";
}

.searchHero p,
.staticHero p {
  max-width: 560px;
  color: #555;
  font-size: 16px;
}

.heroSearch span,
.eyebrow {
  color: #8f8f8f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heroSearch input,
.filterSearch,
.filterInput,
.filterOptionSearch,
.sortControl select,
.adminForm input,
.adminForm textarea,
.adminForm select,
.adminLoginCard input,
.adminFilterBar input,
.adminFilterBar select,
.adminTagsTable input,
.adminTagsTable select {
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.marketplace {
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  border: 0;
  border-top: 0;
  background: #fff;
}

.discoveryRail {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  background: #fafafa;
}

.listingArea {
  padding: 28px 48px 42px;
}

.filterGroup {
  border-top-color: #111;
}

.filterOption,
.chip,
.statusPill,
.verifiedBadge,
.activeFilters button {
  border-radius: 0;
}

.resultsToolbar {
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid #111;
  border-radius: 0;
  background: transparent;
}

.resultsHeader h2 {
  color: #111;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.providerIndexRows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.profileCard {
  grid-template-columns: minmax(220px, 1.1fr) minmax(280px, 1.4fr) minmax(220px, 0.8fr);
  align-items: center;
  gap: 26px;
  min-height: 0;
  padding: 26px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  white-space: normal;
}

.profileCard > * {
  min-width: 0;
}

.profileCard:hover,
.profileCard.active {
  border-color: var(--line);
  background: #fafafa;
}

.cardTop {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
}

.logoBox {
  width: 48px;
  height: 48px;
  border-color: var(--line);
  border-radius: 0;
  background: #f2f2f2;
  color: #111;
  box-shadow: none;
  font-size: 13px;
}

.logoLarge {
  width: 96px;
  height: 96px;
}

.cardTitle {
  color: #111;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.verifiedBadge {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cardText {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  color: #333;
  font-size: 14px;
  white-space: normal;
}

.cardTags {
  grid-column: 2;
  grid-row: 2;
}

.cardStats {
  display: grid;
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-items: end;
  gap: 5px;
  color: #777;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.cardStats strong {
  color: #111;
  font-size: 17px;
}

.chip {
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  font-size: 11px;
  white-space: normal;
}

.profileMode .marketplace {
  max-width: none;
  border: 0;
  border-top: 0;
  background: #fff;
}

.profileMode .listingArea {
  max-width: none;
  padding: 0;
}

.detailContent {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.backButton {
  margin: 0;
  color: #111;
}

.profileBackBar {
  padding: 18px 48px;
  border-bottom: 1px solid var(--line);
}

.listingDetail {
  padding: 0;
}

.providerProfileHero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.72fr);
  gap: 48px;
  align-items: center;
  padding: 56px 48px;
  border-bottom: 1px solid #111;
}

.providerHeaderIdentity {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.providerHeaderIdentity .logoLarge {
  width: 72px;
  height: 72px;
}

.providerHeaderIdentity h1 {
  margin: 0;
  color: #111;
  font-size: clamp(42px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.platformLine,
.description {
  color: #555;
}

.providerFocusStrip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}

.providerFocusStrip span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid var(--blue);
  padding: 4px 8px;
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.providerFocusStrip small {
  margin-left: 6px;
  color: #999;
  font-size: 11px;
}

.providerActions {
  display: grid;
  gap: 10px;
}

.providerActions a,
.providerInlineLink,
.providerRequestForm button {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  font-weight: 800;
  text-align: center;
}

.providerPrimaryAction {
  background: #111;
  color: #fff;
}

.providerSecondaryAction {
  border: 1px solid #111;
  background: #fff;
  color: #111;
}

.providerSecondaryAction.danger {
  border-color: #b42318;
  color: #b42318;
}

.providerClaimStatus {
  display: grid;
  gap: 5px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #111;
  background: #fff;
}

.providerClaimStatus strong {
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.providerClaimStatus span {
  color: #555;
  font-size: 13px;
  line-height: 1.45;
}

.providerActions a:hover,
.providerInlineLink:hover,
.providerRequestForm button:hover {
  text-decoration: none;
}

.providerRequestPanel {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  padding: 36px 48px;
  border-top: 1px solid #111;
  background: #f7f7f7;
}

.providerRequestPanel.compact {
  border-top-color: #d8d8d8;
  background: #fff;
}

.providerRequestPanel h3 {
  margin: 8px 0;
  color: #111;
  font-size: 24px;
  letter-spacing: 0;
}

.providerRequestPanel p {
  margin: 0;
  color: #666;
  line-height: 1.55;
}

.providerRequestForm {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.providerRequestForm label {
  display: grid;
  gap: 7px;
  color: #555;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.providerRequestForm input,
.providerRequestForm textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
  text-transform: none;
}

.providerRequestForm input {
  min-height: 44px;
  padding: 0 12px;
}

.providerRequestForm textarea {
  resize: vertical;
  padding: 12px;
}

.providerClaimForm {
  align-content: start;
}

.providerClaimActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.providerRequestMessage {
  min-height: 20px;
  color: #111;
  font-size: 13px;
  font-weight: 700;
}

.providerRequestMessage.error {
  color: #b42318;
}

.providerProfileGrid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  border-bottom: 1px solid var(--line);
}

.providerProfileMain {
  border-right: 1px solid var(--line);
}

.providerProfileBlock,
.providerProfileAside section {
  display: grid;
  gap: 16px;
  padding: 40px 48px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
  overflow: hidden;
}

.providerProfileBlock:last-child,
.providerProfileAside section:last-child,
.providerProfileBlock:has(+ [hidden]),
.providerProfileAside section:has(+ [hidden]) {
  border-bottom: 0;
}

.providerProfileBlock p {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.65;
}

.providerSubEyebrow {
  margin-top: 12px;
}

.providerBlockHeader {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.providerBlockHeader a,
.providerInlineLink {
  justify-self: start;
  border-bottom: 2px solid #111;
  color: #111;
  min-height: 0;
  padding: 0 0 3px;
  font-size: 12.5px;
}

.providerStoryRow {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.providerStoryRow:last-child {
  border-bottom: 0;
}

.providerStoryThumb {
  height: 72px;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(45deg, #f4f4f4 0, #f4f4f4 10px, #ececec 10px, #ececec 20px);
  color: #999;
  font: 400 10px ui-monospace, Menlo, monospace;
}

.providerStoryRow h4,
.providerEventCard h4 {
  margin: 0;
  color: #111;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.providerStoryRow p,
.providerEventCard p {
  margin: 8px 0 0;
  color: #999;
  font-size: 12px;
  line-height: 1.4;
}

.providerFacts {
  display: grid;
  gap: 16px;
}

.providerFactRow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #999;
  font-size: 13.5px;
}

.providerFactRow strong,
.providerFactRow a {
  color: #111;
  font-weight: 700;
  text-align: right;
}

.providerFactRow a {
  border-bottom: 1.5px solid #111;
}

.providerEventCard {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.providerEventLink {
  color: inherit;
  text-decoration: none;
}

.providerEventDate {
  flex: 0 0 auto;
  display: grid;
  gap: 3px;
}

.providerEventDate strong {
  color: #111;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.providerEventDate span,
.providerEventCard span {
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.providerEventCard > div:last-child > span {
  display: inline-block;
  margin-top: 10px;
  border: 1px solid #111;
  padding: 3px 8px;
  color: #111;
}

.providerIntroFooter {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 28px 48px;
  color: #999;
  font-size: 13px;
}

.providerIntroFooter a {
  flex: 0 0 auto;
  border-bottom: 2px solid #111;
  padding-bottom: 3px;
  color: #111;
  font-weight: 800;
}

.workflowPage {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 48px;
  gap: 0;
}

.workflowPanel {
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
  padding: 40px 48px;
}

.providerAccessHero {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.75fr);
  padding: 52px 48px 46px;
  border: 0;
  border-bottom: 1px solid #111;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.providerAccessHero h1 {
  color: #111;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.providerAccessHero p {
  color: #555;
}

.trustBadgeRow li {
  color: #111;
}

.trustBadgeRow li::before {
  border-radius: 0;
  background: var(--blue);
}

.providerAccessCard {
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.providerAccessCard strong {
  color: #111;
}

.aboutGrid {
  gap: 0;
}

.aboutCard {
  gap: 12px;
  padding: 0 28px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.aboutCard:first-child {
  padding-left: 0;
  border-left: 0;
}

.aboutCard:last-child {
  padding-right: 0;
}

.aboutCard strong {
  color: #111;
}

.aboutCardIcon {
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
}

.providerAccessUnavailable {
  background: #fff;
}

.providerAccessUnavailable h2 {
  color: #111;
}

.faqList {
  gap: 0;
}

.faqItem {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 4px 0;
}

.faqItem:last-child {
  border-bottom: 0;
}

.faqItem summary {
  color: #111;
}

.faqItem p {
  margin-left: 18px;
  color: #555;
}

.workflowForm input,
.workflowForm textarea {
  border: 1px solid #111;
  border-radius: 0;
  box-shadow: none;
}

.workflowFooter {
  padding: 28px 48px 44px;
  border-top: 1px solid var(--line);
  color: #999;
}

@media (max-width: 860px) {
  .aboutCard {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
  }

  .aboutCard:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .providerAccessHero {
    grid-template-columns: 1fr;
  }
}

.detailTabs {
  border-bottom-color: #111;
}

.detailTabs button {
  color: #777;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detailTabs button.active {
  color: #111;
  border-bottom-color: var(--blue);
}

.editableEntry,
.activityItem,
.noteItem,
.evidenceItem,
.qualitySummary,
.emptyResults,
.adminPanel,
.adminStats article,
.adminTableRow,
.adminLoginCard,
.workspaceCard,
.staticPanel,
.storyCard,
.eventRow,
.signalRow {
  border-radius: 0;
  box-shadow: none;
}

.staticPage {
  padding-bottom: 0;
  background: #fff;
}

.staticShell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.staticHero {
  display: grid;
}

.staticHero aside {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: end;
  gap: 8px 12px;
  padding: 20px;
  border: 1px solid #111;
}

.staticHero aside strong {
  color: #111;
  font-size: 34px;
  line-height: 1;
}

.staticHero aside span {
  align-self: center;
  color: #777;
  font-weight: 700;
}

.staticGrid {
  display: grid;
  gap: 0;
  border: 0;
  border-top: 0;
  background: #fff;
}

.twoColumnStatic {
  grid-template-columns: minmax(0, 1fr) 430px;
}

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

.staticPanel,
.workspaceCard {
  padding: 34px 48px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
}

.staticPanel:last-child,
.workspaceCard:last-child {
  border-right: 0;
}

.storyList,
.eventList,
.signalList {
  display: grid;
  gap: 0;
}

.storyCard,
.eventRow,
.signalRow {
  display: grid;
  gap: 16px;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.storyMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #777;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.storyCard h3,
.eventRow h3,
.signalRow h3,
.workspaceCard h2 {
  margin: 0;
  color: #111;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.storyFooter,
.miniProvider,
.eventRow,
.signalRow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.storyFooter {
  justify-content: space-between;
  color: #111;
}

.miniProviderButton {
  border: 0;
  background: transparent;
  color: #111;
  font-weight: 800;
}

.miniProvider .logoBox {
  width: 34px;
  height: 34px;
}

.miniInitials {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  background: #f2f2f2;
  font-weight: 800;
}

.eventRow,
.signalRow {
  align-items: start;
}

.eventRow time,
.signalRow time {
  display: grid;
  place-items: center;
  width: 66px;
  min-width: 66px;
  height: 66px;
  border: 1px solid #111;
}

.eventRow time strong,
.signalRow time strong {
  font-size: 24px;
  line-height: 1;
}

.eventRow time span,
.signalRow time span,
.signalType {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eventRow p,
.signalRow p,
.signalRow small,
.workspaceCard p {
  margin: 7px 0 0;
  color: #555;
  line-height: 1.5;
}

.homeNavCard {
  display: block;
  color: #111;
  text-align: left;
  cursor: pointer;
}

.homeNavCard:hover,
.homeNavCard:focus-visible {
  background: #fafafa;
}

.heroCtaRow {
  margin-top: 22px;
}

.logoMarqueeSection {
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.logoMarqueeSection .panelHeader {
  padding: 0 48px;
}

.logoMarquee {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.logoMarqueeTrack {
  display: flex;
  width: max-content;
  animation: logoMarquee 42s linear infinite;
}

.logoMarquee:hover .logoMarqueeTrack {
  animation-play-state: paused;
}

@keyframes logoMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.featuredLogoItem {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  width: 240px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
  background: #fff;
  color: #111;
  text-align: left;
  cursor: pointer;
}

.featuredLogoItem:hover,
.featuredLogoItem:focus-visible {
  background: #fafafa;
}

.featuredLogoItem span {
  overflow: hidden;
  font-weight: 700;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homeExploreSection {
  padding: 48px;
  border-top: 1px solid var(--line);
}

.homeExploreGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.homeExploreCard {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px;
  border: 0;
  background: #fff;
  color: #111;
  text-align: left;
  cursor: pointer;
}

.homeExploreCard:hover,
.homeExploreCard:focus-visible {
  background: #fafafa;
}

.homeExploreIcon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #111;
  color: #111;
}

.homeExploreIcon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homeExploreTitleRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.homeExploreTitleRow h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.homeExploreCard p {
  margin: 0;
  color: #555;
  font-size: 13.5px;
  line-height: 1.55;
}

.homeExploreArrow {
  margin-top: 10px;
  color: #111;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 160ms ease;
}

.homeExploreCard:hover .homeExploreArrow {
  transform: translateX(4px);
}

.homeClosingCta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 48px;
  border-top: 1px solid #111;
  background: #111;
}

.homeClosingCta .eyebrow {
  color: #999;
}

.homeClosingCta h2 {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.homeClosingCta p {
  margin: 8px 0 0;
  color: #bbb;
  font-size: 14px;
}

.homeClosingCta .primaryAction {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.homePage {
  min-height: 0;
}

@media (max-width: 860px) {
  .homeExploreGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .homeExploreGrid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logoMarqueeTrack {
    animation: none;
  }
}

.signalRow {
  grid-template-columns: 66px minmax(0, 1fr) 190px;
}

.signalRow > strong {
  justify-self: end;
  color: #111;
}

.adminBody {
  background: var(--paper);
}

.adminApp {
  background: #fff;
}

.adminSidebar,
.adminTopbar,
.adminPanel,
.adminStats article,
.adminTableRow,
.adminLoginCard {
  background: #fff;
  border-color: var(--line);
}

.adminSidebar {
  border-right-color: #111;
}

.adminSideNav button,
.publicSiteLink,
.sidebarToggle {
  border-radius: 0;
}

.adminSideNav button.active {
  background: #111;
  color: #fff;
}

.adminSideNav button.active svg {
  color: #fff;
}

.adminStats strong,
.adminHeader h1,
.adminPanel h2 {
  color: #111;
}

.adminBody {
  background: #fff;
  color: #111;
  font-family: Inter, Arial, Helvetica, sans-serif;
  --admin-line: #d8d8d4;
  --admin-line-strong: #b9b9b2;
  --admin-red: #c8102e;
  --admin-red-dark: #8f0b20;
  --admin-soft-red: #fff1f3;
}

.adminLoginScreen {
  background: #fff;
}

.adminLoginCard {
  border: 1px solid #111;
  border-radius: 0;
  box-shadow: none;
}

.adminApp {
  min-height: 100vh;
  grid-template-columns: 238px minmax(0, 1fr);
  background: #fff;
}

.adminSidebar {
  padding: 22px 14px;
  border-right: 1px solid var(--admin-line-strong);
  background: #fff;
}

.adminBrand {
  gap: 8px;
}

.adminBrand .cloudLogo,
.adminBrandText {
  height: 40px;
  display: inline-grid;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.adminBrandText {
  padding: 0 11px;
  border: 1px solid var(--admin-red);
  color: var(--admin-red);
  text-transform: uppercase;
}

.adminSideNav {
  gap: 8px;
}

.adminSideNav button,
.publicSiteLink,
.sidebarToggle {
  min-height: 44px;
  padding: 0 12px;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 13px;
}

.adminSideNav svg,
.publicSiteLink svg,
.sidebarToggle svg,
.iconButtonText svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.adminSideNav button:hover,
.publicSiteLink:hover,
.sidebarToggle:hover {
  border-color: var(--admin-red);
  background: #f6f6f4;
}

.adminSideNav button.active {
  border-color: var(--admin-red);
  background: var(--admin-red);
  color: #fff;
}

.adminMain {
  min-width: 0;
  background: #fff;
}

.adminTopbar {
  min-height: 76px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--admin-line-strong);
  background: #fff;
}

.adminTopbarActions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.adminTopbarActions > span {
  min-width: 0;
  padding-right: 8px;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adminSection {
  padding: 28px;
}

.adminStats {
  gap: 0;
  border-top: 1px solid var(--admin-line-strong);
  border-left: 1px solid var(--admin-line-strong);
}

.adminStats article {
  min-height: 134px;
  padding: 22px;
  border: 0;
  border-right: 1px solid var(--admin-line-strong);
  border-bottom: 1px solid var(--admin-line-strong);
  border-radius: 0;
  box-shadow: none;
}

.adminStats article svg {
  color: var(--admin-red);
}

.adminStats span {
  color: #555;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.adminStats strong {
  font-size: 42px;
  letter-spacing: 0;
}

.adminTwoColumn {
  gap: 0;
  border-left: 1px solid var(--admin-line-strong);
}

.adminTwoColumn > .adminPanel {
  border-left: 0;
}

.adminPanel {
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--admin-line-strong);
  border-radius: 0;
  box-shadow: none;
}

.panelHeader {
  align-items: center;
}

.panelHeader h2 {
  color: #111;
  font-size: 22px;
  letter-spacing: 0;
}

.panelHeader p {
  color: #555;
  font-size: 14px;
}

.adminFilterBar,
.bulkActionBar {
  padding: 14px;
  border: 1px solid var(--admin-line);
  border-radius: 0;
  background: #fff;
}

.adminTable {
  gap: 0;
  border-top: 1px solid var(--admin-line);
  border-left: 1px solid var(--admin-line);
}

.adminTableHeader {
  padding: 11px 14px;
  border-right: 1px solid var(--admin-line);
  border-bottom: 1px solid var(--admin-line);
  background: #f6f6f4;
  color: #555;
  letter-spacing: 0;
}

.adminTableRow {
  min-height: 76px;
  padding: 14px;
  border: 0;
  border-right: 1px solid var(--admin-line);
  border-bottom: 1px solid var(--admin-line);
  border-radius: 0;
  background: #fff;
}

.adminTableRow:hover {
  background: #fafafa;
}

.adminLowConfidenceRow {
  background: var(--admin-soft-red);
  box-shadow: inset 5px 0 0 var(--admin-red);
}

.adminLowConfidenceRow:hover {
  background: #fff0f0;
}

.adminIssueChip {
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--admin-red);
  border-radius: 999px;
  background: #fff0f0;
  color: var(--admin-red-dark);
}

.adminSampleBadge {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  padding: 5px 10px;
  border: 1px dashed var(--admin-line-strong);
  border-radius: 999px;
  color: #777;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.statusPill {
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0;
}

.statusPill-scraped,
.statusPill-in_review,
.statusPill-removal_requested {
  border-color: #c1121f;
  background: #fff0f0;
  color: var(--admin-red-dark);
}

.statusPill-outreach_pending,
.statusPill-outreach_active,
.statusPill-unclaimed {
  border-color: #b77b00;
  background: #fff8e8;
  color: #7d4b00;
}

.adminProviderIdentity {
  gap: 12px;
}

.adminProviderLogo,
.logoFallback {
  border-radius: 0;
}

.adminCellAction {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.adminTagsTable .adminCellAction {
  flex-wrap: wrap;
  gap: 8px;
}

.tagSummaryGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--admin-line);
  border-left: 1px solid var(--admin-line);
}

.tagSummaryGrid article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-right: 1px solid var(--admin-line);
  border-bottom: 1px solid var(--admin-line);
  background: #fafafa;
}

.tagSummaryGrid span {
  min-width: 0;
  color: #555;
  font-size: 11px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
}

.tagSummaryGrid strong {
  flex: 0 0 auto;
  color: var(--admin-red);
  font-size: 24px;
  line-height: 1;
}

.adminTagsTable {
  border-top: 0;
}

.adminTagsTable .adminTableHeader,
.adminTagsTable .adminTableRow {
  grid-template-columns: minmax(180px, 1fr) minmax(130px, 0.42fr) minmax(180px, 0.82fr) minmax(200px, 0.9fr) minmax(250px, 0.95fr);
}

.adminTagRow {
  min-height: 92px;
  align-items: stretch;
}

.adminTagMetaCell {
  align-content: center;
  gap: 8px;
}

.adminTagInlineField {
  align-content: center;
  gap: 6px;
  margin: 0;
}

.adminTagGroupHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-right: 1px solid var(--admin-line);
  border-bottom: 1px solid var(--admin-line);
  background: #f6f6f4;
}

.adminTagGroupTitle {
  color: #111;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.adminTagGroupCount {
  color: #777;
  font-size: 11px;
  font-weight: 700;
}

.adminTagCandidateRow {
  box-shadow: inset 4px 0 0 var(--admin-red);
}

.adminTagsTable .adminCellAction {
  align-content: center;
  justify-content: flex-start;
}

.adminBody .secondaryAction,
.adminBody .primaryAction,
.adminForm button[type="submit"],
.compactAction,
.iconButtonText {
  min-height: 36px;
  padding: 0 20px;
  gap: 8px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.compactAction {
  min-height: 34px;
  padding: 0 18px;
}

.adminPublishedTable .compactAction {
  border-radius: 0;
}

.adminPublishedActions {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.adminPublishedActions > .compactAction:first-child {
  border-color: var(--admin-red);
  background: var(--admin-red);
  color: #fff;
}

.adminPublishedActions > .compactAction:first-child:hover {
  border-color: var(--admin-red-dark);
  background: var(--admin-red-dark);
  color: #fff;
}

.adminActionMenu {
  position: relative;
  flex: 0 0 auto;
}

.adminActionMenu summary {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid var(--admin-line-strong);
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  list-style: none;
  white-space: nowrap;
  cursor: pointer;
}

.adminActionMenu summary svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: currentColor;
}

.adminActionMenu summary span {
  display: inline;
  white-space: nowrap;
}

.adminActionMenu summary::-webkit-details-marker {
  display: none;
}

.adminActionMenu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.adminActionMenu[open] summary {
  border-color: var(--admin-red);
}

.adminActionMenuPanel {
  position: absolute;
  z-index: 10;
  right: 0;
  top: calc(100% + 6px);
  display: grid;
  min-width: 190px;
  padding: 6px;
  border: 1px solid var(--admin-line-strong);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.adminActionMenuPanel .compactAction {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  border: 0;
  white-space: nowrap;
}

.adminActionMenuPanel .compactAction svg {
  flex: 0 0 15px;
}

.adminActionMenuPanel .compactAction span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.adminActionMenuPanel .compactAction:hover {
  background: var(--admin-soft-red);
}

.adminBody .primaryAction,
.adminForm button[type="submit"] {
  border-color: var(--admin-red);
  background: var(--admin-red);
  color: #fff;
}

.adminBody .secondaryAction {
  border-color: var(--admin-line-strong);
  background: #fff;
  color: #111;
}

.adminBody .secondaryAction:hover,
.compactAction:hover {
  background: #f6f6f4;
}

.adminDialog::backdrop {
  background: rgba(0, 0, 0, 0.42);
}

.adminDialog {
  width: min(1220px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  overflow: hidden;
  border-radius: 0;
}

.adminDialogCard {
  width: 100%;
  max-width: 100%;
  max-height: calc(100vh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--admin-line-strong);
  border-radius: 0;
  box-shadow: none;
}

.adminDialogCard > * {
  min-width: 0;
}

.emailPreviewDialog::backdrop {
  background: rgba(24, 24, 24, 0.5);
}

.emailPreviewDialog {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(24, 24, 24, 0.3);
}

.emailPreviewCard {
  display: grid;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
}

.emailPreviewToolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--admin-line);
  background: #f6f6f4;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
}

.emailPreviewChrome {
  padding: 18px 24px;
  border-bottom: 1px solid var(--admin-line);
}

.emailPreviewMeta {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--muted);
}

.emailPreviewMeta strong {
  display: inline-block;
  width: 42px;
  color: #111;
}

.emailPreviewSubject {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

.emailPreviewBody {
  padding: 24px;
  font-size: 14px;
  line-height: 1.65;
  color: #222;
}

.emailPreviewBody p {
  margin: 0 0 16px;
  white-space: pre-wrap;
}

.emailPreviewBody p:last-child {
  margin-bottom: 0;
}

.outreachComposeDialog::backdrop {
  background: rgba(24, 24, 24, 0.5);
}

.outreachComposeDialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(24, 24, 24, 0.3);
}

.outreachComposeCard {
  display: grid;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #f2f2f0;
}

.outreachComposeToolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--admin-line);
  background: #fff;
}

.outreachComposeIdentity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.outreachComposeIdentity > div {
  display: grid;
  min-width: 0;
}

.outreachComposeIdentity strong {
  font-size: 15px;
  color: #111;
}

.outreachComposeIdentity > div > span {
  font-size: 12px;
  color: var(--muted);
}

.outreachComposeMessageList {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.outreachComposeMessage {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--admin-line-strong);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(24, 24, 24, 0.05);
}

.outreachComposeMessageHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #fafaf8;
  border-bottom: 1px solid var(--admin-line);
}

.outreachComposeMessageLabel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.outreachComposeMessageLabel strong {
  font-size: 13px;
  color: #111;
}

.outreachComposeField {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--admin-line);
  font-size: 13px;
}

.outreachComposeField > span:first-child {
  color: var(--muted);
  font-weight: 700;
}

.outreachComposeToField > span:last-child {
  color: #111;
}

.outreachComposeField input[type="text"] {
  border: 0;
  padding: 4px 0;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  background: transparent;
}

.outreachComposeField input[type="text"]:focus {
  outline: none;
  box-shadow: none;
}

.outreachComposeBodyField {
  grid-template-columns: 1fr;
  padding: 0;
  border-bottom: 0;
}

.outreachComposeBodyField > span {
  display: none;
}

.outreachComposeBodyField textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 18px;
  min-height: 200px;
  font-size: 14px;
  line-height: 1.6;
  color: #222;
  background: transparent;
  resize: vertical;
}

.outreachComposeBodyField textarea:focus {
  outline: none;
  box-shadow: none;
}

.outreachComposeField input[readonly],
.outreachComposeBodyField textarea[readonly] {
  background: #fafaf8;
  color: var(--muted);
}

.outreachComposeFooter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  background: #fafaf8;
}

.adminEditGrid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--admin-line);
}

.adminEditSection .adminEditGrid {
  padding-bottom: 0;
  border-bottom: 0;
}

.adminEditSectionTitle {
  display: grid;
  gap: 4px;
  padding: 18px 0 4px;
  border-top: 1px solid var(--admin-line-strong);
}

.adminEditSectionTitle:first-of-type {
  padding-top: 4px;
  border-top: 0;
}

.adminEditSectionTitle span {
  color: #111;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.adminEditSectionTitle p {
  margin: 0;
  color: #666;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.adminDialogCard label,
.adminFilterBar label {
  letter-spacing: 0;
}

.adminDialogCard label {
  gap: 8px;
}

.adminDialogCard input,
.adminDialogCard select,
.adminDialogCard textarea,
.adminFilterBar input,
.adminFilterBar select,
.adminTagsTable input,
.adminTagsTable select {
  border-color: var(--admin-line-strong);
  border-radius: 0;
}

.guardrailNotice {
  align-self: end;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--admin-red);
  background: var(--admin-soft-red);
  color: var(--admin-red-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.structuredEditGroup {
  min-width: 0;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--admin-line);
  background: #fff;
}

.structuredEditGroup:has(#profileEditQualityMissing) {
  border-left: 6px solid var(--admin-red);
  background: #fffafa;
}

.structuredEditHeader h3 {
  color: #111;
  font-size: 15px;
  letter-spacing: 0;
}

.structuredEditHeader p {
  margin: 0;
  color: #666;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.reviewerFeedbackControl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.reviewerFeedbackControl legend {
  width: 100%;
  margin-bottom: 2px;
  color: #111;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.reviewerFeedbackControl label {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--admin-line-strong);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

.reviewerFeedbackControl input {
  width: 14px;
  min-height: 14px;
  accent-color: var(--admin-red);
}

.tagChip {
  border-radius: 0;
}

.adminDialogCard > label,
.tagPicker {
  min-width: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--admin-line);
}

.adminDialogCard textarea {
  max-width: 100%;
}

.tagPickerList {
  border-color: var(--admin-line-strong);
  border-radius: 0;
}

.structuredEntryRow {
  min-width: 0;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
  gap: 14px;
  padding: 16px;
  border-color: var(--admin-line);
  border-radius: 0;
  background: #fafafa;
}

.structuredEntryRow > * {
  min-width: 0;
}

.structuredEntryRemove {
  grid-column: 1 / -1;
  justify-self: end;
  min-height: 34px;
}

.outreachContactList {
  display: grid;
  gap: 14px;
}

.managedSuccessStoryList,
.managedEventList,
.managedSignalList {
  display: grid;
  gap: 14px;
}

.managedSuccessStoryRow,
.managedEventRow,
.managedSignalRow {
  display: grid;
  min-width: 0;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--admin-line);
  background: #fafafa;
}

.managedSuccessStoryHeader,
.managedSuccessStoryGrid,
.managedEventHeader,
.managedEventGrid,
.managedSignalHeader,
.managedSignalGrid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 14px;
  align-items: end;
}

.managedStoryFeaturedControl,
.managedEventFlagControl {
  min-height: 42px;
}

.managedSuccessStoryHeader .secondaryAction,
.managedEventHeader .secondaryAction,
.managedSignalHeader .secondaryAction {
  min-height: 34px;
}

.outreachContactRow {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--admin-line);
  background: #fafafa;
}

.outreachContactRow > * {
  min-width: 0;
}

.outreachPrimaryControl {
  align-self: end;
  min-height: 42px;
}

.outreachContactRemove {
  align-self: end;
  justify-self: end;
  min-height: 34px;
}

.outreachMessageList {
  display: grid;
  gap: 14px;
}

.outreachMessageRow {
  display: grid;
  min-width: 0;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--admin-line);
  background: #fafafa;
}

.outreachMessageHeader {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.outreachMessageHeader strong,
.outreachMessageHeader span {
  display: block;
}

.outreachMessageHeader strong {
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.outreachMessageHeader span {
  color: #666;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.outreachMessageControls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.outreachMessageControls select {
  min-height: 34px;
}

.outreachAccessLink {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--admin-line);
  background: #fff;
}

.outreachAccessLink span {
  color: #666;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.outreachAccessLink a {
  overflow-wrap: anywhere;
  color: var(--admin-red);
  font-weight: 800;
}

.profileActivityLog {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--admin-line);
}

.profileActivityItem {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr) minmax(160px, 0.35fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--admin-line);
}

.profileActivityItem div,
.profileActivityItem p,
.profileActivityItem small {
  min-width: 0;
}

.profileActivityItem strong,
.profileActivityItem span,
.profileActivityItem small {
  display: block;
}

.profileActivityItem strong {
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.profileActivityItem span,
.profileActivityItem small {
  color: #666;
  font-size: 12px;
  font-weight: 700;
}

.profileActivityItem p {
  margin: 0;
  color: #333;
  font-size: 13px;
  line-height: 1.4;
}

.adminDialogActions {
  position: sticky;
  bottom: -28px;
  margin: 4px -28px -28px;
  padding: 16px 28px;
  border-top: 1px solid var(--admin-line-strong);
  background: #fff;
}

.adminDialogActions .primaryAction {
  min-height: 40px;
  padding-inline: 24px;
}

@media (max-width: 1200px) {
  #metricsSummary.metricsSummaryGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .adminEditGrid,
  .adminStats,
  .adminTwoColumn,
  .tagSummaryGrid,
  #metricsSummary.metricsSummaryGrid {
    grid-template-columns: 1fr;
  }

  .adminTwoColumn {
    border-left: 0;
  }

  .adminSection {
    padding: 20px;
  }

  .adminTagsTable .adminTableHeader {
    display: none;
  }

  .adminTagsTable .adminTableRow {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 1100px) {
  .adminEditGrid,
  .structuredEntryRow,
  .managedSuccessStoryHeader,
  .managedSuccessStoryGrid,
  .managedEventHeader,
  .managedEventGrid,
  .managedSignalHeader,
  .managedSignalGrid,
  .outreachContactRow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .outreachMessageHeader {
    align-items: stretch;
    flex-direction: column;
  }

  .outreachMessageControls {
    justify-content: flex-start;
  }

  .adminDialogCard {
    width: 100%;
    max-width: 100%;
    padding: 18px;
  }

  .adminDialogCard .panelHeader,
  .adminTopbarActions {
    align-items: stretch;
  }

  .adminEditGrid,
  .structuredEntryRow {
    grid-template-columns: 1fr;
  }

  .adminDialogActions {
    bottom: -18px;
    margin: 4px -18px -18px;
    padding: 12px 18px;
  }
}

@media (max-width: 1160px) {
  .appHeader,
  .searchHero,
  .staticHero,
  .marketplace,
  .staticShell {
    max-width: 100vw;
  }

  .profileCard {
    grid-template-columns: 1fr;
  }

  .cardStats {
    grid-column: auto;
    grid-row: auto;
  }

  .cardText,
  .cardTags {
    grid-column: auto;
    grid-row: auto;
  }

  .cardStats {
    justify-items: start;
    text-align: left;
  }

  .twoColumnStatic,
  .threeColumnStatic,
  .profileMasthead,
  .providerProfileGrid,
  .providerProfileHero {
    grid-template-columns: 1fr;
  }

  .providerProfileMain {
    border-right: 0;
  }

  .providerProfileAside {
    border-top: 1px solid var(--line);
  }

  .staticPanel,
  .workspaceCard {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .appHeader {
    margin-top: 0;
    padding: 18px 20px;
    border-left: 0;
    border-right: 0;
  }

  .topNav {
    justify-content: start;
    grid-template-columns: repeat(3, minmax(0, max-content));
    overflow-x: auto;
  }

  .searchHero,
  .staticHero,
  .marketplace,
  .staticShell {
    width: 100%;
    max-width: 100vw;
    border-left: 0;
    border-right: 0;
  }

  .searchHero,
  .staticHero {
    padding: 36px 20px;
  }

  .marketplace {
    display: block;
  }

  .listingArea,
  .discoveryRail,
  .staticPanel,
  .workspaceCard,
  .listingDetail {
    padding-left: 20px;
    padding-right: 20px;
  }

  .profileCard,
  .resultsToolbar,
  .profileList,
  .providerGrid,
  .detail,
  .searchHero > *,
  .marketplace > *,
  .heroSearch,
  .filterDrawerButton,
  .filterSearch,
  .filterGroup,
  .activeFilters {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .listingArea {
    width: 100vw;
    max-width: 100vw;
  }

  .searchHero h1 {
    width: auto;
    max-width: 100%;
    font-size: 38px;
    overflow-wrap: normal;
  }

  .staticHero h1 {
    font-size: 38px;
  }

  .searchHero p,
  .staticHero p,
  .cardText,
  .cardMeta,
  .cardStats,
  .storyCard h3,
  .eventRow h3,
  .signalRow h3,
  .workspaceCard h2 {
    overflow-wrap: anywhere;
  }

  .searchHero p,
  .staticHero p,
  .cardText,
  .cardStats {
    max-width: calc(100vw - 70px);
  }

  .cardStats {
    display: grid;
    gap: 4px;
  }

  .cardTags,
  .chips {
    max-width: 100%;
    overflow: hidden;
  }

  .profileCard {
    overflow: hidden;
  }

  .cardText,
  .cardMeta,
  .cardStats {
    display: block;
    max-width: 100%;
    white-space: normal;
  }

  .cardTags .chip:nth-child(n + 4) {
    display: none;
  }

  .providerHeader h2 {
    font-size: 42px;
  }

  .providerProfileHero,
  .providerProfileBlock,
  .providerProfileAside section,
  .providerRequestPanel,
  .providerIntroFooter,
  .profileBackBar {
    width: 100%;
    max-width: 100vw;
    padding-left: 20px;
    padding-right: 20px;
  }

  .providerProfileHero {
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .providerHeaderIdentity {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
  }

  .providerHeaderIdentity .logoLarge {
    width: 56px;
    height: 56px;
  }

  .providerHeaderIdentity h1 {
    font-size: 38px;
  }

  .providerStoryRow {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
  }

  .providerProfileBlock .chips {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    width: calc(100vw - 90px);
    max-width: calc(100vw - 90px);
    overflow: visible;
  }

  .providerProfileBlock .chip:nth-child(n + 7) {
    display: none;
  }

  .providerProfileBlock .chip {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .providerBlockHeader {
    display: grid;
    justify-content: start;
    gap: 8px;
  }

  .providerProfileBlock > p {
    max-width: calc(100vw - 90px);
    overflow-wrap: anywhere;
  }

  .providerStoryRow {
    width: calc(100vw - 90px);
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .providerStoryThumb {
    height: 64px;
  }

  .providerStoryRow h4,
  .providerStoryRow p {
    max-width: calc(100vw - 180px);
    overflow-wrap: anywhere;
  }

  .providerIntroFooter {
    display: grid;
  }

  .providerRequestPanel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .providerClaimActions,
  .providerActions {
    display: grid;
  }

  .signalRow {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .signalRow > strong {
    grid-column: 2;
    justify-self: start;
  }

  .adminApp.sidebarCollapsed,
  .adminApp {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .searchHero h1,
  .searchHero p,
  .heroSearch,
  .filterDrawerButton,
  .filterSearch,
  .filterGroup,
  .activeFilters,
  .resultsToolbar,
  .profileList,
  .providerGrid,
  .detail,
  .workflowPage,
  .providerAccessHero,
  .providerAccessCard,
  .trustBadgeRow {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }
}

.loadingSpinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 80px 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.loadingSpinnerRing {
  width: 32px;
  height: 32px;
  border: 3px solid var(--blue-soft);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: loadingSpinnerRotate 0.75s linear infinite;
}

@keyframes loadingSpinnerRotate {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loadingSpinnerRing {
    animation-duration: 3s;
  }
}

.requestStatusNotice {
  padding: 16px 18px;
  border: 1px solid var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
