:root {
  --ink: #243b34;
  --muted: #8b928a;
  --green: #315b48;
  --green-soft: #e8eee5;
  --orange: #cf805a;
  --orange-soft: #f4e7dc;
  --paper: #f6f5ef;
  --line: #e7e8df;
  --white: #fffefa;
  --red: #bf685d;
  --shadow: 0 12px 42px #2c493008;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    14px "DM Sans",
    "Noto Sans SC",
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #c49b6e;
  outline-offset: 3px;
}
input,
textarea,
select {
  border: 1px solid var(--line);
  background: #fffefa;
  border-radius: 9px;
  padding: 12px;
  color: var(--ink);
  width: 100%;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
label {
  display: block;
  font-size: 12px;
  color: #65766a;
  margin: 16px 0 7px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  width: 218px;
  inset: 0 auto 0 0;
  background: #fdfdf8;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 34px 20px 21px;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 7px;
}
.brand-mark {
  font-size: 37px;
  letter-spacing: -4px;
  font-weight: 700;
  position: relative;
  line-height: 1;
  width: 42px;
}
.brand-mark > span {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: -6px;
  color: var(--orange);
}
.fund-identity {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 33px 0 26px;
  padding: 19px 2px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.fund-icon {
  border-radius: 11px;
  background: #e9eee2;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--green);
}
.fund-identity strong {
  display: block;
  font-size: 12px;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fund-identity small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-button {
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
  gap: 13px;
  padding: 13px 15px;
  border-radius: 9px;
  color: #7e877c;
  font-size: 13px;
  transition: 0.2s;
}
.nav-button > span {
  font-size: 19px;
  min-width: 21px;
  text-align: center;
  font-weight: 400;
}
.nav-button:hover {
  background: #f2f3ec;
  color: var(--green);
}
.nav-button.active {
  background: var(--green);
  color: white;
}
.nav-button small {
  margin-left: auto;
  font-size: 9px;
  opacity: 0.65;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar-quote {
  font-size: 12px;
  line-height: 2;
  color: #9a9e93;
  margin: 0 15px 27px;
}
.save-status {
  font-size: 10px;
  color: #94998d;
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 19px 15px 0;
}
.save-status i,
.small-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: #7d9a6d;
}
.main-shell {
  margin-left: 218px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  background: #f9f9f3;
}
.breadcrumb {
  color: #91988e;
}
.breadcrumb span {
  margin: 0 12px;
  color: #c0c3b9;
}
.breadcrumb b {
  font-weight: 500;
  color: #5a6d5d;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #8e978a;
}
.avatar {
  width: 34px;
  height: 34px;
  background: #ecdfcd;
  border: 3px solid #fff;
  border-radius: 100%;
  font-size: 11px;
  color: #99704a;
}
.mode-badge {
  font-size: 10px;
  border: 1px solid #dce5d6;
  color: #658055;
  padding: 6px 11px;
  border-radius: 20px;
}
.mode-badge.demo {
  background: #f5e4cf;
  color: #ad8040;
  border-color: #ebd9be;
}
main {
  padding: 33px 38px 20px;
  max-width: 1750px;
  margin: auto;
}
.page-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 20px;
}
.eyebrow {
  color: #9c9d8e;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 11px;
}
h1 {
  font-size: 29px;
  letter-spacing: 1px;
  font-weight: 600;
  line-height: 1.5;
}
.page-intro p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.7;
}
.intro-actions {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 500;
  transition: 0.2s;
  line-height: 1.5;
}
.button.primary {
  background: var(--green);
  color: #fff;
}
.button.primary:hover {
  background: #244835;
  transform: translateY(-1px);
}
.button.secondary {
  background: #fdfdf8;
  border: 1px solid #e0e4d8;
}
.button.secondary:hover {
  border-color: #a2b299;
}
.button.danger {
  background: #f6e9e2;
  color: #b96152;
}
.button.full {
  width: 100%;
  margin-top: 18px;
}
.text-button {
  color: var(--green);
  font-size: 11px;
  padding: 5px 0;
  text-decoration: underline;
  text-decoration-color: #bdcdb9;
  text-underline-offset: 4px;
}
.metrics {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}
.metric {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 18px 21px;
  min-height: 105px;
  position: relative;
  box-shadow: var(--shadow);
}
.metric-label {
  font-size: 10px;
  color: #92998e;
  display: flex;
  justify-content: space-between;
}
.metric strong {
  font-size: 25px;
  display: block;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin: 10px 0 4px;
  font-variant-numeric: tabular-nums;
}
.metric strong small {
  font-size: 12px;
  letter-spacing: 0;
  color: #8a9785;
  margin-left: 3px;
}
.metric-sub {
  font-size: 9px;
  color: #a0a493;
}
.metric-tag {
  position: absolute;
  right: 17px;
  bottom: 19px;
  font-size: 10px;
  background: #e9f0e2;
  border-radius: 4px;
  padding: 4px 6px;
  color: #6c8b5d;
}
.positive {
  color: #567e4b !important;
}
.negative {
  color: var(--red) !important;
}
.office-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
}
.scene-card {
  background: #eeefe7;
  border: 1px solid #e2e5d9;
  border-radius: 13px;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.scene-top {
  height: 57px;
  flex-shrink: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafbf5;
  border-bottom: 1px solid #e4e7dc;
  font-size: 11px;
  gap: 7px;
}
.scene-top .small-dot {
  margin-right: 8px;
}
.scene-top strong {
  font-size: 11px;
  font-weight: 500;
}
.scene-top span#scene-detail {
  color: #9a9e91;
  margin-left: 12px;
  font-size: 9px;
}
.scene-button {
  font-size: 10px;
  color: #6f7f66;
}
.canvas-container {
  height: 485px;
  position: relative;
  overflow: hidden;
  background: #eceee6;
}
#office {
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}
.scene-location {
  position: absolute;
  top: 19px;
  left: 20px;
  font-size: 9px;
  line-height: 1.9;
  color: #889080;
  letter-spacing: 1px;
  pointer-events: none;
}
.scene-location strong {
  font-size: 11px;
  color: #728368;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: block;
}
.scene-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #274432e8;
  color: white;
  border-radius: 30px;
  padding: 9px 15px;
  font-size: 11px;
  pointer-events: none;
  white-space: nowrap;
}
.scene-reset {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 32px;
  height: 32px;
  background: #ffffffbd;
  border: 1px solid #dce3d4;
  border-radius: 8px;
  font-size: 21px;
  color: #7e8d73;
}
.scene-controls {
  height: 46px;
  background: #f8f9f1;
  border-top: 1px solid #e1e5d7;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  font-size: 9px;
  color: #89937d;
  flex-wrap: wrap;
}
kbd {
  font-family: inherit;
  font-size: 8px;
  background: #fff;
  border: 1px solid #dce1d1;
  border-bottom-width: 2px;
  padding: 3px 5px;
  border-radius: 4px;
  margin-right: 4px;
}
.scene-control-right {
  margin-left: auto;
  font-size: 9px;
}
.office-feed {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.feed-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.feed-card h3 {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.feed-card h3 small {
  font-size: 9px;
  color: #9ba490;
  font-weight: 400;
}
.daily-card {
  background: #e9eddf;
  border-color: #e1e5d4;
  position: relative;
  overflow: hidden;
}
.daily-card .eyebrow {
  color: #98a17f;
  font-size: 8px;
  letter-spacing: 1.2px;
}
.daily-card h2 {
  font-size: 19px;
  line-height: 1.7;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin: 7px 0 12px;
}
.daily-card p {
  font-size: 10px;
  color: #829174;
  line-height: 1.9;
}
.daily-card .tiny-leaf {
  position: absolute;
  right: -6px;
  top: 20px;
  font-size: 65px;
  color: #c9d0b8;
  opacity: 0.6;
  transform: rotate(20deg);
}
.person-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  width: 100%;
  text-align: left;
  padding: 0;
}
.person-avatar {
  width: 31px;
  height: 31px;
  border-radius: 100%;
  display: grid;
  place-items: center;
  background: #e9e4da;
  font-size: 11px;
  color: #6b7665;
  flex-shrink: 0;
}
.person-row strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.person-row small {
  font-size: 9px;
  color: #9c9d92;
  display: block;
  margin-top: 3px;
}
.person-row .arrow {
  margin-left: auto;
  color: #acb3a1;
}
.news-item {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 12px;
}
.news-item:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border: 0;
}
.news-item small {
  font-size: 9px;
  color: #a29d8e;
}
.news-item p {
  font-size: 11px;
  line-height: 1.9;
  margin-top: 6px;
}
.news-item a:hover {
  color: var(--orange);
}
.market-strip {
  margin-top: 22px;
  display: flex;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  align-items: center;
  min-height: 59px;
}
.market-strip-title {
  font-size: 9px;
  color: #929b86;
  padding: 10px 20px;
  flex-shrink: 0;
  line-height: 1.7;
  border-right: 1px solid var(--line);
}
.ticker {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.ticker-item {
  flex: 1;
  min-width: 128px;
  padding: 10px 18px;
  font-size: 10px;
  border-right: 1px solid #eef0e6;
}
.ticker-item strong {
  font-size: 11px;
  font-weight: 500;
}
.ticker-item b {
  font-weight: 500;
  display: block;
  margin-top: 5px;
  color: #76866b;
}
.ticker-item small {
  margin-left: 7px;
  font-size: 9px;
  color: #a0a891;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  color: #a4a899;
  margin-top: 20px;
  line-height: 1.8;
}
.content-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 21px;
  gap: 12px;
}
.section-heading h2 {
  font-size: 18px;
  font-weight: 500;
}
.section-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.8;
}
.two-column {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 20px;
}
.empty-state {
  padding: 38px 20px;
  text-align: center;
  color: #97a08e;
  line-height: 2;
  font-size: 12px;
}
.empty-symbol {
  font-size: 38px;
  line-height: 1;
  color: #b6c4a9;
  margin-bottom: 16px;
}
.empty-state strong {
  font-size: 15px;
  font-weight: 500;
  display: block;
  color: #73856b;
  margin: 12px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
.data-table th {
  font-weight: 400;
  color: #9ba28e;
  border-bottom: 1px solid var(--line);
  padding: 13px 9px;
}
.data-table td {
  padding: 16px 9px;
  border-bottom: 1px solid #eff0e9;
}
.data-table small {
  display: block;
  color: #9aa38f;
  font-size: 9px;
  margin-top: 5px;
}
.data-table tbody tr:last-child td {
  border: 0;
}
.table-scroll {
  overflow-x: auto;
}
.chart {
  height: 145px;
  width: 100%;
  margin: 20px 0 10px;
}
.chart text {
  font:
    9px "DM Sans",
    sans-serif;
  fill: #97a18c;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.summary-line span {
  color: var(--muted);
}
.summary-line strong {
  font-weight: 500;
}
.subtle {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.notice {
  padding: 13px 16px;
  background: #f0f2e6;
  border: 1px solid #e4e9d6;
  border-radius: 8px;
  color: #7c8b6b;
  font-size: 11px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.notice.warn {
  background: #fcf0e2;
  border-color: #eee0c9;
  color: #a38450;
}
.notice.danger {
  background: #f8e8e3;
  border-color: #ecd0c9;
  color: #ae695c;
}
.badge {
  font-size: 9px;
  background: #eaf0e4;
  color: #80926c;
  border-radius: 4px;
  padding: 4px 7px;
  white-space: nowrap;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}
.office-option {
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: var(--white);
  text-align: left;
  padding: 0;
  transition: 0.2s;
}
.office-option.selected,
.office-option:hover {
  border-color: #809969;
  box-shadow: 0 0 0 2px #81996b14;
}
.office-art {
  height: 110px;
  background: #e9eddf;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  padding: 15px 25px;
}
.office-art i {
  background: #99a68c;
  width: 22px;
  display: block;
  position: relative;
  border-radius: 2px 2px 0 0;
}
.office-art i:nth-child(2n) {
  background: #b5bca4;
}
.office-art i::after {
  content: "";
  position: absolute;
  inset: 5px 4px;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 6px,
    #e5e9d8 6px 8px
  );
}
.office-art::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  background: #f9f4d4;
  border-radius: 100%;
  left: 24px;
  top: 16px;
}
.office-art.hk {
  background: #dce9e7;
}
.office-art.hk i {
  background: #859f9a;
}
.office-art.ny {
  background: #e6e5dc;
}
.office-art.ny i {
  background: #9c9c91;
}
.office-option-body {
  padding: 17px;
}
.office-option h3 {
  font-size: 14px;
  font-weight: 500;
}
.office-option p {
  font-size: 10px;
  color: var(--muted);
  margin: 8px 0 15px;
}
.office-price {
  font-size: 19px;
  font-weight: 500;
}
.office-price small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.city-tabs,
.filter-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.city-tabs button,
.filter-tabs button {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11px;
  background: #fdfdf9;
}
.city-tabs button.active,
.filter-tabs button.active {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.staff-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.staff-card .person-avatar {
  width: 42px;
  height: 42px;
  font-size: 17px;
  margin-bottom: 15px;
}
.staff-card h3 {
  font-size: 14px;
  margin-bottom: 7px;
}
.staff-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  min-height: 42px;
}
.staff-card .staff-cost {
  margin: 14px 0;
  font-size: 18px;
}
.staff-card .staff-cost small {
  font-size: 10px;
  color: var(--muted);
}
.note-card {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.note-card h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}
.note-card p {
  font-size: 11px;
  line-height: 1.9;
  color: #7f8b77;
}
.note-card footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #9ba490;
  display: flex;
  justify-content: space-between;
}
.note-meta {
  display: flex;
  gap: 7px;
  font-size: 9px;
  color: #96a08a;
}
.note-counter {
  padding: 11px;
  background: #f5f0e7;
  border-radius: 6px;
  color: #9a8970 !important;
}
.chat-panel {
  height: 460px;
  display: flex;
  flex-direction: column;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 10px 0 20px;
}
.bubble {
  max-width: 87%;
  padding: 12px 15px;
  border-radius: 12px 12px 12px 2px;
  background: #f0f2e8;
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.bubble.mine {
  align-self: flex-end;
  background: #e4ebdd;
  border-radius: 12px 12px 2px 12px;
}
.bubble small {
  display: block;
  font-size: 9px;
  color: #95a186;
  margin-bottom: 6px;
}
.chat-compose {
  display: flex;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.chat-compose input {
  flex: 1;
  min-width: 0;
}
.suggestions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.suggestions button {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 10px;
  color: #849277;
}
.dialog-backdrop {
  position: fixed;
  inset: 0;
  background: #172d245e;
  backdrop-filter: blur(5px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.dialog {
  background: var(--white);
  border: 1px solid #e9ece0;
  border-radius: 17px;
  width: 520px;
  max-width: 100%;
  max-height: 91vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 35px 100px #14251c30;
}
.dialog.wide {
  width: 830px;
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 27px 19px;
  border-bottom: 1px solid var(--line);
}
.dialog-header h2 {
  font-size: 20px;
  font-weight: 500;
}
.dialog-header small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 6px;
}
.close-button {
  width: 30px;
  height: 30px;
  font-size: 25px;
  color: #99a08d;
}
.dialog-body {
  padding: 24px 27px;
  overflow-y: auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dialog-footer {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  padding-top: 22px;
}
.onboarding-intro {
  text-align: center;
  padding: 5px 15px 23px;
}
.onboarding-intro h2 {
  font-size: 28px;
  font-weight: 500;
  margin: 8px 0 10px;
}
.onboarding-intro p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.onboarding-intro .badge {
  display: inline-block;
  letter-spacing: 1px;
}
.choice-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}
.city-choice {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 15px;
  text-align: left;
}
.city-choice.active {
  background: #edf2e6;
  border-color: #8da47b;
}
.city-choice b {
  font-size: 15px;
  font-weight: 500;
  display: block;
  margin-bottom: 7px;
}
.city-choice small {
  font-size: 9px;
  color: #95a18a;
}
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 16px;
}
.step-indicator span {
  width: 23px;
  height: 3px;
  border-radius: 2px;
  background: #e2e8d8;
}
.step-indicator span.active {
  background: #688356;
}
.fund-status {
  font-size: 11px;
  margin: 12px 0;
}
.ledger-list {
  max-height: 260px;
  overflow-y: auto;
}
.ledger-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.8;
}
.ledger-row small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.invite-box {
  background: #eef2e7;
  border: 1px dashed #b9c5a6;
  border-radius: 8px;
  padding: 12px;
  word-break: break-all;
  font-size: 10px;
  line-height: 1.7;
  margin: 12px 0;
}
.toast {
  background: #294b38;
  color: #fff;
  padding: 13px 19px;
  border-radius: 9px;
  box-shadow: 0 6px 30px #243b3420;
  max-width: 420px;
  line-height: 1.7;
  font-size: 12px;
  animation: appear 0.2s ease;
}
.toast.error {
  background: #ad6b56;
}
#toast-stack {
  position: fixed;
  bottom: 25px;
  right: 27px;
  z-index: 300;
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.market-quote {
  font-size: 30px;
  font-weight: 500;
  margin: 15px 0 5px;
}
.loading {
  padding: 50px;
  text-align: center;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@keyframes appear {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (min-width: 1550px) {
  .canvas-container {
    height: 570px;
  }
  .office-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .metric {
    padding: 21px 26px;
  }
  .page-intro {
    margin-bottom: 32px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 180px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .main-shell {
    margin-left: 180px;
  }
  main {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .office-layout {
    grid-template-columns: minmax(0, 1fr) 225px;
    gap: 15px;
  }
  .scene-top span#scene-detail {
    display: none;
  }
  .scene-controls {
    gap: 9px;
    padding: 0 12px;
  }
  .scene-control-right {
    display: none;
  }
  .metric {
    padding: 16px;
  }
  .metric strong {
    font-size: 22px;
  }
  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
  .feed-card {
    padding: 16px;
  }
  .canvas-container {
    height: 470px;
  }
}
@media (max-width: 950px) {
  .office-layout {
    grid-template-columns: 1fr;
  }
  .office-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .canvas-container {
    height: 500px;
  }
  .metrics {
    gap: 9px;
  }
  .metric-tag {
    position: static;
    display: inline-block;
    margin-top: 7px;
  }
  .metric {
    min-height: 120px;
  }
  .two-column {
    grid-template-columns: 1fr;
  }
  .intro-actions {
    flex-direction: column;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-footer {
    flex-direction: column;
    gap: 2px;
  }
}
@media (max-width: 650px) {
  .sidebar {
    width: 65px;
    padding: 23px 8px;
  }
  .brand {
    justify-content: center;
  }
  .brand > div,
  .fund-identity,
  .sidebar-quote,
  .save-status {
    display: none;
  }
  .brand-mark {
    font-size: 32px;
  }
  .sidebar nav {
    margin-top: 35px;
  }
  .nav-button {
    font-size: 0;
    padding: 12px;
    justify-content: center;
  }
  .nav-button > span {
    font-size: 21px;
  }
  .nav-button small {
    display: none;
  }
  .main-shell {
    margin-left: 65px;
  }
  .topbar {
    height: 59px;
    padding: 0 16px;
  }
  .topbar-right {
    gap: 10px;
  }
  .topbar-right #local-date {
    display: none;
  }
  main {
    padding: 22px 14px;
  }
  .page-intro {
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .page-intro h1 {
    font-size: 21px;
  }
  .page-intro .eyebrow {
    font-size: 7px;
  }
  .page-intro p {
    font-size: 10px;
    max-width: 220px;
  }
  .intro-actions .secondary {
    display: none;
  }
  .intro-actions .button {
    padding: 8px 10px;
    font-size: 10px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .metric {
    min-height: 100px;
  }
  .metric strong {
    font-size: 23px;
  }
  .metric-tag {
    position: absolute;
    right: 10px;
    bottom: 13px;
    font-size: 8px;
  }
  .metric-sub {
    font-size: 8px;
  }
  .office-feed {
    grid-template-columns: 1fr;
  }
  .office-feed > .feed-card {
    padding: 20px;
  }
  .canvas-container {
    height: 380px;
  }
  .scene-controls {
    height: auto;
    min-height: 48px;
    padding: 10px;
    gap: 8px;
  }
  .scene-top {
    padding: 0 12px;
  }
  .scene-location {
    left: 12px;
    top: 10px;
  }
  .scene-location {
    font-size: 8px;
  }
  .card-grid,
  .card-grid.four {
    grid-template-columns: 1fr 1fr;
  }
  .staff-card {
    padding: 14px;
  }
  .staff-card p {
    font-size: 10px;
  }
  .content-card {
    padding: 17px;
  }
  .office-option-body {
    padding: 13px;
  }
  .office-art {
    height: 85px;
  }
  .dialog-backdrop {
    padding: 12px;
  }
  .dialog-body {
    padding: 20px;
  }
  .dialog-header {
    padding: 20px;
  }
  .dialog-header h2 {
    font-size: 18px;
  }
  .form-row {
    gap: 10px;
  }
  .choice-row {
    gap: 7px;
  }
  .city-choice {
    padding: 11px;
  }
  .onboarding-intro h2 {
    font-size: 24px;
  }
  .market-strip-title {
    padding: 10px;
  }
  .ticker-item {
    min-width: 115px;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .page-footer {
    font-size: 8px;
  }
}

@media (max-width: 650px) {
  .scene-hint {
    max-width: calc(100% - 24px);
    white-space: normal;
    text-align: center;
    line-height: 1.6;
    font-size: 9px;
  }
  #toast-stack {
    right: 14px;
    left: 79px;
    bottom: 14px;
  }
}

/* Office previews preserve their layout while using independent, compressed images. */
.office-art,
.office-art.hk,
.office-art.ny {
  display: block;
  height: auto;
  aspect-ratio: 3 / 2;
  padding: 0;
  background-color: #30473d;
  background-image: var(--office-atlas);
  background-size: 200% 200%;
  background-position: var(--office-position, 0% 0%);
  background-repeat: no-repeat;
}
.office-art::before,
.office-art::after {
  display: none;
}
.office-art.hk,
.office-art.ny {
  background-color: #30473d;
  background-image: var(--office-atlas);
}
.welcome-backdrop {
  padding: 24px;
  background: radial-gradient(ellipse at 40% 30%, #3c51455c, #101f19ed);
  backdrop-filter: blur(14px);
}
.dialog.welcome-dialog {
  width: min(1420px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  border: 1px solid #ffffff25;
  border-radius: 20px;
  background: #152c23;
  box-shadow: 0 36px 120px #08150d80;
  overflow: hidden;
  animation: welcome-reveal 0.5s ease both;
}
.welcome-dialog > .dialog-header {
  display: none;
}
.welcome-dialog > .dialog-body {
  padding: 0;
}
.welcome-experience {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  height: min(850px, calc(100dvh - 48px));
  min-height: 670px;
}
.welcome-scene {
  padding: 21px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  min-width: 0;
  background: radial-gradient(
    ellipse at 30% 75%,
    #3b5141 0,
    #1b3329 42%,
    #12281f 100%
  );
}
.welcome-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  gap: 14px;
  flex-shrink: 0;
}
.welcome-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f6f1e5;
  font-weight: 600;
  font-size: 17px;
}
.welcome-brand > span {
  position: relative;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -4px;
  padding-right: 10px;
}
.welcome-brand > span > span {
  position: absolute;
  font-size: 23px;
  right: 0;
  top: -3px;
  color: #d8a772;
}
.welcome-brand small {
  display: block;
  color: #9aa899;
  font-size: 7px;
  letter-spacing: 2.5px;
  margin-top: 4px;
}
.welcome-chapter {
  color: #a1ad9c;
  font-size: 8px;
  letter-spacing: 1.9px;
}
.welcome-hero {
  position: relative;
  flex: 1;
  min-height: 310px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e4dbbd35;
  background: #2b4939;
  isolation: isolate;
}
.welcome-hero .office-hero-art {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  min-height: 0;
  animation: none;
}
.welcome-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      #14291f8f 0%,
      #132d2010 42%,
      #12251a00 54%,
      #12251abf 100%
    ),
    linear-gradient(90deg, #12281f78, transparent 65%);
  pointer-events: none;
}
.welcome-headline {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 2;
  color: #fff9ec;
  pointer-events: none;
}
.welcome-overline {
  display: block;
  font-size: 8px;
  color: #e6d4b2;
  letter-spacing: 2.5px;
  margin-bottom: 15px;
}
.welcome-headline h1 {
  color: #fff9ec;
  font-size: clamp(32px, 3.6vw, 54px);
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: 1px;
  text-shadow: 0 4px 30px #0e241c65;
}
.welcome-headline p {
  font-size: 10px;
  color: #e3e5d3;
  margin-top: 16px;
  letter-spacing: 0.7px;
  line-height: 1.7;
}
.welcome-view-label {
  display: flex;
  align-items: center;
  gap: 9px;
  position: absolute;
  bottom: 84px;
  left: 26px;
  right: 26px;
  z-index: 2;
  color: #fff6df;
}
.welcome-pin {
  font-size: 26px;
  font-weight: 400;
}
.welcome-view-label strong {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.welcome-view-label small {
  font-size: 8px;
  display: block;
  margin-top: 5px;
  color: #d4d6bc;
  letter-spacing: 0.7px;
}
.concept-label {
  margin-left: auto;
  align-self: end;
  color: #d6decbb5;
  font-size: 8px;
  border: 1px solid #d6decb40;
  padding: 4px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.welcome-city-tabs {
  position: absolute;
  bottom: 22px;
  left: 25px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.welcome-city {
  text-align: left;
  color: #e8ebdf;
  background: #1b30235e;
  backdrop-filter: blur(14px);
  border: 1px solid #e8dfc633;
  border-radius: 6px;
  padding: 9px 16px;
  min-width: 90px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.welcome-city:hover {
  border-color: #f2d6a4;
  transform: translateY(-2px);
}
.welcome-city.active {
  background: #f0d8b4;
  border-color: #ffeacb;
  color: #354331;
  box-shadow: 0 4px 20px #0b211a26;
}
.welcome-city span {
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.welcome-city small {
  font-size: 7px;
  letter-spacing: 1px;
  display: block;
  margin-top: 4px;
  opacity: 0.67;
}
.welcome-gallery {
  flex-shrink: 0;
}
.welcome-gallery-label {
  display: flex;
  justify-content: space-between;
  margin: 1px 0 10px;
  color: #e5e9d9;
  font-size: 10px;
  letter-spacing: 0.8px;
}
.welcome-gallery-label small {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #889d87;
}
.welcome-office-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.welcome-office-option {
  padding: 0;
  border: 1px solid #dbe5c92b;
  border-radius: 7px;
  overflow: hidden;
  background: #1a3025;
  min-width: 0;
  text-align: left;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.welcome-office-option .office-art {
  opacity: 0.72;
  transition:
    opacity 0.2s,
    filter 0.2s;
}
.welcome-office-option:hover {
  transform: translateY(-3px);
  border-color: #cfc3a3;
}
.welcome-office-option:hover .office-art {
  opacity: 1;
}
.welcome-office-option.selected {
  border-color: #ebca94;
  box-shadow: 0 0 0 2px #ebca9433;
}
.welcome-office-option.selected .office-art {
  opacity: 1;
}
.welcome-option-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding: 11px 10px;
  color: #dce3ce;
  font-size: 10px;
  line-height: 1.3;
}
.welcome-option-caption small {
  font-size: 8px;
  color: #90a28a;
  margin-right: 7px;
}
.welcome-option-caption i {
  font-style: normal;
  color: #b0be9f;
}
.welcome-office-option.selected .welcome-option-caption {
  background: #e7d0ab;
  color: #33412e;
}
.welcome-office-option.selected .welcome-option-caption small,
.welcome-office-option.selected .welcome-option-caption i {
  color: #6c7957;
}
.welcome-details {
  display: flex;
  flex-direction: column;
  padding: 29px 29px 24px;
  background: #f6f3e9;
  position: relative;
  color: #263c2e;
}
.welcome-details-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 21px;
  color: #88907e;
  font-size: 10px;
  letter-spacing: 1px;
}
.welcome-step {
  font-size: 9px;
  color: #b4b8a6;
  letter-spacing: 1.6px;
}
.welcome-close {
  font-size: 26px;
  line-height: 1;
  padding: 0 2px;
  color: #8c967d;
}
.welcome-capital {
  margin-top: 25px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dedfcf;
}
.welcome-capital > span {
  font-size: 10px;
  color: #89947b;
  letter-spacing: 1px;
}
.welcome-capital strong {
  display: block;
  font-size: 59px;
  letter-spacing: -3px;
  line-height: 1.25;
  font-weight: 500;
  margin-top: 8px;
  color: #2e4b37;
}
.welcome-capital strong span {
  font-size: 27px;
  margin-left: 7px;
  letter-spacing: 0;
}
.welcome-capital small {
  display: block;
  color: #9ba28e;
  font-size: 9px;
  margin-top: 2px;
}
.welcome-office-summary {
  padding: 24px 0 18px;
  border-bottom: 1px solid #dedfcf;
}
.welcome-office-english {
  color: #a89774;
  font-size: 8px;
  letter-spacing: 2px;
}
.welcome-office-summary h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 9px;
}
.welcome-office-summary > p {
  color: #8b947e;
  font-size: 10px;
  line-height: 1.9;
  margin-top: 8px;
  min-height: 19px;
}
.welcome-office-facts {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin: 18px 0;
  color: #9aa18b;
  font-size: 10px;
}
.welcome-office-facts span {
  position: relative;
}
.welcome-office-facts span + span::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 5px;
  width: 1px;
  height: 14px;
  background: #dedfce;
}
.welcome-office-facts b {
  color: #52664a;
  font-weight: 500;
  font-size: 19px;
  margin-right: 4px;
}
.welcome-office-rent {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.welcome-office-rent > span {
  font-size: 10px;
  color: #99a087;
}
.welcome-office-rent strong {
  font-size: 23px;
  letter-spacing: -0.6px;
  color: #79613d;
  font-weight: 500;
}
.welcome-office-rent small {
  font-size: 9px;
  font-weight: 400;
  color: #b0a68f;
  margin-left: 6px;
  letter-spacing: 0;
}
.welcome-form-fields {
  margin-top: 4px;
}
.welcome-form-fields .form-row {
  grid-template-columns: 1fr;
  gap: 0;
}
.welcome-form-fields label {
  margin: 14px 0 6px;
  font-size: 9px;
  color: #859075;
}
.welcome-form-fields input,
.welcome-form-fields select {
  background: #fffcf4;
  padding: 10px 12px;
  font-size: 11px;
  border-color: #dadfce;
  border-radius: 6px;
}
.welcome-form-fields input::placeholder {
  color: #b6b9a8;
}
.welcome-form-fields input[readonly],
.welcome-form-fields select:disabled {
  background: #efeee3;
  color: #859077;
}
.welcome-enter {
  margin-top: auto;
  padding-top: 22px;
}
.welcome-enter-button {
  width: 100%;
  background: #294b35;
  color: #fffae9;
  padding: 16px 18px;
  border-radius: 7px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 6px 18px #294b351a;
  transition:
    background 0.2s,
    transform 0.2s;
}
.welcome-enter-button:hover {
  background: #3c6545;
  transform: translateY(-2px);
}
.welcome-enter-button > span:last-child {
  font-size: 21px;
  line-height: 1;
  color: #dbcca9;
}
.welcome-enter p {
  text-align: center;
  color: #a6aa96;
  font-size: 8px;
  line-height: 1.9;
  margin-top: 12px;
}
@keyframes welcome-reveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes welcome-image-reveal {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 1550px) {
  .welcome-experience {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  .welcome-details {
    padding: 32px 34px 26px;
  }
}
@media (max-height: 820px) and (min-width: 1001px) {
  .welcome-experience {
    min-height: 650px;
  }
  .welcome-details {
    padding: 21px 26px 18px;
  }
  .welcome-capital {
    margin-top: 18px;
    padding-bottom: 16px;
  }
  .welcome-capital strong {
    font-size: 47px;
  }
  .welcome-office-summary {
    padding: 18px 0 15px;
  }
  .welcome-office-facts {
    margin: 13px 0;
  }
  .welcome-form-fields label {
    margin-top: 10px;
  }
  .welcome-enter {
    padding-top: 16px;
  }
  .welcome-enter p {
    margin-top: 8px;
  }
  .welcome-scene {
    padding: 17px 20px;
    gap: 13px;
  }
  .welcome-gallery .office-art {
    aspect-ratio: 3 / 2;
  }
}
@media (max-width: 1100px) {
  .welcome-experience {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .welcome-details {
    padding-left: 23px;
    padding-right: 23px;
  }
  .welcome-headline {
    left: 24px;
    top: 25px;
  }
  .welcome-headline h1 {
    font-size: 38px;
  }
  .welcome-scene {
    padding: 20px;
    gap: 16px;
  }
  .welcome-chapter {
    display: none;
  }
  .welcome-option-caption {
    font-size: 9px;
    padding: 10px 7px;
  }
  .welcome-option-caption small {
    display: none;
  }
  .welcome-office-options {
    gap: 7px;
  }
}
@media (max-width: 800px) {
  .welcome-backdrop {
    padding: 12px;
    align-items: flex-start;
  }
  .dialog.welcome-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    border-radius: 15px;
  }
  .welcome-experience {
    display: block;
    height: auto;
    min-height: 0;
  }
  .welcome-scene {
    padding: 17px;
  }
  .welcome-topbar {
    height: 36px;
  }
  .welcome-brand {
    font-size: 15px;
  }
  .welcome-brand > span {
    font-size: 31px;
  }
  .welcome-hero {
    min-height: 0;
    aspect-ratio: 3 / 2;
    flex: none;
  }
  .welcome-hero .office-hero-art {
    inset: 0;
    transform: none;
  }
  .welcome-headline {
    top: 23px;
    left: 23px;
  }
  .welcome-headline h1 {
    font-size: clamp(29px, 6vw, 46px);
  }
  .welcome-overline {
    font-size: 7px;
    margin-bottom: 11px;
    letter-spacing: 1.3px;
  }
  .welcome-headline p {
    font-size: 9px;
    max-width: 215px;
    margin-top: 11px;
  }
  .welcome-view-label {
    bottom: 75px;
    left: 20px;
    right: 20px;
  }
  .welcome-view-label strong {
    font-size: 10px;
  }
  .welcome-pin {
    font-size: 20px;
  }
  .welcome-city-tabs {
    bottom: 17px;
    left: 18px;
    gap: 6px;
  }
  .welcome-city {
    padding: 8px 12px;
    min-width: 78px;
  }
  .welcome-city small {
    font-size: 6px;
  }
  .welcome-city span {
    font-size: 11px;
  }
  .welcome-details {
    padding: 24px;
  }
  .welcome-details-top {
    margin-bottom: 8px;
  }
  .welcome-capital {
    margin-top: 14px;
  }
  .welcome-capital strong {
    font-size: 50px;
  }
  .welcome-form-fields .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .welcome-enter {
    margin-top: 4px;
  }
  .welcome-close {
    position: absolute;
    right: 20px;
    top: 22px;
  }
}
@media (max-width: 480px) {
  .welcome-scene {
    padding: 12px;
    gap: 13px;
  }
  .welcome-hero {
    aspect-ratio: 4 / 5;
    min-height: 355px;
  }
  .welcome-hero .office-hero-art {
    top: 0;
    bottom: 0;
    width: auto;
    height: 100%;
    aspect-ratio: 3 / 2;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
  }
  .welcome-headline {
    top: 24px;
    left: 20px;
  }
  .welcome-headline h1 {
    font-size: 36px;
  }
  .welcome-headline p {
    margin-top: 10px;
    font-size: 9px;
    max-width: 180px;
    line-height: 1.8;
  }
  .welcome-office-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .welcome-gallery-label {
    margin-bottom: 10px;
  }
  .welcome-option-caption {
    padding: 10px;
    font-size: 10px;
  }
  .welcome-option-caption small {
    display: inline;
  }
  .welcome-details {
    padding: 24px 20px;
  }
  .welcome-form-fields .form-row {
    grid-template-columns: 1fr;
  }
  .welcome-details-top {
    font-size: 9px;
  }
  .concept-label {
    font-size: 7px;
  }
  .welcome-city {
    min-width: 73px;
    padding: 8px 11px;
  }
  .welcome-city-tabs {
    left: 18px;
    right: 18px;
    justify-content: space-between;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dialog.welcome-dialog,
  .welcome-hero .office-hero-art {
    animation: none;
  }
  .welcome-city,
  .welcome-office-option,
  .welcome-enter-button {
    transition: none;
  }
}

/* A quiet, tactile desk surface around the city and office scenes. */
:root {
  --ink: #253d33;
  --muted: #717c6f;
  --green: #305642;
  --paper: #f2f2ea;
  --line: #e0e4d8;
  --white: #fffef8;
  --shadow: 0 3px 8px #263d2e03, 0 16px 40px #263d2e08;
}
body {
  background: radial-gradient(ellipse at 75% 0, #faf8ee, transparent 60%), var(--paper);
  -webkit-font-smoothing: antialiased;
}
.sidebar {
  background: linear-gradient(155deg, #fffef7 0%, #f6f5ec 70%, #eeefe3 100%);
  box-shadow: 6px 0 28px #2f493006;
}
.brand { letter-spacing: .6px; }
.brand small { color: #89917e; }
.fund-identity { border-color: #dee3d3; }
.fund-identity strong { font-size: 13px; }
.fund-identity small, .save-status { color: #7b8874; font-size: 11px; }
.fund-icon { background: linear-gradient(145deg, #e4ebd9, #f5f5e9); box-shadow: inset 0 1px #fff; }
.nav-button { color: #6a7a66; border-radius: 10px; }
.nav-button.active {
  background: linear-gradient(125deg, #3a6049, #294936);
  box-shadow: 0 6px 16px #2c4b351f, inset 0 1px #ffffff12;
}
.sidebar-quote { color: #818b74; }
.topbar { background: #fbfbf4c9; backdrop-filter: blur(14px); }
.breadcrumb, .topbar-right { color: #75826d; font-size: 12px; }
.mode-badge { background: #edf2e5; font-size: 11px; }
.avatar { box-shadow: 0 3px 10px #5e563c15; }
.page-intro h1 { font-size: 31px; letter-spacing: -.3px; }
.page-intro p, .section-heading p { font-size: 12px; color: #77816e; }
.eyebrow { color: #7f8a73; font-size: 10px; letter-spacing: 1.8px; }
.button { border-radius: 9px; font-size: 13px; padding: 11px 17px; }
.button.primary { background: linear-gradient(125deg, #3c634c, #2c4d39); box-shadow: 0 4px 10px #29493615, inset 0 1px #ffffff16; }
.button.primary:hover { background: linear-gradient(125deg, #476e55, #365a43); box-shadow: 0 6px 15px #29493624; }
.button.secondary { background: linear-gradient(#fffef9, #f6f7ee); box-shadow: 0 2px 4px #29493604, inset 0 1px #fff; }
.button.secondary:hover { background: #f4f6ea; transform: translateY(-1px); }
.text-button { font-size: 12px; }
.metric, .feed-card, .content-card, .staff-card, .note-card {
  background: linear-gradient(140deg, #fffef9, #fcfcf5);
  border-color: #e0e5d6;
  border-radius: 14px;
  box-shadow: var(--shadow), inset 0 1px #fff;
}
.metric { padding: 20px 22px; }
.metric-label { font-size: 12px; color: #7a866f; }
.metric strong { font-size: 29px; letter-spacing: -1px; }
.metric-sub { font-size: 10px; color: #8a947e; line-height: 1.6; }
.metric-tag { color: #57764c; background: #ebf1e0; font-size: 11px; }
.scene-card { border-radius: 16px; box-shadow: 0 6px 22px #2c49300b; }
.scene-top { background: linear-gradient(#fffef7, #f5f7ed); }
.scene-top strong { font-size: 13px; }
.scene-top span#scene-detail { font-size: 11px; color: #7f8c73; }
.scene-button { font-size: 11px; }
.scene-controls { color: #748269; font-size: 10px; }
.scene-control-right { font-size: 10px; }
.scene-hint { box-shadow: 0 6px 20px #1c39252b; backdrop-filter: blur(12px); }
.feed-card h3 { font-size: 14px; margin-bottom: 18px; }
.feed-card h3 small { font-size: 10px; color: #7c886e; }
.daily-card { background: linear-gradient(140deg, #e9efd9, #f3f0dd); border-color: #dfe6cd; }
.daily-card .eyebrow { font-size: 9px; color: #7c8a60; }
.daily-card h2 { font-size: 21px; }
.daily-card p { font-size: 12px; color: #6d7e5b; }
.person-row { border-radius: 9px; transition: background .2s, transform .2s; }
.person-row:hover { background: #f2f4e9; transform: translateX(2px); }
.person-row strong { font-size: 12px; }
.person-row small { font-size: 10px; color: #7e8972; }
.person-avatar { box-shadow: inset 0 1px #ffffff70; }
.news-item small { color: #8a8b73; font-size: 10px; }
.news-item p { font-size: 12px; line-height: 1.8; }
.market-strip { box-shadow: var(--shadow); border-radius: 12px; }
.market-strip-title { color: #748368; font-size: 10px; }
.ticker-item { font-size: 11px; }
.ticker-item strong { font-size: 12px; }
.ticker-item small { color: #7c8b6e; font-size: 10px; }
.page-footer { color: #89937d; font-size: 10px; }
.section-heading h2 { font-size: 20px; }
.data-table { font-size: 12px; font-variant-numeric: tabular-nums; }
.data-table th { color: #738467; font-size: 11px; background: #f7f8ef; }
.data-table td { padding-top: 18px; padding-bottom: 18px; }
.data-table tbody tr:hover { background: #f7f9f0; }
.data-table small { color: #7c8c70; font-size: 10px; }
.subtle, .notice, .staff-card p, .note-card p { font-size: 12px; }
.notice { color: #6c7e59; background: linear-gradient(110deg, #eef3e3, #f6f5e9); }
.notice.warn { color: #8e6e37; background: #fcf1df; }
.notice.danger { color: #a05b4f; background: #f8e8e3; }
.badge { color: #647d50; font-size: 10px; }
.office-option { border-radius: 13px; box-shadow: var(--shadow); }
.office-option:hover { transform: translateY(-3px); box-shadow: 0 10px 24px #29493613; }
.office-option h3 { font-size: 16px; }
.office-option p { font-size: 11px; line-height: 1.7; }
.office-price { font-size: 22px; }
.city-tabs button, .filter-tabs button { font-size: 12px; border-radius: 9px; }
.city-tabs button:hover, .filter-tabs button:hover { border-color: #9cae8d; }
.staff-card h3 { font-size: 16px; }
.note-card { transition: transform .2s, box-shadow .2s; }
.note-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px #29493612; }
.note-card h3 { font-size: 16px; }
.note-card footer, .note-meta { font-size: 10px; color: #7b8a6c; }
.bubble { font-size: 13px; }
.bubble small { font-size: 10px; color: #6d8259; }
.dialog:not(.welcome-dialog) { background: #fffef8; border-color: #e5e8dc; box-shadow: 0 30px 100px #112b2540; }
.dialog-header { background: linear-gradient(120deg, #fbfcf3, #f3f4e9); border-radius: 17px 17px 0 0; }
input, textarea, select { box-shadow: inset 0 2px 4px #2d493006; transition: border-color .2s, box-shadow .2s; }
input:hover, textarea:hover, select:hover { border-color: #b1bea1; }
input:focus, textarea:focus, select:focus { border-color: #7d9670; box-shadow: 0 0 0 3px #7d967010; }

/* Price the founding team before the player opens the door. */
.welcome-details { padding-top: 25px; padding-bottom: 22px; overflow-y: auto; }
.welcome-details-top { color: #79856e; }
.welcome-capital { margin-top: 17px; padding-bottom: 15px; }
.welcome-capital strong { font-size: 50px; margin-top: 4px; }
.welcome-capital > span, .welcome-capital small { color: #7d896d; }
.welcome-office-summary { padding: 17px 0 14px; }
.welcome-office-summary h2 { font-size: 23px; margin-top: 7px; }
.welcome-office-summary > p { color: #7a876a; margin-top: 5px; }
.welcome-office-facts { margin: 12px 0; color: #7c886c; }
.welcome-office-rent > span { color: #7a8769; }
.welcome-form-fields label { color: #707f60; font-size: 10px; margin-top: 12px; }
.welcome-form-fields input, .welcome-form-fields select { font-size: 12px; padding: 9px 10px; }
.welcome-staff-price { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-top: 11px; font-size: 10px; color: #7c896e; }
.welcome-staff-price strong { font-size: 12px; font-weight: 500; color: #645e43; }
.welcome-staff-detail { font-size: 9px; color: #839075; margin-top: 6px; line-height: 1.65; min-height: 30px; }
.welcome-budget { background: #e9eddd; border: 1px solid #dce3cc; padding: 12px 13px; border-radius: 8px; margin-top: 13px; }
.welcome-budget > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.welcome-budget > div + div { margin-top: 8px; }
.welcome-budget span { font-size: 10px; color: #6c7e57; }
.welcome-budget strong { font-size: 17px; font-weight: 500; letter-spacing: -.3px; color: #3c5833; }
.welcome-budget b { font-size: 12px; font-weight: 500; color: #5e7449; }
.welcome-budget small { display: block; font-size: 8px; color: #8b967b; margin-top: 9px; white-space: nowrap; }
.welcome-enter { padding-top: 16px; }
.welcome-enter p { color: #8c977d; margin-top: 9px; }
@media (min-width: 801px) and (max-height: 950px) {
  .welcome-details { padding: 20px 27px 18px; }
  .welcome-capital { margin-top: 10px; padding-bottom: 11px; }
  .welcome-capital strong { font-size: 45px; }
  .welcome-office-summary { padding: 13px 0 11px; }
  .welcome-office-facts { margin: 10px 0; }
  .welcome-form-fields label { margin-top: 10px; }
  .welcome-staff-detail { min-height: 16px; }
  .welcome-budget { margin-top: 10px; }
  .welcome-enter { padding-top: 13px; }
}
@media (max-width: 1200px) {
  .metric { padding: 17px; }
  .metric strong { font-size: 25px; }
}
@media (max-width: 800px) {
  .welcome-details { overflow-y: visible; }
  .welcome-staff-detail { min-height: 0; }
  .welcome-form-fields input, .welcome-form-fields select { font-size: 16px; }
  .welcome-form-fields label { margin-top: 16px; }
  .welcome-budget { margin-top: 20px; }
  .welcome-enter { padding-top: 22px; }
}
@media (max-width: 650px) {
  .nav-button { font-size: 0; }
  .page-intro h1 { font-size: 24px; }
  .page-intro p { font-size: 11px; }
  .page-intro .button { font-size: 11px; padding: 9px 11px; }
  .metric { padding: 14px; }
  .metric strong { font-size: 23px; }
  .metric-label { font-size: 11px; }
  .metric-tag { font-size: 10px; }
  .section-heading h2 { font-size: 18px; }
  .topbar-right { gap: 7px; }
  .mode-badge { font-size: 9px; padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .office-option, .note-card, .person-row, input, textarea, select { transition: none; }
  .button:hover, .office-option:hover, .note-card:hover, .person-row:hover { transform: none; }
}
