@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-VariableFont_wdthwght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --pv-navy: #0b4b70;
  --pv-navy-deep: #073e60;
  --pv-blue: #0a62d0;
  --pv-orange: #f5af23;
  --pv-text: #263238;
  --pv-muted: #777f86;
  --pv-border: #d8dadd;
  --pv-kpi: #fa541c;
  --kendo-color-primary: #0a58ca;
  --bs-font-sans-serif: "Roboto", Arial, Helvetica, sans-serif;
  --bs-body-font-family: "Roboto", Arial, Helvetica, sans-serif;
  --kendo-font-family: "Roboto", Arial, Helvetica, sans-serif;
  --font-family-kendo-font-family: "Roboto";
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: var(--pv-text);
  background: #fff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  color: var(--pv-text);
  background: #fff;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 14px;
}

button,
input,
optgroup,
select,
textarea {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

/* The source Kendo theme has one legacy pager rule that explicitly forces Inter. */
.k-pager-info {
  font-family: "Roboto", Arial, Helvetica, sans-serif !important;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.global-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 225px minmax(800px, 1fr) auto;
  min-height: 62px;
  align-items: center;
  gap: 18px;
  padding: 0 24px 0 14px;
  background: var(--pv-navy);
  border-top: 8px solid #303334;
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
}

.primary-navigation {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1110px;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.primary-navigation a {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.primary-navigation a.active {
  color: var(--pv-orange);
  font-weight: 700;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-control {
  position: relative;
  display: block;
  width: 228px;
}

.search-control input {
  width: 100%;
  height: 36px;
  padding: 0 39px 0 15px;
  border: 1px solid #b9bec2;
  border-radius: 20px;
  outline: 0;
}

.search-control i {
  position: absolute;
  top: 11px;
  right: 14px;
  color: #30363a;
}

.icon-button {
  position: relative;
  border: 0;
  padding: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 17px;
}

.notification-button span {
  position: absolute;
  top: -6px;
  right: -8px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 10px;
  background: #e5192d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.asset-hero {
  position: relative;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  min-height: 245px;
  align-items: start;
  gap: 32px;
  padding: 29px 56px 26px 30px;
  background: var(--pv-navy);
  color: #fff;
}

.asset-photo {
  width: 200px;
  height: 174px;
  border-radius: 20px;
  object-fit: cover;
}

.asset-summary {
  padding-top: 4px;
}

.asset-type {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 2px 14px;
  border-radius: 12px;
  background: #fff;
  color: #263238;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.asset-summary h1 {
  margin: 19px 0 10px;
  font-size: 23px;
  line-height: 1.25;
}

.asset-summary p {
  margin: 5px 0;
  font-size: 16px;
  line-height: 1.3;
}

.asset-summary a {
  color: #ffb000;
}

.life-button {
  margin-top: 26px;
  padding: 11px 18px;
  border: 0;
  border-radius: 24px;
  background: #0864d2;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

.investment-tabs {
  display: flex;
  height: 61px;
  align-items: stretch;
  background: #f2f2f2;
}

.investment-tabs a {
  display: flex;
  min-width: 130px;
  align-items: center;
  justify-content: center;
  color: #a0a0a0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.investment-tabs a.active {
  background: var(--pv-orange);
  color: #fff;
  font-weight: 700;
}

.investment-tabs a.disabled {
  color: #c9c9c9;
}

.asset-tabs {
  display: flex;
  min-height: 61px;
  align-items: stretch;
  gap: 0;
  padding: 0 18px;
  border-bottom: 1px solid #d7d7d7;
  background: #fff;
  overflow-x: auto;
}

.asset-tabs a {
  position: relative;
  display: flex;
  min-width: max-content;
  align-items: center;
  padding: 0 20px;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.asset-tabs a.active {
  color: #075ecc;
  font-weight: 700;
}

.asset-tabs a.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #075ecc;
  content: "";
}

.tenant-lease {
  padding: 29px 42px 36px;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(145px, 1fr));
  gap: 10px;
}

.kpi-card {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7d7d7;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .02);
  text-align: center;
}

.kpi-card strong {
  color: var(--pv-kpi);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}

.kpi-card span {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
}

.kpi-card small {
  margin-top: 2px;
  color: #555;
  font-size: 10px;
}

.stack-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "button button" "empty tabs" "empty legend";
  margin: 18px 0 0;
}

.begin-ai-button {
  grid-area: button;
  justify-self: end;
  padding: 11px 18px;
  border-radius: 22px;
  background: #075ecc;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.begin-ai-button:hover,
.begin-ai-button:focus-visible {
  background: #054da8;
}

.view-tabs {
  display: flex;
  grid-area: tabs;
  justify-content: flex-end;
  gap: 34px;
  margin-top: 12px;
}

.view-tabs button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #075ecc;
  cursor: pointer;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.view-tabs button.active {
  font-weight: 700;
}

.stack-legend {
  display: flex;
  grid-area: legend;
  justify-content: flex-end;
  gap: 5px;
  height: 21px;
  margin: 27px 0 4px;
}

.stack-legend span {
  width: 19px;
  height: 19px;
  background: var(--legend-color);
}

.stack-plan h2 {
  margin: -12px 0 10px;
  font-size: 13px;
  font-weight: 700;
}

.stack-plan h3 {
  margin: 4px 0 5px;
  font-size: 14px;
  font-weight: 500;
}

.building-stack + .building-stack {
  margin-top: 3px;
}

.floor-row {
  display: grid;
  grid-template-columns: 67px minmax(0, 1fr);
  min-height: 39px;
  align-items: stretch;
  gap: 5px;
  margin-bottom: 6px;
}

.floor-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #e4e4e4;
  color: #222;
  line-height: 1;
}

.floor-label strong {
  font-size: 13px;
}

.floor-label small {
  margin-top: 3px;
  font-size: 10px;
}

.floor-tenants {
  display: flex;
  min-width: 0;
  gap: 6px;
}

.tenant-block {
  position: relative;
  display: grid;
  width: var(--tenant-width);
  min-width: 80px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  padding: 3px 6px;
  border-radius: 7px;
  background: var(--tenant-color);
  color: var(--tenant-text);
  overflow: hidden;
  font-size: 11px;
  line-height: 1.05;
}

.tenant-block strong,
.tenant-block small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-block strong {
  font-size: 11px;
}

.tenant-block small {
  grid-row: 2;
  grid-column: 1;
  color: inherit;
  font-size: 9px;
  text-transform: uppercase;
}

.tenant-block time,
.tenant-block span {
  justify-self: end;
  white-space: nowrap;
  font-size: 9px;
}

.tenant-block span {
  grid-row: 2;
  grid-column: 2;
}

.loading-message,
.error-message {
  padding: 24px;
  color: var(--pv-muted);
  text-align: center;
}

.error-message {
  color: #b42318;
}

.demo-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  padding: 12px 18px;
  border-radius: 6px;
  background: #263238;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.demo-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Shared Pereview shell and missing legacy utility styles used by the extracted wizard. */
.wizard-page {
  min-height: 100vh;
  background: #f7f8fa;
}

.wizard-page .global-header {
  grid-template-columns: 225px minmax(650px, 1fr) auto;
}

.wizard-page main {
  background: #f7f8fa;
}

.wizard-page .container-fluid {
  width: 100%;
}

.ip-btn-pill {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--kendo-color-primary);
  border-radius: 24px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.2;
}

.ip-btn-pill.cancel {
  background: #fff;
  color: var(--kendo-color-primary);
}

.ip-btn-pill.primary {
  background: var(--kendo-color-primary);
  color: #fff;
}

.ip-btn-pill:disabled {
  cursor: default;
  opacity: .55;
}

.DataUploadDropZone {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 120px;
  background: #f8f8f8;
  border: 1px solid #c7c7c7;
  text-align: center;
}

.PS-Data-Upload-Header-2 {
  margin-top: 20px;
  color: #8b8b8b;
  font-size: 22px;
}

.dotted-border {
  padding: 20px !important;
  border: 1.5px dashed #8b8b8b !important;
  border-radius: 15px !important;
}

#leaseAbstractionUploadZone.is-dragging {
  border-color: var(--kendo-color-primary) !important;
  background: #eef6ff;
}

.check-green {
  color: #2e8b57;
}

.lease-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 1350px) {
  .global-header {
    grid-template-columns: 150px 1fr auto;
  }

  .primary-navigation {
    gap: 14px;
    font-size: 13px;
  }

  .search-control {
    width: 180px;
  }

  .kpi-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .global-header,
  .wizard-page .global-header {
    grid-template-columns: 1fr auto;
    padding: 10px 16px;
  }

  .primary-navigation {
    display: none;
  }

  .header-tools .search-control {
    display: none;
  }

  .asset-hero {
    grid-template-columns: 130px 1fr;
    padding: 24px;
  }

  .asset-photo {
    width: 130px;
    height: 130px;
    border-radius: 14px;
  }

  .asset-summary h1 {
    font-size: 20px;
  }

  .asset-summary p {
    font-size: 13px;
  }

  .life-button {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0;
  }

  .tenant-lease {
    padding: 20px 14px;
  }

  .kpi-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .floor-row {
    grid-template-columns: 54px minmax(650px, 1fr);
  }

  .stack-plan {
    overflow-x: auto;
  }
}
