.portal-cliente {
  --pc-forest: #183b2b;
  --pc-forest-light: #28573d;
  --pc-ink: #1d2b23;
  --pc-muted: #647269;
  --pc-paper: #ffffff;
  --pc-ground: #f1f5f1;
  --pc-line: #e2e9e2;
  --pc-gold: #e0b55d;
  --pc-coral: #c56853;
  min-height: 100vh;
  background: var(--pc-ground);
  color: var(--pc-ink);
  font-family: "Poppins", sans-serif;
}

.portal-cliente.client-admin-page {
  --pc-ground: var(--bs-body-bg);
}

.client-admin-page-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 0 1.25rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.client-admin-page-header-icon {
  display: grid;
  place-items: center;
  flex: 0 0 3.25rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.5rem;
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-size: 1.65rem;
}

.client-admin-page-header-copy {
  min-width: 0;
}

.client-admin-page-title {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.2;
}

.client-admin-page-subtitle {
  margin: 0.35rem 0 0;
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
}

@media (max-width: 575.98px) {
  .client-admin-page-header {
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .client-admin-page-header-icon {
    flex-basis: 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.4rem;
  }

  .client-admin-page-title {
    font-size: 1.35rem;
  }

  .client-admin-page-header-action {
    margin-left: auto;
  }
}

.portal-cliente,
.portal-cliente * {
  box-sizing: border-box;
}

.portal-cliente a {
  color: inherit;
  text-decoration: none;
}

.pc-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--pc-forest);
  border-bottom: 1px solid var(--pc-forest);
}

.pc-header-inner {
  width: min(1200px, calc(100% - 56px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  gap: 26px;
}

.pc-brand {
  display: inline-flex;
  align-items: center;
  width: 156px;
}

.pc-brand img {
  display: block;
  width: 100%;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.pc-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  height: 78px;
}

.pc-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  color: var(--pc-ground) !important;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 160ms ease;
}

.pc-nav-link i {
  font-size: 19px;
}

.pc-nav-link:hover,
.pc-nav-link.active {
  color: var(--pc-paper) !important;
}

.pc-nav-link.active::after {
  position: absolute;
  right: 15px;
  bottom: 0;
  left: 15px;
  height: 3px;
  background: var(--pc-coral);
  content: "";
}

.pc-header-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.pc-header-avatar,
.pc-header-avatar img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.pc-header-avatar img {
  display: block;
  object-fit: cover;
}

.pc-avatar-initial {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 50%;
  background: var(--pc-gold);
  color: var(--pc-forest);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.pc-header-avatar .pc-avatar-initial {
  font-size: 1rem;
}

.pc-profile-photo .pc-avatar-initial {
  font-size: 2rem;
}

.pc-info-photo .pc-avatar-initial {
  font-size: 1.3rem;
}

.pc-header-name {
  max-width: 90px;
  overflow: hidden;
  color: var(--pc-paper);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-logout {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: white;
  color: var(--pc-muted);
  cursor: pointer;
  font-size: 19px;
  transition: border-color 160ms ease, color 160ms ease;
}

.pc-logout:hover {
  border-color: var(--pc-coral);
  color: var(--pc-coral);
}

.pc-main {
  width: min(1080px, calc(100% - 56px));
  min-height: calc(100vh - 142px);
  margin: 0 auto;
  padding: 44px 0 56px;
}

.pc-welcome,
.pc-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.pc-eyebrow {
  margin: 0 0 8px;
  color: var(--pc-coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.pc-welcome h1,
.pc-page-heading h1 {
  margin: 0;
  color: var(--pc-ink);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
}

.pc-welcome-copy,
.pc-page-heading > p:last-child {
  margin: 8px 0 0;
  color: var(--pc-muted);
  font-size: 13px;
}

.pc-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: var(--pc-muted);
  font-size: 12px;
  text-transform: capitalize;
}

.pc-date i {
  color: var(--pc-coral);
  font-size: 17px;
}

.pc-profile-banner {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  align-items: center;
  gap: 38px;
  min-height: 230px;
  padding: 30px 38px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--pc-forest);
  color: white;
}

.pc-identity {
  display: flex;
  align-items: center;
  gap: 23px;
  min-width: 0;
}

.pc-profile-photo,
.pc-profile-photo img {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  border-radius: 50%;
}

.pc-profile-photo {
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.pc-profile-photo img {
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.8);
  object-fit: cover;
}

.pc-avatar-skeleton {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.12) 30%, rgba(255, 255, 255, 0.3) 48%, rgba(255, 255, 255, 0.12) 66%);
  background-size: 220% 100%;
  animation: pc-shimmer 1.4s ease-in-out infinite;
}

.pc-identity-copy {
  min-width: 0;
}

.pc-client-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f0c875;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.pc-client-label i {
  font-size: 14px;
}

.pc-identity-copy h2,
.pc-info-person h2 {
  margin: 9px 0 4px;
  color: white;
  font-size: 22px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.pc-identity-copy > p,
.pc-info-person p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.pc-info-group {
  padding: 18px 0 4px;
  border-bottom: 1px solid var(--pc-line);
}

.pc-info-group:last-child {
  border-bottom: 0;
}

.pc-info-group h3 {
  margin: 0;
  padding: 0 28px;
  color: var(--pc-ink);
  font-size: 13px;
  font-weight: 600;
}

.pc-profile-state {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 90px;
  padding: 20px 28px;
  color: var(--pc-muted);
  font-size: 12px;
}

.pc-info-loading {
  padding: 0 28px 18px;
}

.pc-skeleton-field {
  display: grid;
  gap: 9px;
}

.pc-skeleton-block,
.pc-skeleton-line,
.pc-count-skeleton {
  display: block;
  border-radius: 5px;
  background: linear-gradient(100deg, #edf1ed 30%, #f7f9f7 48%, #edf1ed 66%);
  background-size: 220% 100%;
  animation: pc-shimmer 1.4s ease-in-out infinite;
}

.pc-skeleton-label {
  width: 34%;
  height: 9px;
}

.pc-skeleton-input {
  width: 100%;
  height: 38px;
}

.pc-progress-skeleton {
  display: block;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--pc-gold);
  border-radius: 50%;
  animation: pc-rotate 1s linear infinite;
}

.pc-progress-unavailable {
  display: grid;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 20px;
}

@keyframes pc-shimmer {
  to { background-position: -220% 0; }
}

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

.pc-profile-error {
  color: #a84232;
}

.pc-retry-button {
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 5px;
  background: white;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
}

.pc-client-code {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
}

.pc-completion {
  display: flex;
  align-items: center;
  gap: 21px;
  min-width: 0;
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.pc-progress-ring {
  position: relative;
  display: grid;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--pc-gold) 0 var(--profile-progress), rgba(255, 255, 255, 0.19) var(--profile-progress) 100%);
}

.pc-progress-ring::before {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--pc-forest);
  content: "";
}

.pc-progress-ring span {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 20px;
  font-weight: 600;
}

.pc-completion-copy {
  min-width: 0;
}

.pc-completion-kicker {
  margin: 0 0 4px;
  color: #f0c875;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.pc-completion-copy h3 {
  margin: 0;
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.pc-completion-copy > p:not(.pc-completion-kicker) {
  max-width: 240px;
  margin: 6px 0 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.55;
}

.pc-completion-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #f0c875 !important;
  font-size: 11px;
  font-weight: 600;
}

.pc-completion-link-skeleton {
  display: block;
  width: 148px;
  min-height: 44px;
  border-radius: 4px;
  background: linear-gradient(100deg, rgba(240, 200, 117, 0.16) 30%, rgba(240, 200, 117, 0.42) 48%, rgba(240, 200, 117, 0.16) 66%);
  background-size: 220% 100%;
  animation: pc-shimmer 1.4s ease-in-out infinite;
}

.pc-completion-link i {
  font-size: 17px;
  transition: transform 160ms ease;
}

.pc-completion-link:hover i {
  transform: translateX(3px);
}

.pc-access-section {
  margin-top: 38px;
}

.pc-proposal-section {
  padding: 20px 22px;
  border: 1px solid #e8dfc8;
  border-left: 4px solid var(--pc-gold);
  border-radius: 8px;
  background: #fffdf7;
}

.pc-proposal-section .pc-section-heading {
  margin-bottom: 15px;
}

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

.pc-proposal-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--pc-line);
  border-radius: 7px;
  background: white;
}

.pc-proposal-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  background: #fbf2dc;
  color: #8b671e;
  font-size: 21px;
}

.pc-proposal-copy {
  display: grid;
  flex: 1 1 auto;
  gap: 2px;
  min-width: 0;
}

.pc-proposal-copy strong {
  color: var(--pc-ink);
  font-size: 13px;
  font-weight: 600;
}

.pc-proposal-copy > span:last-child {
  color: var(--pc-muted);
  font-size: 11px;
}

.pc-proposal-state {
  color: #8b671e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.pc-proposal-open {
  flex: 0 0 auto;
  white-space: nowrap;
}

.pc-product-card {
  align-items: flex-start;
}

.pc-product-icon {
  background: #e7f0e8;
  color: var(--pc-forest-light);
}

.pc-product-copy {
  align-self: center;
}

.pc-product-state {
  color: var(--pc-forest-light);
}

.pc-product-copy > span:not(.pc-product-state) {
  color: var(--pc-muted);
  font-size: 11px;
}

.pc-product-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 9px;
}

.pc-product-detail {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f5f8f5;
}

.pc-product-detail span {
  color: var(--pc-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.pc-product-detail strong {
  color: var(--pc-ink);
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.pc-product-card .pc-proposal-open {
  align-self: center;
}

.pc-proposal-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid var(--pc-line);
  border-radius: 7px;
  background: white;
  color: var(--pc-muted);
  font-size: 12px;
}

.pc-proposal-pdf {
  display: block;
  width: 100%;
  height: 65vh;
  min-height: 360px;
  border: 0;
  background: #f5f5f5;
}

.pc-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}

.pc-section-heading .pc-eyebrow {
  margin-bottom: 5px;
}

.pc-section-heading h2 {
  margin: 0;
  color: var(--pc-ink);
  font-size: 19px;
  font-weight: 600;
}

.pc-section-aside {
  color: var(--pc-muted);
  font-size: 11px;
}

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

.pc-access-link {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 15px;
  min-height: 110px;
  padding: 19px 20px;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: white;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.pc-access-link:hover {
  transform: translateY(-2px);
  border-color: #b9c9bb;
  box-shadow: 0 8px 20px rgba(24, 59, 43, 0.07);
}

.pc-access-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  font-size: 23px;
}

.pc-access-icon-green {
  background: #e7f0e8;
  color: var(--pc-forest-light);
}

.pc-access-icon-coral {
  background: #f7e9e4;
  color: var(--pc-coral);
}

.pc-access-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pc-access-label {
  color: var(--pc-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.pc-access-copy strong {
  color: var(--pc-ink);
  font-size: 14px;
  font-weight: 600;
}

.pc-access-copy > span:last-child {
  color: var(--pc-muted);
  font-size: 10px;
  line-height: 1.45;
}

.pc-access-arrow {
  color: #829087;
  font-size: 21px;
}

.pc-page-heading {
  display: block;
  margin-bottom: 24px;
}

.pc-portal-subpage-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: #263b38;
}

.pc-portal-subpage-header-icon {
  display: grid;
  flex: 0 0 3.25rem;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: #e7f1ec;
  color: #286048;
  font-size: 1.65rem;
}

.pc-portal-subpage-header-copy h1 {
  margin: 0 0 0.35rem;
  color: #263b38;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 750;
  line-height: 1.25;
}

.pc-portal-subpage-eyebrow {
  margin: 0 0 0.35rem;
  color: #80692e;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.pc-portal-subpage-description {
  margin: 0;
  color: #596a63;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 767.98px) {
  .pc-portal-subpage-header {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .pc-portal-subpage-header-icon {
    flex-basis: 2.9rem;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 0.85rem;
    font-size: 1.45rem;
  }
}

.pc-info-panel,
.pc-documents-panel {
  overflow: hidden;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: white;
}

.pc-info-person {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 25px 28px;
  background: var(--pc-forest);
}

.pc-info-photo,
.pc-info-photo img {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 50%;
}

.pc-info-photo {
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.pc-info-photo img {
  display: block;
  border: 2px solid white;
  object-fit: cover;
}

.pc-client-label-light {
  color: #f0c875;
}

.pc-info-person h2 {
  margin: 5px 0 2px;
  font-size: 17px;
}

.pc-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 8px 28px;
}

.pc-edit-form {
  padding-bottom: 22px;
}

.pc-info-field {
  display: grid;
  gap: 5px;
  padding: 18px 10px 18px 0;
  border-bottom: 1px solid var(--pc-line);
}

.pc-info-field:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.pc-info-field span {
  color: var(--pc-muted);
  font-size: 10px;
}

.pc-info-field strong {
  color: var(--pc-ink);
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.pc-info-field strong.pc-pending {
  color: #879188;
  font-style: italic;
}

.pc-info-input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--pc-ink);
  font: inherit;
  font-size: 12px;
  outline: none;
}

.pc-info-input-readonly {
  color: var(--pc-ink);
}

.pc-info-input-readonly[value="Sin registrar"] {
  color: #879188;
  font-style: italic;
}

.pc-info-input-editable {
  border-color: #cbd7ce;
  background: #fbfcfb;
}

.pc-info-input-editable:focus {
  border-color: var(--pc-forest-light);
  box-shadow: 0 0 0 3px rgba(40, 87, 61, 0.1);
}

.pc-info-input-editable::placeholder {
  color: #9aa49d;
}

.pc-change-photo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 5px;
  color: #f0c875;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
}

.pc-change-photo:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pc-change-photo input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.pc-form-alert {
  margin: 14px 28px 0;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 11px;
}

.pc-form-alert-error {
  background: #f9ece9;
  color: #a84232;
}

.pc-form-alert-success {
  background: #e9f3eb;
  color: #28573d;
}

.pc-form-actions {
  display: flex;
  justify-content: flex-end;
  padding: 16px 28px 0;
}

.pc-update-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--pc-forest);
  border-radius: 5px;
  background: var(--pc-forest);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  transition: background 150ms ease, transform 150ms ease;
}

.pc-update-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--pc-forest-light);
}

.pc-update-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.pc-mock-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 28px 22px;
  padding: 11px 13px;
  border-left: 3px solid var(--pc-gold);
  background: #f7f6ef;
  color: #606b62;
  font-size: 10px;
}

.pc-mock-note i {
  color: #a2772c;
  font-size: 16px;
}

.pc-documents-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--pc-line);
}

.pc-documents-heading h2 {
  margin: 0;
  color: var(--pc-ink);
  font-size: 16px;
  font-weight: 600;
}

.pc-documents-heading p {
  margin: 5px 0 0;
  color: var(--pc-muted);
  font-size: 11px;
}

.pc-document-count {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 5px;
  background: #f4e8e4;
  color: #a84f3c;
  font-size: 10px;
  font-weight: 600;
}

.pc-count-skeleton {
  width: 100px;
  height: 28px;
  flex: 0 0 auto;
}

.pc-document-skeleton-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(110px, 210px);
  align-items: center;
  gap: 13px;
  min-height: 72px;
  border-bottom: 1px solid var(--pc-line);
}

.pc-skeleton-icon {
  width: 36px;
  height: 36px;
}

.pc-document-skeleton-copy {
  display: grid;
  gap: 8px;
}

.pc-skeleton-title {
  width: 64%;
  height: 12px;
}

.pc-skeleton-detail {
  width: 42%;
  height: 9px;
}

.pc-skeleton-status {
  width: 92%;
  height: 11px;
  justify-self: end;
}

.pc-document-list {
  padding: 0 26px;
}

.pc-document-row {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(210px, auto);
  align-items: center;
  gap: 13px;
  min-height: 88px;
  margin: 8px 0;
  padding: 12px;
  border-left: 5px solid transparent;
  border-radius: 6px;
  border-bottom: 1px solid var(--pc-line);
}

.pc-document-row.is-approved {
  border-left-color: #176b35;
  background: #eaf5ec;
}

.pc-document-row.is-rejected {
  border-left-color: #a51f1f;
  background: #fff0ef;
}

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

.pc-document-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 7px;
  background: #edf2ed;
  color: var(--pc-forest-light);
  font-size: 18px;
}

.pc-document-icon.is-approved {
  background: #d2ead7;
  color: #14532d;
}

.pc-document-icon.is-rejected {
  background: #f8d8d5;
  color: #8f1d14;
}

.pc-document-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pc-document-copy strong {
  color: var(--pc-ink);
  font-size: 11px;
  font-weight: 600;
}

.pc-document-copy span {
  color: var(--pc-muted);
  font-size: 9px;
}

.pc-document-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9a672e;
  max-width: 240px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
}

.pc-document-status.is-approved {
  color: #14532d;
}

.pc-document-status.is-rejected {
  color: #8f1d14;
}

.pc-document-status i {
  flex: 0 0 auto;
  font-size: 19px;
}

.pc-document-actions {
  display: grid;
  justify-items: end;
  gap: 7px;
  min-width: 0;
  max-width: 300px;
}

.pc-document-status-actions {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.pc-document-status-actions.is-reviewing {
  flex-direction: column;
  align-items: flex-end;
}

.pc-document-file-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--pc-forest-light) !important;
  font-size: 11px;
  font-weight: 600;
}

.pc-document-info-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid #345b48;
  border-radius: 6px;
  background: #fff;
  color: #234a36;
  font-size: 14px;
  font-weight: 600;
}

.pc-document-info-button i {
  font-size: 19px;
}

.pc-document-info-button:hover {
  background: #edf4ef;
}

.pc-document-upload {
  display: grid;
  justify-items: end;
  gap: 5px;
  width: 100%;
}

.pc-upload-help,
.pc-upload-message,
.pc-upload-error {
  font-size: 13px;
  line-height: 1.45;
}

.pc-upload-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--pc-forest-light);
  border-radius: 6px;
  background: var(--pc-forest-light);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.pc-upload-button:hover {
  border-color: var(--pc-forest);
  background: var(--pc-forest);
}

.pc-upload-button:focus-within {
  outline: 3px solid rgb(40 87 61 / 24%);
  outline-offset: 2px;
}

.pc-upload-button.is-disabled {
  cursor: wait;
  opacity: 0.7;
}

.pc-upload-button > i {
  font-size: 16px;
}

.pc-upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.pc-upload-input:disabled {
  cursor: wait;
}

.pc-upload-help,
.pc-upload-message,
.pc-upload-error {
  max-width: 100%;
  color: var(--pc-muted);
  font-size: 10px;
  line-height: 1.4;
  text-align: right;
}

.pc-upload-message {
  color: var(--pc-forest-light);
  font-size: 15px;
  font-weight: 600;
}

.pc-upload-error {
  color: #a33229;
}

.pc-documents-panel > .pc-mock-note {
  margin-top: 5px;
}

.pc-date-note {
  display: none;
}

.pc-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1080px, calc(100% - 56px));
  margin: 0 auto;
  padding: 16px 0 22px;
  border-top: 1px solid var(--pc-line);
  color: var(--pc-muted);
  font-size: 9px;
}

.pc-footer span:first-child {
  color: var(--pc-forest);
  font-weight: 700;
  letter-spacing: 0.8px;
}

@media (max-width: 860px) {
  .pc-header-inner {
    width: min(100% - 32px, 700px);
    grid-template-columns: 1fr auto;
    gap: 0 16px;
    padding-top: 10px;
  }

  .pc-brand {
    width: 136px;
  }

  .pc-header-user {
    grid-column: 2;
    grid-row: 1;
  }

  .pc-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    height: 52px;
    margin: 0 -16px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pc-nav::-webkit-scrollbar {
    display: none;
  }

  .pc-nav-link {
    padding: 0 13px;
  }

  .pc-main,
  .pc-footer {
    width: calc(100% - 36px);
  }

  .pc-main {
    padding-top: 34px;
  }

  .pc-profile-banner {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 27px;
  }

  .pc-completion {
    padding: 21px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .pc-header-inner {
    width: calc(100% - 24px);
  }

  .pc-nav {
    display: none;
  }

  .pc-header-avatar,
  .pc-header-avatar img {
    width: 32px;
    height: 32px;
  }

  .pc-header-name {
    display: none;
  }

  .pc-logout {
    width: 34px;
    height: 34px;
  }

  .pc-main,
  .pc-footer {
    width: calc(100% - 30px);
  }

  .pc-main {
    padding-top: 28px;
  }

  .pc-welcome {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .pc-welcome h1,
  .pc-page-heading h1 {
    font-size: 25px;
  }

  .pc-date {
    display: none;
  }

  .pc-profile-banner {
    gap: 21px;
    padding: 22px 18px;
  }

  .pc-identity {
    align-items: flex-start;
    gap: 14px;
  }

  .pc-profile-photo,
  .pc-profile-photo img {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }

  .pc-identity-copy h2 {
    font-size: 16px;
  }

  .pc-identity-copy > p {
    font-size: 10px;
  }

  .pc-client-code {
    margin-top: 8px;
  }

  .pc-completion {
    gap: 16px;
  }

  .pc-progress-ring {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .pc-progress-skeleton {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .pc-progress-unavailable {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .pc-progress-ring::before {
    width: 64px;
    height: 64px;
  }

  .pc-progress-ring span {
    font-size: 17px;
  }

  .pc-access-section {
    margin-top: 30px;
  }

  .pc-proposal-section {
    padding: 17px 14px;
  }

  .pc-proposal-card {
    flex-wrap: wrap;
    gap: 11px;
    padding: 13px;
  }

  .pc-proposal-copy {
    flex-basis: calc(100% - 54px);
  }

  .pc-proposal-open {
    width: 100%;
  }

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

  .pc-proposal-pdf {
    height: 58vh;
    min-height: 280px;
  }

  .pc-section-heading h2 {
    font-size: 17px;
  }

  .pc-section-aside {
    display: none;
  }

  .pc-access-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pc-access-link {
    min-height: 96px;
    padding: 15px;
  }

  .pc-info-person {
    padding: 20px 18px;
  }

  .pc-info-group h3 {
    padding: 0 18px;
  }

  .pc-info-grid {
    grid-template-columns: 1fr;
    padding: 6px 18px;
  }

  .pc-form-alert {
    margin-right: 18px;
    margin-left: 18px;
  }

  .pc-form-actions {
    padding-right: 18px;
    padding-left: 18px;
  }

  .pc-update-button {
    width: 100%;
  }

  .pc-info-field,
  .pc-info-field:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--pc-line);
  }

  .pc-info-field:last-child {
    border-bottom: 0;
  }

  .pc-mock-note {
    align-items: flex-start;
    margin: 0 18px 18px;
    line-height: 1.5;
  }

  .pc-documents-heading {
    align-items: flex-start;
    padding: 18px;
  }

  .pc-document-list {
    padding: 0 14px;
  }

  .pc-info-loading {
    padding: 0 18px 16px;
  }

  .pc-document-skeleton-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
  }

  .pc-skeleton-icon {
    width: 32px;
    height: 32px;
  }

  .pc-skeleton-status {
    grid-column: 2;
    justify-self: start;
    width: 110px;
  }

  .pc-document-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 10px;
  }

  .pc-document-icon {
    width: 32px;
    height: 32px;
  }

  .pc-document-status {
    grid-column: auto;
    justify-self: start;
  }

  .pc-document-actions,
  .pc-document-upload {
    justify-items: start;
    width: 100%;
    max-width: none;
  }

  .pc-document-status-actions {
    justify-content: flex-start;
  }

  .pc-document-status-actions.is-reviewing {
    align-items: flex-start;
  }

  .pc-upload-help,
  .pc-upload-message,
  .pc-upload-error {
    text-align: left;
  }

  .pc-upload-button {
    justify-self: start;
  }

  .pc-footer {
    padding-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-cliente *,
  .portal-cliente *::before,
  .portal-cliente *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
}

.portal-cliente {
  --pc-muted: #526057;
  --pc-coral: #a84f3c;
  font-size: 17px;
  line-height: 1.6;
}

.pc-nav-link {
  min-height: 48px;
  font-size: 16px;
}

.pc-header-name {
  max-width: 76px;
  font-size: 14px;
}

.pc-logout {
  width: 44px;
  height: 44px;
}

.pc-eyebrow,
.pc-client-label,
.pc-completion-kicker,
.pc-access-label {
  font-size: 14px;
  letter-spacing: 0;
}

.pc-welcome-copy,
.pc-page-heading > p:last-child,
.pc-date,
.pc-identity-copy > p,
.pc-info-person p {
  font-size: 16px;
}

.pc-info-group h3 {
  font-size: 18px;
}

.pc-profile-state {
  flex-wrap: wrap;
  font-size: 16px;
}

.pc-retry-button {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 15px;
}

.pc-client-code {
  font-size: 14px;
}

.pc-completion-kicker {
  margin-bottom: 6px;
}

.pc-completion-copy h3 {
  font-size: 19px;
}

.pc-completion-copy > p:not(.pc-completion-kicker) {
  font-size: 15px;
}

.pc-completion-link {
  min-height: 44px;
  font-size: 15px;
}

.pc-section-heading h2 {
  font-size: 22px;
}

.pc-section-aside {
  font-size: 15px;
}

.pc-access-link {
  min-height: 120px;
}

.pc-access-copy strong {
  font-size: 18px;
}

.pc-access-copy > span:last-child {
  font-size: 15px;
}

.pc-info-person h2 {
  font-size: 21px;
}

.pc-info-field span {
  font-size: 15px;
}

.pc-info-field strong,
.pc-info-input {
  font-size: 16px;
}

.pc-info-input {
  min-height: 48px;
}

.pc-change-photo {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 15px;
}

.pc-form-alert,
.pc-mock-note {
  font-size: 15px;
  line-height: 1.6;
}

.pc-update-button {
  min-height: 48px;
  font-size: 15px;
}

.pc-documents-heading h2 {
  font-size: 20px;
}

.pc-documents-heading p {
  font-size: 15px;
}

.pc-document-count,
.pc-document-status {
  font-size: 14px;
}

.pc-document-row {
  min-height: 84px;
}

.pc-document-copy strong {
  font-size: 16px;
}

.pc-document-copy span {
  font-size: 14px;
}

.pc-footer {
  font-size: 14px;
}

.portal-cliente a:focus-visible,
.portal-cliente button:focus-visible,
.portal-cliente input:focus-visible {
  outline: 3px solid #e0b55d;
  outline-offset: 3px;
}

.pc-change-photo:focus-within {
  outline: 3px solid #e0b55d;
  outline-offset: 3px;
}

.pc-info-input-editable:focus-visible {
  outline-color: var(--pc-forest-light);
  outline-offset: 1px;
}