/**
 * PostNow Design Feedback — Client Portal Dashboard Styling (Matched to ProofNow StudioShell & Storyboard v2.2)
 * Explicit px values throughout to guard against ACSS 62.5% root scale (1rem = 10px).
 */

/* ==========================================================================
   Oxygen Builder Full-Bleed Host & Mega-Menu Z-Index Guard
   ========================================================================== */
.ct-inner-content.pn-oxygen-studio-host,
.pn-oxygen-studio-host {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  z-index: auto !important;
  transform: none !important;
  filter: none !important;
}

body.pn-canvas-oxygen-normal:not(.pn-fullscreen-active) #masthead,
body.pn-canvas-oxygen-normal:not(.pn-fullscreen-active) .pnh-main-header,
body.pn-canvas-oxygen-normal:not(.pn-fullscreen-active) .oxy-header-wrapper,
body.pn-canvas-oxygen-normal:not(.pn-fullscreen-active) header.oxy-header,
body.pn-canvas-oxygen-normal:not(.pn-fullscreen-active) .ct-header,
body.pn-canvas-oxygen-normal:not(.pn-fullscreen-active) .site-header {
  z-index: 9999;
}

/* ==========================================================================
   StudioShell Client Portal Workspace (Storyboard v2.2 + PostNow ACSS)
   ========================================================================== */
#pn-studio-shell.pn-portal-studio-shell {
  --pn-canvas: #F2F2F2;
  --pn-border: #D9D9D9;
  --pn-border-subtle: #D9D9D9;
  --pn-navy-btn: #053E66;
  --pn-navy-btn-hover: #084D77;
  --pn-red: #E00022;
  --pn-red-hover: #B8001B;
  --pn-dark: #232323;
  --pn-muted: #595959;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Stage Topbar */
#pn-studio-shell.pn-portal-studio-shell .pn-stage-bar {
  background: #FFFFFF;
  border-bottom: 1px solid #D9D9D9;
  padding: 10px 18px;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-stage-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

#pn-studio-shell.pn-portal-studio-shell .pn-stage-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  background: #F2F2F2;
  border: 1px solid #D9D9D9;
  border-radius: 3px;
  color: #053E66;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

#pn-studio-shell.pn-portal-studio-shell .pn-stage-filter-toggle:hover {
  background: #E5E5E5;
  border-color: #BFBFBF;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-stage-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

#pn-studio-shell.pn-portal-studio-shell .pn-stage-title {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #053E66;
  line-height: 1.2;
}

#pn-studio-shell.pn-portal-studio-shell .pn-stage-sub {
  font-size: 12px;
  font-weight: 500;
  color: #595959;
  line-height: 1.3;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-stage-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* Crisp Architectural EN | FR Switcher (3px) */
#pn-studio-shell.pn-portal-studio-shell .pn-portal-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #F2F2F2;
  border: 1px solid #D9D9D9;
  border-radius: 3px;
  padding: 2px;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-lang-btn {
  appearance: none;
  background: transparent;
  border: none;
  color: #404040;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 2px;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-lang-btn:hover {
  color: #053E66;
  background: #FFFFFF;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-lang-btn.is-active {
  background: #053E66;
  color: #FFFFFF;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-lang-sep {
  font-size: 10px;
  color: #BFBFBF;
}

/* Left 268px Dock Drawer Filters */
#pn-studio-shell.pn-portal-studio-shell .pn-portal-drawer-section {
  margin-bottom: 18px;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-drawer-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #595959;
  margin-bottom: 8px;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-drawer-filters {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#pn-studio-shell.pn-portal-studio-shell .pn-filter-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: #FFFFFF;
  border: 1px solid #D9D9D9;
  border-left: 3px solid #D9D9D9;
  border-radius: 3px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #232323;
  cursor: pointer;
  line-height: 1.25;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#pn-studio-shell.pn-portal-studio-shell .pn-filter-btn.is-all { border-left-color: #053E66; }
#pn-studio-shell.pn-portal-studio-shell .pn-filter-btn.is-review { border-left-color: #E00022; }
#pn-studio-shell.pn-portal-studio-shell .pn-filter-btn.is-revision { border-left-color: #D97706; }
#pn-studio-shell.pn-portal-studio-shell .pn-filter-btn.is-approved { border-left-color: #16A34A; }

#pn-studio-shell.pn-portal-studio-shell .pn-filter-btn:hover {
  background: #F7FAFC;
  border-color: #053E66;
  color: #053E66;
}

#pn-studio-shell.pn-portal-studio-shell .pn-filter-btn.active {
  background: #053E66;
  border-color: #053E66;
  border-left-color: #E00022;
  color: #FFFFFF;
  font-weight: 700;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-drawer-help {
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 11px;
  background: #F7FAFC;
  border: 1px solid #D9D9D9;
  border-radius: 3px;
  color: #053E66;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-drawer-link:hover {
  background: #E8F1F7;
  border-color: #053E66;
}

/* Focus Stage Inner (#F2F2F2 Canvas) */
#pn-studio-shell.pn-portal-studio-shell .pn-stage-inner {
  padding: 18px 20px;
}

#pn-studio-shell.pn-portal-studio-shell .pn-portal-stage-content {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

/* KPI Summary Strip (Sharp 5px cards, 3px top accent border) */
#pn-studio-shell.pn-portal-studio-shell .pn-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

#pn-studio-shell.pn-portal-studio-shell .pn-stat-card {
  background: #FFFFFF;
  border: 1px solid #D9D9D9;
  border-top-width: 3px;
  border-radius: 5px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

#pn-studio-shell.pn-portal-studio-shell .pn-stat-card.border-red { border-top-color: #E00022; }
#pn-studio-shell.pn-portal-studio-shell .pn-stat-card.border-amber { border-top-color: #D97706; }
#pn-studio-shell.pn-portal-studio-shell .pn-stat-card.border-blue { border-top-color: #053E66; }
#pn-studio-shell.pn-portal-studio-shell .pn-stat-card.border-green { border-top-color: #16A34A; }

#pn-studio-shell.pn-portal-studio-shell .pn-stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #595959;
  line-height: 1.25;
}

#pn-studio-shell.pn-portal-studio-shell .pn-stat-value {
  font-family: inherit;
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

/* Projects Grid / Cards (Sharp 5px cards, 3px action buttons) */
#pn-studio-shell.pn-portal-studio-shell .pn-projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 12px;
}

#pn-studio-shell.pn-portal-studio-shell .pn-project-card {
  background: #FFFFFF;
  border: 1px solid #D9D9D9;
  border-left-width: 4px;
  border-radius: 5px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#pn-studio-shell.pn-portal-studio-shell .pn-project-card:hover {
  border-color: #BFBFBF;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}

#pn-studio-shell.pn-portal-studio-shell .pn-project-card.status-pending_review { border-left-color: #E00022; }
#pn-studio-shell.pn-portal-studio-shell .pn-project-card.status-changes_requested { border-left-color: #D97706; }
#pn-studio-shell.pn-portal-studio-shell .pn-project-card.status-approved { border-left-color: #16A34A; }

#pn-studio-shell.pn-portal-studio-shell .pn-project-thumb {
  width: 96px;
  height: 68px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #D9D9D9;
  background: #F7FAFC;
  flex-shrink: 0;
}

#pn-studio-shell.pn-portal-studio-shell .pn-project-info {
  flex: 1 1 auto;
  min-width: 0;
}

#pn-studio-shell.pn-portal-studio-shell .pn-project-info h3 {
  margin: 0 0 4px 0;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: #232323;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#pn-studio-shell.pn-portal-studio-shell .pn-project-meta {
  font-size: 12px;
  color: #595959;
  line-height: 1.4;
}

#pn-studio-shell.pn-portal-studio-shell .pn-project-action {
  flex-shrink: 0;
}

#pn-studio-shell.pn-portal-studio-shell .pn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 3px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#pn-studio-shell.pn-portal-studio-shell .pn-btn-primary {
  background: #E00022;
  border: 1.5px solid #E00022;
  color: #FFFFFF;
}

#pn-studio-shell.pn-portal-studio-shell .pn-btn-primary:hover {
  background: #B8001B;
  border-color: #B8001B;
  color: #FFFFFF;
}

#pn-studio-shell.pn-portal-studio-shell .pn-btn-outline {
  background: #FFFFFF;
  border: 1.5px solid #053E66;
  color: #053E66;
}

#pn-studio-shell.pn-portal-studio-shell .pn-btn-outline:hover {
  background: #053E66;
  color: #FFFFFF;
}

#pn-studio-shell.pn-portal-studio-shell .pn-empty-state,
#pn-studio-shell.pn-portal-studio-shell .pn-error-notice {
  grid-column: 1 / -1;
  background: #FFFFFF;
  border: 1px solid #D9D9D9;
  border-radius: 5px;
  padding: 28px 20px;
  text-align: center;
  color: #404040;
  font-size: 13px;
  font-weight: 600;
}

#pn-studio-shell.pn-portal-studio-shell .pn-error-notice {
  border-left: 4px solid #E00022;
  color: #B8001B;
}

/* Skeleton Loading Cards inside StudioShell */
#pn-studio-shell.pn-portal-studio-shell .pn-skeleton-card {
  background: #FFFFFF;
  border: 1px solid #D9D9D9;
  border-radius: 5px;
  padding: 14px 16px;
  display: flex;
  gap: 16px;
}

#pn-studio-shell.pn-portal-studio-shell .pn-skeleton-thumb {
  width: 96px;
  height: 68px;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: pn-shimmer 1.5s infinite;
  border-radius: 4px;
  flex-shrink: 0;
}

#pn-studio-shell.pn-portal-studio-shell .pn-skeleton-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

#pn-studio-shell.pn-portal-studio-shell .pn-skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: pn-shimmer 1.5s infinite;
  border-radius: 3px;
}

#pn-studio-shell.pn-portal-studio-shell .pn-skeleton-line.title { height: 16px; width: 60%; }
#pn-studio-shell.pn-portal-studio-shell .pn-skeleton-line.short { width: 30%; }
#pn-studio-shell.pn-portal-studio-shell .pn-skeleton-line.medium { width: 45%; }

@media (max-width: 960px) {
  #pn-studio-shell.pn-portal-studio-shell .pn-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #pn-studio-shell.pn-portal-studio-shell .pn-projects-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  #pn-studio-shell.pn-portal-studio-shell .pn-stats-grid {
    grid-template-columns: 1fr;
  }
  #pn-studio-shell.pn-portal-studio-shell .pn-project-card {
    flex-wrap: wrap;
  }
  #pn-studio-shell.pn-portal-studio-shell .pn-project-action {
    width: 100%;
  }
  #pn-studio-shell.pn-portal-studio-shell .pn-project-action .pn-btn {
    width: 100%;
  }
}

/* ==========================================================================
   Legacy Standalone Portal Styling (Fallback when StudioShell is unavailable)
   ========================================================================== */
body.pn-portal-body:not(.pn-canvas-oxygen-normal):not(.pn-portal-studio-body) {
  --pn-red: #E00022;
  --pn-red-hover: #B8001B;
  --pn-blue: #053754;
  --pn-navy-surface: #084D77;
  --pn-dark: #0F172A;
  --pn-gray-bg: #F8FAFC;
  --pn-border: #E2E8F0;
  --pn-font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pn-font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  margin: 0;
  padding: 0;
  background-color: var(--pn-gray-bg);
  color: var(--pn-dark);
  font-family: var(--pn-font-body);
  font-size: 14px;
  line-height: 1.5;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header (Matched to PostNow RouteNow Studio Header) */
body.pn-portal-body:not(.pn-portal-studio-body) .pn-site-header {
  background: linear-gradient(135deg, #053754 0%, #0F172A 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-header-logo {
  text-decoration: none;
  font-family: var(--pn-font-heading);
  font-weight: 800;
  font-size: 19px;
  color: #FFFFFF;
  letter-spacing: -0.025em;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-header-logo span {
  color: var(--pn-red);
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-header-nav {
  margin-left: 36px;
  display: flex;
  gap: 20px;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-header-nav a {
  text-decoration: none;
  color: #CBD5E1;
  font-family: var(--pn-font-heading);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s ease;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-header-nav a:hover,
body.pn-portal-body:not(.pn-portal-studio-body) .pn-header-nav a.active {
  color: #FFFFFF;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-portal-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-portal-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  padding: 3px 6px;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-portal-lang-btn {
  appearance: none;
  background: transparent;
  border: none;
  color: #CBD5E1;
  font-family: var(--pn-font-heading);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 2px;
  cursor: pointer;
  line-height: 1.1;
  transition: all 0.15s ease;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-portal-lang-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-portal-lang-btn.is-active {
  background: var(--pn-red);
  color: #FFFFFF;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-portal-lang-sep {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.28);
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-header-user {
  font-size: 12.5px;
  font-weight: 700;
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 12px;
  border-radius: 3px;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-login-link {
  color: #FFFFFF;
  text-decoration: none;
}

/* Breadcrumb */
body.pn-portal-body:not(.pn-portal-studio-body) .pn-breadcrumb-bar {
  background: #F1F5F9;
  border-bottom: 1px solid var(--pn-border);
  padding: 9px 0;
  font-size: 12px;
  color: #64748B;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-breadcrumb-bar a {
  color: var(--pn-blue);
  font-weight: 600;
  text-decoration: none;
}

/* Dashboard Layout */
body.pn-portal-body:not(.pn-portal-studio-body) .pn-dashboard-layout {
  padding: 32px 20px;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-dashboard-header h1 {
  font-family: var(--pn-font-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  color: var(--pn-blue);
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-subtitle {
  color: #475569;
  margin: 0 0 24px 0;
}

/* Stats Grid */
body.pn-portal-body:not(.pn-portal-studio-body) .pn-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-stat-card {
  background: #FFFFFF;
  border-radius: 5px;
  padding: 18px 20px;
  border: 1px solid var(--pn-border);
  border-top-width: 4px;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-stat-card.border-red { border-top-color: var(--pn-red); }
body.pn-portal-body:not(.pn-portal-studio-body) .pn-stat-card.border-amber { border-top-color: #D97706; }
body.pn-portal-body:not(.pn-portal-studio-body) .pn-stat-card.border-blue { border-top-color: var(--pn-blue); }
body.pn-portal-body:not(.pn-portal-studio-body) .pn-stat-card.border-green { border-top-color: #16A34A; }

body.pn-portal-body:not(.pn-portal-studio-body) .pn-stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748B;
  margin-bottom: 8px;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-stat-value {
  font-family: var(--pn-font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--pn-dark);
}

/* Filters */
body.pn-portal-body:not(.pn-portal-studio-body) .pn-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-filter-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  padding: 7px 15px;
  border-radius: 3px;
  font-family: var(--pn-font-heading);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-filter-btn:hover {
  border-color: var(--pn-blue);
  color: var(--pn-blue);
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-filter-btn.active {
  background: var(--pn-red);
  color: #FFFFFF;
  border-color: var(--pn-red);
  box-shadow: 0 3px 10px rgba(224, 0, 34, 0.25);
}

/* Cards List */
body.pn-portal-body:not(.pn-portal-studio-body) .pn-projects-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-project-card {
  background: #FFFFFF;
  border: 1px solid var(--pn-border);
  border-left-width: 4px;
  border-radius: 5px;
  padding: 16px 20px;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  gap: 20px;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-project-card.status-pending_review { border-left-color: var(--pn-red); }
body.pn-portal-body:not(.pn-portal-studio-body) .pn-project-card.status-changes_requested { border-left-color: #D97706; }
body.pn-portal-body:not(.pn-portal-studio-body) .pn-project-card.status-approved { border-left-color: #16A34A; }

body.pn-portal-body:not(.pn-portal-studio-body) .pn-project-thumb {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--pn-border);
  background: #F1F5F9;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-project-info {
  flex: 1;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-project-info h3 {
  margin: 0 0 4px 0;
  font-family: var(--pn-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--pn-dark);
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-project-meta {
  font-size: 12px;
  color: #64748B;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 3px;
  font-family: var(--pn-font-heading);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.16s ease;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-btn-primary {
  background: linear-gradient(135deg, #FF1A3C 0%, #E00022 100%);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(224, 0, 34, 0.25);
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-btn-primary:hover {
  background: var(--pn-red-hover);
  color: #FFFFFF;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-btn-outline {
  background: #FFFFFF;
  border: 1.5px solid var(--pn-blue);
  color: var(--pn-blue);
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-btn-outline:hover {
  background: var(--pn-blue);
  color: #FFFFFF;
}

/* Skeleton Loading Animation */
body.pn-portal-body:not(.pn-portal-studio-body) .pn-skeleton-card {
  background: #FFFFFF;
  border: 1px solid var(--pn-border);
  border-radius: 5px;
  padding: 16px 20px;
  display: flex;
  gap: 20px;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-skeleton-thumb {
  width: 100px;
  height: 70px;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: pn-shimmer 1.5s infinite;
  border-radius: 4px;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-skeleton-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: pn-shimmer 1.5s infinite;
  border-radius: 4px;
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-skeleton-line.title { height: 18px; width: 60%; }
body.pn-portal-body:not(.pn-portal-studio-body) .pn-skeleton-line.short { width: 30%; }
body.pn-portal-body:not(.pn-portal-studio-body) .pn-skeleton-line.medium { width: 45%; }

@keyframes pn-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

body.pn-portal-body:not(.pn-portal-studio-body) .pn-site-footer {
  margin-top: 60px;
  background: #0F172A;
  color: #94A3B8;
  padding: 24px 0;
  text-align: center;
  font-size: 12px;
}
