@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap");
:root {
  --ink: #292d28;
  --muted: #8a8d83;
  --olive: #5f6953;
  --olive-pale: #e9ece3;
  --paper: #f8f8f4;
  --line: #e6e7df;
  --panel: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font: 13px var(--sans);
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.35;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}
input,
select {
  outline: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  padding: 10px 11px;
  min-width: 0;
}
input:focus,
select:focus {
  border-color: var(--olive);
}
input[type="range"] {
  padding: 0;
  accent-color: var(--olive);
}
input[type="color"] {
  height: 38px;
  padding: 4px;
  width: 100%;
  cursor: pointer;
}
.topbar {
  height: 82px;
  padding: 0 29px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #fcfcf9;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1.4px;
  white-space: nowrap;
}
.brand-mark {
  width: 33px;
  height: 33px;
  border: 1px solid #454b3b;
  border-radius: 50%;
  font: italic 29px var(--serif);
  text-align: center;
  line-height: 28px;
}
.brand-dot {
  color: var(--olive);
}
.brand-tag {
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 550;
  line-height: 1.5;
  max-width: 90px;
  margin-left: 8px;
  white-space: normal;
}
.project-name {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: auto;
  font-size: 12px;
}
.project-name button {
  padding: 8px 0;
}
.project-name #save-status {
  color: var(--muted);
  font-size: 10px;
  margin-left: 8px;
}
.project-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #929c83;
}
.chev {
  font-size: 16px;
  margin-left: 8px;
}
.header-actions {
  display: flex;
  gap: 22px;
  align-items: center;
}
.text-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  font-size: 11px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 12px 17px;
  font-weight: 500;
  font-size: 12px;
}
.button.dark {
  background: #30372d;
  color: #fff;
}
.button.olive {
  background: var(--olive);
  color: white;
}
.button.light {
  background: #f1f3ed;
}
.button.outline {
  border: 1px solid var(--line);
  background: white;
}
.button.full {
  width: 100%;
}
.button:hover {
  filter: brightness(0.96);
}
svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
span[data-icon] {
  display: inline-flex;
  align-items: center;
}
.workspace {
  display: flex;
  height: calc(100dvh - 82px);
}
.library {
  width: 312px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 4;
  transition: margin 0.3s;
}
.library-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 29px 24px 20px;
}
.library-heading h1 {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin: 0;
}
#library-close {
  display: none;
}
.library-tabs {
  display: flex;
  gap: 28px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.library-tabs button {
  padding: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 2px solid transparent;
}
.library-tabs button.active {
  color: var(--ink);
  border-bottom-color: var(--olive);
}
#library-content {
  padding: 20px 20px 30px;
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #e4e6df transparent;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 11px;
  color: var(--muted);
  margin-bottom: 18px;
}
.search-box input {
  border: 0;
  width: 100%;
  padding: 11px 0;
  font-size: 11px;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.category-chip {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 10px;
  color: #74796d;
}
.category-chip.active {
  background: var(--olive);
  color: white;
  border-color: var(--olive);
}
.catalog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin: 12px 0;
}
.catalog-heading > span {
  color: var(--muted);
  font-size: 10px;
}
.filter-toggle {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
}
.filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 9px 0 17px;
}
.filters select {
  font-size: 10px;
  padding: 8px 5px;
  width: 100%;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 12px;
}
.product-card {
  padding: 0;
  text-align: left;
  min-width: 0;
  position: relative;
}
.product-picture {
  height: 133px;
  background: #f6f7f3;
  border: 1px solid transparent;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border 0.2s;
}
.product-picture img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s;
}
.product-card:hover .product-picture {
  border-color: #9ca78e;
}
.product-card:hover img {
  transform: scale(1.07);
}
.card-add {
  position: absolute;
  bottom: 7px;
  right: 7px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 4px #0001;
}
.card-add svg {
  width: 12px;
  height: 12px;
}
.product-collection {
  font-size: 9px;
  color: var(--muted);
  margin: 10px 0 3px;
  display: block;
}
.product-card h3 {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}
.product-card .card-subtitle {
  font-size: 9px;
  color: #95988f;
  margin: 4px 0 7px;
}
.mini-swatches {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mini-swatch {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: #ccc;
  border: 1px solid #0001;
}
.mini-swatches small {
  font-size: 8px;
  color: var(--muted);
  margin-left: 2px;
}
.library-footer {
  padding: 17px 21px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  color: #8c9085;
  line-height: 1.6;
}
.tiny-logo {
  font-size: 14px;
  letter-spacing: -0.7px;
  color: #4a5545;
  font-weight: 700;
}
.library-footer a {
  color: #5b6453;
  font-size: 8px;
}
.studio {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #f3f3ed;
  position: relative;
}
.studio-top {
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 34px 20px;
  gap: 15px;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 2px;
  color: #87907a;
  font-weight: 600;
}
h2 {
  font: normal 30px var(--serif);
  letter-spacing: -0.9px;
  margin: 8px 0 0;
}
.zone-tabs {
  display: flex;
  gap: 3px;
  align-items: center;
  background: #eaece4;
  padding: 4px;
  border-radius: 6px;
}
.zone-tabs button {
  padding: 9px 13px;
  color: #858b7e;
  font-size: 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.zone-tabs .active {
  background: #fff;
  color: #414c39;
  box-shadow: 0 1px 3px #00000006;
}
#viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #e7e5dd;
  margin: 0 22px;
  border-radius: 8px;
}
#scene {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  outline: 0;
}
.scene-loader {
  position: absolute;
  inset: 0;
  background: #e9e8e1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font: 18px var(--serif);
  z-index: 10;
}
.loader-ring {
  height: 22px;
  width: 22px;
  border: 1px solid #bbc1b2;
  border-top-color: #4e5b42;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.scene-note {
  position: absolute;
  left: 22px;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  letter-spacing: 1px;
  color: #555f4b;
  pointer-events: none;
}
.scene-note #view-label {
  letter-spacing: 0;
  color: #777b72;
  font-size: 10px;
}
.live-dot,
.quality-dot {
  width: 5px;
  height: 5px;
  background: #778b60;
  border-radius: 50%;
  display: inline-block;
}
.note-divider {
  height: 10px;
  width: 1px;
  background: #abb29f;
  margin: 0 6px;
}
.scene-tools {
  position: absolute;
  right: 19px;
  top: 17px;
  display: flex;
  gap: 3px;
  align-items: center;
  background: #ffffffeb;
  padding: 4px 6px;
  border: 1px solid #fff8;
  border-radius: 6px;
  box-shadow: 0 3px 20px #3c3b3110;
}
.icon-button {
  height: 30px;
  width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}
.icon-button:hover {
  background: #e9ece3;
}
.icon-button[aria-pressed="true"] {
  background: #e9ece3;
  color: #5f6c50;
}
.icon-button svg {
  width: 15px;
  height: 15px;
}
.tool-separator {
  height: 16px;
  background: #e1e4da;
  width: 1px;
  margin: 0 4px;
}
.view-tools {
  position: absolute;
  right: 19px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  background: #fffffff0;
  padding: 4px;
  border-radius: 6px;
  box-shadow: 0 3px 20px #3c3b3110;
}
.view-tools .tool-separator {
  width: 16px;
  height: 1px;
  margin: 5px auto;
}
.scene-bottom {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.navigation-hint {
  font-size: 9px;
  color: #72796b;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.navigation-hint svg {
  width: 14px;
  height: 14px;
}
.navigation-hint > span:not([data-icon]) {
  padding: 0 3px;
}
.camera-tabs {
  background: #fffffff2;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 7px;
  box-shadow: 0 4px 20px #3c3b3110;
}
.camera-tabs button {
  font-size: 10px;
  padding: 10px 13px;
  border-radius: 4px;
  display: flex;
  gap: 6px;
  align-items: center;
  color: #828777;
}
.camera-tabs button.active {
  color: #fff;
  background: #5e6953;
}
.camera-tabs svg {
  height: 13px;
  width: 13px;
}
.lighting-button {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.lighting-button svg {
  height: 15px;
  width: 15px;
}
.studio-footer {
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  font-size: 9px;
  color: #91978a;
  gap: 10px;
}
.studio-footer > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.studio-footer svg {
  width: 12px;
  height: 12px;
}
.footer-dot {
  padding: 0 3px;
}
.link-button {
  padding: 2px;
  font-size: 9px;
  color: #5c6c4b;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.muted {
  color: #8a9380;
}
.footer-divider {
  height: 10px;
  width: 1px;
  background: #d3d8cc;
  margin: 0 4px;
}
#hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hotspot {
  position: absolute;
  pointer-events: auto;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #ffffffe3;
  color: #6a755b;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff8;
  box-shadow:
    0 0 0 5px #ffffff24,
    0 3px 12px #0001;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
}
.hotspot:hover {
  background: var(--olive);
  color: white;
}
.hotspot svg {
  width: 13px;
  height: 13px;
}
.hotspot span {
  position: absolute;
  left: 38px;
  white-space: nowrap;
  background: #fff;
  color: #394332;
  padding: 7px 9px;
  border-radius: 3px;
  font-size: 10px;
  display: none;
  box-shadow: 0 3px 12px #0001;
}
.hotspot:hover span {
  display: block;
}
#dimension-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.dimension-label {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #fffdf2;
  border: 1px solid #dfdcd0;
  color: #6e7564;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 10px;
}
.selection-panel {
  position: absolute;
  top: 66px;
  right: 19px;
  width: 252px;
  max-height: calc(100% - 155px);
  overflow: auto;
  background: #fffffff7;
  backdrop-filter: blur(15px);
  border: 1px solid #fff;
  border-radius: 9px;
  padding: 17px;
  box-shadow: 0 8px 35px #282f241a;
  scrollbar-width: thin;
}
.selection-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  color: #969d8d;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.selection-panel h3 {
  font-size: 16px;
  letter-spacing: -0.4px;
  margin: 5px 0 4px;
  font-weight: 500;
}
.selection-panel p {
  font-size: 10px;
  color: #8b9183;
  line-height: 1.6;
  margin: 4px 0 12px;
}
.selection-panel .product-line {
  font-size: 10px;
  color: #657555;
}
.selection-panel .product-thumb {
  float: right;
  height: 62px;
  width: 64px;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin: 0 0 6px 6px;
}
.selection-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}
.field-label {
  font-size: 10px;
  display: block;
  color: #626c58;
  margin: 10px 0 7px;
}
.finish-name {
  color: #929887;
  font-size: 9px;
}
.finish-swatches {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.finish-swatch {
  height: 27px;
  width: 27px;
  border-radius: 50%;
  border: 3px solid #fff;
  outline: 1px solid #e1e4db;
  position: relative;
}
.finish-swatch.active {
  outline: 1.5px solid #5d6e4e;
}
.finish-swatch.active:after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  text-shadow: 0 1px 4px #000;
}
.matching-link {
  font-size: 9px;
  color: #687858;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.control-grid label {
  font-size: 9px;
  color: #8b9380;
}
.control-grid input,
.control-grid select {
  width: 100%;
  margin-top: 5px;
  font-size: 11px;
  padding: 8px;
}
.control-grid label.full {
  grid-column: 1/-1;
}
.selection-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.selection-actions .button {
  font-size: 10px;
  padding: 9px;
}
.selection-panel .source-link {
  font-size: 9px;
  color: #758669;
  display: inline-flex;
  margin-top: 10px;
}
.approx-label {
  font-size: 8px !important;
  line-height: 1.6;
  background: #f2f3ed;
  padding: 7px 9px;
  border-radius: 4px;
  color: #929780 !important;
  margin-top: 10px !important;
}
.preview-bar {
  position: absolute;
  bottom: 83px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  max-width: 90%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 25px #0002;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.preview-bar small {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
  color: #939c87;
  margin-bottom: 4px;
}
.preview-bar b {
  font-size: 11px;
  font-weight: 500;
}
.preview-bar .button {
  font-size: 10px;
  padding: 9px 13px;
}
.section-label {
  font-size: 10px;
  letter-spacing: 0.7px;
  color: #8b947d;
  margin: 20px 0 12px;
  text-transform: uppercase;
}
.material-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
}
.material-card {
  text-align: left;
  padding: 0;
  min-width: 0;
}
.material-thumb {
  height: 108px;
  border-radius: 5px;
  background-size: cover;
  position: relative;
  border: 1px solid #00000008;
  overflow: hidden;
}
.material-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.material-card h3 {
  font-size: 11px;
  margin: 9px 0 4px;
  font-weight: 500;
}
.material-card p {
  font-size: 9px;
  color: #8d9585;
  margin: 0;
}
.material-card.active .material-thumb {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}
.upload-tile {
  width: 100%;
  border: 1px dashed #c3cab7;
  border-radius: 6px;
  padding: 17px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #707f61;
  font-size: 11px;
  margin-bottom: 20px;
  background: #f8faf4;
}
.library-note {
  font-size: 9px;
  color: #9a9f91;
  line-height: 1.7;
  margin: 14px 0;
}
.surface-select {
  width: 100%;
  font-size: 11px;
  margin: 0 0 13px;
}
.room-intro {
  font: normal 23px var(--serif);
  line-height: 1.3;
  margin: 1px 0 13px;
}
.room-text {
  font-size: 10px;
  color: #929b86;
  line-height: 1.8;
}
.unit-picker {
  display: flex;
  background: #f1f3ec;
  border-radius: 5px;
  padding: 3px;
  margin: 15px 0;
}
.unit-picker button {
  width: 50%;
  padding: 7px;
  font-size: 10px;
  border-radius: 3px;
}
.unit-picker .active {
  background: white;
}
.room-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.room-fields label {
  font-size: 10px;
  color: #7d886f;
}
.room-fields label:first-child {
  grid-column: 1/-1;
}
.room-fields input,
.room-fields select {
  width: 100%;
  margin-top: 7px;
}
.room-section {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 16px;
}
.room-section h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 12px;
}
.check-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  margin: 13px 0;
  color: #738064;
}
.check-label input {
  accent-color: var(--olive);
}
.room-section input[type="range"] {
  width: 100%;
}
.empty-state {
  color: #8b9680;
  font-size: 11px;
  padding: 35px 10px;
  line-height: 1.8;
  text-align: center;
}
.generic-card {
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 6px;
  font-size: 10px;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.generic-card span {
  display: block;
  font-size: 8px;
  color: #929c85;
  margin-top: 4px;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #30382c;
  color: white;
  padding: 13px 23px;
  border-radius: 7px;
  box-shadow: 0 7px 25px #0002;
  font-size: 12px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 1px solid #fff;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 25px 100px #25301f33;
  max-width: min(840px, 95vw);
  width: 570px;
  max-height: 90dvh;
  color: var(--ink);
  background: #fcfdf9;
}
dialog::backdrop {
  background: #222a1bcc;
  backdrop-filter: blur(5px);
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 25px 27px 22px;
}
.modal-head h2 {
  font-size: 26px;
  margin: 0 0 7px;
}
.modal-head p {
  font-size: 10px;
  line-height: 1.6;
  color: #8a957d;
  margin: 0;
}
.modal-body {
  padding: 23px 27px;
  max-height: 65vh;
  overflow: auto;
  scrollbar-width: thin;
}
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 27px;
  border-top: 1px solid var(--line);
  background: #f6f8f0;
}
.modal-body h3 {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 13px;
}
.modal-body p {
  font-size: 11px;
  color: #8d9683;
  line-height: 1.8;
}
.modal-body .field-label {
  margin-top: 15px;
}
.modal-body input[type="text"] {
  width: 100%;
}
.export-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.export-option {
  border: 1px solid var(--line);
  padding: 17px;
  border-radius: 7px;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  background: white;
}
.export-option:hover {
  border-color: #98a68a;
}
.export-option h3 {
  font-size: 12px;
  margin: 0 0 4px;
}
.export-option span {
  font-size: 9px;
  color: #93a084;
}
.export-option svg {
  width: 24px;
  height: 24px;
  color: #7d8d6d;
}
.saved-project {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.saved-project img {
  width: 90px;
  height: 58px;
  object-fit: cover;
  background: #e2e5d9;
  border-radius: 4px;
}
.saved-project > div {
  flex: 1;
}
.saved-project b {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.saved-project small {
  font-size: 9px;
  color: #9aa58e;
  display: block;
  margin-top: 5px;
}
.saved-project .button {
  font-size: 10px;
  padding: 8px 12px;
}
.source-table {
  width: 100%;
  font-size: 10px;
  border-collapse: collapse;
}
.source-table td,
.source-table th {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 9px 6px;
}
.source-table th {
  font-size: 9px;
  color: #869378;
}
.source-table a {
  color: #667a53;
}
.tag {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 3px;
  background: #edf1e6;
  color: #728562;
  font-size: 8px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.comparison-grid img {
  width: 100%;
  border-radius: 6px;
  background: #e9ebdf;
}
.comparison-grid h3 {
  font-size: 12px;
  margin: 12px 0 5px;
}
.comparison-grid p {
  font-size: 10px;
}
.compare-select {
  width: 100%;
  font-size: 11px;
  margin: 7px 0 13px;
}
.tile-edit-preview {
  position: relative;
  max-height: 260px;
  background: #e8ebe0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
}
.tile-edit-preview canvas {
  max-width: 100%;
  max-height: 260px;
  cursor: crosshair;
  touch-action: none;
}
.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.tile-grid label {
  font-size: 10px;
  color: #87937a;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tile-grid input,
.tile-grid select {
  width: 100%;
  font-size: 11px;
}
.tile-grid label.wide {
  grid-column: 1/-1;
}
.crop-buttons {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 17px;
}
.crop-buttons .button {
  font-size: 9px;
  padding: 8px 10px;
}
.finish-review {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.finish-review .unsupported {
  font-size: 9px;
  color: #b38c56;
}
.asset-row {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin: 12px 0;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lighting-controls {
  display: grid;
  gap: 15px;
}
.lighting-controls label {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.lighting-controls input {
  width: 55%;
}
.lighting-presets {
  display: flex;
  gap: 8px;
}
.lighting-presets button {
  flex: 1;
  padding: 15px;
  background: #f0f3e8;
  border-radius: 5px;
  font-size: 11px;
}
.wide-dialog {
  width: 820px;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.row.between {
  justify-content: space-between;
}
.pill {
  background: #f0f3e9;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 9px;
  color: #81906f;
}
.hidden {
  display: none !important;
}
.library-hidden .library {
  margin-left: -312px;
}
.view-measure .dimension-label {
  display: block;
}
@media (min-width: 1600px) {
  .library {
    width: 338px;
  }
  .library-hidden .library {
    margin-left: -338px;
  }
  .product-picture {
    height: 152px;
  }
  .studio-top {
    height: 125px;
    padding-left: 40px;
  }
  h2 {
    font-size: 34px;
  }
  .scene-bottom {
    left: 30px;
    right: 30px;
  }
  .camera-tabs button {
    padding: 11px 17px;
  }
}
@media (max-width: 1250px) {
  .topbar {
    padding: 0 20px;
    gap: 18px;
  }
  .brand-tag {
    display: none;
  }
  .project-name #save-status {
    display: none;
  }
  .header-actions {
    gap: 17px;
  }
  .library {
    width: 274px;
  }
  .library-hidden .library {
    margin-left: -274px;
  }
  #library-content {
    padding: 18px 16px;
  }
  .library-heading {
    padding: 25px 18px 20px;
  }
  .library-tabs {
    padding: 0 18px;
  }
  .product-picture {
    height: 116px;
  }
  .studio-top {
    padding: 21px 25px;
  }
  h2 {
    font-size: 27px;
  }
  .zone-tabs button {
    padding: 8px 9px;
  }
  .navigation-hint {
    display: none;
  }
  .scene-bottom {
    justify-content: center;
  }
  .lighting-button {
    position: absolute;
    right: 0;
    bottom: 65px;
  }
  .studio-footer {
    font-size: 8px;
    padding: 0 24px;
  }
  #source-info {
    display: none;
  }
}
@media (max-width: 900px) {
  .topbar {
    height: 68px;
  }
  .workspace {
    height: calc(100dvh - 68px);
  }
  .brand {
    font-size: 27px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 24px;
    line-height: 24px;
  }
  .project-name {
    margin-left: auto;
    margin-right: 0;
  }
  .header-actions {
    gap: 12px;
  }
  .text-button > span:not([data-icon]) {
    display: none;
  }
  .header-actions .button {
    padding: 10px 12px;
  }
  .library {
    width: 250px;
  }
  .library-hidden .library {
    margin-left: -250px;
  }
  .product-picture {
    height: 105px;
  }
  .studio-top {
    height: 120px;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px 14px;
    gap: 10px;
  }
  .eyebrow {
    font-size: 7px;
  }
  h2 {
    font-size: 23px;
    margin-top: 5px;
  }
  .zone-tabs {
    align-self: flex-end;
    margin-top: -4px;
  }
  .zone-tabs button {
    font-size: 9px;
    padding: 6px 9px;
  }
  #viewport {
    margin: 0 12px;
  }
  .camera-tabs button {
    font-size: 9px;
    padding: 8px 10px;
  }
  .scene-bottom {
    left: 10px;
    right: 10px;
    bottom: 15px;
  }
  .scene-note {
    left: 15px;
    top: 17px;
  }
  .scene-tools {
    right: 10px;
    top: 40px;
  }
  .studio-footer {
    padding: 0 14px;
  }
  .studio-footer > div:last-child {
    display: none;
  }
  .selection-panel {
    right: 10px;
    top: 88px;
    width: 230px;
    max-height: calc(100% - 195px);
  }
}
@media (max-width: 650px) {
  .topbar {
    padding: 0 14px;
    gap: 9px;
    height: 61px;
  }
  .workspace {
    height: calc(100dvh - 61px);
  }
  .brand {
    font-size: 25px;
    gap: 7px;
  }
  .brand-mark {
    display: none;
  }
  .project-name {
    font-size: 9px;
    gap: 5px;
  }
  .project-name .project-dot {
    display: none;
  }
  .header-actions {
    gap: 10px;
  }
  .header-actions .text-button {
    padding: 8px 0;
  }
  .header-actions .button {
    font-size: 10px;
    padding: 9px;
  }
  .header-actions .button .chev {
    display: none;
  }
  .header-actions svg {
    width: 14px;
    height: 14px;
  }
  .library {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 61px;
    width: 277px;
    box-shadow: 12px 0 50px #1d28192b;
    z-index: 20;
  }
  .library-hidden .library {
    margin-left: -300px;
  }
  #library-close {
    display: inline-flex;
  }
  .library-heading {
    padding-top: 21px;
  }
  .product-picture {
    height: 119px;
  }
  .studio-top {
    height: 113px;
    padding: 17px 20px;
  }
  .studio-top h2 {
    font-size: 25px;
  }
  .zone-tabs {
    margin-top: 0;
    align-self: stretch;
  }
  .zone-tabs button {
    flex: 1;
  }
  .studio-footer {
    font-size: 8px;
    height: 47px;
  }
  .scene-note {
    font-size: 7px;
  }
  .scene-tools {
    top: 13px;
  }
  .scene-note #view-label {
    display: none;
  }
  .note-divider {
    display: none;
  }
  .scene-tools .icon-button {
    width: 26px;
    height: 26px;
  }
  .scene-tools .tool-separator {
    margin: 0 2px;
  }
  .scene-tools #measure {
    display: none;
  }
  .scene-tools #toggle-points {
    display: none;
  }
  .selection-panel {
    top: 58px;
    max-height: calc(100% - 150px);
    width: 220px;
  }
  .camera-tabs button {
    font-size: 9px;
    padding: 9px;
  }
  .camera-tabs button[data-view="perspective"] {
    font-size: 0;
    gap: 0;
  }
  .camera-tabs button[data-view="perspective"] svg {
    width: 15px;
    height: 15px;
  }
  .scene-bottom {
    bottom: 15px;
  }
  .lighting-button {
    bottom: 52px;
    right: 7px;
  }
  .view-tools {
    bottom: 122px;
    right: 15px;
  }
  .modal-head {
    padding: 20px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-footer {
    padding: 15px 20px;
  }
  .export-options {
    grid-template-columns: 1fr;
  }
  .export-option {
    padding: 12px;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .scene-note {
    max-width: 130px;
  }
  #toast {
    max-width: 90vw;
    width: max-content;
    font-size: 11px;
    text-align: center;
  }
  .tile-grid {
    gap: 9px;
  }
}
@media (pointer: coarse) {
  .hotspot:before {
    content: "";
    position: absolute;
    inset: -8px;
  }
  .icon-button {
    min-width: 34px;
    min-height: 34px;
  }
  .camera-tabs button {
    min-height: 35px;
  }
}
.catalogue-coverage{display:flex;gap:6px;align-items:center;font-size:9px;color:#6f7f61;margin:-2px 0 15px;background:#f2f5ed;padding:9px;border-radius:5px}.catalogue-coverage b{font-weight:500;flex:1}.catalogue-coverage .link-button{font-size:8px}.placement-intent{font-size:9px;line-height:1.6;color:#7b8b6e;display:flex;align-items:center;gap:7px;margin:-4px 0 18px}.placement-intent svg{width:13px;height:13px;flex-shrink:0}.catalogue-pagination{display:flex;align-items:center;justify-content:space-between;margin-top:24px;gap:6px;font-size:9px;color:#8d9883}.catalogue-pagination .button{font-size:9px;padding:9px}.cad-badge{position:absolute;top:6px;left:6px;font-size:7px;letter-spacing:.7px;background:#f7faf1eb;color:#637a53;padding:4px;border-radius:3px}.model-status{display:flex;align-items:center;gap:5px;font-size:9px;background:#edf3e7;color:#6d825c;padding:7px 8px;border-radius:4px;margin:12px 0}.model-status svg{width:12px;height:12px}.render-mode{position:absolute;left:20px;top:47px;background:#ffffffed;backdrop-filter:blur(12px);border:1px solid #ffffffa0;padding:3px;border-radius:6px;display:flex;gap:2px;box-shadow:0 2px 10px #39412e0b}.render-mode button{padding:7px 10px;font-size:9px;border-radius:4px;color:#89947d}.render-mode .active{background:#5f6c53;color:#fff}.room-item-list{margin-top:17px}.room-item{display:flex;gap:5px;border-bottom:1px solid var(--line);padding:12px 0;align-items:center}.room-item-select{display:flex;align-items:center;gap:10px;padding:0;text-align:left;flex:1;min-width:0}.room-item-select img{width:47px;height:55px;object-fit:contain;background:#f4f6f0;mix-blend-mode:multiply}.room-item-select>span{flex:1;min-width:0}.room-item-select b{font-size:10px;display:block;font-weight:500}.room-item-select b small{font-size:8px;color:#9aa68d}.room-item-select span span{font-size:9px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#87957a;margin:3px 0}.room-item-select small{font-size:8px;color:#a1aa95}.room-item-actions{display:flex;flex-direction:column}.room-item-actions .icon-button{height:24px;width:25px}.room-item-actions svg{width:12px;height:12px}.library-tabs{gap:22px}.library-tabs button{font-size:11px}.selection-actions{flex-wrap:wrap}.product-collection{min-height:12px}.product-card h3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:32px}
@media(max-width:1250px){.library-tabs{gap:16px}.header-actions{gap:15px}}
@media(max-width:900px){.render-mode{top:74px;left:12px}.selection-panel{top:116px;max-height:calc(100% - 210px)}}
@media(max-width:650px){.render-mode{top:50px;left:12px}.selection-panel{top:88px;max-height:calc(100% - 175px)}.header-actions{gap:8px}.render-mode button{padding:7px 9px}.library-tabs{gap:22px}}
