@import "tailwindcss";
:root {
  --navy: #071d45;
  --navy2: #0b2f6b;
  --gold: #c7a35a;
  --ink: #14213a;
  --muted: #6c768a;
  --line: #e4e8ef;
  --bg: #f6f8fb;
  --green: #1f7652;
  --blue: #174b9b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Manrope, "Segoe UI", sans-serif;
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 260px;
  background: linear-gradient(165deg, #061936, #082b61 72%, #051a3b);
  color: white;
  display: flex;
  flex-direction: column;
  z-index: 30;
  box-shadow: 12px 0 38px #061b3c14;
}
.brand {
  height: 100px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 25px;
  border-bottom: 1px solid #ffffff14;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.brand strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 500;
}
.brand span {
  display: block;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 3px;
  margin-top: 4px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  padding: 20px 13px;
  gap: 5px;
  overflow-y: auto;
}
.sidebar nav button {
  border: 0;
  background: transparent;
  color: #d8e1ee;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 13px 18px;
  border-radius: 9px;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  position: relative;
}
.sidebar nav button:hover {
  background: #ffffff0d;
  color: white;
}
.sidebar nav button.active {
  background: #13417c;
  color: #fff;
  box-shadow: inset 3px 0 var(--gold);
}
.sidebar nav button.active:after {
  content: "";
  position: absolute;
  right: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.sidebar-art {
  margin: auto 20px 20px;
  padding: 22px;
  border: 1px solid #ffffff16;
  border-radius: 14px;
  background: #ffffff08;
}
.sidebar-art svg {
  width: 36px;
  height: 36px;
  color: var(--gold);
}
.sidebar-art p {
  font-size: 13px;
  margin: 12px 0 4px;
}
.sidebar-art small {
  color: #91a2ba;
  font-size: 11px;
}
.company {
  height: 76px;
  border-top: 1px solid #ffffff1c;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 20px;
}
.avatar,
.user {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #092859;
  border: 1px solid #ba9350;
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.company div:nth-child(2) {
  flex: 1;
}
.company b,
.company span {
  display: block;
  font-size: 12px;
}
.company span {
  color: #93a8c4;
  font-size: 10px;
  margin-top: 3px;
}
.main {
  margin-left: 260px;
  min-height: 100vh;
}
.main > header {
  height: 100px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 38px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.main > header > div:first-of-type {
  flex: 1;
}
.main header p,
.panel-title p,
.page-top p {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #9a7a3a;
  margin: 0 0 5px;
}
.main header h1 {
  font-size: 25px;
  margin: 0;
  letter-spacing: -0.5px;
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.head-actions > button,
.menu-btn {
  width: 39px;
  height: 39px;
  border: 0;
  background: transparent;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #233452;
  cursor: pointer;
}
.head-actions > button:hover {
  background: #f2f5f9;
}
.head-actions svg {
  width: 19px;
}
.bell {
  position: relative;
}
.bell i {
  position: absolute;
  right: 2px;
  top: 0;
  width: 17px;
  height: 17px;
  background: var(--gold);
  border-radius: 50%;
  font-style: normal;
  font-size: 10px;
  color: #fff;
  display: grid;
  place-items: center;
}
.user {
  margin-left: 8px;
  background: var(--navy);
  width: 42px;
  height: 42px;
}
.user-name {
  margin-left: 2px;
}
.user-name b,
.user-name span {
  display: block;
  font-size: 12px;
}
.user-name span {
  font-size: 10px;
  color: #8a94a4;
  margin-top: 3px;
}
.content {
  padding: 30px 38px 48px;
  max-width: 1600px;
  margin: auto;
}
.welcome,
.page-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.welcome h2,
.page-top h2 {
  margin: 5px 0;
  font-size: 25px;
}
.welcome p,
.page-top span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.welcome > div > span {
  color: #9a7a3a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.primary,
.secondary {
  border: 0;
  background: var(--navy);
  color: white;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.primary:hover {
  background: var(--navy2);
  transform: translateY(-1px);
}
.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.primary svg,
.secondary svg {
  width: 16px;
}
.secondary {
  background: white;
  color: #2c3b53;
  border: 1px solid #d9dee7;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 20px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  min-height: 112px;
  box-shadow: 0 6px 20px #071d4508;
  transition: 0.2s;
}
.stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px #071d4512;
}
.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.stat-icon svg {
  width: 23px;
}
.stat-icon.blue {
  background: #e7eefb;
  color: #143f83;
}
.stat-icon.sky {
  background: #e6f2fa;
  color: #18709f;
}
.stat-icon.gold {
  background: #f8efdb;
  color: #9a6c11;
}
.stat-icon.green {
  background: #e5f2e8;
  color: #277143;
}
.stat span,
.stat strong {
  display: block;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.stat strong {
  font-size: 28px;
  margin-top: 3px;
  letter-spacing: -1px;
}
.stat small {
  position: absolute;
  bottom: 9px;
  right: 15px;
  color: #8792a5;
  font-size: 9px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 6px 20px #071d4508;
  margin-bottom: 20px;
  overflow: hidden;
}
.pipeline-panel {
  padding: 24px 25px;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 19px;
}
.panel-title h3 {
  font-size: 17px;
  margin: 0;
}
.link {
  border: 0;
  background: none;
  color: #164887;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 8px 2px;
}
.pipe {
  text-align: center;
  position: relative;
}
.node {
  width: 38px;
  height: 38px;
  margin: 0 auto 10px;
  border: 1px solid #bdc5d0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #7a8495;
  background: #fff;
  font-weight: 700;
  position: relative;
  z-index: 2;
}
.node.done {
  background: var(--navy2);
  color: #fff;
  border-color: var(--navy2);
}
.node.current {
  border: 2px solid var(--gold);
  color: #8b681f;
  box-shadow: 0 0 0 6px #f8efd9;
}
.node svg {
  width: 18px;
}
.pipe b,
.pipe span {
  display: block;
}
.pipe b {
  font-size: 11px;
}
.pipe span {
  color: #8993a3;
  font-size: 9px;
  margin-top: 5px;
}
.pipe > i {
  height: 2px;
  background: #d9dee6;
  position: absolute;
  top: 18px;
  left: calc(50% + 26px);
  right: calc(-50% + 26px);
}
.pipe:nth-child(-n + 3) > i {
  background: #143f83;
}
.filters {
  display: flex;
  gap: 8px;
}
.filters button {
  border: 1px solid #dfe3e9;
  background: white;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.filters svg {
  width: 14px;
}
.panel:not(.pipeline-panel) > .panel-title {
  padding: 20px 22px 0;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
}
th {
  text-align: left;
  font-size: 9px;
  letter-spacing: 0.4px;
  color: #798398;
  text-transform: uppercase;
  background: #fafbfc;
  padding: 12px 15px;
  border-top: 1px solid #edf0f4;
  border-bottom: 1px solid #e1e5eb;
}
td {
  padding: 13px 15px;
  border-bottom: 1px solid #edf0f4;
  font-size: 11px;
  color: #344057;
}
tbody tr:hover {
  background: #f7faff;
}
td b,
td small {
  display: block;
}
td b {
  font-size: 11px;
  color: #1d2a42;
}
td small {
  font-size: 9px;
  color: #8b95a6;
  margin-top: 4px;
}
.stage-no {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e9eff9;
  color: #154789;
  font-weight: 700;
  margin-right: 7px;
}
.pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}
.pill.progress,
.pill.in-closure {
  background: #fff2d9;
  color: #8b650f;
}
.pill.success,
.pill.sold {
  background: #e5f4eb;
  color: #276a44;
}
.pill.available {
  background: #e6eefb;
  color: #174a8e;
}
.pill.pending,
.pill.on-hold {
  background: #f0f1f3;
  color: #687080;
}
.icon-btn {
  border: 0;
  background: transparent;
  color: #123e7c;
  cursor: pointer;
}
.icon-btn svg {
  width: 17px;
}
.page-top {
  padding: 5px 0;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 7px 22px #071d4508;
}
.project-cover {
  height: 125px;
  background: linear-gradient(135deg, #071c40, #104382);
  position: relative;
  color: #ffffff18;
  padding: 18px;
}
.project-cover span {
  font-size: 62px;
  font-weight: 800;
}
.project-cover svg {
  position: absolute;
  right: 18px;
  bottom: -8px;
  width: 94px;
  height: 94px;
  color: #c7a35a66;
}
.project-body {
  padding: 19px;
}
.eyebrow {
  color: #9c7837;
  font-size: 8px;
  letter-spacing: 1.6px;
  font-weight: 800;
}
.project-body h3 {
  font-size: 16px;
  margin: 7px 0;
}
.project-body p {
  font-size: 10px;
  color: #7c8799;
  display: flex;
  gap: 5px;
  align-items: center;
}
.project-body p svg {
  width: 13px;
}
.project-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid #edf0f3;
  margin: 16px 0;
}
.project-metrics > div {
  padding: 12px 5px;
}
.project-metrics b,
.project-metrics span {
  display: block;
}
.project-metrics b {
  font-size: 17px;
}
.project-metrics span {
  font-size: 8px;
  color: #8e97a6;
}
.project-body > button,
.legal-card > button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  color: #194c8c;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.project-body > button span,
.legal-card > button span {
  float: right;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.toolbar label {
  width: 390px;
  height: 42px;
  border: 1px solid #dfe4eb;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  gap: 10px;
}
.toolbar label svg {
  width: 17px;
  color: #8a94a5;
}
.toolbar input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 11px;
}
.toolbar > div {
  display: flex;
  gap: 8px;
}
.table-panel {
  margin: 0;
}
.plot-no {
  font-size: 14px;
}
.book-btn {
  border: 1px solid #b9c9df;
  background: white;
  color: #154986;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.empty {
  text-align: center;
  padding: 50px;
  color: #7f8999;
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.mini-stats > div {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid #184781;
  border-radius: 9px;
  padding: 15px;
}
.mini-stats span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #8a94a5;
}
.mini-stats b {
  display: block;
  font-size: 24px;
  margin: 4px 0;
}
.mini-stats p {
  font-size: 9px;
  margin: 0;
  color: #697487;
}
.payment-stats {
  grid-template-columns: repeat(3, 1fr);
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 20px;
}
.legal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.doc-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #e8effa;
  color: #154989;
  display: grid;
  place-items: center;
}
.doc-icon svg {
  width: 20px;
}
.legal-card h3 {
  font-size: 14px;
  margin: 18px 0 5px;
}
.legal-card > p {
  font-size: 10px;
  color: #7d8797;
  margin: 0 0 17px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}
.check-row > div {
  width: 26px;
  height: 26px;
  border: 1px solid #cfd6df;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
}
.check-row > div.checked {
  background: #277452;
  color: white;
  border-color: #277452;
}
.check-row svg {
  width: 13px;
}
.check-row b,
.check-row small {
  display: block;
  font-size: 10px;
}
.check-row small {
  font-size: 8px;
  color: #8e97a6;
  margin-top: 3px;
}
.legal-card > button {
  border-top: 1px solid #edf0f3;
  padding-top: 14px;
  margin-top: 8px;
}
.report-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}
.bars {
  padding: 0 23px 25px;
}
.bars > div {
  margin: 18px 0;
}
.bars span {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.bars i {
  height: 8px;
  background: #edf0f4;
  border-radius: 8px;
  display: block;
  margin-top: 8px;
  overflow: hidden;
}
.bars em {
  display: block;
  height: 100%;
  background: #164a91;
  border-radius: 8px;
}
.bars em.bar-1 {
  background: #c5a04c;
}
.bars em.bar-2 {
  background: #2d7c58;
}
.report-callout {
  padding: 28px;
}
.report-callout > svg {
  color: #b48b39;
}
.report-callout h3 {
  font-size: 17px;
}
.report-callout p {
  color: #7b8494;
  font-size: 11px;
  line-height: 1.6;
}
.toast {
  position: fixed;
  z-index: 100;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: #143f2f;
  color: white;
  padding: 12px 18px;
  border-radius: 9px;
  box-shadow: 0 12px 35px #0003;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
}
.modal-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: #06152b99;
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal {
  background: #fff;
  border-radius: 15px;
  width: min(530px, 100%);
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 70px #0004;
  max-height: 90vh;
  overflow: auto;
}
.modal.wide {
  width: min(920px, 100%);
}
.modal-x {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  border: 0;
  background: #f2f4f7;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.modal-x svg {
  width: 17px;
}
.modal-kicker {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #a17b36;
  font-weight: 800;
}
.modal h2 {
  font-size: 22px;
  margin: 7px 0;
}
.modal-sub {
  font-size: 11px;
  color: #7c8798;
  margin-bottom: 22px;
}
.field {
  display: block;
  margin: 15px 0;
}
.field span {
  font-size: 10px;
  font-weight: 700;
  display: block;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dce1e8;
  border-radius: 8px;
  padding: 12px;
  font-size: 11px;
  outline: 0;
  background: #fff;
  color: #24334b;
  font-family: inherit;
}
.field textarea {
  min-height: 76px;
  resize: vertical;
}
.field.full {
  grid-column: 1 / -1;
}
.field input:focus {
  border-color: #245792;
  box-shadow: 0 0 0 3px #e5edf8;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
}
.property-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f8fc;
  border: 1px solid #e2e8ef;
  padding: 14px;
  border-radius: 10px;
  margin: 18px 0;
}
.property-summary > div {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  background: #e1eafa;
  color: #174786;
  border-radius: 8px;
}
.property-summary > div svg {
  width: 19px;
}
.property-summary span {
  flex: 1;
}
.property-summary b,
.property-summary small {
  display: block;
  font-size: 10px;
}
.property-summary small {
  color: #7e8898;
  margin-top: 3px;
}
.property-summary strong {
  font-size: 12px;
}
.info-box {
  display: flex;
  gap: 10px;
  background: #f3f7fc;
  color: #24476e;
  padding: 12px;
  border-radius: 8px;
}
.info-box svg {
  width: 18px;
}
.info-box b,
.info-box span {
  display: block;
  font-size: 9px;
}
.info-box span {
  color: #75859a;
  margin-top: 3px;
}
.closure-head {
  display: flex;
  justify-content: space-between;
}
.closure-head p {
  font-size: 10px;
  color: #7e8898;
}
.detail-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #f7f9fc;
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  padding: 20px 10px;
  margin: 22px 0;
}
.detail-progress > div {
  text-align: center;
  position: relative;
}
.detail-progress span {
  width: 31px;
  height: 31px;
  margin: auto;
  border: 1px solid #cbd2dc;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  position: relative;
  z-index: 2;
  font-size: 10px;
}
.detail-progress b {
  font-size: 8px;
  display: block;
  margin-top: 8px;
}
.detail-progress i {
  position: absolute;
  top: 15px;
  height: 1px;
  background: #cfd5de;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
}
.detail-progress .complete span {
  background: #174780;
  color: #fff;
}
.detail-progress .active span {
  border: 2px solid #c5a04d;
  color: #936f22;
}
.detail-progress svg {
  width: 13px;
}
.closure-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
}
.closure-grid > section,
.closure-grid > aside {
  border: 1px solid #e3e7ed;
  border-radius: 10px;
  padding: 18px;
}
.closure-grid h3 {
  font-size: 12px;
  margin: 0 0 14px;
}
.current-action {
  display: flex;
  gap: 10px;
  background: #f5f8fc;
  padding: 13px;
  border-radius: 8px;
}
.current-action > div {
  color: #194e8e;
}
.current-action svg {
  width: 19px;
}
.current-action b {
  font-size: 10px;
}
.current-action p {
  font-size: 9px;
  color: #738095;
  line-height: 1.5;
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.checklist label {
  font-size: 9px;
}
.closure-grid aside p {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  border-bottom: 1px solid #edf0f3;
  padding: 8px 0;
}
.closure-grid aside p b {
  font-size: 10px;
}
.closure-grid aside .balance {
  border: 0;
  color: #163f77;
  font-weight: 700;
}
.assignee { display: flex; align-items: center; gap: 8px; }
.assignee > i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e8eef9; color: #174780; font-style: normal; font-weight: 800; }
.assignee span b, .assignee span small { display: block; }
.unassigned { font-size: 9px; color: #9aa2af; background: #f2f4f7; padding: 5px 8px; border-radius: 5px; }
.row-actions { display: flex; gap: 6px; }
.secondary.compact { padding: 6px 9px; font-size: 9px; }
.follow-grid, .user-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.follow-card, .team-card { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 20px; box-shadow: 0 6px 20px #071d4508; }
.follow-card.pending { border-top: 3px solid var(--gold); }
.follow-card.completed { border-top: 3px solid #2b7b56; }
.follow-date { display: flex; align-items: center; gap: 9px; color: #174780; }
.follow-date > span b, .follow-date > span small { display: block; }
.follow-date > span small { font-size: 8px; color: #8993a3; margin-top: 2px; }
.follow-card h3, .team-card h3 { font-size: 15px; margin: 17px 0 7px; }
.follow-card > p, .team-card > p { font-size: 9px; color: #738095; display: flex; align-items: center; gap: 6px; }
.follow-card > p svg, .team-card > p svg { width: 13px; }
.follow-note { background: #f6f8fb; padding: 11px; border-radius: 7px; font-size: 9px; line-height: 1.55; color: #58657a; margin: 13px 0; }
.follow-owner { border-top: 1px solid #edf0f4; padding-top: 12px; margin: 12px 0; display: flex; justify-content: space-between; }
.follow-owner span { font-size: 8px; color: #8d96a5; }
.follow-owner b { font-size: 9px; }
.follow-card > button, .team-card > button { width: 100%; justify-content: center; }
.team-top { display: flex; justify-content: space-between; }
.team-avatar { width: 45px; height: 45px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.team-card .role { font-size: 9px; color: #a17d38; font-weight: 700; }
.team-metrics { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid #edf0f3; margin: 14px 0; }
.team-metrics > div { padding: 12px 5px; }
.team-metrics b, .team-metrics span { display: block; }
.team-metrics b { font-size: 18px; }
.team-metrics span { font-size: 8px; color: #8d96a6; }
.customer-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: #f6f8fb; border: 1px solid #e5e9ef; border-radius: 9px; padding: 12px; margin-top: 17px; }
.customer-strip span, .customer-strip b, .customer-strip small { display: block; }
.customer-strip span { font-size: 8px; color: #8c96a6; text-transform: uppercase; }
.customer-strip b { font-size: 10px; margin: 4px 0; }
.customer-strip small { font-size: 8px; color: #778295; line-height: 1.45; }
.customer-mini { background: #f6f8fb; border-radius: 8px; padding: 12px; margin: 12px 0; }
.customer-mini span { font-size: 8px; letter-spacing: 1px; color: #9a793b; }
.customer-mini b { display: block; font-size: 11px; margin-top: 5px; }
.customer-mini p { font-size: 9px; color: #7c8798; margin-bottom: 0; }
.close-menu,
.menu-btn {
  display: none;
}
@media (max-height: 760px) {
  .sidebar-art { display: none; }
  .brand { height: 80px; }
  .company { height: 65px; }
}
@media (max-width: 1100px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-grid,
  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .user-name {
    display: none;
  }
  .content {
    padding: 25px;
  }
  .main > header {
    padding: 0 25px;
  }
}
@media (max-width: 780px) {
  .sidebar {
    transform: translateX(-100%);
    transition: 0.25s;
  }
  .sidebar.open {
    transform: none;
  }
  .close-menu {
    display: grid;
    place-items: center;
    position: absolute;
    right: 12px;
    top: 13px;
    border: 0;
    background: #ffffff12;
    color: white;
    border-radius: 7px;
    width: 34px;
    height: 34px;
  }
  .main {
    margin-left: 0;
  }
  .menu-btn {
    display: grid;
    margin-right: 12px;
  }
  .main > header {
    height: 70px;
    padding: 0 12px;
  }
  .main header p {
    display: none;
  }
  .main header h1 {
    font-size: 18px;
  }
  .head-actions > button:nth-child(1),
  .head-actions > button:nth-child(3) {
    display: none;
  }
  .content {
    padding: 16px 12px;
  }
  .welcome,
  .page-top {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }
  .welcome h2,
  .page-top h2 {
    font-size: 21px;
  }
  .stats,
  .project-grid,
  .legal-grid,
  .report-grid,
  .follow-grid,
  .user-grid {
    grid-template-columns: 1fr;
  }
  .stat { min-height: 92px; }
  .pipeline {
    display: flex;
    overflow: auto;
    gap: 24px;
    padding-bottom: 12px;
  }
  .pipe {
    min-width: 120px;
  }
  .pipe > i {
    display: none;
  }
  .toolbar {
    flex-direction: column;
    gap: 10px;
  }
  .toolbar label {
    width: 100%;
  }
  .toolbar > div {
    justify-content: stretch;
  }
  .toolbar > div button { flex: 1; justify-content: center; }
  .mini-stats {
    display: flex;
    overflow: auto;
  }
  .mini-stats > div {
    min-width: 130px;
  }
  .payment-stats {
    grid-template-columns: 1fr;
  }
  .filters {
    display: none;
  }
  .form-grid,
  .closure-grid {
    grid-template-columns: 1fr;
  }
  .field.full { grid-column: auto; }
  .detail-progress {
    display: flex;
    overflow: auto;
    gap: 12px;
  }
  .detail-progress > div {
    min-width: 100px;
  }
  .detail-progress i {
    display: none;
  }
  .user {
    width: 34px;
    height: 34px;
  }
  .head-actions {
    gap: 0;
  }
  .head-actions > button { width: 34px; }
  .customer-strip { grid-template-columns: 1fr; }
  .modal { padding: 24px 18px; }
  .modal-actions { position: sticky; bottom: -30px; background: #fff; padding: 12px 0; }
  .row-actions { min-width: 125px; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .welcome .primary, .page-top .primary { width: 100%; justify-content: center; }
  .main > header h1 { font-size: 16px; }
  .content { padding: 14px 10px; }
  .head-actions .bell { display: none; }
}
.view{display:none}.view.active{display:block}.nav-symbol{width:20px;text-align:center;font-size:17px}.brand-mark{font-size:22px}.art-icon{font-size:38px;color:var(--gold)}.cover-building{position:absolute;right:20px;bottom:14px;font-size:70px;color:#c7a35a66}.logout{font-size:10px;color:#56647a;text-decoration:none;margin-left:8px}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#061936,#0b2f6b);padding:20px}.login-card{width:min(430px,100%);background:#fff;border-radius:16px;padding:32px;box-shadow:0 25px 70px #0005}.login-brand{height:auto;padding:0;border:0;color:var(--ink);margin-bottom:28px}.login-card h1{font-size:25px;margin:8px 0}.login-card>p{font-size:11px;color:var(--muted);margin-bottom:24px}.login-card>.primary{width:100%;justify-content:center;margin-top:10px}.login-error,.install-message{padding:11px;border-radius:8px;background:#fff0f0;color:#a44141;font-size:10px}.install-message{background:#eaf5ed;color:#286647}.login-link{display:block;text-align:center;margin-top:18px;font-size:11px;color:#174780}.main>header .menu-btn{border:0;background:transparent}.stat-icon{font-size:20px}.modal select{appearance:auto}.modal-x{font-size:22px}.table-wrap button{white-space:nowrap}
