@font-face {
  font-family: Inter;
  src: url("/inter.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --line: color-mix(in srgb, var(--foreground) 13%, var(--background));
  --font-sans: Inter, sans-serif;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font-family: inherit;
}
header,
main,
footer {
  padding-inline: clamp(16px, 3vw, 54px);
}
header {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm, .875rem);
}
header a {
  color: var(--muted-foreground);
  text-decoration: none;
}
.brand {
  font-weight: 650;
  color: var(--foreground);
}
.portfolio {
  margin-left: auto;
}
.intro {
  text-align: center;
  padding: clamp(48px, 7vw, 96px) 0 clamp(38px, 5vw, 72px);
}
.intro small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs, .75rem);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 4px 11px;
  color: var(--foreground);
}
.intro i {
  width: 6px;
  height: 6px;
  background: #d38374;
  border-radius: 50%;
}
.intro h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(var(--text-5xl, 3rem), 5vw, var(--text-6xl, 3.75rem));
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.05;
  margin: 16px 0 12px;
}
.intro p {
  font-size: clamp(var(--text-base, 1rem), 1.4vw, var(--text-xl, 1.25rem));
  line-height: 1.5;
  color: var(--muted-foreground);
}
.primary {
  display: inline-block;
  background: var(--foreground);
  color: var(--background);
  border-radius: var(--radius);
  padding: 9px 15px;
  font-size: var(--text-sm, .875rem);
  font-weight: 550;
  text-decoration: none;
}
.primary {
  margin-top: 20px;
}
#gallery {
  max-width: 1740px;
  margin: auto;
  scroll-margin-top: 16px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
nav {
  display: flex;
  gap: 3px;
}
nav button,
.toolbar input {
  color: var(--muted-foreground);
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 6px 12px;
  font-size: var(--text-sm, .875rem);
}
nav button[aria-pressed="true"],
.toolbar input {
  background: var(--muted);
  color: var(--foreground);
  border-color: var(--line);
}
.toolbar input {
  max-width: 100%;
}
.tiles {
  columns: 300px;
  column-gap: 14px;
}
.tiles article {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  margin: 0 0 14px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--background);
  border-radius: 15px;
  break-inside: avoid;
}
.tiles article > small,
.example h3,
footer,
.building small {
  color: var(--muted-foreground);
  font-size: var(--text-xs, .75rem);
  font-weight: 500;
}
.tiles h2 {
  font-size: var(--text-lg, 1.125rem);
  font-weight: 570;
  letter-spacing: -0.04em;
  margin: 3px 0 16px;
}
.example + .example {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
}
.example h3 {
  margin-bottom: 7px;
}
.demo {
  display: flex;
  align-items: center;
  min-height: 32px;
}
.demo > *,
.demo form {
  max-width: 100%;
}
.demo > div.pointer-events-none {
  pointer-events: auto;
}
.building {
  background: var(--muted);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 20px;
}
.building strong {
  font-size: var(--text-2xl, 1.5rem);
  letter-spacing: var(--tracking-normal, 0em);
}
.history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.history-head strong {
  font-size: var(--text-3xl, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--tracking-normal, 0em);
}
.history-head strong span {
  font-size: var(--text-xl, 1.25rem);
  color: var(--muted-foreground);
}
.chart {
  height: 116px;
  display: flex;
  gap: 8px;
  margin: 12px 0 4px;
}
.chart > div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  gap: 6px;
}
.chart i {
  width: 100%;
  background: var(--muted-foreground);
  border-radius: 5px;
}
.chart > div:last-child i {
  background: var(--foreground);
}
.chart span {
  font-size: var(--text-xs, .75rem);
  color: var(--muted-foreground);
}
footer {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-block: 22px;
}
.no-results {
  padding: 30px 0;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:not([data-slot="button"]):focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 3px;
}

.appearance {
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 7px;
  font-size: var(--text-xs, .75rem);
}
.field-caption,
.toolbar span {
  font-size: var(--text-xs, .75rem);
  color: var(--muted-foreground);
  margin-bottom: 6px;
}
.export {
  white-space: pre-wrap;
  font-size: var(--text-xs, .75rem);
}
.tiles:not(:empty) + .no-results {
  display: none;
}
@media (max-width: 480px) {
  header {
    gap: 12px;
  }
}
.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 calc(-1 * clamp(16px, 3vw, 54px)) 24px;
  padding: clamp(74px, 9vw, 140px) 24px;
  color: white;
}
.hero-sky,
.hero-sky > div,
.hero-sky canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-sky {
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(#6296bb, #c6dce7);
}
.hero-sky.evening {
  background: linear-gradient(#1b2948, #826b88);
}
.hero-sky:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #10203b44, #14223870),
    radial-gradient(ellipse at center, #12213d70, transparent 75%);
}
.hero-copy > p {
  max-width: var(--container-xl, 36rem);
  margin-inline: auto;
}
.hero-copy {
  max-width: 760px;
  margin: auto;
}
.intro p,
.intro small {
  color: white;
}
.intro small {
  border-color: #ffffff65;
}
.intro .primary {
  background: #fff;
  color: #212433;
}
.intro .appearance {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: var(--text-xs, .75rem);
}
main {
  padding-bottom: 24px;
}
:root,
:root.dark {
  --brand: var(--primary);
  --radius: 0.75rem;
  accent-color: var(--brand);
}
.tiles article {
  border-radius: var(--radius);
  box-shadow: 0 2px 5px #00000009;
}
.tiles article h2 {
  letter-spacing: -0.033em;
}
.tiles article > p,
.tiles article > div > small,
.pass-head,
.report-stats dt {
  color: var(--muted-foreground);
  font-size: var(--text-xs, .75rem);
}
.example + .example {
  border: 0;
  margin-top: 10px;
  padding-top: 0;
}
.tiles article[data-kind="Deal pipeline"] .example {
  display: inline-flex;
  margin: 5px 6px 2px 0;
  vertical-align: middle;
}
.tiles article[data-kind="Preferences"] .example {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tiles article[data-kind="Watchlist"] {
  text-align: center;
  border-style: dashed;
}
.tiles article[data-kind="Acquisitions"] .demo input,
.tiles article[data-kind="Acquisitions"] textarea {
  background: var(--muted);
  border-radius: 10px;
}
.intro .primary,
.file-action {
  background: var(--primary);
  color: var(--primary-foreground);
}
.intro i,
.chart > div:last-child i {
  background: var(--brand);
}
.chart {
  height: 142px;
}
.chart i {
  border-radius: 8px 8px 3px 3px;
}
.report-stats {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.report-stats div {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  background: var(--muted);
}
.report-stats dd {
  font-weight: 600;
  margin-top: 4px;
}
.pass-head,
.pass-stub {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pass-head {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.pass-head strong {
  font: 11px monospace;
}
.tour-pass > p {
  margin-bottom: 18px;
}
.pass-stub {
  border-top: 1px dashed var(--line);
  margin-top: 18px;
  padding-top: 12px;
}
.pass-barcode {
  width: 76px;
  height: 30px;
  flex-shrink: 0;
  background: repeating-linear-gradient(90deg,
    var(--foreground) 0 1px, transparent 1px 3px,
    var(--foreground) 3px 5px, transparent 5px 6px,
    var(--foreground) 6px 7px, transparent 7px 10px,
    var(--foreground) 10px 13px, transparent 13px 15px,
    var(--foreground) 15px 16px, transparent 16px 19px);
}
.floorplate {
  width: 100%;
  background: var(--muted);
  color: var(--muted-foreground);
  border-radius: 14px;
  margin-bottom: 16px;
}
.file-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 48px;
  background: var(--accent);
  color: var(--brand);
  border-radius: 9px;
  font-size: var(--text-2xl, 1.5rem);
  margin-bottom: 12px;
}
.export {
  background: var(--muted);
  border-radius: 12px;
  padding: 14px;
  width: 100%;
  margin: 12px 0;
}
.file-action {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: var(--text-sm, .875rem);
}
.file-card details {
  margin-top: 14px;
  font-size: var(--text-xs, .75rem);
}
.file-card summary {
  cursor: pointer;
}
.ledger-total {
  display: block;
  font-size: var(--text-3xl, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--tracking-normal, 0em);
  margin: 4px 0 16px;
}
.ledger .slot-bread-crumb {
  font-size: var(--text-xs, .75rem);
  margin-bottom: 16px;
}
.tiles .listing {
  padding: 0;
  overflow: hidden;
}
.listing .slot-card,
.listing .slot-card .demo,
.listing .slot-card .demo > * {
  width: 100%;
  min-width: 0;
}
.listing > .slot-card img {
  height: 170px;
  width: 100%;
  object-fit: cover;
}
.listing > div:not(.slot-card) {
  padding: 18px 28px;
}
.tiles article :focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

main {
  position: relative;
  isolation: isolate;
}
.intro {
  isolation: auto;
  overflow: visible;
}
.hero-sky {
  height: 1050px;
  bottom: auto;
  background: linear-gradient(#3876ba, #8cbfe8);
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 22%,
    #000b 46%,
    #0003 72%,
    transparent 100%
  );
}
.hero-sky:after {
  background: linear-gradient(180deg, #10203b18, transparent 60%);
}
.hero-sky.evening {
  background: linear-gradient(#1b2948, #826b88);
}
.intro {
  color: #10243c;
}
.intro p,
.intro small {
  color: inherit;
}
.intro small {
  border-color: #10243c40;
}
.dark .intro {
  color: #fff;
}
.dark .intro small {
  border-color: #ffffff60;
}
#gallery {
  position: relative;
}
.tiles article {
  background: var(--background);
}
.hero-sky {
  position: fixed;
  inset: 0;
  height: 70vh;
  height: 70dvh;
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 35%,
    #000b 58%,
    #0003 80%,
    transparent 100%
  );
}
.intro,
.dark .intro {
  color: white;
}
.intro small {
  border-color: #ffffff65;
}
.hero-copy {
  text-shadow: 0 1px 8px #18355238;
}
#gallery {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tiles {
  column-gap: 14px;
}
.tiles article {
  box-shadow: 0 3px 12px #0000000a;
}

.awaiting-reveal {
  opacity: 0;
}
.awaiting-reveal:focus-within {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .awaiting-reveal {
    opacity: 1;
  }
}

.tiles > article {
  background: color-mix(in srgb, var(--background) 83%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid color-mix(in srgb, var(--background) 65%, transparent);
  box-shadow: 0 4px 20px #13253c0c;
}
.dark .tiles > article {
  background: color-mix(in srgb, var(--background) 78%, transparent);
  border-color: #ffffff20;
}


.tenant-nav {
  min-height: 440px !important;
  width: 100%;
}
.workspace-card {
  overflow: hidden;
}
.workspace-summary {
  font-size: var(--text-xs, .75rem);
  color: var(--muted-foreground);
  padding: 8px;
}
.capital-panels {
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.capital-panels > div > div {
  padding: 12px;
}
.capital-panels strong {
  font-size: var(--text-xl, 1.25rem);
  letter-spacing: var(--tracking-normal, 0em);
}
.lease-scroll {
  height: 168px;
  overflow: hidden;
}
.lease-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm, .875rem);
}
.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 14px;
}
.measurement {
  margin-top: 20px;
}
.report-skeleton {
  height: 36px;
  margin-top: 12px;
}
.commercial-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
button,
a.primary,
a.file-action {
  touch-action: manipulation;
}
button:not(:disabled):active,
a.primary:active,
a.file-action:active {
  scale: 0.98;
}
button {
  transition:
    background-color 140ms ease,
    color 140ms ease,
    scale 120ms cubic-bezier(0.23, 1, 0.32, 1);
}
.tiles article {
  overflow-wrap: anywhere;
}
.tiles article p {
  line-height: 1.5;
}
.history-head strong,
.ledger-total,
.report-stats dd {
  font-variant-numeric: tabular-nums;
}
.intro p {
  text-wrap: balance;
}
.field-caption {
  margin-top: 4px;
}
.tiles > article > h2 {
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .hero-copy h1 {
    font-size: var(--text-5xl, 3rem);
  }
  .intro {
    padding-top: 80px;
    padding-bottom: 48px;
  }
  .appearance {
    max-width: 140px;
  }
  .tiles {
    columns: 1;
  }
  .tiles > article {
    margin-bottom: 16px;
  }
  input,
  textarea,
  select {
    font-size: var(--text-base, 1rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }
  button:active,
  a.primary:active,
  a.file-action:active {
    scale: 1;
  }
}
.gallery-drawer {
  position: fixed !important;
  max-width: 100vw;
  height: 100dvh !important;
  z-index: 60 !important;
}
.gallery-drawer p {
  margin-bottom: 16px;
}
.gallery-drawer > div {
  min-width: 0;
}

body > div:has(> .gallery-drawer) {
  position: fixed !important;
  z-index: 60 !important;
}
.gallery-drawer {
  width: min(400px, 100vw) !important;
}
.gallery-drawer.translate-x-full {
  visibility: hidden;
}
.memo h2 {
  font-size: var(--text-lg, 1.125rem) !important;
}
.memo h1 {
  font-size: var(--text-xl, 1.25rem) !important;
}
.tiles article input[type="file"] {
  max-width: 100%;
  font-size: var(--text-xs, .75rem);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 8px;
  grid-auto-flow: row dense;
  gap: 8px;
  columns: unset;
  align-items: start;
}
.tiles > article {
  margin: 0;
  align-self: start;
  min-width: 0;
}
.wide-card {
  grid-column: span 2;
}
.portfolio-wide [data-slot="table-container"] {
  max-width: 100%;
  overflow: auto;
}
.portfolio-wide table {
  min-width: 590px;
}
.portfolio-wide th,
.portfolio-wide td {
  padding: 10px 9px;
  white-space: nowrap;
}
.portfolio-wide [data-slot="input-group"] {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 260px;
}
.portfolio-wide [data-slot="input-group-addon"] {
  padding: 0 10px;
}
.portfolio-wide svg {
  width: 16px;
  height: 16px;
}
.portfolio-wide > p {
  margin-bottom: 16px;
}
.portfolio-wide [data-slot="input-group-control"] {
  min-width: 0;
}
.portfolio-wide [data-slot="table-container"] + div {
  flex-wrap: wrap;
}
.contact-trigger {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 4px;
  padding: 12px 0;
  text-align: left;
}
.contact-trigger span {
  font-size: var(--text-xs, .75rem);
  color: var(--muted-foreground);
}
@media (max-width: 1250px) {
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 950px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .wide-card {
    grid-column: auto;
  }
}

/* Frosted outer frame with an opaque content surface. */
.tiles > article,
.dark .tiles > article {
  border: 7px solid transparent;
  background:
    linear-gradient(var(--background), var(--background)) padding-box,
    linear-gradient(#ffffff38, #ffffff22) border-box;
  border-radius: calc(var(--radius) + 7px);
  background-clip: padding-box, border-box;
  box-shadow: 0 4px 20px #13253c0c;
}
.dark .tiles > article {
  background:
    linear-gradient(var(--background), var(--background)) padding-box,
    linear-gradient(#ffffff1f, #ffffff10) border-box;
}

/* Decorative edge columns only appear outside the interactive gallery. */
main { overflow-x: clip; }
.gallery-skeletons { display: none; pointer-events: none; }
#gallery > .tiles {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 180px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 180px), transparent 100%);
}
#gallery:focus-within > .tiles {
  -webkit-mask-image: none;
  mask-image: none;
}
@media (hover: hover) {
  #gallery:has(> .tiles > article:last-child:hover) > .tiles {
    -webkit-mask-image: none;
    mask-image: none;
  }
}
@media (min-width: 1920px) {
  .gallery-skeletons { display: block; position: absolute; inset: 0; }
  .skeleton-column { position: absolute; top: 18px; width: 280px; opacity: .2; }
  .skeleton-column.left { right: calc(100% + 24px); mask-image: linear-gradient(to right, transparent, black); }
  .skeleton-column.right { left: calc(100% + 24px); mask-image: linear-gradient(to left, transparent, black); }
  .skeleton-card { margin-bottom: 20px; padding: 24px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 7px); background: var(--background); }
  .skeleton-line, .skeleton-block, .skeleton-row span { display: block; border-radius: 10px; background: var(--muted-foreground); opacity: .15; }
  .skeleton-line { height: 12px; margin-bottom: 16px; }
  .skeleton-line.short { width: 58%; }
  .skeleton-block { height: 112px; margin-bottom: 18px; }
  .skeleton-card:nth-child(3n) .skeleton-block { height: 190px; }
  .skeleton-card:nth-child(2n) .skeleton-block { height: 65px; }
  .skeleton-row { display: flex; gap: 8px; }
  .skeleton-row span { height: 26px; flex: 1; }
}

.nivo-preview { height: 220px; min-width: 0; --divide: var(--border); }
.chart-tooltip { padding: 8px 12px; background: var(--popover); color: var(--popover-foreground); border: 1px solid var(--border); border-radius: 8px; font-size: var(--text-xs, .75rem); box-shadow: 0 4px 16px #0002; }

/* Web app calendar utilities, scoped for the standalone gallery build. */
.leasing-calendar { margin-top: 20px; }
.leasing-calendar [data-slot="calendar"] { width: 100%; padding: 0; background: transparent; --cell-size: 32px; }
.leasing-calendar .rdp-months { position: relative; display: flex; flex-direction: column; }
.leasing-calendar .rdp-month { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.leasing-calendar .rdp-nav { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; height: 32px; }
.leasing-calendar .rdp-button_previous, .leasing-calendar .rdp-button_next { width: 32px; height: 32px; padding: 0; }
.leasing-calendar .rdp-month_caption { height: 32px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.leasing-calendar .rdp-caption_label { font-size: var(--text-sm, .875rem); font-weight: 500; }
.leasing-calendar .rdp-month_grid { width: 100%; border-collapse: collapse; }
.leasing-calendar .rdp-weekdays, .leasing-calendar .rdp-week { display: flex; width: 100%; }
.leasing-calendar .rdp-week { margin-top: 4px; }
.leasing-calendar .rdp-weekday { flex: 1; font-size: var(--text-xs, .75rem); font-weight: 400; color: var(--muted-foreground); text-align: center; }
.leasing-calendar td.rdp-day { flex: 1; min-width: 0; padding: 0; aspect-ratio: 1; }
.leasing-calendar button[data-day] { width: 100%; height: 100%; min-width: 0; padding: 0; border-radius: 8px; font-size: var(--text-sm, .875rem); font-weight: 400; }
.leasing-calendar .rdp-outside { color: var(--muted-foreground); opacity: .5; }
.leasing-calendar .rdp-today { background: var(--muted); border-radius: 8px; }
.leasing-calendar button[data-selected-single="true"] { background: var(--primary); color: var(--primary-foreground); }
.leasing-calendar button:hover:not([data-selected-single="true"]) { background: var(--muted); }

.tiles .bg-card { background-color: var(--background); }

.tiles > .workspace-card { padding: 0; }
.workspace-card .tenant-nav { width: 100%; height: 560px; min-height: 560px !important; }
.workspace-card [data-navigation-pane="sidebar"] { width: 100%; height: 100%; background: var(--background); border: 0; }
.workspace-card [data-navigation-pane="body"] { flex: 1; }
.workspace-card [data-navigation-pane="footer"] { margin-top: auto; padding: 12px; border-top: 1px solid var(--border); }
.sidebar-profile { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; }
.sidebar-profile img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sidebar-profile > span { min-width: 0; }
.sidebar-profile strong, .sidebar-profile small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-profile strong { font-size: var(--text-sm, .875rem); font-weight: 600; }
.sidebar-profile small { font-size: var(--text-xs, .75rem); color: var(--muted-foreground); }

.tiles > .portfolio-map { padding: 0; overflow: hidden; }
.map-copy { padding: 22px 22px 14px; }
.map-copy h2 { margin: 6px 0; }
.map-canvas { width: 100%; height: 300px; }
.mapboxgl-popup-content { color: #171717; font: 12px Inter, sans-serif; }

.mobile-gallery-action { display: none; }
@media (max-width: 640px) {
  #gallery.mobile-preview { height: min(70svh, 600px); overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
  #gallery.mobile-preview > .tiles { width: 900px; grid-template-columns: repeat(3, minmax(0, 1fr)); transform: scale(var(--preview-scale, .4)); transform-origin: top left; pointer-events: none; user-select: none; -webkit-mask-image: none; mask-image: none; }
  #gallery.mobile-preview .wide-card { grid-column: span 2; }
  #gallery.mobile-preview .awaiting-reveal { opacity: 1; }
  .mobile-gallery-action { display: flex; justify-content: center; margin: 0 0 32px; }
  .mobile-gallery-action .primary { border: 0; font: inherit; font-size: var(--text-sm, .875rem); padding: 12px 20px; cursor: pointer; }
}

/* shadcn CardTitle: leading-none font-semibold. */
.tiles article h2, .tiles [data-slot="card-title"] {
  font-size: var(--text-base, 1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
}
/* shadcn CardDescription: text-sm text-muted-foreground. */
.tiles article > p, .tiles [data-slot="card-description"] {
  font-size: var(--text-sm, .875rem);
  line-height: 1.25rem;
  color: var(--muted-foreground);
}

.investment-field { display: grid; gap: 12px; margin-top: 24px; border: 0; padding: 0; min-width: 0; }
.investment-field [data-slot="label"], .investment-field legend { font-size: var(--text-sm, .875rem); font-weight: 500; line-height: 1; color: var(--foreground); }
.investment-field legend { margin-bottom: 12px; }
.investment-field [data-slot="label"] span { margin-left: auto; color: var(--muted-foreground); }
.investment-radio { display: flex; align-items: center; justify-content: flex-start; gap: 10px; }
.investment-field [data-slot="radio-group"] { display: grid; gap: 12px; }
.investment-field [data-slot="input-group"] { display:flex; width:100%; }
.investment-field [data-slot="input-group-control"] { min-width:0; flex:1; }
.investment-slider { position:relative; display:flex; align-items:center; width:100%; height:20px; touch-action:none; }
.investment-track { position:relative; flex:1; height:4px; border-radius:9999px; background:var(--muted); }
.investment-range { position:absolute; height:100%; background:var(--primary); border-radius:inherit; }
.investment-thumb { display:block; width:16px; height:16px; border:1px solid var(--primary); border-radius:50%; background:var(--background); }

/* Full-width form controls, keeping toolbar and icon actions compact. */
.tiles .slot-select .demo, .tiles .slot-select-menu .demo, .tiles .slot-date .demo, .tiles .slot-tabs .demo, .tiles .slot-switch .demo { width: 100%; }
.tiles .slot-select .demo > *, .tiles .slot-select-menu .demo > *, .tiles .slot-date .demo > *, .tiles .slot-tabs .demo > *, .tiles .slot-switch .demo > * { width: 100%; }
.tiles button[role="combobox"], .tiles .slot-select-menu button, .tiles .slot-select button { width: 100%; justify-content: space-between; }
.tiles [role="tablist"] { display: flex; width: 100%; }
.tiles [role="tablist"] > * { flex: 1; text-align: center; justify-content: center; }
.tiles .slot-button .demo > *, .tiles .slot-button button { width: 100%; justify-content: center; }
.tiles > article > button[aria-haspopup="menu"] { width: 100%; justify-content: space-between; }

.portfolio-toolbar [data-slot="input-group"], .portfolio-toolbar > div > button { height: 36px; min-height: 36px; box-sizing: border-box; }
.portfolio-toolbar [data-slot="input-group-control"] { height: 34px; min-height: 0; }
.portfolio-toolbar [data-align="inline-start"] { order: -1; padding-left: 10px; padding-right: 4px; }
/* Sidebar group headings retain the library's text-xs/font-medium scale. */
.tiles .workspace-card [data-navigation-pane="section"] > h2 {
  font-size: var(--text-xs, .75rem);
  font-weight: 500;
  line-height: 1rem;
  letter-spacing: normal;
  color: color-mix(in srgb, var(--muted-foreground) 75%, transparent);
  margin: 0;
}

.leasing-calendar button[data-range-middle="true"] { background: var(--muted); border-radius: 0; }
.leasing-calendar button[data-range-start="true"], .leasing-calendar button[data-range-end="true"] { background: var(--primary); color: var(--primary-foreground); }
.leasing-calendar .rdp-range_middle { background: var(--muted); }
.availability-calendar td.rdp-day { aspect-ratio: auto; height: 52px; }
.availability-calendar button[data-day] { display:flex; flex-direction:column; gap:5px; }
.availability-calendar button[data-day] small { font-size: var(--text-xs, .75rem); line-height:1; opacity:.65; }
.availability-calendar button:disabled { opacity:.35; cursor:not-allowed; }
.availability-calendar button:disabled > span { text-decoration:line-through; }
.calendar-selection { margin-top:16px; }
.calendar-presets { display:flex; gap:8px; margin-top:12px; }
.calendar-presets button { background:var(--background); color:var(--foreground); flex:1; padding:8px; border:1px solid var(--border); border-radius:var(--radius); font-size: var(--text-xs, .75rem); }
.calendar-presets button:hover { background:var(--muted); }

.slot-carousel .demo > * { width:100%; min-width:0; }
.architecture-carousel { overflow:hidden; width:100%; border-radius:var(--radius); }
.architecture-slides { display:flex; touch-action:pan-y pinch-zoom; }
.architecture-slide { flex:0 0 100%; min-width:0; }
.architecture-slide img { display:block; width:100%; height:240px; object-fit:cover; border-radius:var(--radius); }
.architecture-slide a { display:block; margin-top:10px; color:var(--muted-foreground); font-size: var(--text-xs, .75rem); }

.nivo-preview .chart-tooltip { width: max-content; min-width: 170px; max-width: none; padding: 12px; white-space: nowrap; overflow-wrap: normal; word-break: normal; background: var(--popover); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 4px 16px #0003; }
.chart-tooltip-month { color: var(--muted-foreground); font-size: var(--text-xs, .75rem); margin-bottom: 8px; }
.chart-tooltip-row { display: flex; align-items: center; gap: 8px; font-size: var(--text-xs, .75rem); }
.chart-tooltip-row strong { margin-left: auto; padding-left: 12px; font-size: var(--text-xs, .75rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.chart-tooltip-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--primary); flex: none; }
/* Stretch the nested demo form wrappers, not only their outer slot. */
.tiles .example .demo > div,
.tiles .example .demo > div > div,
.tiles .example .demo form,
.tiles .example .demo form > div {
  width: 100%;
  min-width: 0;
}
.tiles .example .demo form { justify-content: flex-start; }
.tiles .slot-switch form > div > div,
.tiles .slot-date form > div > div,
.tiles .slot-daterange form > div > div,
.tiles .slot-select form > div > div,
.tiles .slot-multi-select form > div > div { width: 100%; }
.tiles .measurement { width: 100%; }
.tiles .measurement [class~="group/tabs-list"] { width: 100%; }
.ledger .slot-bread-crumb .demo,
.ledger .slot-bread-crumb .demo > div,
.ledger .slot-bread-crumb nav,
.ledger .slot-bread-crumb ol {
  justify-content: flex-start;
  text-align: left;
}

.field-label-row { display:flex; align-items:center; gap:6px; }
.field-help { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; padding:0; color:var(--muted-foreground); border-radius:4px; }
.field-help:hover { color:var(--foreground); background:var(--muted); }
.field-value { margin-left:auto; font-size: var(--text-xs, .75rem); color:var(--muted-foreground); font-variant-numeric:tabular-nums; }
.investment-field .input-description { margin:0; font-size: var(--text-xs, .75rem); line-height:1.5; color:var(--muted-foreground); }

.investment-ballot > small { font-size: var(--text-xs, .75rem); color:var(--muted-foreground); }
.investment-ballot h2 { margin-top:10px; }
.ballot-summary { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0; padding:14px; border-radius:var(--radius); background:var(--muted); }
.ballot-summary span { font-size: var(--text-xs, .75rem); color:var(--muted-foreground); }
.ballot-summary strong { display:block; margin-top:6px; color:var(--foreground); font-size: var(--text-lg, 1.125rem); font-weight:600; }
.ballot-options { display:grid; gap:8px; margin-bottom:20px; }
.ballot-option { display:flex; align-items:center; gap:12px; border:1px solid var(--border); border-radius:var(--radius); padding:12px; }
.ballot-option[data-selected="true"] { border-color:var(--primary); background:var(--muted); }
.ballot-option label { flex:1; cursor:pointer; }
.ballot-option strong { display:block; font-size: var(--text-sm, .875rem); font-weight:500; }
.ballot-option small { display:block; margin-top:5px; font-size: var(--text-xs, .75rem); line-height:1.4; color:var(--muted-foreground); }
.investment-ballot > button { width:100%; justify-content:center; }
.investment-ballot .ballot-note { font-size: var(--text-xs, .75rem); margin-top:12px; }
.ballot-result { padding:20px 0; min-height:160px; }
.ballot-result p { margin-top:8px; }
.ballot-result small { font-size: var(--text-xs, .75rem); color:var(--muted-foreground); }

/* Continuous shadcn range band with solid endpoints. */
.leasing-calendar td.rdp-range_start { background: linear-gradient(to right, transparent 50%, var(--muted) 50%); border-radius: 8px 0 0 8px; }
.leasing-calendar td.rdp-range_end { background: linear-gradient(to right, var(--muted) 50%, transparent 50%); border-radius: 0 8px 8px 0; }
.leasing-calendar td.rdp-range_start.rdp-range_end { background: transparent; }
.leasing-calendar button[data-range-middle="true"] { border-radius: 0; background: var(--muted); color:var(--foreground); }
.leasing-calendar button[data-range-start="true"], .leasing-calendar button[data-range-end="true"], .leasing-calendar button[data-range-start="true"]:hover, .leasing-calendar button[data-range-end="true"]:hover { background:var(--primary); color:var(--primary-foreground); border-radius:8px; }
.leasing-calendar .rdp-week > .rdp-range_middle:first-child { border-radius:8px 0 0 8px; }
.leasing-calendar .rdp-week > .rdp-range_middle:last-child { border-radius:0 8px 8px 0; }
.leasing-calendar .rdp-range_middle button { border-radius:inherit; }
.diligence-calendar .calendar-presets { padding-top:16px; border-top:1px solid var(--border); gap:8px; }
.availability-calendar button[data-day] small { font-size: var(--text-xs, .75rem); }

.portfolio-property { display: flex; flex-direction: column; gap: 4px; }
.portfolio-property small { font-size: var(--text-xs, .75rem); color: var(--muted-foreground); font-weight: 400; }
.vote-totals { display:flex; justify-content:space-between; margin:24px 0 16px; }
.vote-totals > div { display:flex; flex-direction:column; gap:6px; }
.vote-totals > div:last-child { text-align:right; }
.vote-totals span { font-size: var(--text-sm, .875rem); color:var(--muted-foreground); }
.vote-totals strong { font-size: var(--text-4xl, 2.25rem); line-height:1; font-weight:600; font-variant-numeric:tabular-nums; }
.vote-bar { display:flex; gap:4px; height:36px; }
.vote-bar span { flex:1; border-radius:4px; background:var(--muted); border:1px solid var(--border); }
.vote-bar span[data-yes="true"] { background:var(--primary); border-color:var(--primary); }
.vote-caption { display:flex; justify-content:space-between; gap:12px; font-size: var(--text-xs, .75rem); margin-top:12px; color:var(--muted-foreground); }
.investment-ballot .vote-demo { display:block; margin-top:20px; font-size: var(--text-xs, .75rem); }

.diligence-calendar .leasing-calendar [data-slot="calendar"] { width:224px; max-width:100%; margin-inline:auto; }
.diligence-calendar .leasing-calendar td.rdp-day,
.diligence-calendar .leasing-calendar .rdp-weekday { flex:0 0 32px; width:32px; }
.diligence-calendar .leasing-calendar td.rdp-day { height:32px; }

.availability-calendar .rdp-month_grid { table-layout:fixed; display:block; }
.availability-calendar .rdp-month_grid thead,
.availability-calendar .rdp-month_grid tbody { display:block; width:100%; }
.availability-calendar .rdp-weekdays,
.availability-calendar .rdp-week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); }
.availability-calendar td.rdp-day,
.availability-calendar .rdp-weekday { width:100%; min-width:0; }
.availability-calendar button[data-day] { min-width:0; width:100%; }

.chat-heading { display:flex; align-items:center; gap:8px; }
.chat-heading h2 { margin:0; }
.chat-heading > span { margin-left:auto; font-size: var(--text-xs, .75rem); color:var(--muted-foreground); }
.chat-messages { height:240px; overflow-y:auto; display:flex; flex-direction:column; gap:16px; padding:20px 0; margin:8px 0; scrollbar-width:thin; }
.chat-message { max-width:92%; flex-shrink:0; }
.chat-message-user { align-self:flex-end; }
.chat-speaker { display:block; font-size: var(--text-xs, .75rem); color:var(--muted-foreground); margin-bottom:6px; }
.chat-message-user .chat-speaker { text-align:right; }
.hines-chat .chat-message p { margin:0; padding:12px; font-size: var(--text-sm, .875rem); line-height:1.5; border-radius:var(--radius); background:var(--muted); color:var(--foreground); }
.hines-chat .chat-message-user p { background:var(--secondary); color:var(--secondary-foreground); }
.chat-composer { display:flex; align-items:flex-end; gap:8px; border:1px solid var(--border); border-radius:var(--radius); padding:10px; }
.chat-composer textarea { width:100%; min-width:0; resize:none; background:transparent; border:0; outline:none; font:inherit; font-size: var(--text-sm, .875rem); line-height:1.5; }
.chat-composer:focus-within { outline:2px solid var(--ring); outline-offset:2px; }
.chat-composer button { width:32px; height:32px; flex-shrink:0; padding:0; background:var(--primary); color:var(--primary-foreground); border-radius:var(--radius); }

.leasing-forecast > small { display:block; font-size: var(--text-xs, .75rem); color:var(--muted-foreground); margin-bottom:10px; }
.forecast-odds { display:flex; gap:20px; margin:20px 0 8px; }
.forecast-odds > span { display:flex; align-items:center; gap:6px; font-size: var(--text-xs, .75rem); color:var(--muted-foreground); }
.forecast-odds strong { font-size: var(--text-xl, 1.25rem); font-weight:500; color:var(--foreground); margin-left:2px; }
.forecast-odds i, .allocation-legend i { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.forecast-yes { background:var(--primary); }
.forecast-no { background:#888; }
.forecast-chart { height:180px; }
.forecast-footer { display:flex; align-items:center; justify-content:space-between; margin-top:12px; font-size: var(--text-xs, .75rem); color:var(--muted-foreground); }
.forecast-footer > div { display:flex; gap:4px; }
.forecast-footer button { padding:5px 8px; border-radius:var(--radius); color:var(--muted-foreground); }
.forecast-footer button[aria-pressed="true"] { background:var(--secondary); color:var(--foreground); }
.allocation-chart { position:relative; height:210px; }
.allocation-center { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; pointer-events:none; gap:4px; }
.allocation-center strong { font-size: var(--text-2xl, 1.5rem); font-weight:500; font-variant-numeric:tabular-nums; }
.allocation-center span { font-size: var(--text-xs, .75rem); color:var(--muted-foreground); }
.allocation-legend { display:grid; gap:4px; margin-top:8px; }
.allocation-legend button { display:flex; width:100%; align-items:center; gap:8px; padding:8px; font-size: var(--text-sm, .875rem); border-radius:var(--radius); text-align:left; }
.allocation-legend button:hover, .allocation-legend button[aria-pressed="true"] { background:var(--muted); }
.allocation-legend strong { margin-left:auto; font-size: var(--text-sm, .875rem); font-weight:500; }
.allocation-note { display:block; font-size: var(--text-xs, .75rem); color:var(--muted-foreground); margin-top:12px; }

.hines-chat [data-slot="message"] { display:flex; width:100%; max-width:100%; min-width:0; gap:8px; font-size: var(--text-sm, .875rem); }
.hines-chat [data-slot="message"][data-align="end"] { flex-direction:row-reverse; }
.hines-chat [data-slot="message-content"] { display:flex; flex-direction:column; width:100%; min-width:0; gap:8px; }
.hines-chat [data-slot="message-header"] { padding:0 12px; font-size: var(--text-xs, .75rem); font-weight:500; color:var(--muted-foreground); }
.hines-chat [data-align="end"] [data-slot="message-header"], .hines-chat [data-align="end"] [data-slot="bubble"] { align-self:flex-end; }
.hines-chat [data-slot="bubble"] { max-width:100%; width:fit-content; }
.hines-chat [data-slot="bubble-content"] { padding:8px 12px; border-radius:12px; background:var(--muted); color:var(--foreground); font-size: var(--text-sm, .875rem); line-height:1.625; overflow-wrap:break-word; }
.hines-chat [data-variant="secondary"] [data-slot="bubble-content"] { background:var(--secondary); color:var(--secondary-foreground); }

.kpi-rows { display:grid; gap:12px; margin:20px 0 16px; }
.kpi-row { display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--muted); padding:16px; border-radius:var(--radius); }
.kpi-copy { min-width:0; }
.kpi-copy h3 { font-size: var(--text-sm, .875rem); font-weight:500; margin:0 0 8px; }
.kpi-copy strong { display:block; font-size: var(--text-lg, 1.125rem); font-weight:500; font-variant-numeric:tabular-nums; line-height:1.2; }
.kpi-copy span { display:block; color:var(--muted-foreground); font-size: var(--text-xs, .75rem); margin-top:4px; }
.kpi-bars { display:flex; align-items:flex-end; gap:4px; width:80px; height:42px; flex-shrink:0; }
.kpi-bars button { position:relative; flex:1; min-width:0; border-radius:4px 4px 0 0; background:var(--muted); opacity:1; padding:0; }
.kpi-bars button.latest { background:var(--primary); opacity:1; }
.kpi-bars button:hover, .kpi-bars button:focus-visible { opacity:1; outline:2px solid var(--ring); outline-offset:2px; }
.kpi-tip { display:none; position:absolute; bottom:calc(100% + 8px); right:0; width:max-content; padding:6px 8px; border:1px solid var(--border); border-radius:var(--radius); background:var(--popover); color:var(--popover-foreground); font-size: var(--text-xs, .75rem); z-index:5; box-shadow:0 2px 8px #0002; pointer-events:none; }
.kpi-bars button:hover .kpi-tip, .kpi-bars button:focus .kpi-tip { display:block; }
.tiles .portfolio-kpis > small { font-size: var(--text-sm, .875rem); color:var(--muted-foreground); }

.hines-chat [data-slot="message-avatar"] { align-self:flex-end; flex-shrink:0; width:28px; min-width:28px; height:28px; border-radius:50%; overflow:hidden; background:var(--muted); display:flex; align-items:center; justify-content:center; }
.chat-avatar { display:flex; align-items:center; justify-content:center; width:28px; height:28px; font-size: var(--text-xs, .75rem); font-weight:500; }
.hines-chat [data-slot="bubble"][data-variant="default"] > [data-slot="bubble-content"] { background:var(--primary); color:var(--primary-foreground); }
.hines-chat .chat-messages { height:auto; min-height:240px; gap:20px; padding:24px 0; }
.hines-chat .chat-composer { border:1px solid var(--border); background:var(--muted); border-radius:12px; }

.hines-chat [data-slot="bubble-group"] { display:flex; flex-direction:column; min-width:0; gap:8px; }
.hines-chat [data-slot="bubble"] { position:relative; }
.hines-chat [data-slot="bubble-reactions"] { position:absolute; bottom:0; right:12px; transform:translateY(65%); display:flex; align-items:center; gap:4px; width:max-content; padding:2px 6px; border-radius:999px; background:var(--muted); box-shadow:0 0 0 3px var(--background); font-size: var(--text-xs, .75rem); line-height:20px; z-index:1; }
.hines-chat [data-slot="bubble-reactions"] span:last-child { font-size: var(--text-xs, .75rem); }
.hines-chat .chat-messages { gap:28px; padding-bottom:32px; overflow:visible; }

.hines-chat [data-slot="bubble"][data-variant="ghost"] > [data-slot="bubble-content"] { padding:0; background:transparent; border:0; border-radius:0; }
.hines-chat [data-slot="bubble"][data-variant="ghost"] { max-width:100%; }
.chat-avatar { object-fit:cover; }
.carousel-dots { display:flex; justify-content:center; margin-top:10px; gap:2px; }
.carousel-dots button { display:flex; align-items:center; justify-content:center; width:28px; height:28px; padding:0; }
.carousel-dots button span { width:6px; height:6px; border-radius:50%; background:var(--muted-foreground); opacity:.35; }
.carousel-dots button[aria-pressed="true"] span { background:var(--primary); opacity:1; }
.summary-breadcrumb { display:flex; align-items:center; gap:8px; font-size: var(--text-xs, .75rem); color:var(--muted-foreground); margin-bottom:20px; }
.asset-label { font-size: var(--text-sm, .875rem); font-weight:500; }
.investment-form .asset-control { width:100%; min-width:0; padding:8px 10px; border:1px solid var(--border); border-radius:var(--radius); background:var(--background); color:var(--foreground); font:inherit; font-size: var(--text-sm, .875rem); }
.asset-check { display:flex; align-items:center; gap:8px; margin:20px 0; font-size: var(--text-sm, .875rem); }
.asset-check input { accent-color:var(--primary); }
.asset-submit { width:100%; background:var(--primary); color:var(--primary-foreground); min-height:36px; justify-content:center; }
.investment-field [role="combobox"] { width:100%; }

.portfolio-summary-header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.portfolio-summary-header > div { min-width:0; }
.portfolio-summary-header h2 { margin:0 0 8px; }
.portfolio-summary-header p { margin:0; }
.portfolio-summary-header .ledger-total { flex-shrink:0; margin:0; text-align:right; }
@media (max-width:640px) { .portfolio-summary-header { gap:12px; } .portfolio-summary-header .ledger-total { font-size: var(--text-2xl, 1.5rem); } }

/* Hines uses --divide for borders; bridge the shadcn border token. */
:root { --border:var(--divide); }
.investment-form [role="tabpanel"][hidden] { display:none; }
.investment-form .asset-control { min-height:36px; border:1px solid var(--input); }
.investment-form .asset-submit { margin-top:16px; }
.calendar-presets button { border:1px solid var(--input); background:var(--background); border-radius:var(--radius); }
.calendar-presets button:hover { background:var(--accent); }

.api-report-trigger { display:flex; width:100%; height:36px; justify-content:space-between; align-items:center; padding:8px 10px; border:1px solid var(--input); border-radius:var(--radius); background:var(--background); font-size: var(--text-sm, .875rem); }
.api-report-trigger svg, .api-report-options svg { width:16px; height:16px; }
.api-report-options { z-index:100; min-width:var(--radix-select-trigger-width); padding:4px; background:var(--popover); color:var(--popover-foreground); border:1px solid var(--border); border-radius:var(--radius); box-shadow:0 4px 12px #0002; }
.api-report-options [data-slot="select-item"] { position:relative; display:flex; align-items:center; padding:8px 30px 8px 8px; font-size: var(--text-sm, .875rem); border-radius:4px; outline:none; }
.api-report-options [data-slot="select-item"][data-highlighted] { background:var(--accent); }
.api-report-options [data-slot="select-item"] > span:first-child { position:absolute; right:8px; }

.pass-stub { display:grid; grid-template-columns:1fr auto; align-items:center; column-gap:16px; row-gap:8px; }
.pass-stub .slot-avatar { display:contents; }
.pass-stub .field-caption { grid-column:1 / -1; margin:0; }
.pass-stub .demo { grid-column:1; grid-row:2; margin:0; }
.pass-stub .pass-barcode { grid-column:2; grid-row:2; align-self:center; }

.hines-chat .chat-input-group { display:flex; flex-direction:column; align-items:stretch; width:100%; height:auto; border:1px solid var(--input); border-radius:var(--radius); background:var(--background); padding:0; }
.chat-input-group textarea { width:100%; min-width:0; min-height:64px; padding:12px; resize:none; border:0; border-radius:0; outline:none; box-shadow:none; background:transparent; font:inherit; font-size: var(--text-sm, .875rem); line-height:1.5; }
.chat-input-group:focus-within { outline:2px solid var(--ring); outline-offset:2px; }
.chat-input-group [data-align="block-end"] { display:flex; align-items:center; justify-content:space-between; width:100%; padding:4px 10px 10px; }
.chat-input-group button { display:flex; align-items:center; justify-content:center; width:32px; height:32px; padding:0; border-radius:var(--radius); }
.chat-input-group .chat-context-button { border:1px solid var(--input); background:var(--background); color:var(--foreground); }
.chat-input-group .chat-send-button { margin-left:auto; background:var(--primary); color:var(--primary-foreground); opacity:.5; }
.chat-context-menu { z-index:100; width:190px; padding:4px; background:var(--popover); color:var(--popover-foreground); border:1px solid var(--border); border-radius:var(--radius); box-shadow:0 4px 12px #0002; }
.chat-context-menu [role="menuitem"] { display:flex; align-items:center; gap:8px; padding:8px; font-size: var(--text-sm, .875rem); opacity:.5; }
.chat-context-menu svg { width:16px; height:16px; }

.investment-form form, .investment-form [role="tabpanel"], .investment-field { min-width:0; }
.investment-form .asset-control { box-sizing:border-box; width:100%; max-width:100%; min-width:0; }
.investment-form input[type="date"] { display:block; appearance:none; -webkit-appearance:none; text-align:left; }
.investment-form input[type="date"]::-webkit-date-and-time-value { text-align:left; min-height:20px; }
.investment-form [data-slot="select-trigger"] { text-align:left; box-sizing:border-box; }
.investment-form [data-slot="select-value"] { margin-right:auto; text-align:left; }
.investment-radio [data-slot="radio-group-item"] { display:flex; align-items:center; justify-content:center; width:16px; height:16px; min-width:16px; padding:0; border:1px solid var(--input); border-radius:50%; background:var(--background); color:var(--primary); }
.investment-radio [data-slot="radio-group-item"][data-state="checked"] { border-color:var(--primary); background:var(--primary); color:var(--primary-foreground); }
.investment-radio [data-slot="radio-group-indicator"] { display:flex; align-items:center; justify-content:center; }
.investment-radio [data-slot="radio-group-indicator"] > span { display:block; width:6px; height:6px; border-radius:50%; background:currentColor; }
.investment-radio label { font-size: var(--text-sm, .875rem); font-weight:400; line-height:20px; }

.listing-alerts { display:grid; width:100%; gap:12px; }

.deal-chips { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.chat-keyboard-hint, .chat-keyboard-hint [data-slot="kbd-group"] { display:flex; align-items:center; gap:4px; }
.chat-keyboard-hint { margin-top:10px; gap:8px; font-size: var(--text-xs, .75rem); color:var(--muted-foreground); }
.gallery-spinner { width:16px; height:16px; flex-shrink:0; animation:gallery-spin 1s linear infinite; }
.asset-submit { gap:8px; }
@keyframes gallery-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .gallery-spinner { animation:none; } }

.leasing-calendar .rdp-today { background:transparent; color:var(--hines, #b70021); }
.leasing-calendar .rdp-today button { color:var(--hines, #b70021); font-weight:600; }
.leasing-calendar .rdp-today button[data-selected-single="true"],
.leasing-calendar .rdp-today button[data-range-start="true"],
.leasing-calendar .rdp-today button[data-range-end="true"] { background:var(--hines, #b70021); color:white; }

.kpi-row { background:transparent; border:1px solid var(--border); }

.vote-bar span[data-yes="true"] { background:var(--color-green-500, #22c55e); }
.vote-bar span[data-yes="false"] { background:var(--color-red-500, #ef4444); }
.vote-totals > div:first-child strong { color:var(--color-green-500, #22c55e); }
.vote-totals > div:last-child strong { color:var(--color-red-500, #ef4444); }

/* Chat composer follows the shadcn filled prompt-input treatment. */
.hines-chat .chat-input-group { background:var(--muted); border:1px solid transparent; border-radius:16px; box-shadow:none; overflow:hidden; }
.hines-chat .chat-input-group textarea { min-height:56px; padding:10px 12px 4px; font-size: var(--text-sm, .875rem); line-height:20px; background:transparent; }
.hines-chat .chat-input-group [data-align="block-end"] { padding:4px 10px 10px; }
.hines-chat .chat-input-group button { width:28px; height:28px; min-width:28px; border-radius:50%; }
.hines-chat .chat-input-group .chat-context-button { background:transparent; border:1px solid var(--input); color:var(--muted-foreground); }
.hines-chat .chat-input-group .chat-send-button { background:var(--primary); color:var(--primary-foreground); opacity:1; }
.hines-chat .chat-input-group button svg { width:15px; height:15px; }

.hines-chat [data-slot="bubble"][data-variant="outline"] > [data-slot="bubble-content"] { border:1px solid var(--border); background:var(--background); color:var(--foreground); }

.leasing-calendar [data-slot="calendar"],
.diligence-calendar .leasing-calendar [data-slot="calendar"] { width:100%; max-width:100%; margin:0; }
.leasing-calendar .rdp-months, .leasing-calendar .rdp-month, .leasing-calendar .rdp-month_grid { width:100%; }
.leasing-calendar .rdp-month_grid { display:block; table-layout:fixed; }
.leasing-calendar .rdp-month_grid thead, .leasing-calendar .rdp-month_grid tbody { display:block; width:100%; }
.leasing-calendar .rdp-weekdays, .leasing-calendar .rdp-week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); width:100%; }
.diligence-calendar .leasing-calendar td.rdp-day,
.diligence-calendar .leasing-calendar .rdp-weekday,
.leasing-calendar td.rdp-day, .leasing-calendar .rdp-weekday { width:100%; min-width:0; flex:unset; }
.diligence-calendar .leasing-calendar td.rdp-day { height:auto; aspect-ratio:1; }

.vote-bar { height:24px; gap:5px; }
.vote-bar span { border:0; outline:0; box-shadow:none; }
.vote-bar span[data-yes="true"] { background:var(--color-green-600, #16a34a); }
.vote-bar span[data-yes="false"] { background:var(--color-red-400, #f87171); }
.dark .vote-bar span[data-yes="true"] { background:color-mix(in srgb, var(--color-green-500, #22c55e) 65%, var(--muted)); }
.dark .vote-bar span[data-yes="false"] { background:color-mix(in srgb, var(--color-red-400, #f87171) 65%, var(--muted)); }
.vote-totals > div:first-child strong, .vote-totals > div:last-child strong { color:var(--foreground); font-weight:500; font-size: var(--text-3xl, 1.875rem); }

.status-chip-trigger { display:inline-flex; padding:0; border:0; background:transparent; border-radius:999px; cursor:pointer; }
.status-chip-trigger:focus-visible { outline:2px solid var(--ring); outline-offset:3px; }

.carousel-dots { gap:0; margin-top:8px; }
.carousel-dots button { width:22px; height:32px; }
.carousel-dots button span { width:7px; height:7px; transition:opacity 160ms ease; }

.market-multi-trigger { display:flex; width:100%; min-height:36px; align-items:center; justify-content:space-between; gap:8px; padding:6px 10px; border:1px solid var(--input); border-radius:var(--radius); background:var(--background); text-align:left; }
.market-multi-values { display:flex; flex-wrap:wrap; gap:4px; }
.market-selection { padding:2px 7px; border-radius:4px; background:var(--secondary); font-size: var(--text-xs, .75rem); }
.market-multi-options { z-index:100; min-width:var(--radix-dropdown-menu-trigger-width); padding:4px; border:1px solid var(--border); border-radius:var(--radius); background:var(--popover); color:var(--popover-foreground); box-shadow:0 4px 12px #0002; }
.market-multi-options [role="menuitemcheckbox"] { position:relative; padding:8px 8px 8px 30px; border-radius:4px; font-size: var(--text-sm, .875rem); outline:none; }
.market-multi-options [role="menuitemcheckbox"][data-highlighted] { background:var(--accent); }
.market-multi-options [role="menuitemcheckbox"] > span:first-child { position:absolute; left:8px; }
.market-multi-options svg { width:16px; height:16px; }

.tiles { --gallery-gap:8px; grid-auto-rows:1px; column-gap:var(--gallery-gap); row-gap:0; }

.offer-chip-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:20px 0 12px; }

.intro .appearance { right:auto; inset-inline-end:16px; max-width:none; }
.appearance { display:flex; align-items:center; gap:2px; padding:3px; }
.appearance button { display:flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:5px; color:var(--muted-foreground); }
.appearance button[aria-pressed="true"] { background:var(--secondary); color:var(--foreground); }
.appearance-divider { height:18px; width:1px; background:var(--border); margin:0 3px; }
[dir="rtl"] .api-report-trigger, [dir="rtl"] .market-multi-trigger, [dir="rtl"] .investment-form [data-slot="select-trigger"], [dir="rtl"] .investment-form [data-slot="select-value"] { text-align:right; }
[dir="rtl"] .investment-form [data-slot="select-value"] { margin-right:0; margin-left:auto; }
[dir="rtl"] .portfolio-summary-header .ledger-total { text-align:left; }
[dir="rtl"] .sidebar-profile, [dir="rtl"] .kpi-copy { text-align:right; }
[dir="rtl"] .api-report-options [data-slot="select-item"] { padding:8px 8px 8px 30px; }
[dir="rtl"] .api-report-options [data-slot="select-item"] > span:first-child { right:auto; left:8px; }
[dir="rtl"] .market-multi-options [role="menuitemcheckbox"] { padding:8px 30px 8px 8px; }
[dir="rtl"] .market-multi-options [role="menuitemcheckbox"] > span:first-child { left:auto; right:8px; }
[dir="rtl"] .chat-input-group .chat-send-button { margin-left:0; margin-right:auto; }
[dir="rtl"] .summary-breadcrumb > span { transform:scaleX(-1); }
.architecture-carousel, .nivo-preview, .map-canvas, .pass-barcode { direction:ltr; }

.api-sync-button { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; margin-top:16px; }
.search-shortcut-button { display:inline-flex; align-items:center; gap:12px; }

[dir="rtl"] .leasing-calendar .rdp-button_next svg, [dir="rtl"] .leasing-calendar .rdp-button_previous svg { transform:rotate(180deg); }
[dir="rtl"] .leasing-calendar td.rdp-range_start { background:linear-gradient(to left,transparent 50%,var(--muted) 50%); border-radius:0 8px 8px 0; }
[dir="rtl"] .leasing-calendar td.rdp-range_end { background:linear-gradient(to left,var(--muted) 50%,transparent 50%); border-radius:8px 0 0 8px; }
[dir="rtl"] .leasing-calendar .rdp-week > .rdp-range_middle:first-child { border-radius:0 8px 8px 0; }
[dir="rtl"] .leasing-calendar .rdp-week > .rdp-range_middle:last-child { border-radius:8px 0 0 8px; }
[dir="rtl"] .vote-totals > div:last-child { text-align:left; }
[dir="rtl"] .allocation-legend strong { margin-left:0; margin-right:auto; }
[dir="rtl"] .hines-chat [data-slot="bubble-reactions"] { right:auto; left:12px; }
[dir="rtl"] .portfolio-wide th, [dir="rtl"] .portfolio-wide td { text-align:right; }
[dir="rtl"] .api-report-options, [dir="rtl"] .market-multi-options, [dir="rtl"] .chat-context-menu { text-align:right; }

.intro .appearance { inset-inline-end:auto; left:auto; right:16px; direction:ltr; border:0; background:transparent; padding:0; gap:4px; }
.appearance button { width:34px; height:34px; border:0; border-radius:999px; background:transparent; color:var(--foreground); overflow:hidden; }
.appearance button:hover { background:color-mix(in srgb,var(--background) 35%,transparent); }
.appearance button > span { display:flex; align-items:center; justify-content:center; }

.api-response { margin-top:16px; }
.api-response-help { margin-top:16px; }

.intro .appearance button { color:#fff; }
.intro .appearance button:hover { color:#fff; background:rgb(255 255 255 / 12%); }
.intro .appearance button:focus-visible { outline:2px solid rgb(255 255 255 / 80%); outline-offset:2px; }
.date-popover { z-index:100; padding:8px; background:var(--popover); color:var(--popover-foreground); border:1px solid var(--border); border-radius:var(--radius); }
html[lang="ar"] body { font-family:Tahoma,Arial,sans-serif; }
html[lang="ar"] .hero-copy h1 { font-family:Georgia,serif; }
html[lang="ar"] .history-head strong, html[lang="ar"] .ledger-total { font-size:var(--text-2xl,1.5rem); }
.api-response { direction:ltr; text-align:left; }
.workspace-card .tenant-nav .peer\/menu-button { color:var(--foreground); }

.summary-breadcrumb-list { display:flex; align-items:center; flex-wrap:wrap; gap:8px; list-style:none; margin:0; padding:0; }
.breadcrumb-dropdown { display:inline-flex; align-items:center; gap:4px; padding:0; background:transparent; border:0; color:inherit; font:inherit; cursor:pointer; }
.breadcrumb-dropdown:hover, .breadcrumb-dropdown[data-state="open"] { color:var(--foreground); }
.breadcrumb-menu { min-width:180px; padding:4px; border:1px solid var(--border); border-radius:var(--radius); background:var(--popover); color:var(--popover-foreground); z-index:100; }
.breadcrumb-menu [role="menuitem"] { padding:8px; font-size:var(--text-sm,.875rem); border-radius:4px; outline:none; cursor:pointer; }
.breadcrumb-menu [role="menuitem"][data-highlighted] { background:var(--accent); }
[dir="rtl"] .breadcrumb-separator { transform:scaleX(-1); }


html[lang="ja"] body { font-family:Inter,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; }


.status-dot { display:inline-block; width:6px; height:6px; flex-shrink:0; border-radius:50%; margin-inline-end:6px; }
.status-dot-leased { background:var(--color-emerald-500,#10b981); }
.status-dot-available { background:var(--color-amber-500,#f59e0b); }

.diligence-calendar .leasing-calendar .rdp-week { margin-top:8px; }
.diligence-calendar .calendar-presets button { height:36px; padding-inline:16px; font-size:var(--text-sm,.875rem); }

.investment-form > [data-slot="tabs"] { margin-block:20px 16px; }
.tiles article[data-kind="Watchlist"] { display:flex; flex-direction:column; justify-content:center; align-items:center; }
.tiles article[data-kind="Watchlist"] .slot-empty { width:100%; margin-block:0; }

.portfolio-wide [data-numeric="true"] { text-align:right; font-variant-numeric:tabular-nums; }
.portfolio-wide th[data-numeric="true"] button { margin-inline-start:auto; margin-inline-end:0; }
.portfolio-wide td:has(.portfolio-property) { padding-inline-start:20px; }
/* Full-width calendar columns with the default compact day height. */
.diligence-calendar .leasing-calendar td.rdp-day { height:32px; aspect-ratio:auto; }
.diligence-calendar .leasing-calendar button[data-day] { height:32px; min-height:32px; aspect-ratio:auto; }
.diligence-calendar .leasing-calendar .rdp-week { margin-top:8px; }
.portfolio-wide tbody tr:last-child, .portfolio-wide tbody tr:last-child td { border-bottom-width:0; }

.featured-listings .featured-description { margin:0 0 8px; }
.income-trend > .nivo-preview + p { margin-top:16px; }

.listing-switch { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-block:16px; font-size:var(--text-sm,.875rem); }
[dir="rtl"] [data-slot="switch-thumb"][data-state="checked"] { transform:translateX(calc(-100% + 2px)); }
.listing-switch [data-slot="switch"] { width:32px; height:20px; padding:1px; border:0; border-radius:999px; background:var(--input); overflow:visible; }
.listing-switch [data-slot="switch"][data-state="checked"] { background:var(--color-green-500,#22c55e); }
.listing-switch [data-slot="switch-thumb"] { width:16px; height:16px; flex-shrink:0; border-radius:999px; background:#fff; transform:translateX(0); }
.listing-switch [data-slot="switch-thumb"][data-state="checked"] { transform:translateX(14px); }
[dir="rtl"] .listing-switch [data-slot="switch-thumb"][data-state="checked"] { transform:translateX(-14px); }
[data-slot="tabs-trigger"][data-state="active"] { background:var(--background); color:var(--foreground); box-shadow:0 1px 3px #0000001a; }

.typing-dots { display:inline-flex; align-items:center; gap:4px; padding:4px 0; }
.typing-dots > span { width:6px; height:6px; border-radius:50%; background:var(--muted-foreground); animation:typing-dot 1.4s ease-in-out infinite; }
.typing-dots > span:nth-child(2) { animation-delay:.15s; }
.typing-dots > span:nth-child(3) { animation-delay:.3s; }
@keyframes typing-dot { 0%,60%,100% { opacity:.35; transform:translateY(0); } 30% { opacity:1; transform:translateY(-2px); } }
@media(prefers-reduced-motion:reduce) { .typing-dots > span { animation:none; } }

.progress-number { display:inline-grid; position:relative; overflow:hidden; min-width:3.5em; text-align:end; font-variant-numeric:tabular-nums; vertical-align:bottom; }
.progress-number > span { grid-area:1 / 1; display:block; }
.api-response pre, .api-response code { font-size:var(--text-sm,.875rem); }
