@font-face {
  font-family: Lab;
  src: url("/fonts/DejaVuSans.ttf");
}
@font-face {
  font-family: Lab;
  src: url("/fonts/DejaVuSans-Bold.ttf");
  font-weight: 700;
}
:root {
  --green: #146f5a;
  --green-dark: #103f34;
  --pale: #eaf3ed;
  --bg: #f7f8f5;
  --ink: #20332c;
  --muted: #758078;
  --line: #e1e7df;
  --white: #fff;
  --danger: #b4453f;
  --radius: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Lab, Arial, sans-serif;
  font-size: 13px;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
svg {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  flex-shrink: 0;
}
button svg {
  width: 17px;
  height: 17px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 29px;
  line-height: 1.3;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}
h3 {
  font-size: 14px;
}
small,
.muted {
  color: var(--muted);
}
.muted {
  font-size: 12px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 9px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -1px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  background: var(--green);
  color: white;
  width: 36px;
  height: 40px;
  border-radius: 10px;
  font-size: 24px;
  transform: rotate(-4deg);
}
.brand small {
  font-size: 9px;
  letter-spacing: 1.5px;
  display: block;
  color: var(--muted);
  line-height: 1.2;
  font-weight: 400;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 238px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 20px 20px;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  margin: 0 10px 40px;
}
.nav-section {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #919b93;
  padding: 0 13px;
  margin: 20px 0 10px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 9px;
  color: #6e7c71;
  background: none;
  text-align: left;
  margin: 3px 0;
  font-size: 12px;
}
.nav-item:hover {
  background: #f3f6f1;
  text-decoration: none;
}
.nav-item.active {
  background: var(--pale);
  color: var(--green);
  font-weight: 700;
}
.nav-item .count {
  margin-left: auto;
  background: #d6e8dc;
  border-radius: 6px;
  padding: 0 6px;
  font-size: 10px;
}
.sidebar-bottom {
  margin-top: auto;
}
.pilot-card {
  border: 1px solid #dbe8d9;
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(120deg, #f8faf2, #ebf3e8);
}
.pilot-card p {
  font-size: 11px;
  margin: 8px 0 12px;
  color: var(--muted);
}
.pilot-card .btn {
  width: 100%;
  background: white;
}
.workspace {
  margin-left: 238px;
}
.topbar {
  height: 83px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  background: rgba(255, 255, 255, 0.78);
  gap: 16px;
}
.topbar .search {
  width: 310px;
  position: relative;
}
.search input {
  padding-left: 38px;
  background: #f6f8f5;
  border: 1px solid #e7ebe3;
  height: 38px;
}
.search svg {
  position: absolute;
  left: 12px;
  top: 10px;
  color: #8b958b;
  width: 16px;
  height: 16px;
}
.topbar-right {
  display: flex;
  gap: 18px;
  align-items: center;
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #e4eddf;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--green);
}
.user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user strong {
  font-size: 11px;
  display: block;
}
.user small {
  display: block;
  font-size: 9px;
}
.content {
  max-width: 1510px;
  margin: auto;
  padding: 34px 38px 48px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.page-head p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 11px;
  text-decoration: none;
}
.btn:hover {
  background: #f2f6f0;
  text-decoration: none;
}
.btn.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn.primary:hover {
  background: var(--green-dark);
}
.btn.danger {
  color: var(--danger);
}
.btn.small {
  padding: 6px 10px;
  font-size: 10px;
}
.btn.ghost {
  border-color: transparent;
  background: none;
}
.icon-btn {
  border: 0;
  background: transparent;
  padding: 7px;
  border-radius: 8px;
  color: var(--muted);
}
.icon-btn:hover {
  background: var(--pale);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.stat-icon {
  border-radius: 8px;
  background: var(--pale);
  padding: 6px;
  color: var(--green);
}
.stat-value {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1.1px;
  line-height: 1.35;
  margin: 12px 0 5px;
}
.stat-foot {
  font-size: 10px;
  color: var(--muted);
}
.dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #49a87a;
  margin-right: 5px;
}
.hero {
  background: var(--green-dark);
  color: white;
  border-radius: var(--radius);
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  min-height: 190px;
  overflow: hidden;
  position: relative;
}
.hero .eyebrow {
  color: #aac9a9;
}
.hero h2 {
  font-size: 24px;
  max-width: 500px;
  line-height: 1.4;
  letter-spacing: -0.7px;
}
.hero p {
  color: #b8cdc2;
  font-size: 12px;
  max-width: 450px;
}
.hero .btn {
  background: #e3ebc7;
  color: var(--green-dark);
  border: 0;
}
.hero-art {
  width: 235px;
  min-width: 185px;
  position: relative;
  height: 130px;
  transform: rotate(-10deg);
}
.hero-art .building {
  position: absolute;
  bottom: 0;
  background: #c1cdae;
  transform: skewY(-10deg);
  width: 78px;
  border: 4px solid #789a7d;
  box-shadow: 14px 8px 0 #426953;
}
.building.a {
  height: 88px;
  left: 10px;
}
.building.b {
  height: 128px;
  left: 90px;
  background: #e3e9cd;
}
.building.c {
  height: 58px;
  left: 170px;
  width: 47px;
}
.building:after {
  content: "";
  display: block;
  width: 60%;
  height: 65%;
  margin: 10px auto;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 10px,
    #547b67 10px,
    #547b67 17px
  );
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.grid-equal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.panel-head h2 {
  margin: 0;
  font-size: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 700;
  background: var(--pale);
  color: var(--green);
  white-space: nowrap;
}
.badge.gray {
  background: #edf0eb;
  color: #748072;
}
.badge.amber {
  background: #fff4da;
  color: #94702e;
}
.badge.red {
  background: #ffedeb;
  color: #b45449;
}
.empty {
  text-align: center;
  padding: 35px 18px;
  color: var(--muted);
}
.empty svg {
  width: 35px;
  height: 35px;
  margin-bottom: 12px;
  color: #9aafa0;
}
.empty h3 {
  color: var(--ink);
  margin-bottom: 5px;
}
.empty p {
  font-size: 11px;
  max-width: 400px;
  margin: 0 auto 17px;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #edf0e9;
}
.list-row:last-child {
  border: 0;
}
.list-row strong {
  font-size: 11px;
}
.list-row p {
  font-size: 10px;
  color: var(--muted);
  margin: 3px 0 0;
}
.list-row .right {
  margin-left: auto;
  text-align: right;
}
.source-logo {
  background: #fff0d8;
  color: #d48e27;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.progress-track {
  height: 6px;
  background: #edf1e9;
  border-radius: 4px;
  margin: 12px 0;
  overflow: hidden;
}
.progress-track span {
  background: #84ab7d;
  height: 100%;
  display: block;
}
.data-note {
  font-size: 10px;
  color: var(--muted);
  padding: 12px 0;
  line-height: 1.7;
}
.filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.filter-panel {
  margin-bottom: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.field label {
  font-size: 10px;
  font-weight: 700;
  color: #657366;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dce3d9;
  border-radius: 7px;
  padding: 9px 10px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  min-width: 0;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #76a487;
  box-shadow: 0 0 0 3px #146f5a12;
}
input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--green);
}
input[type="range"] {
  accent-color: var(--green);
}
input[type="color"] {
  height: 39px;
  padding: 3px;
}
textarea {
  resize: vertical;
  min-height: 82px;
}
label.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ink);
  margin: 8px 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.span-2 {
  grid-column: 1/-1;
}
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.listing-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
}
.listing-image {
  height: 169px;
  position: relative;
  background: #e6ebe0;
  overflow: hidden;
}
.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.listing-card:hover .listing-image img {
  transform: scale(1.03);
}
.listing-image .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fffdf4;
}
.listing-image .select-listing {
  position: absolute;
  right: 12px;
  top: 12px;
  background: white;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 9px;
}
.listing-body {
  padding: 17px;
}
.listing-body h3 {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 5px;
  height: 38px;
  overflow: hidden;
}
.listing-body .location {
  color: var(--muted);
  font-size: 10px;
}
.listing-price {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 13px 0 6px;
}
.listing-meta {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid #edf0e8;
}
.listing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.listing-footer small {
  font-size: 9px;
}
.placeholder-image {
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e7eddf, #d6e3d5);
  color: #9ab398;
}
.placeholder-image svg {
  width: 53px;
  height: 53px;
}
.pagination {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  font-size: 11px;
}
.comparison-bar {
  position: sticky;
  bottom: 18px;
  background: #173e32;
  color: white;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 30px #133c3326;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  z-index: 10;
}
.tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
  overflow: auto;
}
.tab {
  border: 0;
  background: none;
  white-space: nowrap;
  padding: 13px 3px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.tab.active {
  border-color: var(--green);
  color: var(--green);
  font-weight: 700;
}
.file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.file-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: white;
}
.file-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.file-card .body {
  padding: 12px;
}
.file-card p {
  font-size: 10px;
  margin: 5px 0;
}
.drop-zone {
  border: 1px dashed #afc3a7;
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  background: #f8faf4;
  position: relative;
}
.drop-zone input {
  margin-top: 13px;
  max-width: 400px;
}
.notice {
  padding: 13px 16px;
  border-radius: 9px;
  background: #eff5e9;
  color: #637751;
  font-size: 11px;
  margin: 15px 0;
}
.notice.amber {
  background: #fff7e6;
  color: #8a7344;
}
.notice.error {
  background: #ffefed;
  color: #a74a40;
}
.model-view {
  width: 100%;
  height: 470px;
  background: #edeedc;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.model-view canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.model-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: #ffffffdc;
  border: 1px solid #dde4d6;
  padding: 6px 9px;
  border-radius: 5px;
  font-size: 9px;
  pointer-events: none;
}
.plan-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
}
.trace-panel {
  margin-bottom: 20px;
}
.trace-source-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px 100px;
  gap: 10px;
}
.trace-source-row select {
  width: 100%;
  min-width: 0;
}
.trace-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
  margin-top: 8px;
}
.trace-tools .field {
  width: 145px;
  margin: 0;
}
.trace-tools [aria-pressed="true"] {
  background: #e6f0e8;
  color: #146f5a;
  border-color: #146f5a;
}
.trace-status {
  min-height: 36px;
  margin: 12px 0;
  color: #386650;
  font-size: 12px;
}
.trace-scroll {
  max-height: 480px;
  overflow: auto;
  border: 1px solid var(--line);
  background: #f1f2ed;
  border-radius: 8px;
}
.trace-stage {
  position: relative;
  width: 100%;
  background: white;
}
.trace-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.trace-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: pan-x pan-y;
}
.trace-stage svg:focus-visible {
  outline: 3px solid #166f59;
  outline-offset: -3px;
}
.trace-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}
.trace-room input {
  width: 100%;
  min-width: 0;
}
.trace-room span {
  font-size: 11px;
}
.trace-apply {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}
.trace-apply span {
  flex: 1;
  min-width: 190px;
  font-size: 11px;
}
.error-text {
  color: var(--danger);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 550px) {
  .trace-source-row {
    grid-template-columns: 1fr 1fr;
  }
  .trace-source-row > .field:first-child {
    grid-column: 1 / -1;
  }
  .trace-tools {
    gap: 6px;
  }
  .trace-apply .btn {
    width: 100%;
  }
}
.room-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.room-editor {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.room-editor input {
  font-size: 10px;
  padding: 7px;
}
.room-title {
  display: flex;
  gap: 8px;
}
.finance-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.finance-number {
  padding: 18px;
  border-radius: 10px;
  background: #f1f6ed;
}
.finance-number small {
  font-size: 10px;
}
.finance-number strong {
  display: block;
  font-size: 21px;
  color: var(--green);
  margin-top: 8px;
}
.finance-number.negative {
  background: #fff0ec;
}
.finance-number.negative strong {
  color: var(--danger);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 10px;
}
td {
  padding: 13px 10px;
  border-bottom: 1px solid #edf0e8;
  font-size: 11px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.table-wrap {
  overflow: auto;
}
.compare-slider {
  height: 370px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e5eada;
}
.compare-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.compare-slider .after {
  clip-path: inset(0 0 0 var(--split, 50%));
}
.compare-slider:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  background: white;
}
.compare-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin: 7px 0;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #11251bc2;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(3px);
}
.modal {
  background: var(--bg);
  border-radius: 17px;
  width: 660px;
  max-width: 100%;
  max-height: 92vh;
  overflow: auto;
  padding: 26px;
  box-shadow: 0 25px 90px #0004;
}
.modal.wide {
  width: 1000px;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.modal-head h2 {
  margin: 0;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 23px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  padding: 13px 22px;
  border-radius: 10px;
  background: var(--green-dark);
  color: white;
  z-index: 200;
  font-size: 12px;
  transition: transform 0.25s;
  box-shadow: 0 10px 35px #0002;
  max-width: 90%;
}
#toast.visible {
  transform: translateX(-50%) translateY(0);
}
#toast.error {
  background: #943e39;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.auth-story {
  background: #123f32;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 65px 13%;
  position: relative;
  overflow: hidden;
}
.auth-story .brand {
  position: absolute;
  top: 40px;
  left: 13%;
}
.auth-story .brand-mark {
  background: #cfdec0;
  color: #123f32;
}
.auth-story h1 {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.3;
  margin: 60px 0 25px;
  max-width: 500px;
}
.auth-story h1 span {
  color: #d6e5b6;
}
.auth-story p {
  color: #b1c8b9;
  max-width: 390px;
  font-size: 13px;
}
.auth-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.auth-pills span {
  border: 1px solid #47715a;
  color: #c5d8bc;
  border-radius: 30px;
  padding: 7px 14px;
  font-size: 10px;
}
.auth-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.auth-card {
  width: 390px;
  max-width: 100%;
}
.auth-card h2 {
  font-size: 27px;
  margin-bottom: 10px;
}
.auth-card form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 25px;
}
.auth-card .btn {
  padding: 12px;
}
.auth-switch {
  margin-top: 23px;
  text-align: center;
  font-size: 11px;
}
.boot {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
}
.mobile-toggle {
  display: none;
}
.share-layout {
  max-width: 1080px;
  margin: auto;
  padding: 38px 25px;
}
.share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.score-ring {
  width: 105px;
  height: 105px;
  border: 7px solid #dce9d4;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.score-ring strong {
  font-size: 30px;
  line-height: 1.2;
}
.score-ring small {
  font-size: 9px;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0 15px;
}
.upload-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.upload-inline input {
  max-width: 300px;
}
.no-margin {
  margin: 0;
}
.spacer {
  height: 20px;
}
.mt {
  margin-top: 20px;
}
.link-button {
  border: 0;
  background: none;
  color: var(--green);
  padding: 0;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
}
.hidden {
  display: none !important;
}
:focus-visible {
  outline: 2px solid #61956e;
  outline-offset: 3px;
}
@media (min-width: 1550px) {
  .listing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .content {
    padding-top: 40px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
    padding: 26px 14px;
  }
  .workspace {
    margin-left: 205px;
  }
  .content {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .filters {
    grid-template-columns: repeat(3, 1fr);
  }
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat-value {
    font-size: 25px;
  }
  .plan-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 238px;
    box-shadow: 20px 0 40px #0002;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 65px;
    padding: 0 18px;
  }
  .mobile-toggle {
    display: block;
  }
  .topbar .search {
    width: auto;
    flex: 1;
  }
  .topbar-right .user > div:last-child,
  .topbar-right > .status-line {
    display: none;
  }
  .topbar-right {
    gap: 8px;
  }
  .content {
    padding: 24px 18px;
  }
  .grid-2,
  .grid-equal,
  .plan-layout {
    grid-template-columns: 1fr;
  }
  .plan-layout > .panel {
    max-height: 450px;
    overflow: auto;
  }
  .hero {
    padding: 25px;
  }
  .hero-art {
    display: none;
  }
  .hero h2 {
    font-size: 21px;
  }
  .page-head {
    align-items: flex-start;
  }
  .page-head h1 {
    font-size: 24px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-form {
    min-height: 100vh;
    padding: 25px;
  }
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .file-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tabs {
    gap: 15px;
  }
  .finance-results {
    grid-template-columns: 1fr;
  }
  .modal {
    padding: 20px;
  }
  .modal-backdrop {
    padding: 10px;
  }
  .comparison-bar {
    font-size: 10px;
  }
  .model-view {
    height: 360px;
  }
}
@media (max-width: 480px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }
  .page-head {
    flex-direction: column;
    gap: 15px;
  }
  .stat-value {
    font-size: 23px;
  }
  .stat {
    padding: 14px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .file-grid {
    grid-template-columns: 1fr 1fr;
  }
  .file-card img {
    height: 100px;
  }
  .panel {
    padding: 18px;
  }
  .share-header {
    align-items: flex-start;
    gap: 15px;
  }
  .topbar .search input {
    font-size: 10px;
  }
  .badge {
    font-size: 8px;
  }
}
@media print {
  .sidebar,
  .topbar,
  .btn,
  .tabs,
  .comparison-bar {
    display: none !important;
  }
  .workspace {
    margin: 0;
  }
  .content {
    padding: 0;
  }
  .panel,
  .stat {
    break-inside: avoid;
    box-shadow: none;
  }
  .model-view canvas {
    max-width: 100%;
  }
}
.empty .btn svg {
  width: 17px;
  height: 17px;
  margin: 0;
  color: inherit;
}
#toast {
  opacity: 0;
  pointer-events: none;
}
#toast.visible {
  opacity: 1;
}
.model-view:focus-within {
  outline: 2px solid #aac1a0;
}
.brand small {
  max-width: 155px;
  font-size: 8px;
  letter-spacing: 1px;
}
.stat-value {
  overflow-wrap: anywhere;
}
