@import url("fonts.css");
:root {
  --ink: #19221f;
  --muted: #7c827b;
  --paper: #f6f6f1;
  --line: #e4e6de;
  --olive: #d6df9c;
  --olive-dark: #64703e;
  --dark: #17221e;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  letter-spacing: -0.045em;
  font-weight: 500;
  line-height: 1.12;
}
h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
polygon:focus-visible {
  outline: 3px solid #9ba968;
  outline-offset: 4px;
}
input,
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 12px 13px;
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #82924e;
  outline: none;
  box-shadow: 0 0 0 3px #d6df9c40;
}
textarea {
  resize: vertical;
}
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 17px;
  font-weight: 550;
  font-size: 13px;
  transition:
    background 0.2s,
    transform 0.25s var(--ease),
    box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover {
  background: #f0f1e9;
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--olive);
  color: #263019;
  border-color: var(--olive);
}
.btn.primary:hover {
  background: #c5d282;
  border-color: #c5d282;
  box-shadow: 0 5px 15px #73844020;
}
.btn.small {
  padding: 9px 12px;
  font-size: 12px;
}
.btn.icon-btn {
  padding: 9px;
}
.btn.danger {
  color: #a65646;
  background: #fff7f3;
}
.btn.glass,
.glass {
  background: #ffffff15;
  color: white;
  border: 1px solid #ffffff30;
  backdrop-filter: blur(18px);
}
.btn.glass:hover {
  background: #ffffff30;
}
.btn.outline-light {
  color: #f3f4ec;
  background: transparent;
  border-color: #ffffff25;
}
.btn.outline-light:hover {
  background: #ffffff10;
}
.wide {
  width: 100%;
}
.round {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #ffffff35;
  background: #ffffff15;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.round:hover {
  background: #d6df9c;
  color: #243020;
  transform: scale(1.04);
}
.text-btn {
  background: none;
  border: 0;
  padding: 8px 0;
  color: inherit;
}
.text-btn:hover {
  opacity: 0.7;
}
.eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #6c756a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow.light {
  color: #c4cdb6;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a7b56c;
  display: inline-block;
  flex-shrink: 0;
}
.muted {
  color: var(--muted);
}
.tiny {
  font-size: 12px;
  line-height: 1.65;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  letter-spacing: 0.12em;
  font-weight: 600;
  line-height: 1.2;
}
.brand small {
  font-size: 8px;
  letter-spacing: 0.3em;
  display: block;
  font-weight: 400;
  margin-top: 5px;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  width: 40px;
  height: 44px;
  border: 1px solid currentColor;
  border-top: 0;
  border-bottom: 0;
  letter-spacing: -0.12em;
  padding-right: 4px;
}
.boot {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 25px;
  background: var(--paper);
}
.boot p {
  color: var(--muted);
}
.boot h1 {
  font-size: 32px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  max-width: min(90vw, 650px);
  background: #1f3025;
  color: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px #0003;
  padding: 14px 23px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #793d32;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.field > span {
  font-size: 12px;
  font-weight: 550;
}
.field input,
.field textarea,
.field select {
  width: 100%;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.form-error {
  color: #b74937;
  font-size: 12px;
  margin: 12px 0;
  min-height: 18px;
}
.checkbox {
  display: flex;
  gap: 10px;
  margin: 15px 0 25px;
  align-items: center;
  font-size: 13px;
}
.checkbox input {
  accent-color: #718246;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 30px;
  font-size: 11px;
  background: #ffffff88;
}
.badge .icon {
  width: 14px;
  height: 14px;
}
.empty {
  padding: 50px 25px;
  text-align: center;
  color: var(--muted);
  line-height: 1.8;
}
.empty > .icon {
  width: 36px;
  height: 36px;
  color: #97a27e;
  margin-bottom: 15px;
}
.empty h3 {
  color: var(--ink);
  font-size: 22px;
  margin-bottom: 10px;
}
.empty.large {
  padding: 80px 20px;
  background: white;
  border: 1px dashed var(--line);
  border-radius: 16px;
}
.empty.compact {
  padding: 35px 5px;
  font-size: 12px;
}
.empty.compact span {
  font-size: 11px;
}
.empty.compact p {
  color: var(--ink);
}
.notice {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 20px;
  background: #eeeedd;
  border: 1px solid #dfdfc5;
  border-radius: 10px;
  color: #666d47;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 25px;
}
.notice.success {
  background: #edf2e6;
}
.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.id-line {
  font-size: 10px;
  color: var(--muted);
  overflow-wrap: anywhere;
  margin-top: 12px;
}
.mobile-menu {
  display: none;
}
/* Studio shell */
.admin-body {
  background: var(--paper);
}
.studio {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 234px;
  background: var(--dark);
  color: #c4ccbf;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 32px 20px 20px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.sidebar .brand {
  padding: 0 13px 32px;
  color: #f1f1df;
}
.workspace {
  display: flex;
  gap: 10px;
  padding: 15px 8px 20px;
  border-top: 1px solid #ffffff10;
}
.workspace-avatar {
  background: #d6df9c18;
  color: var(--olive);
  border: 1px solid #d6df9c22;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 36px;
  border-radius: 6px;
  font-family: Georgia;
  font-size: 22px;
}
.workspace strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
  max-width: 135px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace small {
  font-size: 9px;
  color: #849082;
  display: block;
  margin-top: 4px;
}
.nav-label {
  font-size: 8px;
  letter-spacing: 0.17em;
  padding: 22px 14px 12px;
  color: #7d8a7e;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar nav button,
.sidebar-bottom > button {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: none;
  color: #9faa9c;
  padding: 13px 14px;
  text-align: left;
  font-size: 12px;
  border-radius: 7px;
  transition: all 0.2s;
}
.sidebar nav button:hover {
  background: #ffffff08;
  color: white;
}
.sidebar nav button.active {
  color: var(--olive);
  background: #d6df9c12;
}
.sidebar nav button.active .icon {
  color: var(--olive);
}
.sidebar nav .icon {
  width: 18px;
  height: 18px;
  color: #849383;
}
.nav-dot {
  width: 5px;
  height: 5px;
  background: var(--olive);
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.support-note {
  padding: 17px 10px;
  border-top: 1px solid #ffffff10;
  display: flex;
  gap: 12px;
  align-items: center;
}
.support-note p {
  font-size: 10px;
  color: #c5ccbd;
}
.support-note small {
  display: block;
  font-size: 8px;
  color: #849080;
  margin-top: 5px;
}
.sidebar-bottom > small {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #63725f;
  padding: 20px 12px 0;
}
.studio-main {
  margin-left: 234px;
  width: calc(100% - 234px);
}
.studio-header {
  height: 78px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  background: #fafaf6;
  gap: 20px;
}
.breadcrumb {
  font-size: 11px;
  color: #8a8d84;
  white-space: nowrap;
}
.breadcrumb span {
  margin: 0 12px;
  color: #c6c9bd;
}
.breadcrumb strong {
  font-weight: 500;
  color: #344332;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.save-state {
  font-size: 9px;
  color: #8a9280;
  margin-right: 15px;
}
.studio-content {
  max-width: 1600px;
  margin: auto;
  padding: 38px 40px 45px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}
.page-heading h1 {
  font-size: 34px;
  margin: 11px 0 10px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 22px;
}
.project-hero {
  position: relative;
  min-height: 360px;
  border-radius: 13px;
  overflow: hidden;
  background: #657365;
}
.project-hero > img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: center 53%;
  transition: transform 1.3s var(--ease);
}
.project-hero:hover > img {
  transform: scale(1.03);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0e190a08 20%, #08150ed9);
}
.image-tag {
  position: absolute;
  top: 18px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  letter-spacing: 0.1em;
  background: #1a291d55;
  color: white;
  padding: 7px 10px;
  border: 1px solid #ffffff30;
  border-radius: 5px;
  backdrop-filter: blur(8px);
}
.image-tag .icon {
  width: 13px;
  height: 13px;
}
.project-hero-copy {
  position: absolute;
  bottom: 27px;
  left: 28px;
  color: white;
}
.project-hero-copy h2 {
  font-size: 35px;
  margin: 8px 0;
}
.project-hero-copy p {
  font-size: 11px;
  color: #d7dfd1;
  margin-bottom: 18px;
}
.project-hero-copy .btn {
  font-size: 11px;
  padding: 10px 14px;
}
.overview-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 23px;
  position: relative;
  overflow: hidden;
}
.stat-card.accent {
  background: #e7ebd6;
  border-color: #e0e6cb;
  flex: 1;
}
.big-number {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 66px;
  line-height: 1.4;
  letter-spacing: -0.07em;
  margin: 10px 0 2px;
}
.big-number span {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 12px;
  color: #6a7652;
}
.stat-card p {
  color: #7c856c;
  font-size: 11px;
  line-height: 1.6;
}
.stat-icon {
  position: absolute;
  right: 20px;
  bottom: 20px;
  opacity: 0.1;
  width: 55px;
  height: 55px;
}
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.stat-row .stat-card {
  padding: 19px;
}
.stat-card strong {
  display: block;
  font-size: 34px;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  letter-spacing: -0.05em;
  margin: 9px 0;
}
.stat-card small {
  font-size: 9px;
  color: var(--muted);
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 35px 0 20px;
  gap: 15px;
}
.section-title h2 {
  font-size: 24px;
}
.section-title p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 20px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: #acb98a;
}
.step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6c7b58;
  margin-bottom: 25px;
}
.step-top > .icon {
  width: 23px;
  height: 23px;
}
.step-top span {
  font-size: 10px;
  color: #a3aa94;
}
.step-top span .icon {
  width: 14px;
  height: 14px;
}
.step-card h3 {
  font-size: 13px;
  margin-bottom: 7px;
}
.step-card p {
  font-size: 10px;
  color: var(--muted);
}
.step-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #707b5c;
  font-size: 10px;
  margin-top: 20px;
}
.step-link .icon {
  width: 15px;
  height: 15px;
}
.bottom-note {
  margin: 24px 0 0;
  color: #8b9181;
  display: flex;
  gap: 10px;
  font-size: 10px;
  align-items: center;
}
.bottom-note .icon {
  width: 15px;
  height: 15px;
}
.section-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
  gap: 15px;
}
.section-bar p {
  color: var(--muted);
  font-size: 12px;
}
.view-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.view-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.view-image {
  position: relative;
  aspect-ratio: 1.7;
  background: #dce3e5;
  overflow: hidden;
}
.view-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.view-image > .btn {
  position: absolute;
  right: 15px;
  bottom: 15px;
}
.view-info {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
}
.view-info h3 {
  font-size: 15px;
}
.view-info p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.upload-card {
  border: 1px dashed #c8cfb6;
  border-radius: 12px;
  background: #eff1e7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  color: #778565;
}
.upload-card .icon {
  width: 32px;
  height: 32px;
}
.upload-card strong {
  font-size: 14px;
  font-weight: 500;
}
.upload-card span {
  font-size: 11px;
  color: #919a83;
}
.search input {
  width: 290px;
  background: #fff;
  font-size: 12px;
}
.table-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
}
th {
  text-align: left;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #8b9580;
  font-weight: 600;
  background: #fafbf6;
  padding: 17px 21px;
}
td {
  padding: 18px 21px;
  border-top: 1px solid #edf0e5;
  font-size: 12px;
}
td strong {
  font-weight: 500;
}
td small {
  display: block;
  color: #929b87;
  font-size: 10px;
  margin-top: 5px;
}
.unit-name {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
}
.unit-avatar {
  height: 37px;
  width: 37px;
  background: #edf0e4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #80916b;
}
.unit-name strong {
  font-size: 13px;
}
.unit-name small {
  font-size: 9px;
  color: #a1a794;
  font-family: monospace;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  font-size: 10px;
  border-radius: 30px;
  background: #edf2e5;
  color: #6c8554;
  white-space: nowrap;
}
.status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.status.reserved {
  color: #ac8945;
  background: #f7f0df;
}
.status.sold {
  color: #8d8c82;
  background: #efeee8;
}
.content-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d2d8c8;
}
.content-icons .present {
  color: #748761;
}
.content-icons .icon {
  width: 17px;
  height: 17px;
}
.content-icons small {
  margin: 0;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}
.panel h2 {
  font-size: 23px;
  margin-bottom: 22px;
}
.panel p {
  font-size: 12px;
  line-height: 1.8;
  margin: 14px 0 22px;
}
.transition-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  gap: 25px;
  align-items: center;
  margin-bottom: 16px;
}
.transition-card > .btn {
  margin-left: auto;
}
.transition-card h3 {
  font-size: 17px;
  margin: 8px 0;
}
.transition-card p {
  font-size: 11px;
  color: var(--muted);
}
.transition-pair {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #aab497;
}
.transition-pair img {
  width: 75px;
  height: 85px;
  object-fit: cover;
  border-radius: 6px;
}
.transition-pair > .icon {
  width: 16px;
}
/* Drawing workspace */
.editor-shell {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.editor-toolbar {
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.editor-toolbar select {
  font-size: 12px;
  max-width: 200px;
  padding: 9px 30px 9px 12px;
}
.editor-toolbar .divider {
  height: 25px;
  border-left: 1px solid var(--line);
  margin: 0 5px;
}
.editor-toolbar .active {
  background: #edf1dd;
  border-color: #b4c184;
}
.editor-toolbar #zoom-label {
  font-size: 11px;
  color: var(--muted);
}
.editor-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
}
.editor-viewport {
  overflow: auto;
  min-height: 480px;
  max-height: 680px;
  position: relative;
  background: #e7eae3;
  background-image: radial-gradient(#b9c1b5 1px, transparent 1px);
  background-size: 14px 14px;
  padding: 22px 0 55px;
}
.editor-art {
  position: relative;
  width: 100%;
  line-height: 0;
  transform-origin: top left;
  min-height: 100px;
}
.editor-art > img {
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
  display: block;
}
.editor-art > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.edit-region {
  fill: #d3e48d21;
  stroke: #e4f0af;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill 0.2s;
}
.edit-region:hover {
  fill: #d3e48d65;
}
.edit-region.selected {
  fill: #e1ef9a66;
  stroke: white;
  stroke-width: 2;
}
.vertex {
  fill: white;
  stroke: #73874c;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  cursor: move;
}
.drawing-line {
  stroke: #f8ffd3;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  fill: #d6df9c44;
}
.editor-hint {
  position: sticky;
  left: 15px;
  bottom: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  background: #1d2b21db;
  color: #d5dec9;
  padding: 10px 12px;
  margin: 12px 15px -40px;
  border-radius: 7px;
  font-size: 9px;
  width: max-content;
  max-width: calc(100% - 30px);
  line-height: 1.6;
  pointer-events: none;
}
.editor-hint .icon {
  width: 14px;
  height: 14px;
}
.editor-properties {
  border-left: 1px solid var(--line);
  padding: 22px 18px;
  overflow-y: auto;
  max-height: 680px;
}
.editor-properties > .eyebrow {
  font-size: 9px;
}
.editor-properties .field {
  margin-top: 18px;
}
.editor-properties .field > span {
  font-size: 10px;
}
.editor-properties .field select {
  font-size: 11px;
  padding: 9px;
}
.selected-indicator {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 20px 0;
}
.editor-properties .tiny {
  font-size: 10px;
  margin: 10px 0 20px;
}
.region-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.region-list > .eyebrow {
  justify-content: space-between;
  font-size: 8px;
  margin-bottom: 15px;
}
.region-row {
  border: 0;
  background: transparent;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 9px 8px;
  font-size: 10px;
  color: #77816e;
}
.region-row small {
  font-size: 9px;
  color: #9da68e;
}
.region-row.active {
  background: #edf0e1;
  color: #3b512c;
}
.region-row:hover {
  background: #f4f5ef;
}
/* Dialog and auth */
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  width: min(620px, calc(100vw - 30px));
  max-height: 90vh;
  box-shadow: 0 30px 100px #101b1740;
  color: var(--ink);
}
dialog::backdrop {
  background: #14241bc0;
  backdrop-filter: blur(7px);
}
dialog[open] {
  animation: modal-in 0.35s var(--ease);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
}
.modal-head h2 {
  font-size: 29px;
  margin-top: 8px;
}
.modal-head .eyebrow {
  font-size: 9px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  flex-wrap: wrap;
}
.modal-actions > .danger {
  margin-right: auto;
}
.upload-zone {
  border: 1px dashed #c5ceb6;
  background: #f4f6ed;
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  cursor: pointer;
  color: #6b8056;
  margin: 12px 0;
}
.upload-zone:hover {
  background: #edf1df;
}
.upload-zone strong {
  font-size: 12px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upload-zone span {
  font-size: 10px;
  color: #909b83;
}
.upload-zone.compact {
  padding: 18px 10px;
}
.upload-zone.compact strong {
  font-size: 11px;
}
.upload-preview {
  max-height: 230px;
  max-width: 100%;
  border-radius: 8px;
  display: block;
  margin: 15px auto;
}
.upload-preview[hidden] {
  display: none;
}
.media-remove {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.media-remove .text-btn {
  font-size: 10px;
  color: #8e947f;
}
.process-progress {
  padding: 18px 0;
  font-size: 11px;
  color: #7a8669;
}
.process-progress progress {
  width: 100%;
  height: 7px;
  accent-color: #7d914b;
}
.process-progress p {
  margin-top: 9px;
}
.publish-summary {
  display: flex;
  gap: 20px;
  margin: 25px 0;
}
.publish-summary > span {
  flex: 1;
  background: #f3f4ed;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  color: #939b88;
  font-size: 10px;
}
.publish-summary b {
  display: block;
  font-size: 30px;
  color: #35482b;
  font-weight: 500;
  margin-bottom: 5px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 100vh;
}
.auth-visual {
  padding: 55px 65px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, #0f201b55, #102019cc),
    url("building.webp") center/cover;
}
.auth-visual h1 {
  font-family: Georgia, serif;
  font-size: 66px;
  margin: 20px 0;
  letter-spacing: -0.05em;
}
.auth-visual p {
  font-size: 13px;
  color: #d3dcd0;
  line-height: 1.8;
}
.auth-visual > .tiny {
  font-size: 9px;
  letter-spacing: 0.17em;
  color: #b9c8b4;
}
.auth-form {
  padding: 70px;
  align-self: center;
  max-width: 550px;
  width: 100%;
  justify-self: center;
}
.auth-form h2 {
  font-size: 34px;
  margin: 14px 0;
}
.auth-form > p {
  margin-bottom: 30px;
  font-size: 12px;
}
.auth-form .quiet-link {
  margin-top: 28px;
}
.auth-form form > .tiny {
  margin-top: -9px;
  margin-bottom: 20px;
  font-size: 10px;
}
.auth-card {
  max-width: 600px;
  margin: 15vh auto;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.auth-card p {
  margin: 20px 0;
}
/* Visitor experience */
.site-body {
  background: #111b17;
  color: #eef0e4;
}
.site-header {
  height: 100px;
  padding: 0 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff0d;
  gap: 30px;
}
.site-header .brand {
  font-size: 18px;
  letter-spacing: 0.01em;
}
.site-header .brand small {
  color: #899783;
  letter-spacing: 0.3em;
}
.site-header nav {
  display: flex;
  gap: 34px;
  font-size: 12px;
  color: #8d9b88;
}
.site-header nav .current {
  color: #dce5c8;
}
.site-header nav .current:after {
  content: "";
  display: block;
  height: 3px;
  width: 3px;
  background: #c8d29a;
  border-radius: 50%;
  margin: 7px auto -10px;
}
.site-header .btn {
  font-size: 11px;
}
.experience {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 25px;
  padding: 35px 35px 20px 45px;
  max-width: 1800px;
  margin: auto;
}
.experience-copy {
  display: flex;
  flex-direction: column;
  padding: 35px 0 25px;
  justify-content: center;
}
.experience-copy .eyebrow {
  font-size: 8px;
  letter-spacing: 0.12em;
}
.experience-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 61px;
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 400;
  margin: 25px 0;
}
.experience-copy h1 em {
  font-weight: 400;
  color: #cad49d;
  font-size: 0.87em;
}
.experience-copy > p {
  font-size: 12px;
  line-height: 1.8;
  color: #9ca792;
  max-width: 225px;
}
.experience-instruction {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7f8c77;
  font-size: 10px;
  line-height: 1.8;
}
.experience-instruction .icon {
  width: 26px;
  height: 26px;
}
.experience-stats {
  display: flex;
  gap: 24px;
  border-top: 1px solid #ffffff16;
  margin-top: 35px;
  padding-top: 25px;
}
.experience-stats strong {
  font-family: Georgia, serif;
  font-size: 27px;
  color: #c9d0bb;
  font-weight: 400;
  display: block;
}
.experience-stats span {
  display: block;
  font-size: 7px;
  color: #72816b;
  letter-spacing: 0.15em;
  margin-top: 7px;
}
.demo-label {
  font-size: 7px;
  letter-spacing: 0.15em;
  color: #7b8b70;
  margin-top: 30px;
  display: block;
}
.scene-column {
  min-width: 0;
}
.scene {
  position: relative;
  background: #c6d0cf;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}
.building-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
}
.building-wrap > img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.25s;
  user-select: none;
}
.building-wrap > svg,
.building-wrap > video,
.building-wrap > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.building-wrap > video,
.building-wrap > canvas {
  object-fit: contain;
  background: #243128;
}
.building-wrap > [hidden] {
  display: none;
}
.unit-region {
  fill: transparent;
  stroke: transparent;
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition:
    fill 0.25s,
    stroke 0.25s;
}
.unit-region:hover,
.unit-region.highlighted,
.unit-region:focus {
  fill: #e4ef9955;
  stroke: #eff8c3;
}
.unit-region.sold:hover,
.unit-region.sold.highlighted {
  fill: #eff0e333;
  stroke: #e9ebdb;
}
.scene-top,
.scene-bottom {
  position: absolute;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.scene-top {
  top: 19px;
}
.scene-bottom {
  bottom: 18px;
}
.scene-top > *,
.scene-bottom > * {
  pointer-events: auto;
}
.scene-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #fff;
  background: #22372e65;
  padding: 9px 12px;
  border-radius: 5px;
  backdrop-filter: blur(15px);
}
.scene-label .icon {
  width: 14px;
  height: 14px;
}
.scene-hint {
  font-size: 9px;
  display: flex;
  gap: 7px;
  align-items: center;
  color: #f4f4e3;
  background: #1e3027a8;
  padding: 9px 12px;
  border-radius: 5px;
  backdrop-filter: blur(15px);
}
.scene-hint .icon {
  width: 14px;
  height: 14px;
}
.turn-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #17291fba;
  padding: 7px 8px;
  border: 1px solid #ffffff20;
  border-radius: 32px;
  backdrop-filter: blur(15px);
}
.turn-controls .round {
  height: 34px;
  width: 34px;
}
.turn-controls > span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.turn-controls i {
  font-style: normal;
  color: #9eac91;
  font-size: 9px;
}
.view-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.view-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}
.view-thumb {
  border: 1px solid #ffffff16;
  background: #ffffff04;
  color: #819177;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 13px 5px 5px;
  border-radius: 7px;
  font-size: 9px;
  white-space: nowrap;
  transition: all 0.2s;
}
.view-thumb.active {
  border-color: #c0cf8c70;
  color: #d0dfb1;
  background: #d6df9c0b;
}
.view-thumb > img {
  width: 43px;
  height: 34px;
  object-fit: cover;
  border-radius: 4px;
}
.view-strip-note {
  font-size: 7px;
  color: #67755f;
  letter-spacing: 0.16em;
}
.unit-callout {
  position: absolute;
  right: 22px;
  top: 25%;
  width: 238px;
  background: #f9faf2f5;
  color: var(--ink);
  backdrop-filter: blur(20px);
  padding: 19px;
  border-radius: 12px;
  border: 1px solid #fff;
  box-shadow: 0 14px 60px #1b2b2940;
  animation: callout-in 0.35s var(--ease);
}
.unit-callout:before {
  content: "";
  position: absolute;
  left: -20px;
  top: 45%;
  width: 20px;
  height: 1px;
  background: #e9efcb;
}
.unit-callout[hidden] {
  display: none;
}
.callout-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.callout-head .eyebrow {
  font-size: 9px;
}
.callout-head .text-btn {
  padding: 0;
  color: #9ea591;
}
.callout-head .icon {
  width: 15px;
  height: 15px;
}
.unit-callout h2 {
  font-size: 28px;
  margin: 10px 0;
}
.unit-callout .status {
  font-size: 8px;
  padding: 4px 7px;
}
.callout-specs {
  display: flex;
  gap: 25px;
  padding: 20px 0;
  margin: 17px 0;
  border-top: 1px solid #dce2ce;
  border-bottom: 1px solid #dce2ce;
}
.callout-specs strong {
  display: block;
  font-size: 25px;
  letter-spacing: -0.04em;
  font-weight: 500;
  line-height: 1.2;
}
.callout-specs strong small {
  font-size: 12px;
  margin-left: 4px;
  font-weight: 400;
}
.callout-specs span {
  font-size: 7px;
  letter-spacing: 0.12em;
  color: #8b9679;
  margin-top: 6px;
  display: block;
}
.unit-callout .btn {
  font-size: 9px;
  padding: 12px 9px;
  gap: 5px;
}
.unit-callout .btn .icon {
  width: 15px;
  height: 15px;
}
.turn-loader {
  position: absolute;
  inset: 0;
  background: #15251c50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  backdrop-filter: blur(2px);
}
.turn-loader[hidden] {
  display: none;
}
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff30;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.public-units {
  background: #f3f4eb;
  color: var(--ink);
  padding: 55px 65px 70px;
  margin-top: 15px;
}
.public-units > .section-title {
  margin: 0 0 30px;
}
.public-units .section-title h2 {
  font-family: Georgia, serif;
  font-size: 35px;
  margin-top: 12px;
}
.public-units select {
  font-size: 11px;
  background: transparent;
  border-color: #d5dbc7;
}
.public-unit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.public-unit {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 23px;
  text-align: left;
  border: 1px solid #dde2ce;
  border-radius: 10px;
  background: #fff;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.public-unit:hover {
  transform: translateY(-3px);
  border-color: #a6b779;
}
.public-unit h3 {
  font-size: 19px;
  margin: 6px 0 10px;
}
.public-unit .eyebrow {
  font-size: 8px;
}
.public-unit .status {
  font-size: 8px;
  padding: 4px 7px;
}
.unit-grid-spec {
  margin-left: auto;
  color: #758262;
}
.unit-grid-spec strong {
  font-size: 21px;
  font-weight: 400;
  display: block;
}
.unit-grid-spec span {
  font-size: 9px;
  white-space: nowrap;
}
.public-unit .round {
  color: #788862;
  border: 1px solid #dce3cc;
  width: 28px;
  height: 28px;
  background: transparent;
}
.public-unit .round .icon {
  width: 14px;
  height: 14px;
}
.site-footer {
  padding: 32px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6f8064;
  font-size: 10px;
  gap: 20px;
}
.site-footer > span:first-child {
  font-size: 14px;
  color: #b4c3a4;
}
.site-footer small {
  display: block;
  letter-spacing: 0.22em;
  font-size: 6px;
  margin-top: 4px;
}
.site-footer a {
  display: flex;
  gap: 8px;
  align-items: center;
}
.site-footer .icon {
  width: 13px;
  height: 13px;
}
.preview-banner {
  background: var(--olive);
  color: #334326;
  font-size: 10px;
  text-align: center;
  padding: 9px;
}
.preview-banner a {
  text-decoration: underline;
  margin-left: 15px;
}
.scene:fullscreen {
  border-radius: 0;
  background: #14221a;
}
.scene:fullscreen .building-wrap {
  width: auto;
  max-width: 100%;
  height: 100vh;
  aspect-ratio: 1.5;
}
.scene:fullscreen .building-wrap > img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
/* Plans and panoramas */
.detail-modal {
  padding: 0;
  width: calc(100vw - 40px);
  max-width: 1500px;
  height: calc(100vh - 40px);
  max-height: none;
  border: 1px solid #ffffff15;
  background: #17221c;
  color: #ecf0df;
  border-radius: 17px;
  overflow: auto;
}
.detail-modal[open] {
  animation: detail-in 0.5s var(--ease);
}
.detail-modal::backdrop {
  background: #07120df2;
  backdrop-filter: blur(12px);
}
.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 30px;
  border-bottom: 1px solid #ffffff10;
  height: 88px;
  gap: 15px;
}
.detail-header > span {
  font-size: 11px;
  color: #a8b59c;
}
.detail-header i {
  font-style: normal;
  color: #4c5a44;
  margin: 0 12px;
}
.detail-header > .eyebrow {
  font-size: 8px;
}
.plan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  height: calc(100% - 88px);
  min-height: 500px;
}
.plan-stage {
  position: relative;
  background: #f1f1e7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
  overflow: hidden;
}
.floor-plan {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  animation: plan-in 0.8s var(--ease);
}
.plan-caption {
  position: absolute;
  top: 24px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #939b83;
}
.plan-caption .icon {
  width: 15px;
  height: 15px;
}
.plan-disclaimer {
  position: absolute;
  bottom: 15px;
  left: 20px;
  right: 20px;
  text-align: center;
  font-size: 8px;
  color: #9da58f;
}
.tour-hotspot {
  position: absolute;
  left: 44%;
  top: 49%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid #b6c480;
  border-radius: 35px;
  background: #d7e0a1;
  color: #42532b;
  box-shadow:
    0 0 0 9px #d6df9c35,
    0 8px 30px #16231025;
  animation: pulse 3s infinite;
  font-size: 10px;
}
.tour-hotspot > .icon {
  width: 24px;
  height: 24px;
}
.plan-info {
  padding: 42px 30px;
  display: flex;
  flex-direction: column;
}
.plan-info h1 {
  font-family: Georgia, serif;
  font-size: 46px;
  margin: 16px 0;
}
.plan-info > .status {
  align-self: flex-start;
  font-size: 9px;
}
.plan-info > p {
  font-size: 12px;
  color: #94a489;
  line-height: 1.8;
  margin: 25px 0;
}
.plan-info > .eyebrow {
  font-size: 8px;
}
.detail-specs {
  margin: 0 0 auto;
  padding-bottom: 35px;
}
.detail-specs > div {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #ffffff10;
  font-size: 11px;
  color: #7f9274;
}
.detail-specs strong {
  font-size: 13px;
  color: #cbd7bc;
  font-weight: 500;
}
.plan-info > .btn {
  margin-top: 12px;
  font-size: 10px;
}
.pano-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 450px;
}
.pano-shell #panorama {
  position: absolute;
  inset: 0;
  background: #1e2b22;
}
.pano-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  gap: 20px;
  background: linear-gradient(#111d17a8, transparent);
  pointer-events: none;
}
.pano-header > * {
  pointer-events: auto;
}
.pano-header h2 {
  font-family: Georgia;
  font-size: 30px;
  margin-top: 8px;
}
.pano-header .eyebrow {
  font-size: 8px;
}
.pano-header > div {
  text-align: center;
}
.pano-tip {
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 30px;
  background: #122018b0;
  color: #eef3df;
  font-size: 10px;
  display: flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
  pointer-events: none;
}
.pnlm-controls-container {
  top: auto !important;
  bottom: 20px;
}
.pnlm-load-box {
  border-radius: 12px !important;
  font:
    12px "DM Sans",
    sans-serif !important;
}
.about-content {
  max-width: 850px;
  margin: 10vh auto;
  padding: 40px;
}
.about-content > .round {
  float: right;
}
.about-content h1 {
  font-family: Georgia, serif;
  font-size: 75px;
  margin: 30px 0;
}
.about-content p {
  font-size: 20px;
  line-height: 1.8;
  color: #aab89d;
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes detail-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes callout-in {
  from {
    opacity: 0;
    transform: translateX(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes plan-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    box-shadow:
      0 0 0 15px #d6df9c12,
      0 8px 30px #16231025;
  }
}
@media (min-width: 1500px) {
  .experience {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 40px;
    padding: 40px 50px;
  }
  .experience-copy h1 {
    font-size: 75px;
  }
  .scene {
    min-height: 620px;
  }
  .unit-callout {
    width: 265px;
    right: 35px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 205px;
    padding: 28px 14px;
  }
  .studio-main {
    margin-left: 205px;
    width: calc(100% - 205px);
  }
  .studio-header {
    padding: 0 24px;
  }
  .studio-content {
    padding: 30px 25px;
  }
  .save-state {
    display: none;
  }
  .overview-grid {
    grid-template-columns: 1fr 230px;
  }
  .stat-card {
    padding: 20px;
  }
  .project-hero {
    min-height: 330px;
  }
  .steps {
    gap: 10px;
  }
  .step-card {
    padding: 16px;
  }
  .editor-body {
    grid-template-columns: minmax(0, 1fr) 210px;
  }
  .experience {
    grid-template-columns: 210px minmax(0, 1fr);
    padding: 25px 25px 15px;
    gap: 20px;
  }
  .experience-copy h1 {
    font-size: 51px;
  }
  .site-header {
    padding: 0 25px;
    height: 85px;
  }
  .scene {
    min-height: 0;
  }
  .view-strip-note {
    display: none;
  }
  .unit-callout {
    width: 210px;
    top: 18%;
    right: 16px;
    padding: 16px;
  }
  .unit-callout h2 {
    font-size: 24px;
  }
  .callout-specs {
    margin: 12px 0;
    padding: 12px 0;
  }
  .public-units {
    padding: 40px 35px;
  }
  .public-unit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .transition-card {
    gap: 15px;
  }
  .transition-pair img {
    width: 55px;
    height: 70px;
  }
  .plan-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .plan-info {
    padding: 30px 22px;
  }
}
@media (max-width: 950px) {
  .sidebar {
    width: 180px;
    padding: 25px 10px;
  }
  .studio-main {
    margin-left: 180px;
    width: calc(100% - 180px);
  }
  .sidebar nav button {
    font-size: 11px;
    gap: 9px;
  }
  .sidebar .brand {
    padding: 0 10px 25px;
    font-size: 17px;
  }
  .workspace strong {
    max-width: 105px;
  }
  .studio-content {
    padding: 27px 20px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading .badge {
    display: none;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .overview-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .big-number {
    font-size: 40px;
    line-height: 1.1;
    margin: 10px 0;
  }
  .stat-card.accent p {
    display: none;
  }
  .stat-row {
    gap: 12px;
  }
  .stat-card.accent {
    padding: 18px;
  }
  .stat-row .stat-card {
    padding: 15px;
  }
  .stat-card strong {
    font-size: 29px;
    margin: 5px 0;
  }
  .project-hero {
    min-height: 320px;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-top {
    margin-bottom: 15px;
  }
  .step-card p {
    font-size: 11px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .breadcrumb span {
    margin: 0 7px;
  }
  .studio-header {
    padding: 0 20px;
  }
  .header-actions {
    gap: 5px;
  }
  .header-actions .btn {
    font-size: 10px;
    padding: 8px;
  }
  .editor-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .editor-properties {
    border-left: 0;
    border-top: 1px solid var(--line);
    max-height: 300px;
  }
  .editor-viewport {
    min-height: 320px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .view-grid {
    gap: 15px;
  }
  .view-info {
    padding: 15px;
  }
  .transition-card {
    flex-wrap: wrap;
  }
  .transition-card > .btn {
    margin-left: 0;
  }
  .auth-form {
    padding: 35px;
  }
  .auth-visual {
    padding: 40px;
  }
  .auth-visual h1 {
    font-size: 50px;
  }
  .site-header nav {
    gap: 18px;
    font-size: 10px;
  }
  .site-header .brand {
    font-size: 16px;
  }
  .experience {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .experience-copy {
    padding: 10px 5px 15px;
    display: block;
    position: relative;
  }
  .experience-copy h1 {
    font-size: 46px;
    line-height: 1;
    margin: 14px 0;
  }
  .experience-copy h1 br {
    display: none;
  }
  .experience-copy h1 br:after {
    content: " ";
  }
  .experience-copy h1 em {
    margin-left: 10px;
  }
  .experience-copy > p {
    max-width: none;
    font-size: 11px;
  }
  .experience-instruction,
  .experience-stats {
    display: none;
  }
  .experience-copy .demo-label {
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 0;
  }
  .scene {
    max-height: none;
  }
  .plan-layout {
    grid-template-columns: 1fr 260px;
  }
  .detail-header > span {
    font-size: 10px;
  }
  .detail-header > .eyebrow {
    display: none;
  }
  .plan-info h1 {
    font-size: 37px;
  }
  .tour-hotspot {
    left: 35%;
  }
}
@media (max-width: 650px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
    width: 230px;
    box-shadow: 10px 0 40px #0004;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .studio-main {
    margin: 0;
    width: 100%;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .studio-header {
    height: 66px;
    padding: 0 14px;
    gap: 10px;
  }
  .breadcrumb {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-actions .btn {
    font-size: 10px;
    padding: 8px 10px;
  }
  .header-actions .btn .icon {
    width: 16px;
    height: 16px;
  }
  .studio-content {
    padding: 28px 18px;
  }
  .page-heading {
    margin-bottom: 25px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .project-hero {
    min-height: 310px;
  }
  .project-hero-copy h2 {
    font-size: 30px;
  }
  .project-hero-copy {
    bottom: 22px;
    left: 22px;
  }
  .overview-side {
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
  }
  .stat-row {
    gap: 8px;
  }
  .stat-row .stat-card {
    padding: 14px 10px;
  }
  .stat-card .eyebrow {
    font-size: 8px;
  }
  .stat-card.accent {
    padding: 15px;
  }
  .big-number {
    font-size: 38px;
  }
  .big-number span {
    font-size: 11px;
    margin-left: 7px;
  }
  .stat-card small {
    font-size: 8px;
  }
  .steps {
    gap: 12px;
  }
  .step-card {
    padding: 18px;
  }
  .section-title h2 {
    font-size: 23px;
  }
  .section-title > .tiny {
    display: none;
  }
  .view-grid {
    grid-template-columns: 1fr;
  }
  .section-bar {
    align-items: flex-start;
  }
  .section-bar p {
    font-size: 10px;
    max-width: 180px;
  }
  .section-bar .btn {
    font-size: 11px;
    padding: 11px;
  }
  .search input {
    width: 100%;
    max-width: 190px;
    font-size: 10px;
  }
  .editor-toolbar {
    gap: 6px;
    padding: 10px;
  }
  .editor-toolbar .divider {
    display: none;
  }
  .editor-toolbar select {
    max-width: 150px;
  }
  .editor-toolbar #zoom-label {
    font-size: 9px;
  }
  .editor-viewport {
    min-height: 250px;
  }
  .editor-hint {
    font-size: 8px;
    max-width: calc(100% - 20px);
    margin-left: 10px;
  }
  .editor-properties {
    padding: 18px;
  }
  .settings-grid .panel {
    padding: 20px;
  }
  .transition-card {
    padding: 17px;
  }
  .transition-pair img {
    width: 55px;
    height: 65px;
  }
  .transition-card h3 {
    font-size: 14px;
  }
  .transition-card p {
    font-size: 10px;
  }
  .transition-card > .btn {
    width: 100%;
  }
  .notice {
    font-size: 10px;
    padding: 14px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    min-height: 260px;
    padding: 25px;
  }
  .auth-visual > div .eyebrow {
    display: none;
  }
  .auth-visual h1 {
    font-size: 38px;
    margin: 20px 0 8px;
  }
  .auth-visual h1 br {
    display: none;
  }
  .auth-visual p {
    font-size: 11px;
  }
  .auth-visual > .tiny {
    display: none;
  }
  .auth-form {
    padding: 35px 25px;
  }
  .auth-form h2 {
    font-size: 29px;
  }
  .form-grid {
    gap: 0 13px;
  }
  .field > span {
    font-size: 11px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 12px;
    padding: 11px;
  }
  dialog {
    padding: 23px;
    width: calc(100vw - 20px);
    max-height: 94vh;
  }
  .modal-head h2 {
    font-size: 26px;
  }
  .upload-zone.compact span {
    font-size: 8px;
  }
  .upload-zone.compact strong {
    font-size: 10px;
  }
  .modal-actions .btn {
    font-size: 11px;
    padding: 10px;
  }
  .site-header {
    height: 75px;
    padding: 0 20px;
    gap: 15px;
  }
  .site-header .brand {
    font-size: 16px;
  }
  .site-header .brand-mark {
    height: 34px;
    width: 31px;
    font-size: 27px;
  }
  .site-header nav {
    display: none;
  }
  .site-header > .btn {
    font-size: 9px;
    padding: 9px;
  }
  .site-header > .btn .icon {
    width: 15px;
    height: 15px;
  }
  .experience {
    padding: 20px 12px 6px;
    gap: 8px;
  }
  .experience-copy {
    padding: 0 9px 16px;
  }
  .experience-copy .eyebrow {
    font-size: 7px;
  }
  .experience-copy h1 {
    font-size: 36px;
    line-height: 1.1;
    margin: 15px 0 9px;
    max-width: 350px;
  }
  .experience-copy h1 em {
    margin-left: 5px;
  }
  .experience-copy .demo-label {
    font-size: 6px;
    top: 3px;
    right: 8px;
  }
  .experience-copy > p {
    font-size: 10px;
  }
  .scene {
    border-radius: 11px;
  }
  .scene-top {
    top: 10px;
    left: 10px;
    right: 10px;
  }
  .scene-bottom {
    bottom: 10px;
    left: 10px;
    right: 10px;
    justify-content: flex-end;
  }
  .scene-hint {
    display: none;
  }
  .scene-top .round {
    width: 28px;
    height: 28px;
  }
  .scene-top .round .icon {
    width: 14px;
    height: 14px;
  }
  .scene-label {
    font-size: 7px;
    padding: 7px 9px;
  }
  .scene-label .icon {
    width: 11px;
    height: 11px;
  }
  .turn-controls {
    gap: 12px;
    padding: 4px;
  }
  .turn-controls .round {
    width: 28px;
    height: 28px;
  }
  .turn-controls .round .icon {
    width: 15px;
    height: 15px;
  }
  .turn-controls > span {
    font-size: 8px;
  }
  .turn-controls i {
    font-size: 7px;
  }
  .unit-callout {
    width: 172px;
    top: 44px;
    right: 10px;
    padding: 13px;
  }
  .unit-callout h2 {
    font-size: 23px;
    margin: 6px 0;
  }
  .callout-head .eyebrow {
    font-size: 7px;
  }
  .callout-specs {
    padding: 8px 0;
    margin: 10px 0;
    gap: 18px;
  }
  .callout-specs strong {
    font-size: 21px;
  }
  .callout-specs span {
    font-size: 6px;
  }
  .unit-callout .btn {
    font-size: 8px;
    padding: 9px 5px;
  }
  .view-strip {
    padding: 12px 0;
  }
  .view-thumb {
    font-size: 8px;
    padding: 4px 10px 4px 4px;
  }
  .view-thumb > img {
    width: 35px;
    height: 28px;
  }
  .public-units {
    padding: 35px 20px;
  }
  .public-units .section-title h2 {
    font-size: 26px;
  }
  .public-units .eyebrow {
    font-size: 8px;
  }
  .public-units select {
    font-size: 10px;
    padding: 8px;
    max-width: 110px;
  }
  .public-unit-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .public-unit {
    padding: 18px;
  }
  .site-footer {
    padding: 25px 20px;
    flex-wrap: wrap;
    font-size: 8px;
  }
  .site-footer > span:nth-child(2) {
    order: 3;
    width: 100%;
  }
  .site-footer > span:first-child {
    font-size: 12px;
  }
  .detail-modal {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    margin: 0;
  }
  .detail-header {
    height: 68px;
    padding: 15px;
    gap: 10px;
  }
  .detail-header > .btn {
    font-size: 9px;
    padding: 9px;
  }
  .detail-header > .btn .icon {
    width: 15px;
    height: 15px;
  }
  .detail-header > span {
    font-size: 9px;
  }
  .detail-header i {
    margin: 0 5px;
  }
  .plan-layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
  }
  .plan-stage {
    height: 52vh;
    min-height: 300px;
    padding: 40px 25px;
  }
  .plan-info {
    padding: 25px;
  }
  .plan-info h1 {
    font-size: 38px;
  }
  .plan-info > p {
    font-size: 11px;
    margin: 20px 0;
  }
  .detail-specs {
    padding-bottom: 15px;
  }
  .plan-caption {
    font-size: 8px;
    top: 17px;
    left: 20px;
  }
  .plan-disclaimer {
    font-size: 7px;
  }
  .tour-hotspot {
    left: 40%;
    top: 45%;
    padding: 9px 12px;
    font-size: 9px;
  }
  .tour-hotspot > .icon {
    width: 18px;
    height: 18px;
  }
  .pano-header {
    padding: 15px;
    gap: 10px;
  }
  .pano-header h2 {
    font-size: 23px;
  }
  .pano-header > .btn {
    font-size: 9px;
    padding: 9px;
  }
  .pano-header .eyebrow {
    font-size: 7px;
  }
  .pano-header .round {
    width: 32px;
    height: 32px;
  }
  .pano-tip {
    font-size: 8px;
    padding: 9px;
    white-space: normal;
    width: max-content;
    max-width: 90vw;
    bottom: 65px;
  }
  .about-content {
    padding: 25px;
  }
  .about-content h1 {
    font-size: 48px;
  }
  .about-content p {
    font-size: 16px;
  }
  .preview-banner {
    font-size: 8px;
  }
  .preview-banner a {
    display: block;
    margin: 3px 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
[hidden] {
  display: none !important;
}

.scene:fullscreen .building-wrap {
  width: min(100vw, calc(100vh * var(--image-ratio, 1.5)));
  height: auto;
  max-height: 100vh;
  aspect-ratio: auto;
}
.scene:fullscreen .building-wrap > img {
  width: 100%;
  height: auto;
}

@media (max-width: 650px) {
  .unit-callout {
    position: fixed;
    inset: auto 12px 12px;
    z-index: 45;
    width: auto;
    max-width: 366px;
    margin-left: auto;
    padding: 18px;
    box-shadow: 0 -10px 60px #0b170d55;
  }
  .unit-callout:before {
    display: none;
  }
  .unit-callout h2 {
    font-size: 25px;
  }
  .unit-callout .btn {
    font-size: 11px;
    padding: 11px;
  }
  .callout-specs {
    padding: 10px 0;
    margin: 10px 0;
  }
  .experience-copy h1 br {
    display: initial;
  }
  .experience-copy h1 {
    line-height: 1.12;
  }
  .experience-copy h1 em {
    margin-left: 0;
  }
}
