/* Work Nicer public website tokens, composed for an operator workspace. */
:root {
  --ink: #111512;
  --muted: #59625c;
  --paper: #f2efe6;
  --white: #fbf9f2;
  --line: #d8d9d0;
  --red: #dc1e35;
  --moss: #40584d;
  --sky: #b9cdd0;
  color-scheme: light;
}
body {
  font-size: 14px;
  background: var(--paper);
}
button,
input,
select,
textarea {
  font-family: Instrument, system-ui, sans-serif;
}
button {
  transition:
    background 0.16s,
    border-color 0.16s;
  white-space: nowrap;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
input,
select,
textarea {
  min-width: 0;
}
button.danger {
  background: #914936;
  border-color: #914936;
  color: white;
}
small {
  line-height: 1.5;
}
h1,
h2,
h3 {
  font-weight: 550;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.studio-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: 208px;
  background: #111814;
  color: var(--white);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.studio-rail .wordmark {
  font-size: 17px;
  gap: 8px;
}
.building-card {
  padding: 35px 12px 28px;
  display: grid;
  gap: 7px;
}
.building-card .eyebrow {
  font-size: 8px;
  color: #aeb6ae;
  letter-spacing: 1.4px;
}
.building-card strong {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.8px;
}
.building-card small {
  font-size: 11px;
  color: #aeb6ae;
}
.studio-rail nav {
  display: grid;
  gap: 6px;
}
.studio-rail nav button {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 0;
  text-align: left;
  background: transparent;
  color: #aeb6ae;
  padding: 13px 12px;
  font-weight: 500;
}
.studio-rail nav button span {
  font-size: 10px;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}
.studio-rail nav button.active {
  color: white;
  background: #293b31;
  box-shadow: inset 3px 0 var(--red);
}
.studio-rail nav button:hover {
  color: white;
  background: #25332b;
}
.studio-rail .rail-bottom {
  margin-top: auto;
  padding: 30px 8px 0;
}
.studio-rail .rail-bottom button {
  background: transparent;
  color: var(--white);
  border-color: #415248;
  font-size: 12px;
  width: 100%;
  padding: 10px;
}
.studio-rail .rail-bottom p {
  font-size: 10px;
}
main.studio-main {
  margin-left: 208px;
  padding: 0 28px 18px;
  max-width: none;
  min-width: 0;
}
.studio-topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.breadcrumb {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.3px;
}
.breadcrumb span {
  padding: 0 10px;
  color: #a5aea3;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.top-actions button {
  font-size: 12px;
  background: transparent;
}
.save-dot {
  font-size: 10px;
  color: var(--muted);
  margin-right: 10px;
}
.save-dot:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #719a80;
  margin-right: 6px;
}
.save-dot.warning:before {
  background: var(--red);
}
.scenario-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.scenario-strip label {
  display: flex;
  align-items: center;
  gap: 14px;
}
.scenario-strip select {
  max-width: 300px;
  background: transparent;
  border: 0;
  padding: 6px 26px 6px 0;
  font-weight: 600;
  min-height: 34px;
}
.scenario-strip .eyebrow {
  font-size: 9px;
}
.scenario-origin {
  color: var(--muted);
  font-size: 11px;
}
.scenario-strip button {
  font-size: 12px;
}
.toolbar-right {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.demo-note {
  margin: 16px 0 0;
  background: #ece3cc;
  border-left: 3px solid #ad8646;
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}
.demo-note span {
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 12px;
}
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 24px;
  gap: 20px;
}
.section-intro .eyebrow {
  font-size: 9px;
}
.section-intro h1 {
  font-size: clamp(27px, 2.7vw, 38px);
  letter-spacing: -1.4px;
  margin: 8px 0;
}
.section-intro p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.view-switch {
  display: flex;
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 7px;
  background: #e9e8de;
  flex-shrink: 0;
}
.view-switch button {
  border: 0;
  font-size: 12px;
  background: transparent;
  padding: 9px 15px;
}
.view-switch button.active {
  background: var(--white);
  box-shadow: 0 1px 3px #11151218;
}
.inventory-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.floor-switch {
  display: flex;
  gap: 5px;
  padding: 4px;
  background: #e6e8df;
  border-radius: 6px;
  margin-right: 6px;
}
.floor-switch button {
  border: 0;
  min-width: 42px;
  padding: 8px 11px;
  background: transparent;
  font-size: 12px;
}
.floor-switch button.active {
  background: var(--ink);
  color: white;
}
.inventory-toolbar > input {
  max-width: 190px;
}
.inventory-toolbar input,
.inventory-toolbar select {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  font-size: 12px;
}
.inventory-toolbar button {
  font-size: 12px;
}
.inventory-workspace {
  display: grid;
  grid-template-columns: var(--list-width) 8px minmax(290px, 1fr) 292px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  min-height: 440px;
  height: calc(100vh - 350px);
  max-height: 1100px;
}
.inventory-workspace.grid-mode {
  grid-template-columns: minmax(220px, var(--list-width)) 8px minmax(300px, 1fr);
}
.inventory-list {
  overflow: auto;
  min-width: 0;
  background: #fbf9f2;
  display: flex;
  flex-direction: column;
}
.space-group {
  margin: 0;
  border: 0;
}
.space-group summary {
  position: sticky;
  top: 0;
  padding: 16px 16px 10px;
  background: #f0f0e7;
  z-index: 1;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  cursor: pointer;
  list-style: none;
}
.space-group summary span {
  float: right;
  letter-spacing: 0;
  color: var(--muted);
}
.space-list-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 12px;
  border-bottom: 1px solid #e8e9e1;
  cursor: pointer;
}
.space-list-row > input {
  accent-color: var(--moss);
  width: 13px;
  height: 13px;
}
.space-list-row > button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  flex: 1;
  min-width: 0;
  white-space: normal;
}
.space-list-row b {
  font-size: 13px;
  font-weight: 550;
}
.space-list-row small {
  font-size: 10px;
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.space-list-row strong {
  font-size: 12px;
  font-weight: 500;
}
.space-list-row.selected {
  background: #e7eee7;
  box-shadow: inset 3px 0 var(--moss);
}
.configured-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #698975;
  border-radius: 50%;
  margin: 0 7px 2px;
}
.list-footer {
  padding: 15px;
  font-size: 10px;
  color: var(--muted);
  margin-top: auto;
  background: #f0f0e7;
}
.splitter {
  cursor: col-resize;
  background: #eeeee5;
  position: relative;
  touch-action: none;
}
.splitter:after {
  content: "";
  position: absolute;
  height: 38px;
  top: 45%;
  left: 3px;
  border-left: 2px solid #babfb4;
}
.splitter:hover {
  background: #cdd8cb;
}
.canvas-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  background: #f6f5ee;
  overflow: hidden;
}
.canvas-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 19px 20px 12px;
  z-index: 2;
  background: #f6f5ee;
}
.canvas-heading .eyebrow {
  font-size: 8px;
}
.canvas-heading h3 {
  margin: 5px 0 0;
  font-size: 16px;
}
.canvas-heading select {
  font-size: 10px;
  padding: 8px;
  max-width: 150px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 5px;
}
.plan-stage {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 300px;
  background: radial-gradient(#d8ddd02e 1px, transparent 1px);
  background-size: 15px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}
.plan-stage .floor-svg {
  height: 94%;
  width: auto;
  max-width: 90%;
  background: white;
  box-shadow: 0 4px 20px #1115120a;
  transform-origin: center;
  will-change: transform;
  flex-shrink: 0;
}
.plan-stage.placing {
  cursor: crosshair;
}
.plan-compass {
  position: absolute;
  right: 24px;
  top: 20px;
  font-size: 12px;
  color: #667568;
  pointer-events: none;
}
.plan-scale {
  position: absolute;
  left: 22px;
  bottom: 18px;
  font-size: 8px;
  color: #7a8276;
  line-height: 1.6;
  letter-spacing: 0.6px;
  pointer-events: none;
}
.canvas-footer {
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--white);
  z-index: 2;
}
.canvas-footer > span {
  font-size: 9px;
  color: var(--muted);
}
.button-group {
  display: flex;
  gap: 4px;
}
.button-group button {
  padding: 6px 9px;
  font-size: 10px;
}
.inspector {
  border-left: 1px solid var(--line);
  overflow: auto;
  padding: 20px;
  min-width: 0;
}
.inspector-heading .eyebrow {
  font-size: 8px;
}
.inspector-heading h2 {
  font-size: 30px;
  margin: 8px 0;
}
.inspector-heading > p {
  font-size: 19px;
  margin: 0 0 18px;
}
.inspector-heading > p > small {
  font-size: 11px;
  color: var(--muted);
}
.inspector .form-grid {
  gap: 12px;
}
.inspector .field span {
  font-size: 10px;
}
.inspector input,
.inspector select {
  font-size: 12px;
  padding: 9px;
  min-height: 36px;
  width: 100%;
}
.inspector .full {
  width: 100%;
  margin-top: 16px;
  font-size: 12px;
}
.pill {
  display: inline-block;
  border: 1px solid #d1d6cc;
  border-radius: 4px;
  font-size: 9px;
  padding: 4px 7px;
  background: #e9ede5;
  line-height: 1.2;
  white-space: nowrap;
}
.pill.occupied {
  background: #dce8df;
  color: #315b40;
  border-color: #c2d5c5;
}
.pill.planned {
  background: #efe3cc;
  color: #806637;
  border-color: #ded0b0;
}
.inspector-heading .pill {
  display: block;
  width: fit-content;
  margin-top: 12px;
}
.price-explain {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  margin-top: 20px;
}
.price-explain > strong {
  display: block;
  font-size: 25px;
  margin: 8px 0 15px;
  font-weight: 550;
}
.price-explain > strong small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.price-explain > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  margin: 9px 0;
}
.price-explain p {
  font-size: 11px;
  color: #914936;
}
.price-explain button {
  font-size: 11px;
  margin-top: 8px;
  width: 100%;
}
.source-notes {
  font-size: 11px;
  line-height: 1.6;
}
.source-notes summary {
  cursor: pointer;
}
.inventory-table {
  overflow: auto;
  height: 100%;
  min-width: 0;
}
.inventory-table table {
  min-width: 640px;
  width: 100%;
}
.inventory-table th {
  font-size: 9px;
  padding: 12px 9px;
  white-space: nowrap;
}
.inventory-table td {
  padding: 7px 6px;
}
.inventory-table input,
.inventory-table select {
  padding: 9px 6px;
  border: 1px solid transparent;
  background: transparent;
  min-width: 0;
  font-size: 12px;
  width: 100%;
}
.inventory-table input:hover,
.inventory-table input:focus,
.inventory-table select:hover {
  background: white;
  border-color: #b4c2b2;
}
.inventory-table td:first-child {
  width: 30px;
}
.inventory-table input[type="checkbox"] {
  width: 14px;
  accent-color: var(--moss);
}
.inventory-table td:nth-child(2) {
  width: 135px;
}
.inventory-table td:nth-child(3) {
  width: 90px;
}
.inventory-table td:nth-child(4) {
  width: 70px;
}
.inventory-table td:nth-child(5) {
  width: 125px;
}
.inventory-table td:nth-child(6) {
  width: 160px;
}
.inventory-table td small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  padding-left: 7px;
}
.inventory-table .group-row th {
  background: #eaece2;
  text-align: left;
  padding: 10px 12px;
}
.inventory-table tr.selected {
  background: #e7eee7;
}
.grid-detail {
  margin-top: 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px;
}
.grid-detail > .inspector {
  border: 0;
  max-width: 640px;
}
.grid-detail summary {
  font-size: 12px;
  cursor: pointer;
}
.selection-bar,
.draft-bar,
.placement-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid #bacab6;
  border-radius: 5px;
  margin-bottom: 10px;
  background: #e5ede1;
  font-size: 12px;
}
.selection-bar button,
.draft-bar button,
.placement-bar button {
  font-size: 11px;
  padding: 7px 10px;
}
.draft-bar {
  background: #f0e7d1;
  border-color: #d4c5a2;
}
.draft-bar span {
  margin-right: auto;
}
.placement-bar {
  background: #f4e4df;
  border-color: #d8bdb4;
}
.placement-bar label {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
}
.placement-bar input {
  width: 65px;
  padding: 6px;
}
.placement-bar span {
  font-size: 10px;
}
.suite-picker {
  max-height: 400px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.suite-picker label {
  display: flex;
  align-items: center;
  padding: 12px;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.suite-picker label span {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.suite-picker input {
  width: 16px;
  accent-color: var(--moss);
}
.manage-actions {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.help-card {
  background: #eeefe5;
  padding: 20px;
  border-radius: 6px;
  margin: 18px 0;
  font-size: 12px;
  line-height: 1.7;
}
.help-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.studio-main .panel {
  overflow-x: auto;
  background: var(--white);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-width: 0;
}
.studio-main table td small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.studio-main table th {
  font-size: 10px;
}
.studio-main table td {
  font-size: 12px;
}
.studio-main table td button {
  font-size: 11px;
  margin: 2px;
  padding: 7px 10px;
}
.studio-main .form-error {
  color: #914936;
}
.studio-footer {
  font-size: 9px;
  color: var(--muted);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.studio-main .notice.error {
  background: #f4ddd7;
  border-color: #c6907a;
  font-size: 12px;
}
.editor-dialog {
  max-width: 760px;
  width: calc(100vw - 40px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 20px 80px #11151230;
}
.editor-dialog::backdrop {
  background: #11181480;
  backdrop-filter: blur(3px);
}
.editor-dialog .field {
  min-width: 0;
}
.editor-dialog .field input,
.editor-dialog .field select {
  width: 100%;
  min-width: 0;
}
.editor-dialog .dialog-heading {
  padding: 24px;
}
.editor-dialog .dialog-body {
  padding: 0 24px 24px;
}
.editor-dialog h2 {
  font-size: 25px;
  letter-spacing: -0.6px;
}
.editor-dialog .dialog-footer {
  padding: 18px 24px;
}
.editor-dialog .form-error {
  padding: 0 24px;
}
.editor-dialog .field span {
  font-size: 12px;
}
.editor-dialog .muted {
  font-size: 11px;
}
.studio-main .panel > form input {
  width: 100%;
}
.studio-main .panel .table-scroll {
  max-width: 100%;
}
@media (min-width: 1800px) {
  .inventory-workspace {
    grid-template-columns: var(--list-width) 8px minmax(420px, 1fr) 340px;
  }
  .studio-main {
    padding-left: 36px !important;
    padding-right: 36px !important;
  }
  .inspector {
    padding: 26px;
  }
  .canvas-heading {
    padding: 24px 28px;
  }
}
@media (max-width: 1250px) {
  .studio-rail {
    width: 172px;
    padding: 24px 12px;
  }
  .studio-rail .wordmark {
    font-size: 14px;
  }
  main.studio-main {
    margin-left: 172px;
    padding: 0 20px;
  }
  .scenario-origin {
    display: none;
  }
  .inventory-workspace {
    grid-template-columns: minmax(190px, var(--list-width)) 8px minmax(
        260px,
        1fr
      );
    height: 720px;
  }
  .inventory-workspace > .inspector {
    display: block;
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    max-height: 430px;
  }
  .inventory-workspace.grid-mode {
    grid-template-columns: minmax(220px, var(--list-width)) 8px minmax(
        260px,
        1fr
      );
  }
  .canvas-footer > span {
    display: none;
  }
  .section-intro h1 {
    font-size: 29px;
  }
}
@media (max-width: 900px) {
  .studio-rail {
    position: static;
    width: auto;
    padding: 14px 18px;
    display: block;
  }
  .studio-rail .building-card,
  .studio-rail .rail-bottom {
    display: none;
  }
  .studio-rail .wordmark {
    margin-bottom: 12px;
  }
  .studio-rail nav {
    display: flex;
    overflow: auto;
    gap: 4px;
  }
  .studio-rail nav button {
    padding: 10px;
    font-size: 12px;
  }
  .studio-rail nav button span {
    display: none;
  }
  main.studio-main {
    margin-left: 0;
    padding: 0 16px;
  }
  .inventory-workspace,
  .inventory-workspace.grid-mode {
    grid-template-columns: minmax(200px, 45%) 8px minmax(220px, 1fr);
    height: 660px;
  }
  .scenario-strip label {
    display: grid;
    gap: 4px;
  }
  .scenario-strip select {
    max-width: 230px;
  }
  .section-intro h1 {
    font-size: 28px;
  }
  .studio-topbar {
    height: 60px;
  }
  .save-dot {
    display: none;
  }
  .canvas-heading {
    padding: 12px;
    display: block;
  }
  .canvas-heading select {
    margin-top: 10px;
  }
  .inventory-toolbar {
    gap: 8px;
  }
  .inventory-toolbar .toolbar-right {
    margin-left: 0;
  }
}
@media (max-width: 600px) {
  .studio-main .panel {
    padding: 16px;
  }
  .studio-topbar {
    align-items: center;
  }
  .breadcrumb {
    font-size: 8px;
    letter-spacing: 0.4px;
  }
  .top-actions {
    gap: 4px;
  }
  .top-actions button {
    font-size: 10px;
    padding: 8px;
  }
  .scenario-strip {
    flex-wrap: wrap;
    gap: 10px;
  }
  .scenario-strip label {
    max-width: 100%;
  }
  .scenario-strip select {
    max-width: 190px;
  }
  .scenario-strip .toolbar-right button {
    padding: 8px;
    font-size: 10px;
  }
  .scenario-strip .eyebrow {
    font-size: 8px;
  }
  .section-intro {
    display: block;
    padding: 22px 0 18px;
  }
  .section-intro h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .section-intro > button,
  .section-intro > .view-switch {
    margin-top: 16px;
    width: fit-content;
  }
  .inventory-toolbar > input {
    max-width: calc(60% - 8px);
    width: 100%;
  }
  .inventory-toolbar > select {
    max-width: 40%;
  }
  .inventory-toolbar .floor-switch {
    margin-right: auto;
  }
  .inventory-toolbar .toolbar-right {
    width: 100%;
  }
  .inventory-workspace,
  .inventory-workspace.grid-mode {
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: none;
  }
  .inventory-list {
    max-height: 300px;
    flex: none;
  }
  .grid-mode .inventory-list {
    max-height: 420px;
  }
  .splitter {
    display: none;
  }
  .canvas-panel {
    height: 610px;
    flex: none;
  }
  .canvas-heading {
    display: flex;
  }
  .canvas-heading select {
    margin: 0;
  }
  .inventory-workspace > .inspector {
    display: block;
    max-height: none;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .canvas-footer {
    justify-content: flex-end;
  }
  .studio-footer {
    display: block;
    line-height: 1.8;
  }
  .studio-footer span {
    display: block;
  }
  .demo-note span {
    display: block;
    margin: 5px 0 0;
  }
  .editor-dialog {
    width: calc(100vw - 24px);
  }
  .editor-dialog .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .editor-dialog .wide {
    grid-column: auto;
  }
  .suite-picker label {
    flex-wrap: wrap;
  }
  .suite-picker label span {
    margin-left: 28px;
  }
  .studio-main .table-scroll {
    overflow: auto;
  }
  .studio-main table {
    min-width: 560px;
  }
  .inventory-table table {
    min-width: 640px;
  }
  .studio-main .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .studio-main .inspector .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .studio-main .projection-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .studio-main .projection-controls > * {
    min-width: 0;
  }
  .selection-bar,
  .placement-bar {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Scenario studio: one selected month links the financial and spatial views. */
.planner-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.asking-potential {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  width: 100%;
  padding: 5px 0;
}
.report-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 20px;
  background: #e8ece2;
  border: 1px solid #d2d9cc;
  border-radius: 6px;
}
.report-controls label {
  display: grid;
  gap: 7px;
  min-width: 0;
  font-size: 10px;
  color: var(--muted);
}
.report-controls input,
.report-controls select {
  padding: 10px;
  font-size: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  max-width: 210px;
}
.report-controls .report-search {
  flex: 1;
  min-width: 150px;
}
.rentroll-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.rentroll-metrics > div {
  padding: 22px;
  border-right: 1px solid var(--line);
}
.rentroll-metrics > div:last-child {
  border: 0;
}
.rentroll-metrics span {
  font-size: 10px;
  color: var(--muted);
}
.rentroll-metrics strong {
  display: block;
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -0.8px;
  margin: 10px 0;
  color: var(--moss);
}
.rentroll-metrics small {
  font-size: 9px;
  color: var(--muted);
}
.report-view-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0;
}
.report-view-bar > span {
  font-size: 10px;
  color: var(--muted);
  max-width: 50%;
  line-height: 1.6;
}
.report-paper {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 7px;
  overflow: hidden;
}
.rent-roll-table {
  max-height: 650px;
  overflow: auto;
}
.rent-roll-table table {
  min-width: 1300px;
}
.rent-roll-table th {
  white-space: normal;
  min-width: 90px;
  line-height: 1.5;
  position: sticky;
  top: 0;
  background: #e9ece3;
  z-index: 1;
}
.rent-roll-table td {
  vertical-align: top;
  line-height: 1.6;
}
.rent-roll-table td:first-child {
  min-width: 180px;
}
.rent-roll-table td:nth-child(4) {
  min-width: 150px;
}
.rent-roll-table .money {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.rent-roll-table tfoot td,
.rent-roll-table tfoot th {
  background: #e9eee3;
  font-size: 12px;
  font-weight: 500;
  padding: 15px;
  position: sticky;
  bottom: 0;
  top: auto;
}
.schedule-table {
  overflow: auto;
  max-height: 650px;
}
.schedule-table table {
  width: max-content;
  min-width: 100%;
}
.schedule-table th,
.schedule-table td {
  min-width: 100px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.schedule-table th:first-child {
  position: sticky;
  left: 0;
  text-align: left;
  background: var(--white);
  min-width: 220px;
  z-index: 2;
}
.schedule-table thead th {
  position: sticky;
  top: 0;
  background: #e9eee3;
  z-index: 1;
}
.schedule-table thead th:first-child {
  z-index: 3;
}
.schedule-table tfoot {
  background: #e9eee3;
}
.supplement-report {
  margin: 25px 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.supplement-report .eyebrow {
  font-size: 9px;
}
.supplement-report h3 {
  font-size: 22px;
  letter-spacing: -0.6px;
  margin: 8px 0;
}
.supplement-report p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.unassigned-report {
  padding: 18px;
  background: #e9ece3;
  border-radius: 6px;
  margin: 20px 0;
  font-size: 12px;
}
.unassigned-report summary {
  cursor: pointer;
}
.unassigned-report p {
  font-size: 11px;
  color: var(--muted);
}
.report-footnote {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin: 18px 0;
}
@media (max-width: 800px) {
  .rentroll-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .rentroll-metrics > div {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }
  .rentroll-metrics strong {
    font-size: 25px;
  }
  .supplement-report {
    display: block;
  }
  .report-controls {
    gap: 12px;
    padding: 15px;
  }
  .report-controls label {
    flex: 1 1 140px;
  }
  .report-controls input,
  .report-controls select {
    max-width: 100%;
    width: 100%;
  }
  .report-view-bar {
    display: block;
  }
  .report-view-bar > span {
    display: block;
    max-width: none;
    margin-top: 12px;
  }
  .section-intro > .button-group {
    margin-top: 15px;
    flex-wrap: wrap;
  }
}
.asking-potential b {
  color: var(--moss);
}
.planner-header-actions label {
  font-size: 10px;
  color: var(--muted);
  display: grid;
  gap: 4px;
}
.planner-header-actions select {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px;
  max-width: 190px;
  font-size: 11px;
}
.planner-stage {
  display: grid;
  grid-template-columns: minmax(400px, 1.7fr) minmax(290px, 1fr);
  gap: 12px 20px;
  align-items: start;
}
.planner-stage > .outlook-hero {
  grid-column: 1;
  grid-row: 1;
}
.planner-stage > .time-machine {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}
.planner-stage > .planning-context {
  grid-column: 1;
  grid-row: 3;
  padding: 5px 0;
}
.planner-stage > .planning-issues {
  grid-column: 1;
  grid-row: 4;
  margin: 0;
}
.planner-stage > .planner-toolbar {
  grid-column: 1;
  grid-row: 5;
  margin: 4px 0;
}
.planner-selection-summary {
  grid-column: 1;
  grid-row: 6;
  min-width: 0;
  font-size: 11px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.planner-selection-summary details {
  width: 100%;
}
.selection-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 0;
}
.plan-interaction {
  padding: 0 16px 12px;
  display: grid;
  gap: 7px;
}
.plan-interaction .view-switch {
  display: flex;
  flex-wrap: wrap;
}
.plan-interaction .view-switch button {
  padding: 7px 9px;
  font-size: 11px;
}
.plan-interaction small {
  font-size: 10px;
  line-height: 1.5;
}
.plan-key-tick {
  color: #bd1930;
  font-weight: bold;
}
.editor-dialog.leasing-dialog {
  max-width: 1160px;
}
.lease-edit-scroll {
  max-height: 47vh;
  margin: 18px 0;
}
.lease-edit-table {
  min-width: 930px;
  width: 100%;
  table-layout: fixed;
}
.lease-edit-table th:first-child {
  width: 120px;
}
.lease-edit-table th:nth-child(2) {
  width: 190px;
}
.lease-edit-table th:nth-child(3) {
  width: 160px;
}
.lease-edit-table th:nth-child(4) {
  width: 130px;
}
.lease-edit-table th:nth-child(5),
.lease-edit-table th:nth-child(6) {
  width: 95px;
}
.lease-edit-table input {
  width: 100%;
  min-width: 0;
  padding: 9px;
  font: inherit;
  border: 1px solid #c8cbc1;
  border-radius: 4px;
  background: white;
}
.lease-edit-table small {
  display: block;
  font-weight: normal;
  margin-top: 5px;
}
.lease-edit-table thead {
  position: sticky;
  top: 0;
  background: #f0efe7;
  z-index: 1;
}
.lease-invalid {
  background: #fff4e9;
}
.lease-warning {
  color: #8a431d;
}
.lease-edit-table .lease-row-error {
  text-transform: none;
  font-size: 11px;
  line-height: 1.4;
}
.lease-issues {
  font-size: 12px;
}
.lease-issues p {
  margin: 8px 0;
}
.lease-valid {
  color: #355d47;
}
.lease-defaults {
  margin-top: 16px;
}
.lease-defaults summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 10px;
}
.editor-dialog [hidden] {
  display: none !important;
}
.planner-stage > .planning-workspace {
  display: contents;
}
.planner-stage .planning-timeline {
  grid-column: 1;
  grid-row: 7;
  height: 420px;
}
.planner-stage .mini-plan {
  grid-column: 2;
  grid-row: 1 / 8;
  height: calc(100vh - 140px);
  min-height: 620px;
  max-height: 1080px;
  position: sticky;
  top: 12px;
}
.planner-stage .outlook-summary {
  display: block;
  padding: 22px;
}
.planner-stage .outlook-summary > .summary-mini {
  margin-top: 20px;
  justify-content: space-between;
  gap: 15px;
}
.planner-stage .summary-mini b {
  font-size: 22px;
}
.planner-stage .summary-mini small {
  max-width: 140px;
}
.planner-stage .outlook-summary > div > strong {
  font-size: 42px;
}
.planner-stage .outlook-chart-wrap {
  padding: 12px 20px;
}
.planner-stage .outlook-chart {
  height: 155px;
}
.planner-stage .chart-key small {
  width: 100%;
  margin-left: 0;
}
.planner-stage .time-machine {
  gap: 10px;
  padding: 14px;
}
.planner-stage .current-month {
  min-width: 95px;
}
.planner-stage .month-jump {
  display: none;
}
.planner-stage .planning-context {
  font-size: 10px;
  gap: 8px;
}
.planner-stage .planning-context small {
  font-size: 8px;
}
.planner-stage .planner-toolbar {
  gap: 8px;
}
.planner-stage .planner-toolbar .toolbar-right {
  margin-left: 0;
  flex-wrap: wrap;
}
@media (max-width: 1100px) {
  .planner-stage {
    grid-template-columns: minmax(320px, 1.5fr) minmax(240px, 1fr);
  }
  .planner-stage .planning-context {
    grid-template-columns: 1fr;
  }
  .planner-stage .planning-context small {
    display: inline;
    margin-left: 8px;
  }
  .planner-stage .summary-mini b {
    font-size: 18px;
  }
  .planner-stage .summary-mini small {
    font-size: 8px;
  }
}
@media (max-width: 750px) {
  .planner-stage {
    display: flex;
    flex-direction: column;
  }
  .planner-stage > .outlook-hero,
  .planner-stage > .time-machine,
  .planner-stage > .planning-context,
  .planner-stage > .planning-issues,
  .planner-stage > .planner-toolbar,
  .planner-stage .planning-timeline,
  .planner-stage .mini-plan {
    width: 100%;
  }
  .planner-stage .mini-plan {
    position: static;
    min-height: 560px;
    height: 600px;
  }
  .planner-stage .planning-timeline {
    height: 420px;
  }
  .planner-stage .planning-context {
    padding: 12px 0;
  }
  .planner-header-actions {
    margin-top: 15px;
  }
  .planner-stage .outlook-summary > .summary-mini {
    gap: 10px;
  }
}
.outlook-hero {
  background: #fbf9f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.outlook-summary {
  padding: 26px 30px;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.outlook-summary > .summary-mini {
  display: flex;
  gap: 35px;
  align-items: center;
}
.outlook-summary > .summary-mini > div {
  display: grid;
  gap: 7px;
}
.summary-mini span {
  font-size: 11px;
  color: var(--muted);
}
.summary-mini b {
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.7px;
}
.summary-mini small {
  font-size: 9px;
  color: var(--muted);
}
.summary-mini button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--moss);
}
.outlook-summary > div > strong {
  display: block;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -2px;
  margin: 10px 0 3px;
  color: var(--moss);
}
.outlook-summary > div > p {
  font-size: 11px;
  margin: 0;
  color: var(--muted);
}
.outlook-summary > div > p > span {
  display: block;
  font-size: 10px;
  margin-top: 7px;
}
.outlook-summary .eyebrow {
  font-size: 9px;
}
.outlook-chart-wrap {
  padding: 20px 30px 15px;
}
.outlook-chart {
  width: 100%;
  height: 215px;
  display: block;
  overflow: visible;
}
.outlook-chart [data-month] {
  cursor: pointer;
}
.chart-key {
  display: flex;
  gap: 18px;
  font-size: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.chart-key span:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--moss);
  vertical-align: middle;
  margin-right: 6px;
}
.chart-key .key-cash:before {
  background: var(--red);
}
.chart-key .key-expense:before {
  background: #b1905c;
}
.chart-key .key-baseline:before {
  background: #97a6ab;
}
.chart-key small {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
}
.time-machine {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 18px 0 0;
  padding: 18px 20px;
  background: #e5e9df;
  border: 1px solid #d1d9cc;
  border-radius: 7px;
}
.time-machine > button {
  padding: 8px 11px;
  background: #f6f7ef;
  border-color: #d1d9cc;
}
.current-month {
  min-width: 120px;
  display: grid;
  gap: 4px;
}
.current-month b {
  font-size: 17px;
  font-weight: 550;
}
.current-month .eyebrow {
  font-size: 8px;
}
.time-machine input[type="range"] {
  flex: 1;
  accent-color: var(--moss);
  width: 100%;
  min-width: 70px;
  cursor: ew-resize;
  padding: 0;
  height: 24px;
  border: 0;
}
.month-jump input {
  font-size: 11px;
  border: 0;
  background: transparent;
  padding: 6px;
  width: 130px;
}
.planning-context {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  padding: 18px 8px;
  color: var(--muted);
  font-size: 11px;
}
.planning-context > span {
  display: block;
}
.planning-context b {
  color: var(--ink);
}
.planning-context small {
  display: block;
  font-size: 9px;
  margin-top: 5px;
}
.planning-context button {
  padding: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 9px;
}
.planning-issues {
  border: 1px solid #d9cba9;
  background: #f3eddc;
  border-radius: 5px;
  margin-bottom: 14px;
  padding: 10px 15px;
  font-size: 11px;
}
.planning-issues summary {
  cursor: pointer;
  font-weight: 550;
}
.planning-issues p {
  font-size: 11px;
}
.planner-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 12px;
  flex-wrap: wrap;
}
.planner-toolbar button {
  font-size: 11px;
}
.check-label {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  line-height: 1.5;
}
.check-label input {
  width: 14px;
  height: 14px;
  accent-color: var(--moss);
}
.planning-workspace {
  display: grid;
  grid-template-columns: minmax(350px, 1.65fr) minmax(260px, 1fr);
  gap: 16px;
  height: 630px;
}
.planning-timeline {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
}
.timeline-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 15px;
}
.timeline-title .eyebrow {
  font-size: 8px;
}
.timeline-title h3 {
  font-size: 20px;
  margin: 5px 0 0;
}
.timeline-title button {
  font-size: 10px;
}
.timeline-scroll {
  flex: 1;
  overflow: auto;
}
.timeline-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
  width: 100%;
}
.timeline-table thead th {
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
  padding: 8px 3px;
  font-size: 9px;
}
.timeline-table th:first-child {
  position: sticky;
  left: 0;
  background: var(--white);
  z-index: 2;
  min-width: 155px;
  width: 155px;
  text-align: left;
  border-right: 1px solid var(--line);
  padding: 8px 10px;
}
.timeline-table thead th:first-child {
  z-index: 3;
}
.timeline-table th button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 3px;
  font-size: 11px;
}
.timeline-table thead button {
  font-size: 9px;
  white-space: normal;
  text-align: center;
  max-width: 50px;
  line-height: 1.5;
}
.timeline-table thead button.active {
  background: var(--moss);
  color: white;
  border-radius: 4px;
  padding: 4px;
}
.timeline-table th small {
  display: block;
  font-size: 8px;
  font-weight: 400;
  margin-top: 4px;
  color: var(--muted);
}
.timeline-table input {
  width: 12px;
  height: 12px;
  margin-right: 7px;
  accent-color: var(--moss);
}
.timeline-table td {
  padding: 14px 1px;
  border-bottom: 1px solid #e8eadf;
  min-width: 36px;
}
.timeline-table .group-row th {
  font-size: 9px;
  letter-spacing: 1.5px;
  background: #e9ece3;
  padding: 10px 14px;
}
.timeline-table .group-row small {
  display: inline;
}
.timeline-table tr.selected th {
  background: #e4ecdf;
  box-shadow: inset 3px 0 var(--moss);
}
.timeline-table td.current {
  background: #e6ede250;
}
.timeline-table button.occupancy-block {
  width: 100%;
  border: 0;
  border-radius: 2px;
  padding: 9px 0;
  margin: 0;
  font-size: 10px;
  min-width: 30px;
}
.occupancy-block.recorded {
  background: #a9c2ac;
  color: #2e4e36;
}
.occupancy-block.planned {
  background: #e4d3ad;
  color: #8a6931;
}
.occupancy-block.empty {
  background: #eef0e8;
  color: #b9c0b4;
}
.timeline-key {
  padding: 14px 18px;
  display: flex;
  gap: 15px;
  font-size: 9px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.planning-workspace .canvas-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
}
.planning-workspace .canvas-footer > span {
  display: none;
}
.planning-detail {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 25px;
  padding: 24px;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 7px;
}
.space-spotlight .eyebrow {
  font-size: 8px;
}
.space-spotlight h2 {
  margin: 10px 0;
  font-size: 32px;
  letter-spacing: -0.8px;
}
.space-spotlight p {
  font-size: 11px;
  color: var(--muted);
}
.space-spotlight .button-group {
  flex-wrap: wrap;
}
.agreement-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.agreement-cards article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.agreement-cards h3 {
  font-size: 16px;
  margin: 10px 0;
}
.agreement-cards p {
  font-size: 12px;
  line-height: 1.7;
}
.agreement-cards small {
  font-size: 10px;
  color: var(--muted);
}
.change-register {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #eaece2;
  padding: 15px 20px;
  margin: 16px 0;
  font-size: 12px;
}
.change-register summary {
  cursor: pointer;
}
.change-register > div {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  gap: 15px;
}
.change-register small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.change-register button {
  font-size: 10px;
}
.planner-budget {
  margin: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.planner-budget .eyebrow {
  font-size: 8px;
}
.planner-budget h3 {
  margin: 6px 0;
  font-size: 20px;
}
.planner-budget p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.planner-report-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.planner-report-actions button {
  font-size: 11px;
}
.planner-budget .button-group {
  flex-wrap: wrap;
}
@media (max-width: 1200px) {
  .outlook-summary {
    padding: 22px;
    gap: 20px;
  }
  .outlook-summary > .summary-mini {
    gap: 20px;
  }
  .summary-mini b {
    font-size: 21px;
  }
  .summary-mini small {
    max-width: 120px;
  }
  .outlook-summary > div > strong {
    font-size: 40px;
  }
  .planning-workspace {
    grid-template-columns: minmax(300px, 1.2fr) minmax(240px, 1fr);
  }
  .planning-detail {
    grid-template-columns: 190px 1fr;
  }
}
@media (max-width: 700px) {
  .outlook-summary {
    display: block;
    padding: 20px;
  }
  .outlook-summary > .summary-mini {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .summary-mini b {
    font-size: 19px;
  }
  .summary-mini span {
    font-size: 9px;
  }
  .summary-mini small {
    font-size: 8px;
  }
  .outlook-chart-wrap {
    padding: 20px 14px;
  }
  .outlook-chart {
    height: 170px;
  }
  .chart-key {
    gap: 10px;
    font-size: 9px;
  }
  .chart-key small {
    margin-left: 0;
    width: 100%;
  }
  .time-machine {
    padding: 14px 10px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .current-month {
    min-width: 90px;
  }
  .current-month b {
    font-size: 14px;
  }
  .month-jump {
    display: none;
  }
  .time-machine input[type="range"] {
    width: 40%;
    min-width: 40px;
  }
  .planning-context {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 17px 3px;
  }
  .planning-context > span {
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
  }
  .planner-toolbar .toolbar-right {
    flex-wrap: wrap;
    margin-left: 0;
  }
  .planning-workspace {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .planning-timeline {
    height: 440px;
    flex: none;
  }
  .planning-workspace .canvas-panel {
    height: 580px;
  }
  .planning-detail {
    display: block;
    padding: 20px;
  }
  .agreement-cards {
    margin-top: 20px;
  }
  .planner-budget {
    display: block;
    padding: 20px 4px;
  }
  .planner-budget .button-group {
    margin-top: 15px;
  }
  .timeline-table {
    min-width: 760px !important;
  }
  .timeline-title {
    padding: 16px;
  }
  .timeline-title h3 {
    font-size: 17px;
  }
}
