.ps-hero-wrap {
  background: #f5f6f7;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -1.5rem;
  padding-left: max(1rem, calc(50vw - 550px));
  padding-right: max(1rem, calc(50vw - 550px));
  padding-top: 1.5rem;
  margin-bottom: 96px;
}

.ps-page {
  --ps-orange: #ff682c;
  --ps-blue: #5894a7;
  --ps-brand-blue: #046b99;
  --ps-yellow: #ffc815;
  --ps-ink: #0b1020;
  --ps-muted: #6b7280;
  --ps-border: rgba(15, 23, 42, 0.08);
  --ps-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
  --ps-shadow-soft: 0 6px 16px rgba(2, 6, 23, 0.06);
  min-height: 100vh;
  background: #ffffff;
  color: var(--ps-ink);
  font-family: "Public Sans", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "Liberation Sans", sans-serif;
}

.ps-container {
  max-width: 1100px;
}

.ps-header-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--ps-border);
  background: #ffffff;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ps-ink);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.ps-header-btn:hover {
  border-color: rgba(255, 104, 44, 0.28);
  background: rgba(255, 104, 44, 0.05);
  color: var(--ps-ink);
}

.ps-logo {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ps-orange), #ff7b2f);
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.ps-header-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-right: 12px;
}

.ps-header-brand img {
  width: min(100%, 240px);
  height: auto;
  display: block;
}

@media (max-width: 576px) {
  .ps-header-brand img {
    width: min(100%, 165px);
  }
}

.ps-hero-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(1.68rem, 2.72vw, 2.4rem);
  margin: 14px 0 8px 0;
}

.ps-highlight {
  color: var(--ps-orange);
}

.ps-hero-sub {
  color: var(--ps-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  max-width: 55ch;
  margin-bottom: 0;
}

.ps-header-stack {
  margin-top: 16px;
  margin-bottom: 24px;
}

.ps-card {
  border: 1px solid var(--ps-border);
  border-radius: 26px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ps-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.ps-card-link:focus-visible .ps-card,
.ps-card-link:hover .ps-card {
  transform: translateY(-3px);
  box-shadow: var(--ps-shadow-soft);
  border-color: rgba(255, 104, 44, 0.22);
}

.ps-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ps-shadow-soft);
  border-color: rgba(255, 104, 44, 0.22);
}

.ps-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
}

.ps-card-body {
  padding: 18px 18px 16px 18px;
}

.ps-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  border: none;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.10);
}

.ps-badge--create {
  background: var(--ps-orange);
}

.ps-badge--explore {
  background: var(--ps-blue);
}

.ps-badge--inspire {
  background: var(--ps-yellow);
}

.ps-badge--mentor {
  background: #e8521a;
  color: #fff;
}

.ps-card-title {
  margin: 10px 0 6px 0;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ps-ink);
}

.ps-card-text {
  margin: 0 0 14px 0;
  color: var(--ps-muted);
}

.ps-btn {
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.ps-toolbar .ps-btn {
  border-radius: 12px;
  padding: 9px 11px;
  gap: 8px;
  font-size: 0.84rem;
}

.ps-btn--primary {
  background: linear-gradient(135deg, var(--ps-orange), #ff7b2f);
  border: none;
  color: #fff;
  box-shadow: none;
}

.ps-btn--primary:hover {
  color: #fff;
  filter: brightness(0.98);
}

.ps-btn--dark {
  background: linear-gradient(180deg, #0b1020, #0d1b2a);
  border: none;
  color: #fff;
  box-shadow: none;
}

.ps-btn--dark:hover {
  color: #fff;
  filter: brightness(1.03);
}

.ps-btn--outline {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(88, 148, 167, 0.35);
  color: var(--ps-ink);
}

.ps-btn--outline:hover {
  border-color: rgba(255, 104, 44, 0.28);
  color: var(--ps-ink);
}

.ps-btn--sm {
  white-space: nowrap;
  padding: 10px 12px;
  font-size: 0.92rem;
  line-height: 1.1;
}

@media (max-width: 576px) {
  .ps-btn--sm {
    padding: 8px 10px;
    font-size: 0.84rem;
  }
}

.ps-back {
  color: var(--ps-ink);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ps-back:hover {
  color: var(--ps-orange);
}

.ps-form-card {
  border: 1px solid var(--ps-border);
  border-radius: 24px;
  padding: 24px;
  background: #ffffff;
}

.ps-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.ps-field--full {
  grid-column: span 2;
}

.ps-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ps-field--score {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ps-field--score .ps-label {
  margin: 0;
  flex: 1 1 auto;
}

.ps-field--score .ps-input {
  width: 64px;
  padding: 8px 10px;
  text-align: center;
}

.ps-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ps-ink);
}

.ps-required {
  color: var(--ps-orange);
  margin-left: 4px;
  font-weight: 600;
}

.ps-input {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  padding: 12px 14px;
  background: #ffffff;
  font-size: 0.98rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ps-hidden {
  display: none;
}

#id_publico_objetivo {
  display: none;
}

.ps-input:focus {
  outline: none;
  border-color: rgba(255, 104, 44, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 104, 44, 0.14);
}

.ps-textarea {
  min-height: 120px;
  resize: vertical;
}

.ps-textarea--compact {
  min-height: 80px;
}

.ps-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%230b1020' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.ps-helper {
  color: var(--ps-muted);
  font-size: 0.85rem;
}

.ps-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ps-link-input {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
}

.ps-link-input .ps-input {
  flex: 1 1 auto;
  min-width: 0;
}

.ps-link-input .ps-btn {
  white-space: nowrap;
}

.ps-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.03);
  font-size: 0.9rem;
}

.ps-link-text {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-link-remove {
  border: 1px solid rgba(255, 104, 44, 0.35);
  background: #ffffff;
  color: var(--ps-orange);
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ps-link-remove:hover {
  color: #e45722;
  border-color: rgba(255, 104, 44, 0.6);
}

.ps-inline-link {
  color: var(--ps-orange);
  font-weight: 700;
  text-decoration: none;
}

.ps-inline-link:hover {
  color: #e45722;
  text-decoration: underline;
}

.ps-error {
  color: #d0342c;
  font-size: 0.85rem;
  margin-top: 6px;
}

.ps-check {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.ps-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--ps-orange);
}

.ps-form-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ps-alerts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 18px 0;
}

.ps-alert {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 10px 14px;
  background: rgba(88, 148, 167, 0.08);
  color: var(--ps-ink);
  font-size: 0.92rem;
}

.ps-alert--success {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.4);
  color: #0b3b1d;
}

.ps-alert--warning {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.42);
  color: #78350f;
}

.ps-delete-modal {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
}

.ps-delete-modal__title {
  margin: 0 0 12px;
  color: var(--ps-ink);
  font-weight: 700;
}

.ps-delete-modal__message {
  margin: 0;
  color: var(--ps-muted);
}

.ps-delete-modal__projects {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.ps-delete-modal__project {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.02);
}

.ps-delete-modal__project div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ps-delete-modal__project div:last-child {
  align-items: end;
  color: var(--ps-muted);
  font-weight: 600;
}

.ps-tags-selected {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  padding: 10px;
  background: #ffffff;
}

.ps-tags-list {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  font-size: 0.9rem;
  cursor: pointer;
}

.ps-legal-card {
  border: 1px solid var(--ps-border);
  border-radius: 24px;
  padding: 24px;
  background: #ffffff;
}

.ps-legal-note {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 200, 21, 0.15);
  color: #5d4a00;
  font-size: 0.94rem;
}

.ps-legal-section + .ps-legal-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ps-legal-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ps-ink);
}

.ps-legal-section p {
  margin: 0 0 10px;
  color: var(--ps-ink);
  line-height: 1.6;
}

.ps-legal-list {
  margin: 0;
  padding-left: 20px;
  color: var(--ps-ink);
}

.ps-legal-list li + li {
  margin-top: 8px;
}

.ps-ideas-masonry {
  column-count: 3;
  column-gap: 22px;
}

.ps-idea-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--ps-border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--ps-shadow-soft);
  break-inside: avoid;
}

.ps-idea-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.ps-idea-title {
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0;
  color: var(--ps-ink);
  line-height: 1.35;
}

.ps-idea-id {
  display: inline-block;
  margin-right: 6px;
  color: #65758a;
  font-weight: 700;
  font-size: 0.92em;
}

.ps-like-btn {
  border: none;
  background: transparent;
  color: var(--ps-muted);
  border-radius: 999px;
  padding: 4px 2px 4px 8px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.ps-like-btn i,
.ps-like-btn svg {
  width: 16px;
  height: 16px;
}

.ps-like-btn svg {
  stroke-width: 2.2;
}

.ps-like-btn:hover {
  color: var(--ps-orange);
}

.ps-like-btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

.ps-like-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 104, 44, 0.16);
}

.ps-like-btn.is-liked {
  color: var(--ps-orange);
}

.ps-like-btn.is-liked svg {
  fill: currentColor;
}

.ps-like-count {
  font-size: 0.86rem;
  font-weight: 700;
  min-width: 1ch;
}

.ps-idea-desc {
  margin: 0;
  color: var(--ps-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ps-idea-body {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.ps-idea-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-card-panel {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(4, 107, 153, 0.035);
}

.ps-card-panel__summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ps-brand-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ps-card-panel__summary::-webkit-details-marker {
  display: none;
}

.ps-card-panel__label {
  min-width: 0;
}

.ps-card-panel__meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.ps-card-panel__chevrons {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ps-card-panel__chevron {
  width: 16px;
  height: 16px;
  color: var(--ps-brand-blue);
}

.ps-card-panel__chevron--up {
  display: none;
}

.ps-card-panel[open] .ps-card-panel__chevron--down {
  display: none;
}

.ps-card-panel[open] .ps-card-panel__chevron--up {
  display: inline-block;
}

.ps-card-panel__content {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.ps-publico-dropdown {
  margin: 0;
}

.ps-publico-dropdown__summary {
  font-size: 0.76rem;
}

.ps-publico-dropdown__count {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ps-brand-blue);
}

.ps-publico-item {
  font-size: 0.76rem;
  line-height: 1.2;
  color: var(--ps-muted);
}

.ps-rubricas {
  display: grid;
  gap: 7px;
}

.ps-rubricas--detail {
  max-width: 560px;
}

.ps-rubricas-dropdown {
  margin: 0;
}

.ps-rubricas-dropdown__summary {
  font-size: 0.76rem;
}

.ps-rubricas-dropdown__global {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ps-brand-blue);
  margin-right: 0;
}

.ps-rubrica-item {
  display: grid;
  gap: 5px;
}

.ps-rubrica-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ps-rubrica-label {
  font-size: 0.74rem;
  color: var(--ps-muted);
}

.ps-rubrica-value {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ps-ink);
}

.ps-rubrica-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.ps-rubrica-fill {
  height: 100%;
  border-radius: inherit;
  background: #595959;
}

.ps-badge--warning {
  background: transparent;
  color: var(--ps-brand-blue);
  border: 1px solid rgba(4, 107, 153, 0.28);
  text-shadow: none;
}

.ps-badge--success {
  background: transparent;
  color: #7a5b00;
  border: 1px solid rgba(255, 200, 21, 0.55);
  text-shadow: none;
}

.ps-badge--neutral {
  background: transparent;
  color: #6f7f90;
  border: 1px solid rgba(111, 127, 144, 0.24);
  text-shadow: none;
}

.ps-idea-statuses .ps-badge {
  padding: 5px 9px;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  font-weight: 600;
}

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

.ps-idea-actions {
  margin-top: 12px;
}

.ps-idea-actions .ps-btn {
  width: 100%;
  justify-content: center;
}

.ps-load-more-wrap {
  margin-top: 10px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ps-load-more-sentinel {
  width: 100%;
  height: 1px;
}

.ps-filters-panel {
  margin-top: 10px;
  border: 1px solid rgba(4, 107, 153, 0.16);
  border-radius: 20px;
  padding: 16px;
  background: #ffffff;
  box-shadow: none;
}

.ps-filters-panel__summary {
  list-style: none;
  cursor: pointer;
}

.ps-filters-panel__summary::-webkit-details-marker {
  display: none;
}

.ps-filters-panel__summary:focus-visible {
  outline: none;
}

.ps-filters-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}

.ps-filters-panel__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ps-ink);
}

.ps-filters-panel__subtitle {
  margin: 4px 0 0;
  font-size: 0.84rem;
  color: var(--ps-muted);
}

.ps-filters-panel__active {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.ps-filters-panel__chevrons {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ps-filters-panel__chevron {
  width: 18px;
  height: 18px;
  color: var(--ps-brand-blue);
}

.ps-filters-panel__chevron--up {
  display: none;
}

.ps-filters-panel[open] .ps-filters-panel__chevron--down {
  display: none;
}

.ps-filters-panel[open] .ps-filters-panel__chevron--up {
  display: inline-block;
}

.ps-filter-summary-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(4, 107, 153, 0.1);
  color: var(--ps-brand-blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.ps-filters-layout {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.ps-filter-block {
  border: 1px solid rgba(4, 107, 153, 0.12);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.ps-filter-block__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ps-brand-blue);
}

.ps-filter-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ps-filter-block__head .ps-filter-block__label {
  margin-bottom: 0;
}

.ps-filters--compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-filter-accordion {
  margin-top: 0;
}

.ps-filter-accordion__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 8px;
}

.ps-filter-accordion__summary::-webkit-details-marker {
  display: none;
}

.ps-filter-accordion__summary::after {
  content: "▾";
  color: var(--ps-brand-blue);
  font-size: 0.85rem;
  transition: transform 160ms ease;
}

.ps-filter-accordion[open] .ps-filter-accordion__summary::after {
  transform: rotate(180deg);
}

.ps-filter-accordion__count {
  font-size: 0.78rem;
  color: var(--ps-muted);
}

.ps-filters--publico {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.ps-pill-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 6px 11px;
  border: 1px solid rgba(4, 107, 153, 0.18);
  background: #ffffff;
  color: #506273;
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.ps-pill-filter:hover {
  border-color: rgba(4, 107, 153, 0.34);
  color: var(--ps-brand-blue);
  background: #ffffff;
}

.ps-pill-filter.is-active {
  border-color: var(--ps-brand-blue);
  background: var(--ps-brand-blue);
  color: #ffffff;
  font-weight: 700;
  box-shadow: none;
}

.ps-pill-filter--clear {
  border-style: dashed;
  color: #7b8798;
}

.ps-pill-filter--outlined.is-active {
  background: #ffffff;
  color: var(--ps-brand-blue);
  border-color: var(--ps-brand-blue);
}

.ps-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.ps-search-input {
  flex: 1 1 auto;
  min-width: 220px;
  min-height: 34px;
  height: 34px;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.86rem;
}

.ps-search-btn {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.8rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.ps-search-form .ps-pill-filter--clear {
  flex-shrink: 0;
}

.ps-idea-detail-meta {
  margin-top: 4px;
}

.ps-like-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: #6b7280;
  font-weight: 700;
}

.ps-like-summary .ps-icon-heart {
  width: 15px;
  height: 15px;
  color: var(--ps-orange);
  fill: currentColor;
}

.ps-detail-layout {
  margin-top: 6px;
}

.ps-detail-sections {
  display: grid;
  gap: 12px;
}

.ps-detail-section {
  border: 1px solid rgba(4, 107, 153, 0.12);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.ps-detail-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.ps-detail-section__title {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ps-ink);
}

.ps-detail-section__head .ps-detail-section__title {
  margin-bottom: 0;
}

.ps-detail-subtitle {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ps-ink);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ps-detail-text {
  margin: 0;
  color: var(--ps-ink);
  font-size: 0.93rem;
  line-height: 1.55;
}

.ps-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-pill-filter--readonly {
  pointer-events: none;
  user-select: none;
}

.ps-project-pill {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.78rem;
  border: 1px solid rgba(4, 107, 153, 0.25);
  color: var(--ps-brand-blue);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ps-project-pill--dev {
  border-color: rgba(4, 107, 153, 0.25);
  color: var(--ps-brand-blue);
}

.ps-project-pill--done {
  border-color: rgba(255, 200, 21, 0.6);
  color: #7a5b00;
}

.ps-detail-actions .ps-btn {
  min-width: 170px;
}

.ps-meta-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ps-muted);
  margin-bottom: 4px;
}

.ps-meta-value {
  font-size: 0.96rem;
  color: var(--ps-ink);
  word-break: break-word;
}

.ps-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ps-ink);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.ps-status-pill--no-revisada {
  background: rgba(148, 163, 184, 0.2);
  color: #1f2937;
}

.ps-status-pill--en-moderacion {
  background: rgba(59, 130, 246, 0.18);
  color: #1e3a8a;
}

.ps-status-pill--rechazada {
  background: rgba(239, 68, 68, 0.18);
  color: #7f1d1d;
}

.ps-status-pill--aceptada {
  background: rgba(34, 197, 94, 0.2);
  color: #0f3d20;
}

.ps-status-pill--sin-estado {
  background: rgba(148, 163, 184, 0.2);
  color: #1f2937;
}

.ps-empty--card {
  padding: 26px;
  border: 1px dashed rgba(15, 23, 42, 0.2);
  border-radius: 20px;
  text-align: center;
  background: rgba(15, 23, 42, 0.02);
}

.ps-access-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 0 24px;
  align-items: center;
}

.ps-access-btn {
  justify-content: center;
}

.ps-table-card {
  border: 1px solid var(--ps-border);
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
}

.ps-list-filter {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.ps-list-filter .ps-field {
  width: min(100%, 320px);
}

.ps-list-filter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ps-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ps-table th,
.ps-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  vertical-align: top;
}

.ps-table th {
  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ps-muted);
  background: rgba(15, 23, 42, 0.02);
}

.ps-table-title {
  font-weight: 700;
  color: var(--ps-ink);
  margin-bottom: 4px;
}

.ps-table-meta {
  color: var(--ps-muted);
  font-size: 0.88rem;
}

.ps-col-actions {
  width: 120px;
  text-align: center;
}

.ps-col-actions--stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.ps-col-actions--inline {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.ps-col-actions--inline .ps-delete-form {
  margin: 0;
  display: inline-flex;
}

.ps-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ps-ink);
  background: #ffffff;
}

.ps-icon-btn--sm {
  width: 28px;
  height: 28px;
  border-radius: 10px;
}

.ps-icon-btn:hover {
  border-color: rgba(255, 104, 44, 0.32);
  color: var(--ps-orange);
}

.ps-icon-btn--danger {
  border-color: rgba(208, 52, 44, 0.35);
  color: #d0342c;
}

.ps-icon-btn--danger:hover {
  border-color: rgba(208, 52, 44, 0.65);
  color: #b12d27;
}

.ps-row-form td {
  background: rgba(15, 23, 42, 0.02);
}

.ps-inline-form {
  width: 100%;
}

.ps-inline-grid {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(240px, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.ps-inline-actions {
  display: flex;
  justify-content: flex-end;
}

.ps-empty {
  text-align: center;
  color: var(--ps-muted);
  padding: 24px 16px;
}

@media (prefers-reduced-motion: reduce) {

  .ps-header-btn,
  .ps-card,
  .ps-btn {
    transition: none !important;
  }
}

@media (max-width: 991px) {
  .ps-form-grid {
    grid-template-columns: 1fr;
  }

  .ps-field--full {
    grid-column: auto;
  }

  .ps-inline-grid {
    grid-template-columns: 1fr;
  }

  .ps-col-actions {
    width: auto;
  }
}

@media (max-width: 1100px) {
  .ps-ideas-masonry {
    column-count: 2;
  }
}

@media (max-width: 720px) {
  .ps-ideas-masonry {
    column-count: 1;
  }

  .ps-filters-panel__head {
    flex-direction: column;
    align-items: stretch;
  }

  .ps-filters-panel__active {
    justify-content: flex-start;
  }

  .ps-search-form {
    flex-wrap: wrap;
  }

  .ps-idea-meta {
    grid-template-columns: 1fr;
  }

  .ps-filters--publico {
    gap: 8px;
  }
}

/* ... existing styles ... */

/* Admin / User Dashboard Section */
.ps-admin-section {
  background-color: #f1f5f9;
  /* Slate 100 */
  border-radius: 24px;
  padding: 32px;
  margin-top: 40px;
  border: 1px solid var(--ps-border);
}

.ps-admin-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ps-ink);
  margin-bottom: 8px;
}

.ps-admin-subtitle {
  color: var(--ps-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.ps-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================
   New Home Sections (Enhanced UI)
   ========================================= */

.ps-section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ps-ink);
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.02em;
}

.ps-audience-section {
  margin-top: 3.5rem;
}

.ps-benefits-section {
  margin-top: 6rem;
}

/* Benefits Grid */
.ps-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

@media (min-width: 992px) {
  .ps-benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 576px) {
  .ps-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.ps-benefit-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--ps-border);
  box-shadow: var(--ps-shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ps-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ps-shadow);
}

.ps-benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 104, 44, 0.08);
  /* Subtle orange tint */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ps-orange);
  margin-bottom: 18px;
}

.ps-benefit-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.5px;
}

.ps-benefit-title {
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--ps-ink);
}

.ps-benefit-text {
  font-size: 1.05rem;
  color: var(--ps-muted);
  line-height: 1.5;
  margin: 0;
}

/* Stepper */
.ps-stepper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 60px 0 100px 0;
}

@media (min-width: 768px) {
  .ps-stepper {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    margin: 80px 0 120px 0;
  }

  /* Connector Line */
  .ps-stepper::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
  }
}

.ps-step {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.ps-step--reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1400ms ease, transform 1400ms ease;
  will-change: opacity, transform;
}

.ps-step--reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .ps-step {
    flex-direction: column;
    text-align: center;
    flex: 1;
  }
}

.ps-step-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--ps-ink);
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ps-step-content {
  flex: 1;
}

.ps-step-title {
  font-weight: 800;
  font-size: 1.35rem;
  margin: 16px 0 8px 0;
  color: var(--ps-ink);
  letter-spacing: -0.01em;
}

.ps-step-desc {
  font-size: 1.05rem;
  color: var(--ps-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* Audience Section */
.ps-audience-grid {
  display: grid;
  gap: 32px;
  margin: 50px 0 80px 0;
}

@media (min-width: 768px) {
  .ps-audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ps-audience-col {
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--ps-border);
  border-radius: 24px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--ps-shadow-soft);
}

.ps-audience-col .ps-badge {
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.ps-audience-desc {
  margin-top: 0;
  font-size: 1.05rem;
  color: var(--ps-muted);
  line-height: 1.6;
}

/* Hero Tweaks */
.ps-hero-title {
  font-size: clamp(3rem, 5.4vw, 4.8rem);
  margin-bottom: 20px;
}

.ps-hero-sub {
  font-size: clamp(1.25rem, 1.8vw, 1.4rem);
  max-width: 65ch;
  line-height: 1.5;
}

.ps-hero-block {
  background: transparent;
  padding-bottom: 4.5rem !important;
}

.ps-hero-cta {
  margin-top: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .ps-step--reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.ps-footer {
  background: #2b2f36;
  color: #f1f3f5;
  padding: 34px 0;
  margin-top: 18px;
}

.ps-footer-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.7fr) minmax(260px, 1fr);
  gap: 22px;
  align-items: start;
}

.ps-footer-brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.ps-footer-logo {
  width: min(100%, 560px);
  height: auto;
  display: block;
}

.ps-footer-title {
  margin: 0 0 8px 0;
  font-size: 1.15rem;
  line-height: 1.25;
  color: #f6fbff;
  font-weight: 700;
}

.ps-footer-title--sub {
  margin-top: 16px;
  font-size: 1.02rem;
}

.ps-footer-line {
  margin: 0 0 8px 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #d3e4ed;
}

.ps-footer-legal {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(232, 242, 247, 0.72);
}

.ps-footer-line a {
  color: #f6fbff;
  text-decoration: none;
}

.ps-footer-legal a {
  color: rgba(232, 242, 247, 0.78);
  text-decoration: none;
}

.ps-footer-line a:hover {
  text-decoration: underline;
}

.ps-footer-legal a:hover {
  color: #f6fbff;
  text-decoration: underline;
}

.ps-footer-social {
  margin-top: 2px;
}

.ps-footer-social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ps-social-btn i {
  font-size: 1.05rem;
  line-height: 1;
}

.ps-social-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.58);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .ps-footer-grid {
    grid-template-columns: minmax(320px, 1.35fr) minmax(240px, 1fr);
  }
}

@media (max-width: 760px) {
  .ps-footer {
    padding: 30px 0;
  }

  .ps-footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .ps-footer-logo {
    width: min(100%, 500px);
  }

  .ps-footer-title {
    font-size: 1.05rem;
  }
}
