
/* TECH HOUSE — PEARL EXECUTIVE PREMIUM
   Escopo: dashboard e navegacao. Sem alteracoes funcionais. */

:root {
  --px-bg:#f7f8fa;
  --px-white:#fff;
  --px-ink:#252a34;
  --px-muted:#697384;
  --px-border:#e2e6ec;
  --px-navy:#17253b;
  --px-champagne:#c5a46d;
}

body .app {
  background:var(--px-bg)!important;
  color:var(--px-ink)!important;
}

/* Menu lateral */
body .app aside {
  background:#fff!important;
  border-right:1px solid var(--px-border)!important;
  scrollbar-width:thin;
  scrollbar-color:#d5d9e0 transparent;
}
body .app .side-brand {
  border-bottom:1px solid var(--px-border)!important;
}
body .app .side-brand span {
  color:#526077!important;
}
body .app aside nav button {
  color:#435066!important;
  border-radius:11px!important;
  transition:background .2s,color .2s;
}
body .app aside nav button:hover {
  background:#f0f2f6!important;
  color:var(--px-navy)!important;
  box-shadow:none!important;
}
body .app aside nav button.active {
  background:#e9edf4!important;
  color:var(--px-navy)!important;
  box-shadow:inset 3px 0 var(--px-navy)!important;
}

/* Cabecalho */
body .workspace > header {
  position:relative!important;
  top:auto!important;
  z-index:5!important;
  background:#fff!important;
  border-bottom:1px solid var(--px-border)!important;
}
body .workspace .search {
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#657184!important;
  font-size:0!important;
}
body .workspace .search::before {
  content:none!important;
  display:none!important;
}
body .workspace .search input {
  font-size:14px!important;
  flex:1;
  min-width:0;
  width:100%!important;
  padding:12px 14px!important;
  border:1px solid #dce2eb!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--px-ink)!important;
}
body .workspace .search input:focus {
  border-color:#8895a8!important;
  box-shadow:0 0 0 3px #17253b12!important;
}
body .workspace .head-actions {
  color:var(--px-navy)!important;
}

/* Conteudo e banner */
body .workspace #content {
  padding-top:16px!important;
}
body .workspace .hero {
  height:auto!important;
  min-height:150px!important;
  margin-top:0!important;
  background:linear-gradient(120deg,#fff,#eef1f6)!important;
  border:1px solid var(--px-border)!important;
  border-radius:17px!important;
  box-shadow:0 5px 18px #17253b08!important;
}
body .workspace .hero-text {
  padding:25px 32px!important;
  max-width:100%!important;
}
body .workspace .hero h1 {
  font-size:clamp(26px,2.6vw,36px)!important;
  line-height:1.12!important;
  color:var(--px-ink)!important;
}
body .workspace .hero h1 em {
  color:var(--px-ink)!important;
  -webkit-text-fill-color:var(--px-ink)!important;
}
body .workspace .hero p {
  color:#596474!important;
}

/* Indicadores */
body .workspace .stat {
  background:#fff!important;
  border:1px solid var(--px-border)!important;
  border-radius:15px!important;
  box-shadow:0 5px 18px #17253b08!important;
}
body .workspace .stat .ico {
  background:#edf0f5!important;
  color:var(--px-navy)!important;
  box-shadow:none!important;
}
body .workspace .stat b {
  color:var(--px-ink)!important;
}
body .workspace .stat small {
  color:var(--px-muted)!important;
}

/* Cartoes dos projetos */
body .workspace .project {
  min-height:0!important;
  background:#fff!important;
  border:1px solid var(--px-border)!important;
  border-radius:17px!important;
  box-shadow:0 6px 22px #17253b0b!important;
  overflow:hidden!important;
  transition:transform .2s,box-shadow .2s;
}
body .workspace .project:hover {
  transform:translateY(-2px);
  box-shadow:0 12px 28px #17253b15!important;
}
body .workspace .project-cover {
  height:86px!important;
  background-image:var(--cover)!important;
  background-color:#edf0f5!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
}
body .workspace .project-body {
  padding:15px!important;
}
body .workspace .project h3 {
  color:var(--px-ink)!important;
  font-size:18px!important;
}
body .workspace .project p {
  color:var(--px-muted)!important;
}
body .workspace .project .badge {
  background:#f1f3f6!important;
  color:#505b6d!important;
  border:1px solid #e0e5ec!important;
}

/* Botoes */
body .workspace .action,
body .workspace .project-actions button {
  border-radius:10px!important;
  background:var(--px-navy)!important;
  background-image:none!important;
  color:#fff!important;
  border:1px solid var(--px-navy)!important;
  box-shadow:none!important;
}
body .workspace .action:hover,
body .workspace .project-actions button:hover {
  background:#273953!important;
  border-color:#273953!important;
}
body .workspace .project-actions .gear {
  min-width:40px;
}

/* Paineis auxiliares */
body .workspace .panel,
body .workspace .tile {
  background:#fff!important;
  border:1px solid var(--px-border)!important;
  color:var(--px-ink)!important;
  border-radius:14px!important;
}
body .workspace .tile b {
  color:var(--px-navy)!important;
}

/* Responsividade */
@media(max-width:1100px) {
  body .workspace .projects-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:720px) {
  body .workspace .projects-grid {
    grid-template-columns:minmax(0,1fr)!important;
  }
  body .workspace .hero-text {
    padding:20px!important;
  }
  body .workspace .search {
    width:65%!important;
  }
  body .workspace .search input {
    font-size:12px!important;
  }
  body .workspace .section-head {
    flex-wrap:wrap!important;
    gap:12px!important;
  }
  body .workspace .action-row {
    flex-wrap:wrap!important;
  }
  body .workspace #content {
    padding-bottom:85px!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  body .workspace .project {
    transition:none!important;
  }
}

.hero-mark{width:min(240px,28vw)!important;height:auto!important;aspect-ratio:3.08/1!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}.hero-mark img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}

.external-access-card{display:grid;gap:18px}.external-access-card h2{margin:10px 0 4px}.external-access-card .action-row{display:flex;gap:10px;flex-wrap:wrap}.external-access-card .notice{grid-column:1/-1}.external-access-card input{width:100%}
