/*
  Atlas modernization overlay
  Source direction: D:\Atlas_Design_System_Production_Pack\Atlas_Design_System_Pack
  Scope: visual consistency only (no workflow or role logic changes)
*/

:root{
  --atlas-modern-content-max:1280px;
  --atlas-modern-radius-control:14px;
  --atlas-modern-radius-card:24px;
  --atlas-modern-radius-hero:28px;
  --atlas-modern-shadow-soft:0 14px 34px rgba(0,0,0,.24);
  --atlas-modern-shadow-card:0 22px 52px rgba(0,0,0,.28);
}

.public-inner{
  max-width:var(--atlas-modern-content-max);
  padding-inline:22px;
}

.page-shell{
  gap:24px;
}

.page-hero{
  gap:16px;
  align-items:flex-end;
}

.page-kicker{
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--atlas-text-soft);
}

.page-copy h1{
  font-size:clamp(30px,3.8vw,46px);
  line-height:1.05;
  letter-spacing:-.02em;
}

.panel-copy,
.muted{
  line-height:1.55;
}

.surface-panel,
.card{
  border-radius:var(--atlas-modern-radius-card);
  box-shadow:var(--atlas-modern-shadow-soft);
}

.surface-panel{
  background:linear-gradient(180deg,rgba(20,31,57,.94),rgba(10,17,34,.9));
  border:1px solid rgba(255,255,255,.11);
}

.primary-btn,
.secondary-btn,
.ghost-btn,
button.primary-btn,
button.secondary-btn,
button.ghost-btn,
.pill{
  min-height:44px;
  border-radius:var(--atlas-modern-radius-control);
  font-weight:800;
  letter-spacing:.01em;
}

.primary-btn,
button.primary-btn{
  box-shadow:0 12px 24px rgba(92,123,255,.32);
}

.field input,
.field select,
.field textarea{
  border-radius:var(--atlas-modern-radius-control);
  min-height:46px;
}

.field textarea{
  min-height:120px;
}

.hero--portal .door-scene{
  border-radius:var(--atlas-modern-radius-hero);
}

.hero--portal .door-heading{
  font-size:clamp(36px,4.4vw,58px);
  letter-spacing:-.025em;
}

.hero--portal .door-tagline{
  font-size:clamp(15px,1.4vw,18px);
  color:rgba(226,239,255,.86);
}

.listings-page .listing-card-modern{
  border-radius:24px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:var(--atlas-modern-shadow-soft);
}

.listings-page .listing-card-media{
  border-radius:20px;
  overflow:hidden;
}

.listings-page .listing-card-media img{
  transition:transform var(--atlas-duration-base) var(--atlas-ease);
}

.listings-page .listing-card-modern:hover{
  box-shadow:var(--atlas-modern-shadow-card);
}

.listings-page .listing-card-modern:hover .listing-card-media img{
  transform:scale(1.04);
}

.manager-applications-page .application-bulk-bar{
  border-radius:20px;
  border:1px solid var(--atlas-border-default);
  background:rgba(255,255,255,.04);
  padding:18px;
}

.manager-applications-page .applications-pipeline{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
  overflow:visible;
  padding-bottom:0;
}

.manager-applications-page .application-lane{
  min-width:0;
  min-height:430px;
  border-radius:22px;
}

.manager-applications-page .application-card{
  border-radius:16px;
  gap:12px;
}

.manager-applications-page .application-card h4{
  font-size:22px;
}

.manager-applications-page .application-card__summary strong{
  font-size:16px;
}

.manager-applications-page .application-card__actions .ghost-btn,
.manager-applications-page .application-card__actions .secondary-btn{
  min-height:42px;
}

.manager-applications-page .application-drawer__panel{
  width:min(560px,100%);
}

.property-manager-dashboard-page .tile-grid .action-tile,
.manager-dashboard-page .tile-grid .action-tile,
.tenant-dashboard .tile-grid .action-tile{
  border-radius:20px;
  border:1px solid rgba(255,255,255,.11);
  box-shadow:var(--atlas-modern-shadow-soft);
}

@media (max-width:1279px){
  .manager-applications-page .applications-pipeline{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:1023px){
  .public-inner{
    padding-inline:18px;
  }
  .page-hero{
    align-items:flex-start;
  }
}

@media (max-width:779px){
  .public-inner{
    padding-inline:16px;
  }
  .page-shell{
    gap:18px;
  }
  .page-hero .hero-actions{
    width:100%;
  }
  .page-hero .hero-actions > *{
    width:100%;
  }
  .manager-applications-page .applications-pipeline{
    grid-template-columns:1fr;
    gap:16px;
  }
  .manager-applications-page .application-lane{
    min-height:0;
  }
}

@media (max-width:479px){
  .page-copy h1{
    font-size:clamp(26px,9vw,34px);
  }
  .primary-btn,
  .secondary-btn,
  .ghost-btn,
  .pill{
    width:100%;
  }
}
