:root {
  --ink: #15141d;
  --muted: #767b86;
  --line: #e6e7eb;
  --paper: #fff;
  --soft: #f6f6f8;
  --purple: #7655d9;
  --orange: #fa9c56;
  --green: #218c66;
  --blue: #3d79c9;
  --sidebar: 252px;
  font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
* {
  box-sizing: border-box
}
html,body {
  margin: 0;
  min-height: 100%;
  background: #f7f7f9;
  color: var(--ink)
}
body {
  min-width: 320px
}
button,input,select {
  font: inherit
}
button {
  cursor: pointer
}
.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) 1fr
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 22px 15px 16px;
  display: flex;
  flex-direction: column;
  z-index: 30
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px 19px
}
.brand img {
  width: 34px;
  height: 34px
}
.brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: -.035em
}
.brand small {
  display: block;
  margin-top: 4px;
  color: #898e98;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .16em
}
.org-switch {
  width: 100%;
  padding: 12px;
  border: 1px solid #e1e2e6;
  border-radius: 12px;
  background: #fafafa;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left
}
.org-mark {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: linear-gradient(135deg,#7256d8,#ff9c55);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px
}
.org-switch strong {
  display: block;
  font-size: 12px
}
.org-switch span {
  display: block;
  margin-top: 3px;
  color: #8c9099;
  font-size: 9px
}
.org-switch i {
  margin-left: auto;
  color: #989ca5;
  font-style: normal
}
.nav-label {
  padding: 21px 12px 8px;
  color: #a0a4ad;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase
}
.nav {
  display: grid;
  gap: 4px
}
.nav button {
  min-height: 42px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #606570;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  font-size: 13px;
  font-weight: 620
}
.nav button:hover {
  background: #f4f4f6;
  color: #222
}
.nav button.active {
  background: #171620;
  color: #fff;
  box-shadow: 0 9px 24px rgba(20,18,32,.14)
}
.nav-icon {
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800
}
.sidebar-bottom {
  margin-top: auto
}
.profile {
  width: 100%;
  padding: 14px 9px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left
}
.profile:hover strong {
  text-decoration: underline
}
.avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #171620;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800
}
.profile strong {
  display: block;
  font-size: 11px
}
.profile span {
  display: block;
  margin-top: 3px;
  color: #91959e;
  font-size: 9px
}
.main {
  grid-column: 2;
  min-width: 0
}
.topbar {
  height: 68px;
  padding: 0 31px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px)
}
.breadcrumb {
  color: #858a94;
  font-size: 12px
}
.breadcrumb strong {
  color: #1d1c24
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 9px
}
.identity {
  padding: 7px 10px;
  border-radius: 99px;
  background: #edf7f2;
  color: #257b5d;
  font-size: 10px;
  font-weight: 700
}
.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #e0e1e5;
  border-radius: 10px;
  background: #fff;
  color: #626771;
  display: grid;
  place-items: center
}
.create-btn {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #171620;
  color: #fff;
  font-weight: 680;
  font-size: 12px
}
.surface {
  display: none
}
.surface.active {
  display: block;
  animation: enter .2s ease both
}
@keyframes enter {
from {
  opacity: 0;
  transform: translateY(4px)
}
to {
  opacity: 1;
  transform: none
}
}
.page {
  width: min(1210px,calc(100% - 60px));
  margin: 0 auto;
  padding: 42px 0 55px
}
.eyebrow {
  margin: 0 0 9px;
  color: #7256d8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase
}
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px
}
.page-head h1 {
  margin: 0;
  line-height: 1.04
}
.page-head p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55
}
.btn {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #dcdde2;
  border-radius: 10px;
  background: #fff;
  color: #24232b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 680
}
.btn.primary {
  background: #171620;
  border-color: #171620;
  color: #fff
}
.btn.purple {
  background: #7256d8;
  border-color: #7256d8;
  color: #fff
}
.btn.small {
  min-height: 34px;
  padding: 0 11px;
  font-size: 10px
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
  margin-top: 28px
}
.kpi {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px
}
.kpi.dark {
  background: #171620;
  color: #fff;
  border-color: #171620
}
.kpi span {
  display: block;
  color: #858a94;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase
}
.kpi.dark span,.kpi.dark small {
  color: #aaa7b3
}
.kpi strong {
  display: block;
  margin-top: 11px;
  font-size: 24px;
  letter-spacing: -.04em
}
.kpi small {
  display: block;
  margin-top: 4px;
  color: #9a9da6;
  font-size: 10px
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.3fr .75fr;
  gap: 15px
}
.panel {
  padding: 21px;
  background: #fff;
  border: 1px solid var(--line)
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px
}
.panel h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -.025em
}
.panel-sub {
  margin: 6px 0 0;
  color: #858a94;
  font-size: 11px;
  line-height: 1.45
}
.panel-link {
  border: 0;
  background: transparent;
  color: #7256d8;
  font-size: 10px;
  font-weight: 700
}
.capital-chart {
  height: 225px;
  margin-top: 17px;
  padding: 12px 13px 0;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  border-bottom: 1px solid #dedfe3
}
.chart-group {
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  position: relative
}
.chart-bar {
  width: 24%;
  border-radius: 5px 5px 0 0
}
.chart-group label {
  position: absolute;
  bottom: -27px;
  color: #8c9099;
  font-size: 9px
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr)
}
.module-card {
  min-height: 176px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: .18s
}
.module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(20,19,30,.07)
}
.module-icon {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800
}
.module-card h3 {
  margin: 16px 0 6px;
  font-size: 15px
}
.module-card p {
  margin: 0;
  color: #858a94;
  font-size: 10px;
  line-height: 1.5
}
.module-card footer {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8d919a;
  font-size: 9px
}
.module-card footer b {
  color: #33323a;
  font-size: 10px
}
.featured p {
  color: #b7b4bf
}
.status {
  display: inline-flex;
  width: max-content;
  padding: 5px 8px;
  border-radius: 99px;
  background: #e9f7f0;
  color: #21805e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em
}
.featured .status {
  background: #2d2a38;
  color: #c6b9ff
}
.project-tools {
  align-items: center;
  justify-content: space-between;
  margin-top: 25px
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap
}
.filter {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #dfe0e4;
  border-radius: 99px;
  background: #fff;
  color: #747984;
  font-size: 10px;
  font-weight: 650
}
.filter.active {
  background: #171620;
  border-color: #171620;
  color: #fff
}
.search {
  width: 260px;
  height: 37px;
  padding: 0 12px;
  border: 1px solid #dddfe3;
  border-radius: 10px;
  background: #fff;
  outline: none
}
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(min(100%,280px),1fr));
  grid-auto-rows: 1fr;
  gap: 14px
}
.project-card {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  transition: .18s
}
.project-card:hover {
  border-color: #b9bbc2;
  box-shadow: 0 6px 18px rgba(20,19,30,.04)
}
.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px
}
.vertical-tag {
  padding: 5px 8px;
  border-radius: 99px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em
}
.vertical-tag.dc {
  background: #eeeaff;
  color: #6644c1
}
.vertical-tag.hc {
  background: #e8f6f0;
  color: #257d5e
}
.vertical-tag.hm {
  background: #fff0e5;
  color: #b9642b
}
.project-card h3 {
  margin: 12px 0 6px;
  font-size: 15px
}
.project-card>p {
  margin: 0;
  color: #858a94;
  font-size: 10px
}
.project-metrics {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 7px;
  margin-top: 12px
}
.project-metrics div {
  padding: 10px;
  background: #f7f7f9;
  border-radius: 9px
}
.project-metrics span {
  display: block;
  color: #9397a0;
  font-size: 8px;
  text-transform: uppercase
}
.project-metrics strong {
  display: block;
  margin-top: 5px;
  font-size: 12px
}
.project-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ececef;
  color: #858a94;
  font-size: 9px
}
.readiness {
  display: flex;
  align-items: center;
  gap: 5px
}
.readiness i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef9e59
}
.readiness.good i {
  background: #2a966d
}
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px
}
.track {
  height: 9px;
  border-radius: 99px;
  background: #eeeef1;
  overflow: hidden
}
.track span {
  display: block;
  height: 100%;
  border-radius: 99px
}
.activity {
  display: grid;
  gap: 0;
  margin-top: 12px
}
.activity-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #ededf0
}
.activity-icon {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: #f0ecff;
  color: #6a4cc8;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800
}
.activity-row strong {
  display: block;
  font-size: 10px
}
.activity-row span {
  display: block;
  margin-top: 4px;
  color: #898d96;
  font-size: 9px
}
.activity-row time {
  color: #a0a3aa;
  font-size: 8px
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px
}
th {
  text-align: left;
  padding: 9px;
  color: #8e929b;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line)
}
td {
  padding: 12px 9px;
  border-bottom: 1px solid #ededf0;
  font-size: 10px
}
td strong {
  display: block
}
td small {
  display: block;
  margin-top: 3px;
  color: #92969f
}
.role {
  padding: 4px 7px;
  border-radius: 99px;
  background: #f0ecff;
  color: #684bc0;
  font-size: 8px;
  font-weight: 750
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(19,18,27,.48);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 70
}
.overlay.open {
  display: flex
}
.modal {
  width: min(680px,100%);
  max-height: 90vh;
  overflow: auto;
  padding: 27px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.24)
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px
}
.modal h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -.04em
}
.modal p {
  margin: 9px 0 0;
  color: #7d818b;
  font-size: 11px;
  line-height: 1.5
}
.close {
  width: 33px;
  height: 33px;
  border: 0;
  border-radius: 9px;
  background: #f1f1f3
}
 {
  text-align: left
}
.vertical-options {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-top: 15px
}
.vertical-option {
  padding: 13px;
  border: 1px solid #dfe0e4;
  border-radius: 11px;
  background: #fff;
  text-align: left
}
.vertical-option.selected {
  border-color: #7256d8;
  background: #f1edff
}
.vertical-option strong {
  display: block;
  font-size: 11px
}
.vertical-option span {
  color: #8b8f98;
  font-size: 8px
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px
}
 {
  text-transform: uppercase
}
 {
  right: 22px;
  box-shadow: 0 20px 55px rgba(0,0,0,.25);
  pointer-events: none;
  transition: .2s;
  z-index: 80
}
.capital-chart {
  background: linear-gradient(180deg,rgba(118,85,217,.055),rgba(255,255,255,0))
}
 {
  background: #c9b6f5!important
}
 {
  overflow: hidden
}
.field {
  display: grid;
  gap: 7px
}
.field.wide {
  grid-column: 1/-1
}
.field label {
  font-size: 9px;
  font-weight: 750;
  color: #6f737d;
  text-transform: uppercase;
  letter-spacing: .07em
}
.field input,.field select {
  width: 100%;
  height: 43px;
  padding: 0 12px;
  border: 1px solid #dedfe4;
  border-radius: 10px;
  background: #fff;
  color: #24232b;
  outline: none
}
@media(max-width:1000px) {
:root {
  --sidebar: 76px
}
.brand {
  justify-content: center
}
.brand div,.org-switch div,.org-switch i,.nav-label,.nav button>span:not(.nav-icon),.profile div {
  display: none
}
.org-switch {
  justify-content: center;
  padding: 9px
}
.nav button {
  justify-content: center
}
.profile {
  justify-content: center
}
.page {
  width: min(100% - 34px,900px)
}
.dashboard-grid,.portfolio-grid {
  grid-template-columns: 1fr
}
.kpis {
  grid-template-columns: repeat(2,1fr)
}
.projects {
  grid-template-columns: repeat(auto-fill,minmax(min(100%,280px),1fr))
}
}
@media(max-width:640px) {
.app {
  display: block
}
.sidebar {
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  height: 64px;
  padding: 8px;
  border-top: 1px solid var(--line);
  border-right: 0
}
.brand,.org-switch,.sidebar-bottom,.nav-label,.nav button:nth-child(n+6) {
  display: none
}
.nav {
  display: flex;
  justify-content: space-around
}
.nav button {
  min-width: 46px
}
.main {
  padding-bottom: 64px
}
.topbar {
  padding: 0 14px
}
.identity {
  display: none
}
.page {
  width: calc(100% - 24px);
  padding-top: 26px
}
.page-head {
  align-items: flex-start;
  flex-direction: column
}
.kpis,.module-grid,.projects,.vertical-options {
  grid-template-columns: 1fr
}
.project-tools {
  align-items: stretch;
  flex-direction: column
}
.search {
  width: 100%
}
}
[hidden] {
  display: none!important
}
a.module-card,a.vertical-option,a.btn {
  color: inherit;
  text-decoration: none;
  display: block
}
a.btn.primary {
  color: #fff
}
a.module-card:hover {
  border-color: #b4a0dd;
  box-shadow: 0 8px 25px #3019470d
}
.module-grid {
  margin-top: 24px
}
.connection-status {
  line-height: 1.6;
  color: #70647e
}
.connection-status.error {
  background: #fff5f3;
  color: #9b4848
}
.connection-status a {
  color: #7256d8
}
 {
  text-decoration: none
}
 {
  border-color: #ad96d6
}
.real-empty {
  font-size: 13px;
  color: #8a8192;
  line-height: 1.8
}
.project-tools {
  display: flex;
  gap: 12px
}
.project-tools input {
  border: 1px solid #dfd9e8;
  border-radius: 11px;
  font: inherit;
  font-size: 13px
}
#workspaceSelect {
  width: 100%;
  border: 1px solid #e3dce9;
  border-radius: 10px;
  padding: 10px;
  font: inherit;
  background: #fff
}
#createDialog {
  width: min(720px,calc(100% - 32px));
  border: 1px solid #e7e0ee;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 30px 100px #26123533
}
#createDialog::backdrop {
  background: #1b142a77
}
.vertical-option span {
  display: block;
  line-height: 1.6;
  margin-top: 10px
}
.membership {
  border-top: 1px solid #eee9f2;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px
}
.membership span {
  color: #80728c
}
@media(max-width:680px) {
 {
  grid-template-columns: 1fr 1fr
}
.vertical-options {
  grid-template-columns: 1fr
}
.top-actions .identity {
  display: none
}
}
.module-grid.residential-only {
  grid-template-columns: minmax(0,680px)
}
.company-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #89818f;
  margin: 18px 2px 8px
}
.admin-badge {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  background: transparent;
  color: #947caf;
  border: 0;
  border-radius: 0;
  padding: 0 2px;
  margin-top: 12px
}
.company-grid {
  display: grid;
  gap: 20px;
  margin: 28px 0
}
.company-card {
  text-align: left;
  border: 1px solid #e5e0ea;
  border-radius: 18px;
  background: #fff;
  color: #21172e
}
.company-card:hover {
  border-color: #b6a0d9;
  box-shadow: 0 12px 26px #2611370b
}
.company-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg,#eee6fc,#fbece0);
  color: #7756af;
  font-size: 14px;
  font-weight: 600
}
.company-card h2 {
  font-size: 20px;
  letter-spacing: -.5px;
  font-weight: 550;
  margin: 20px 0 10px
}
.company-card p {
  font-size: 13px;
  color: #8b7c97;
  line-height: 1.7
}
.company-card small {
  font-size: 12px;
  color: #7755b6;
  display: block;
  margin-top: 20px
}
#workspaceSelect {
  font-size: 12px;
  min-height: 46px
}
#createGlobal:disabled {
  opacity: .45;
  cursor: not-allowed
}
@media(max-width:1000px) {
.sidebar {
  overflow: visible
}
.company-label,.admin-badge {
  display: none
}
#workspaceSelect {
  position: fixed;
  top: 78px;
  left: 90px;
  width: min(290px,calc(100vw - 110px));
  z-index: 40;
  box-shadow: 0 8px 20px #20103012
}
}
.module-grid {
  gap: 16px
}
 {
  line-height: 1.6!important
}
 {
  opacity: .8
}
.demo-project .eyebrow {
  color: #a26e27
}
.company-grid {
  grid-template-columns: repeat(auto-fit,minmax(220px,320px))
}
.company-card {
  padding: 21px
}
.connection-status {
  font-size: 12px
}
.panel {
  border-radius: 16px
}
.connection-status {
  margin-top: 20px;
  border: 0;
  border-left: 3px solid #d3c4ef;
  border-radius: 4px;
  padding: 10px 13px;
  background: #f1edf7
}
.connection-status.error {
  border-left-color: #d79088
}
a.module-card {
  display: flex
}
 {
  padding: 17px!important;
  min-height: 172px!important;
  border-radius: 13px!important
}
 {
  margin: 12px 0 7px!important
}
 {
  margin-bottom: 10px!important
}
 {
  padding-top: 12px
}
 {
  width: 32px!important;
  height: 32px!important;
  font-size: 19px!important
}
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center
}
.demo-project {
  background: #fff;
  border-style: solid
}
.demo-project>.eyebrow {
  display: inline-block;
  background: #fff3df;
  padding: 5px 7px;
  border-radius: 5px;
  font-size: 8px;
  letter-spacing: .07em
}
 {
  font-weight: 600
}
.real-empty {
  margin: 0;
  padding: 16px 0
}
.membership {
  align-items: center
}
button:focus-visible,a:focus-visible,select:focus-visible {
  outline: 3px solid #b59ee8;
  outline-offset: 3px
}
@media(max-width:1100px) {
 {
  grid-template-columns: repeat(2,minmax(0,1fr))
}
}
@media(max-width:640px) {
#workspaceSelect {
  left: 14px;
  top: 78px;
  width: calc(100% - 28px);
  min-height: 40px
}
.sidebar {
  overflow: visible
}
 {
  max-width: none
}
.membership {
  align-items: flex-start;
  flex-direction: column;
  gap: 7px
}
}
.page {
  padding-top: 42px
}
.page-head h1 {
  font-size: clamp(34px,4vw,49px);
  letter-spacing: -.055em;
  font-weight: 620
}
.page-head p {
  font-size: 14px;
  margin-top: 14px
}
.page .eyebrow {
  color: #858a94
}
.project-card {
  color: inherit;
  text-decoration: none;
  display: block
}
.project-card.demo-project {
  border-style: solid;
  background: #fff
}
.project-card.demo-project .status {
  background: #fff0e5;
  color: #b9642b
}
.portfolio-kpis {
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-top: 18px;
  margin-bottom: 8px
}
.search-actions {
  display: flex;
  gap: 8px;
  align-items: center
}
.project-tools input {
  padding: 0 12px;
  width: 260px
}
.projects {
  margin-top: 18px
}
.dashboard-grid {
  margin-top: 18px
}
 {
  grid-template-columns: 140px 1fr 64px
}
 {
  line-height: 1.4
}
 {
  place-items: center
}
 {
  flex-direction: column;
  align-items: center
}
 {
  letter-spacing: -1px
}
 {
  max-width: 220px;
  margin: 0 auto
}
 {
  justify-content: space-between;
  border-bottom: 1px solid #ededf0
}
.files-layout {
  display: grid;
  grid-template-columns: 250px minmax(0,1fr);
  gap: 15px;
  margin-top: 25px
}
.file-project-list {
  display: grid;
  gap: 8px;
  margin-top: 18px
}
.file-project-button {
  text-align: left;
  background: #fff;
  border: 1px solid #e6e7eb;
  border-radius: 10px;
  padding: 12px;
  color: #15141d
}
.file-project-button strong {
  font-size: 11px;
  display: block;
  line-height: 1.5
}
.file-project-button span {
  font-size: 9px;
  display: block;
  color: #858a94;
  margin-top: 5px
}
.file-project-button.active {
  background: #f1edff;
  border-color: #bca7ed
}
.file-search {
  margin-top: 20px;
  max-width: 100%
}
.table-scroll {
  overflow: auto
}
.table-scroll table {
  min-width: 530px
}
.table-scroll select {
  padding: 8px;
  border: 1px solid #e6e7eb;
  border-radius: 8px;
  font-size: 10px;
  background: #fff;
  color: #34303c
}
.table-scroll select:disabled {
  border-color: transparent;
  background: #f7f7f9;
  color: #817b8b;
  opacity: 1
}
.workspace-summary {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center
}
.invitation-panel {
  margin-top: 15px
}
#teamNotice {
  margin: 14px 0
}
.client-preview-bar {
  padding: 12px 31px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #eee8fc;
  border-bottom: 1px solid #ddcff6;
  color: #5e428e
}
.client-preview-bar>div {
  margin-right: auto
}
.client-preview-bar strong {
  display: block;
  font-size: 12px
}
.client-preview-bar span {
  display: block;
  font-size: 10px;
  margin-top: 4px
}
.client-preview-bar label {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 10px
}
.client-preview-bar select {
  background: white;
  border: 1px solid #d8cceb;
  border-radius: 8px;
  padding: 8px;
  font-size: 11px
}
.client-view .company-label,.client-view #workspaceSelect,.client-view #adminBadge {
  display: none!important
}
.client-view .org-switch {
  margin-bottom: 10px
}
.client-view .identity {
  display: none
}
.client-view .profile span {
  display: none
}
.client-view .profile {
  pointer-events: none
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap
}
#inviteDialog {
  width: min(600px,calc(100% - 32px));
  padding: 27px;
  border: 1px solid #e6e7eb;
  border-radius: 18px;
  box-shadow: 0 30px 90px #0004
}
#inviteDialog::backdrop {
  background: #13121b7a
}
#inviteDialog h2 {
  font-size: 25px;
  margin: 0;
  letter-spacing: -1px
}
.invite-label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  margin: 20px 0 8px
}
.invite-permission {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #ededf0;
  font-size: 12px
}
.invite-permission select {
  border: 1px solid #dedfe4;
  background: #fff;
  padding: 9px;
  border-radius: 8px;
  font-size: 12px
}
#invitePermissions {
  margin-top: 18px
}
.membership {
  flex-wrap: wrap
}
.membership small {
  width: 100%;
  color: #858a94;
  font-size: 10px
}
#companyDashboard>.panel-sub {
  margin-top: 12px
}
@media(max-width:1000px) {
.page {
  padding-top: 82px
}
.client-view .page {
  padding-top: 32px
}
.client-preview-bar {
  flex-wrap: wrap;
  padding: 12px 20px
}
.files-layout {
  grid-template-columns: 190px minmax(0,1fr)
}
}
@media(max-width:640px) {
.page-head h1 {
  font-size: 34px
}
.portfolio-kpis {
  grid-template-columns: 1fr
}
.files-layout {
  grid-template-columns: 1fr
}
.file-project-list {
  grid-template-columns: 1fr 1fr
}
.search-actions,.project-tools {
  width: 100%
}
.project-tools input {
  width: 100%;
  min-width: 0
}
.search-actions .search {
  flex: 1
}
.client-preview-bar label {
  flex: 1;
  flex-wrap: wrap
}
.client-preview-bar>div {
  width: 100%
}
.top-actions {
  gap: 5px
}
#viewAsClient {
  font-size: 9px;
  padding: 0 8px
}
 {
  grid-template-columns: 110px 1fr 56px
}
.workspace-summary {
  align-items: flex-start
}
.page-head {
  gap: 16px
}
}
.category-chart {
  margin-top: 25px;
  margin-bottom: 44px;
  gap: 14px;
  height: 220px;
  padding-top: 25px
}
.category-chart .chart-bar {
  position: relative;
  width: 60%;
  max-width: 44px;
  min-height: 0
}
.category-chart .chart-group label {
  bottom: -38px;
  left: -6px;
  right: -6px;
  text-align: center;
  line-height: 1.3;
  font-size: 9px
}
 {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap
}
.category-chart:has(>.real-empty) {
  align-items: center;
  border-bottom: 0
}
.category-chart .real-empty {
  width: 100%
}
@media(max-width:640px) {
.category-chart {
  gap: 7px
}
 {
  font-size: 8px
}
.category-chart .chart-group label {
  font-size: 8px
}
}
.chart-scroll {
  overflow-x: auto;
  padding-bottom: 12px
}
.chart-scroll .category-chart {
  margin-bottom: 42px
}
.category-chart.has-series .chart-bar {
  width: 22%;
  max-width: 22px
}
.category-chart .chart-group {
  gap: 4px
}
 {
  flex-wrap: wrap;
  margin-top: 20px
}
 {
  gap: 7px;
  flex: 1;
  min-width: 140px
}
 {
  padding: 10px 12px;
  border: 1px solid #e6e3eb;
  font: inherit;
  font-size: 11px;
  color: #34303c
}
#costLegend {
  margin-top: 0;
  flex-wrap: wrap
}
#costLegend span i {
  background: var(--series-color)!important
}
.portfolio-overview-heading h2 {
  margin: 0
}
.portfolio-overview-heading p {
  font-size: 12px;
  color: #858a94
}
.work-summary .module-icon {
  background: #f2edff;
  font-size: 22px
}
.work-summary .project-metrics span {
  display: block;
  color: #858a94
}
.work-summary .project-metrics strong {
  display: block;
  font-weight: 600
}
.work-summary .summary-note {
  margin-top: auto
}
.work-summary:hover {
  transform: none;
  box-shadow: none
}
 {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--mix-color);
  margin-right: 7px
}
.panel {
  min-width: 0
}
.cost-legend {
  display: flex;
  flex-wrap: wrap;
  color: #858a94
}
.cost-legend span {
  display: flex;
  align-items: center;
  gap: 5px
}
.cost-legend i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--series-color)
}
#companyDashboard .dashboard-grid {
  grid-template-columns: minmax(0,1.65fr) minmax(280px,1fr);
  gap: 18px;
  align-items: stretch
}
.portfolio-chart-panel,.portfolio-mix-panel {
  padding: 24px
}
.portfolio-mix-panel {
  display: flex;
  flex-direction: column
}
.portfolio-chart-panel .panel-head {
  align-items: center;
  flex-wrap: wrap;
  gap: 12px
}
.chart-work-filter select {
  border: 1px solid #e6e3eb;
  border-radius: 9px;
  background: #fff;
  color: #625b6d;
  padding: 9px 28px 9px 11px;
  font: inherit;
  font-size: 12px;
  max-width: 100%
}
.chart-view-switch {
  display: inline-flex;
  gap: 3px;
  flex-wrap: wrap;
  background: #f5f3f9;
  border: 1px solid #ebe7f0;
  border-radius: 9px;
  padding: 3px;
  margin-top: 18px
}
.chart-view-switch button {
  border: 0;
  background: transparent;
  border-radius: 6px;
  padding: 7px 12px;
  color: #8a8295;
  font-size: 11px;
  font-weight: 600
}
.chart-view-switch button[aria-pressed="true"] {
  background: #fff;
  color: #6d46cd;
  box-shadow: 0 1px 4px #20103014
}
.chart-view-switch button:focus-visible {
  outline: 2px solid #9672e8;
  outline-offset: 1px
}
.portfolio-chart-panel .category-chart {
  margin-top: 16px;
  height: 210px;
  padding-top: 18px;
  gap: 20px
}
.portfolio-chart-panel .chart-scroll {
  padding-bottom: 3px
}
.portfolio-chart-panel #costChartBasis {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.5
}
.cost-legend {
  gap: 16px;
  font-size: 10px
}
.mix-total {
  white-space: nowrap;
  font-size: 11px;
  color: #938b9e;
  padding-top: 3px
}
#projectMix {
  flex: 1;
  grid-auto-rows: 1fr;
  display: grid;
  gap: 12px;
  margin-top: 24px
}
.mix-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 14px;
  border: 1px solid #ebe7f1;
  border-radius: 12px;
  background: #fbf9ff
}
.mix-item.renovation {
  background: #f6fbf9;
  border-color: #e3efe9
}
.mix-item.services {
  background: #fffbf6;
  border-color: #f4e8da
}
.mix-item-content {
  flex: 1;
  min-width: 0
}
.mix-item-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px
}
.mix-item-heading strong {
  font-size: 13px;
  font-weight: 650
}
.mix-item-heading span {
  font-size: 15px;
  font-weight: 650
}
.mix-item p {
  font-size: 10px;
  color: #8a8392;
  margin: 6px 0 10px;
  line-height: 1.5
}
.mix-track {
  height: 4px;
  background: #e9e1f7;
  border-radius: 5px;
  overflow: hidden
}
.mix-track i {
  display: block;
  height: 100%;
  background: #8059df;
  border-radius: 5px
}
.renovation .mix-track {
  background: #dceee7
}
.renovation .mix-track i {
  background: #339b79
}
.services .mix-track {
  background: #f5e7d5
}
.services .mix-track i {
  background: #d58a44
}
.module-icon svg {
  width: 22px;
  height: 22px
}
.ground-up .module-icon {
  background: #eee6ff;
  color: #7953d5
}
.renovation .module-icon {
  background: #e1f3eb;
  color: #28896c
}
.services .module-icon {
  background: #ffedda;
  color: #c77831
}
.portfolio-overview-heading {
  margin-top: 36px
}
.portfolio-overview-heading h2 {
  font-size: 23px;
  letter-spacing: -.6px
}
.portfolio-overview-heading p {
  margin-top: 10px
}
.work-summary-cards {
  gap: 18px;
  margin-top: 20px
}
.work-summary {
  min-height: 240px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(140deg,#faf7ff,#fff 70%);
  border-color: #e8e1f4
}
.work-summary.renovation {
  background: linear-gradient(140deg,#f2faf6,#fff 70%);
  border-color: #deece5
}
.work-summary.services {
  background: linear-gradient(140deg,#fff7ed,#fff 70%);
  border-color: #f0e3d3
}
.work-summary .module-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0
}
.work-summary h3 {
  font-size: 18px;
  margin: 18px 0 8px
}
.work-summary .work-description {
  font-size: 12px;
  line-height: 1.65;
  min-height: 40px;
  max-width: 300px
}
.work-summary .project-metrics {
  display: grid;
  grid-template-columns: minmax(60px,.7fr) minmax(0,1fr);
  gap: 20px;
  padding-top: 19px;
  margin: 16px 0 20px;
  border-top: 1px solid #eae4f2
}
.work-summary.renovation .project-metrics {
  border-color: #e2ede7
}
.work-summary.services .project-metrics {
  border-color: #f1e7db
}
.work-summary .project-metrics strong {
  font-size: 23px;
  margin-top: 9px
}
.work-summary .project-metrics span {
  font-size: 11px
}
.work-summary .summary-note {
  font-size: 11px
}
.nav-icon {
  background: transparent;
  width: 23px;
  height: 23px;
  border-radius: 6px
}
.nav-icon svg {
  width: 18px;
  height: 18px
}
.active .nav-icon {
  background: #ffffff18;
  color: white
}
.mix-item .module-icon {
  width: 35px;
  height: 35px;
  flex-shrink: 0
}
@media(max-width:1150px) {
#companyDashboard .dashboard-grid {
  grid-template-columns: minmax(0,1.4fr) minmax(260px,1fr)
}
.portfolio-chart-panel,.portfolio-mix-panel {
  padding: 20px
}
.work-summary {
  padding: 20px
}
.work-summary-cards {
  gap: 14px
}
}
@media(max-width:1000px) {
#companyDashboard .dashboard-grid {
  grid-template-columns: 1fr
}
.portfolio-mix-panel #projectMix {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px
}
.mix-item {
  padding: 14px 12px
}
.mix-item>.module-icon {
  display: none
}
.work-summary .project-metrics {
  gap: 12px
}
.work-summary .project-metrics strong {
  font-size: 20px
}
}
@media(max-width:720px) {
.work-summary-cards {
  grid-template-columns: 1fr
}
.work-summary {
  min-height: 0;
  padding: 24px
}
.work-summary .work-description {
  min-height: 0
}
.portfolio-mix-panel #projectMix {
  grid-template-columns: 1fr
}
.mix-item>.module-icon {
  display: grid
}
.chart-view-switch button {
  padding: 8px 11px
}
.portfolio-overview-heading h2 {
  font-size: 21px
}
.portfolio-chart-panel .category-chart {
  height: 190px
}
.portfolio-chart-panel .panel-head {
  align-items: flex-start
}
}
.project-card{position:relative;display:block;padding:0;overflow:visible}.project-card-link{display:flex;flex-direction:column;min-height:236px;height:100%;padding:20px;color:inherit;text-decoration:none;border-radius:inherit}.project-card-link h3{padding-right:30px;overflow-wrap:anywhere}.project-card-link .project-metrics{margin-top:auto;padding-top:20px}.project-card-link .project-foot{margin-top:14px}.project-card-link>p{margin:0;color:#8a8391;font-size:12px}.project-actions{position:absolute;right:14px;top:52px;z-index:2}.project-actions[open]{z-index:10}.project-actions>summary{display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;list-style:none;cursor:pointer;color:#8f8997;padding:4px 6px;border-radius:6px;letter-spacing:1px;font-size:12px;line-height:1}.project-actions>summary::-webkit-details-marker{display:none}.project-actions>summary:hover{background:#f5f2f8;color:#62566f}.project-actions>summary:focus-visible{outline:2px solid #9876c7;outline-offset:2px}.project-action-popover{position:absolute;right:0;top:34px;width:190px;padding:10px 8px;background:#fff;border:1px solid #ebe6f0;border-radius:12px;box-shadow:0 6px 20px #3d285a14}.project-action-popover .eyebrow{font-size:11px;color:#9690a5;padding:3px 10px 7px;margin:0;letter-spacing:.8px}.project-action{display:block;width:100%;text-align:left;background:none;border:1px solid transparent;border-radius:7px;padding:9px 10px;font-size:13px;color:#443a52}.project-action:hover:not(:disabled),.project-action:focus-visible{background:#f0e9fc;border-color:#d3bffa;color:#7745cc}.project-action.destructive{border-top:1px solid #eee7f3;border-radius:0 0 7px 7px;margin-top:5px;padding-top:11px;color:#c94d64}.project-action:disabled{opacity:.45;cursor:not-allowed}.action-note{display:block;padding:8px 10px 2px;font-size:12px;color:#8c8496}.projects-page-head{display:block}.project-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.project-state-tabs{display:flex;gap:4px;margin:0;flex-shrink:0}.project-state-tabs button{min-height:30px;padding:6px 11px;border:1px solid #e7e1ed;border-radius:7px;background:#fff;color:#8b8196;font-size:12px;line-height:1.25}.project-state-tabs button[aria-pressed=true]{color:#7044b2;background:#f2ecfc;border-color:#dcd0ef}#projectActionDialog{width:min(440px,calc(100% - 32px));padding:28px;border:1px solid #e7e1ed;border-radius:20px}#projectActionDialog::backdrop{background:#19132466}#projectActionDialog h2{margin:0 0 18px}#projectActionDialog label{display:block;margin:18px 0 8px}#projectActionDialog input{width:100%}.action-error{font-size:14px;color:#a43e52;line-height:1.5}.btn.danger{background:#b93f58;color:#fff;border-color:#b93f58}

.project-activity-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:20px;background:#e8f3ff;color:#145bb5;font-size:12px;font-weight:600}.project-top{flex-wrap:wrap;gap:6px}.project-activity-arrival{animation:projectArrival 1.3s ease-out 2}@keyframes projectArrival{0%{box-shadow:0 0 0 0 #3185e54d}70%{box-shadow:0 0 0 7px #3185e500}100%{box-shadow:0 0 0 0 #3185e500}}@media(prefers-reduced-motion:reduce){.project-activity-arrival{animation:none}}
