@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --paper: #f2f1e9;
  --ink: #253b32;
  --muted: #7c8275;
  --line: #dadccf;
  --green: #315841;
  --accent: #b77750;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #70834c;
  outline-offset: 4px;
}
button:hover:not(:disabled) {
  filter: brightness(0.92);
}
a {
  color: inherit;
  text-decoration: none;
}
.masthead {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font: 700 34px var(--serif);
  letter-spacing: -1.5px;
}
.brand span {
  color: #bb8559;
}
.studio-label {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--muted);
}
.studio-label span {
  margin-left: 12px;
  color: var(--ink);
}
.capture-trigger {
  border: 1px solid #bcc2ae;
  border-radius: 30px;
  padding: 11px 19px;
  font-size: 12px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.capture-trigger span {
  font-size: 18px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  min-height: calc(100vh - 120px);
}
.room-workspace {
  position: relative;
  min-height: 770px;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 53% 60%,
    #e1e4d5 0%,
    #eeeee5 54%,
    #f2f1e9 85%
  );
}
.intro {
  position: absolute;
  z-index: 2;
  top: 39px;
  left: 42px;
  pointer-events: none;
}
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin: 0 0 15px;
  color: #747b6a;
}
.intro h1 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -1.8px;
  font-size: clamp(38px, 3.7vw, 57px);
  line-height: 1.06;
  margin: 0;
}
.intro-copy {
  font-size: 12px;
  color: #7a8272;
  margin-top: 15px;
}
.scene-tools {
  position: absolute;
  top: 33px;
  right: 26px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.scene-tools button {
  background: #ffffff82;
  border: 1px solid #ffffffc9;
  border-radius: 20px;
  padding: 9px 12px;
  font-size: 10px;
  backdrop-filter: blur(8px);
}
.scene-tools button[aria-pressed="true"] {
  background: #365c42;
  color: white;
}
#stage {
  position: absolute;
  inset: 0;
  touch-action: none;
}
#stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}
#loading {
  position: absolute;
  top: 48%;
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 24px;
}
.room-caption {
  position: absolute;
  z-index: 2;
  top: 224px;
  left: 43px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.4px;
  pointer-events: none;
}
.room-dot {
  width: 5px;
  height: 5px;
  background: #78946c;
  border-radius: 50%;
}
.caption-details {
  font-weight: 400;
  letter-spacing: 0;
  color: #7c8275;
  margin-left: 7px;
  font-size: 10px;
}
.view-hint {
  position: absolute;
  z-index: 2;
  bottom: 160px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  color: #8a8e80;
  pointer-events: none;
}
.timeline {
  position: absolute;
  bottom: 30px;
  left: 38px;
  right: 38px;
  z-index: 3;
  background: #f8f8f0db;
  backdrop-filter: blur(12px);
  border: 1px solid #fff;
  border-radius: 18px;
  display: flex;
  gap: 26px;
  align-items: center;
  padding: 18px 24px;
  box-shadow: 0 12px 40px #36482f09;
}
.timeline-label {
  display: flex;
  gap: 13px;
  align-items: center;
  flex: 1;
  min-width: 160px;
}
.sun-symbol {
  font-size: 27px;
  color: #b7854b;
}
.timeline-label div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.timeline-label strong {
  font-size: 11px;
  font-weight: 600;
}
.timeline-label div > span {
  font-size: 9px;
  color: #8d9183;
}
.timeline-label button {
  font-size: 11px;
  margin-left: 12px;
  padding: 9px;
  border: 1px solid #dbdecf;
  border-radius: 50%;
  width: 31px;
  height: 31px;
}
.slider-control {
  width: 28%;
  max-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
}
.slider-control > span {
  display: flex;
  justify-content: space-between;
  color: #868c7c;
}
.slider-control b {
  font-weight: 500;
  color: #46563f;
}
.range-extents {
  font-size: 8px;
}
input[type="range"] {
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: #d7ddcc;
  margin: 3px 0;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  background: #7b8c61;
  border: 2px solid #f7f7ef;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #7b8c6150;
}
.inspector {
  border-left: 1px solid var(--line);
  padding: 34px 28px 20px;
  background: #f8f7ef;
  display: flex;
  flex-direction: column;
}
.collection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.collection-heading .eyebrow {
  margin: 0;
}
.collection-heading > span {
  font: italic 20px var(--serif);
  color: #adb39d;
}
.plant-tabs {
  display: flex;
  justify-content: space-between;
  margin: 24px 0 31px;
  gap: 7px;
}
.plant-tab {
  position: relative;
  width: 48px;
  height: 55px;
  border-radius: 12px;
  border: 1px solid #e1e4d6;
  display: grid;
  place-items: center;
  background: #f0f0e5;
}
.plant-tab.active {
  background: #e2e8d7;
  border-color: #9daa89;
}
.plant-tab svg {
  width: 34px;
  height: 39px;
}
.plant-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.plant-title .eyebrow {
  font-size: 8px;
  letter-spacing: 1.3px;
  margin-bottom: 8px;
}
.plant-title h2 {
  font: 400 35px var(--serif);
  letter-spacing: -1px;
  margin: 0;
}
.plant-title > span {
  font: italic 35px var(--serif);
  color: #d0d5c1;
}
.status-line {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #5f7550;
}
.status-line > span:first-child {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #718a54;
}
.plant-description {
  font:
    400 13px/1.75 "DM Sans",
    sans-serif;
  color: #7c8273;
  margin: 19px 0 24px;
  max-width: 290px;
}
.light-facts {
  display: flex;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
  margin-bottom: 25px;
  gap: 28px;
}
.light-facts div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.light-facts span {
  font-size: 9px;
  color: #8b9180;
}
.light-facts strong {
  font-size: 11px;
  font-weight: 500;
}
.year-heading {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin-bottom: 15px;
}
.year-heading span:last-child {
  font-size: 9px;
  color: #89917d;
}
.year-chart {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 82px;
}
.month-bar {
  flex: 1;
  text-align: center;
  min-width: 0;
}
.month-bar i {
  display: block;
  height: var(--bar-height);
  min-height: 8px;
  border-radius: 3px;
  background: var(--bar-color);
  opacity: 0.8;
}
.month-bar.current i {
  opacity: 1;
  box-shadow:
    0 0 0 2px #f8f7ef,
    0 0 0 3px #849073;
}
.month-bar span {
  font-size: 8px;
  display: block;
  color: #8a907f;
  margin-top: 8px;
}
.year-legend {
  display: flex;
  gap: 13px;
  font-size: 7px;
  color: #8b9182;
  margin: 15px 0 28px;
}
.year-legend span {
  display: flex;
  gap: 4px;
  align-items: center;
}
.year-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.good {
  background: #788b5b;
}
.okay {
  background: #cba66c;
}
.poor {
  background: #b78468;
}
.primary-action {
  background: #31543e;
  color: #fff;
  border-radius: 7px;
  padding: 14px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 11px;
}
.primary-action.active {
  background: #a8724e;
}
.microcopy {
  font-size: 9px;
  color: #939787;
  text-align: center;
  line-height: 1.6;
  margin: 10px 0 27px;
}
.finish-section {
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.finish-section > .eyebrow {
  font-size: 8px;
}
.finish-options {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}
.finish {
  padding: 0;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 8px;
  color: #8b907f;
}
.finish i {
  width: 23px;
  height: 23px;
  display: block;
  border-radius: 50%;
  border: 2px solid #f8f7ef;
}
.finish.active i {
  box-shadow: 0 0 0 1px #6b7d57;
}
.finish.active {
  color: #364936;
}
.provenance {
  font-size: 8px;
  line-height: 1.8;
  color: #a0a491;
  margin: 25px 0;
}
.inspector-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
}
.inspector-footer button {
  font-size: 9px;
  color: #788269;
  padding: 3px;
}
.page-footer {
  height: 36px;
  padding: 0 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #9b9f8d;
  font-size: 8px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #2d4c38;
  color: #fff;
  padding: 12px 20px;
  border-radius: 24px;
  font-size: 11px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  max-width: 90%;
  text-align: center;
}
#toast.visible {
  opacity: 1;
}
dialog {
  border: 1px solid #e0e2d4;
  border-radius: 20px;
  background: #f8f7ef;
  color: var(--ink);
  padding: 30px;
  width: min(570px, calc(100% - 30px));
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 100px #14281830;
}
dialog::backdrop {
  background: #24392fc0;
  backdrop-filter: blur(5px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-heading button {
  font-size: 24px;
}
.dialog-heading .eyebrow {
  margin: 0;
}
.dialog-heading + h2 {
  font: 400 37px/1.12 var(--serif);
  letter-spacing: -1px;
  margin: 20px 0 12px;
}
.dialog-intro {
  font-size: 12px;
  color: #8b907e;
  line-height: 1.6;
}
.capture-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin: 26px 0 20px;
}
.capture-tabs button {
  flex: 1;
  padding: 12px;
  font-size: 11px;
  border-bottom: 2px solid transparent;
}
.capture-tabs button[aria-selected="true"] {
  border-color: var(--green);
}
.drop-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px 18px;
  border: 1px dashed #bfc6ad;
  border-radius: 12px;
  background: #eeefe4;
  cursor: pointer;
}
.drop-icon {
  font-size: 28px;
  color: #72815f;
}
.drop-zone strong {
  font-size: 13px;
  font-weight: 500;
}
.drop-zone > span:last-of-type {
  font-size: 10px;
  color: #8c9280;
}
.drop-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.capture-note {
  font-size: 10px;
  line-height: 1.8;
  color: #858d77;
  margin: 17px 0;
}
.capture-flow {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 10px;
}
.capture-flow i {
  color: #a0a58d;
  font-style: normal;
}
.privacy-note {
  text-align: center;
  font-size: 9px;
  color: #a0a690;
  margin: 15px 0 0;
}
video,
#plan-preview {
  width: 100%;
  max-height: 270px;
  object-fit: contain;
  border-radius: 10px;
  margin-top: 15px;
  background: #e9ebe0;
}
#extract-button {
  margin-top: 12px;
}
.frames {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.frames img {
  width: 100%;
  border-radius: 5px;
}
.frames a {
  font-size: 8px;
  text-align: center;
}
.dimension-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 17px;
  font-size: 11px;
}
.dimension-input input {
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 5px;
  width: 80px;
  background: #fff;
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr) 390px;
  }
  .inspector {
    padding: 40px;
  }
  .room-workspace {
    min-height: 850px;
  }
}
@media (max-width: 1150px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .inspector {
    padding: 30px 22px;
  }
  .intro {
    left: 30px;
    top: 40px;
  }
  .intro h1 {
    font-size: 44px;
  }
  .scene-tools {
    top: 32px;
    right: 20px;
    gap: 4px;
  }
  .scene-tools button {
    padding: 8px;
    font-size: 9px;
  }
  .timeline {
    left: 20px;
    right: 20px;
    gap: 14px;
    padding: 15px;
  }
  .timeline-label {
    min-width: 140px;
  }
  .room-caption {
    left: 30px;
  }
  .caption-details {
    display: none;
  }
  .plant-title h2 {
    font-size: 31px;
  }
  .finish-options {
    gap: 8px;
  }
  .finish {
    font-size: 7px;
  }
}
@media (max-width: 800px) {
  .masthead {
    height: 69px;
    padding: 0 22px;
  }
  .brand {
    font-size: 31px;
  }
  .studio-label {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .capture-trigger {
    font-size: 10px;
    padding: 9px 12px;
  }
  .workspace {
    display: block;
  }
  .room-workspace {
    height: 650px;
    min-height: 0;
  }
  .intro {
    top: 28px;
    left: 25px;
  }
  .intro h1 {
    font-size: 39px;
    letter-spacing: -1.2px;
  }
  .intro .eyebrow {
    font-size: 8px;
  }
  .intro-copy {
    font-size: 10px;
    margin-top: 10px;
  }
  .scene-tools {
    top: 190px;
    left: 23px;
    right: auto;
  }
  .scene-tools button {
    font-size: 9px;
    padding: 8px 11px;
  }
  .room-caption {
    top: 169px;
    left: 26px;
  }
  .timeline {
    bottom: 21px;
    left: 20px;
    right: 20px;
    gap: 16px;
    padding: 15px 17px;
    flex-wrap: wrap;
  }
  .timeline-label {
    width: 100%;
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
  .timeline-label button {
    margin-left: auto;
  }
  .timeline-label strong {
    font-size: 11px;
  }
  .timeline-label div > span {
    font-size: 9px;
  }
  .slider-control {
    width: calc(50% - 8px);
    max-width: none;
    gap: 5px;
  }
  .view-hint {
    bottom: 174px;
    font-size: 9px;
  }
  .inspector {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 27px 28px 24px;
  }
  .collection-heading {
    margin-bottom: 0;
  }
  .plant-tabs {
    justify-content: flex-start;
    gap: 12px;
    margin: 19px 0 25px;
  }
  .plant-tab {
    width: 54px;
    height: 57px;
  }
  .plant-title h2 {
    font-size: 36px;
  }
  .plant-description {
    max-width: none;
  }
  .light-facts {
    gap: 50px;
  }
  .year-chart {
    height: 88px;
    gap: 9px;
  }
  .year-legend {
    font-size: 9px;
    gap: 20px;
  }
  .finish-options {
    gap: 22px;
  }
  .finish {
    font-size: 9px;
  }
  .provenance {
    font-size: 9px;
  }
  .inspector-footer button {
    font-size: 11px;
  }
  .page-footer {
    padding: 0 22px;
    font-size: 7px;
  }
  .primary-action {
    font-size: 12px;
  }
  .microcopy {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.room-workspace.touring .intro,
.room-workspace.touring .room-caption {
  visibility: hidden;
}
.room-workspace.touring .view-hint {
  display: none;
}

[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.room-picker select {
  font: inherit;
  font-size: 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #f8f7ef;
  border-radius: 24px;
  padding: 10px 30px 10px 16px;
  max-width: 170px;
}
.plant-label {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
  border-radius: 18px;
  border: 1px solid #8fa084;
  background: #f8f8f0ed;
  color: #31543e;
  box-shadow: 0 3px 16px #253b3220;
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  min-height: 32px;
  touch-action: manipulation;
}
.plant-label::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #759b5c;
  margin-right: 6px;
  vertical-align: 1px;
}
.plant-label.selected {
  color: #fff;
  background: #315841;
  border-color: #315841;
  box-shadow:
    0 0 0 3px #e5efddaa,
    0 4px 14px #253b3229;
}
.plant-label.selected::before {
  background: #d1e2af;
}
.plant-label.hovered,
.plant-label:focus-visible {
  outline: 3px solid #b59858;
  outline-offset: 3px;
}
.room-save {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
#save-room {
  background: var(--green);
  color: #fff;
  padding: 10px 17px;
  border-radius: 20px;
  font-size: 11px;
  white-space: nowrap;
}
#save-status {
  font-size: 8px;
  color: var(--muted);
  max-width: 170px;
  text-align: center;
}
.reference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  max-height: 60vh;
  overflow: auto;
}
.reference-grid figure {
  margin: 0;
}
.reference-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  border-radius: 8px;
}
.reference-grid figcaption {
  font-size: 11px;
  padding: 8px 0;
  color: var(--muted);
}
.inspector-footer {
  flex-wrap: wrap;
  row-gap: 12px;
}
@media (max-width: 650px) {
  .masthead {
    padding-left: 18px;
    padding-right: 18px;
    gap: 10px;
  }
  .room-picker select {
    max-width: 130px;
    padding-left: 10px;
    font-size: 10px;
  }
  .plant-label {
    font-size: 9px;
    min-height: 35px;
    padding: 7px 9px;
  }
  .timeline {
    gap: 10px;
  }
  .room-save {
    max-width: 120px;
  }
  .reference-grid {
    grid-template-columns: 1fr;
  }
}

.plant-leader {
  position: absolute;
  z-index: 4;
  height: 1px;
  background: #7d8c6c;
  transform-origin: 0 50%;
  pointer-events: none;
}

/* The room study is a full-screen design studio. Existing plant tools live in a drawer. */
body { background: #141613; color: #f2eee6; font-family: "Space Grotesk", sans-serif; }
.masthead { position: absolute; inset: 0 0 auto; height: 62px; z-index: 9; border: 0; padding: 0 28px; background: linear-gradient(#11130fe8, transparent); }
.brand { font: 700 28px "Space Grotesk", sans-serif; letter-spacing: -1.7px; }
.room-picker select, .capture-trigger { color: #e9e6dd; border-color: #ffffff35; background: #262822a8; }
.workspace { display: block; min-height: 100vh; }
.room-workspace { height: 100vh; min-height: 730px; background: radial-gradient(ellipse at 52% 55%, #5e584b 0%, #2b2c28 48%, #11130f 100%); }
.room-workspace:before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 52% 48%, transparent 26%, #080a08a8 100%); }
.intro, .room-caption, .timeline, .view-hint, .page-footer { display: none; }
.scene-tools { top: 75px; right: 31px; z-index: 7; }
.scene-tools button { color: #e9e6dd; background: #242620c9; border: 1px solid #ffffff29; border-radius: 5px; padding: 9px 11px; font-size: 10px; }
.scene-tools button[aria-pressed="true"] { background: #ac8057; color: #151611; }
#stage { z-index: 0; }
.studio-panel, .daylight-panel, .sample-tray { position: absolute; z-index: 5; background: #161914dc; border: 1px solid #ffffff20; box-shadow: 0 20px 60px #0008; backdrop-filter: blur(22px); }
.studio-panel { top: 76px; bottom: 116px; left: 22px; width: 292px; overflow: auto; padding: 24px; }
.studio-kicker, .daylight-heading, .studio-board-title, .mood-meters span { color: #abae9f; font-size: 9px; font-weight: 700; letter-spacing: 1.8px; }
.studio-panel h1 { font-size: 31px; line-height: 1; font-weight: 600; letter-spacing: -1.8px; margin: 19px 0 12px; }
.studio-panel h1 span { color: #d4a970; }
.studio-description, .mood-description { color: #b4b6aa; font-size: 11px; line-height: 1.55; }
.studio-presets { display: grid; gap: 7px; margin: 22px 0 25px; }
.studio-presets button { text-align: left; border: 1px solid #ffffff25; border-radius: 5px; padding: 10px 12px; color: #ebe8dc; font-size: 11px; background: #ffffff0c; }
.studio-presets button[aria-pressed="true"] { background: #9a744b39; border-color: #c39c6e; }
.mood-meters { display: grid; gap: 11px; }
.mood-meters div { display: grid; grid-template-columns: 1fr auto; gap: 4px; align-items: center; }
.mood-meters strong { font-size: 13px; }
.mood-meters i { grid-column: 1 / -1; height: 3px; background: #ffffff1c; border-radius: 3px; overflow: hidden; }
.mood-meters b { display: block; height: 100%; background: #d5aa77; transition: width .3s; }
.mood-meters div:nth-child(2) b { background: #cbd3ae; }
.mood-meters div:nth-child(3) b { background: #879297; }
.mood-description { min-height: 35px; margin: 16px 0 22px; }
.studio-board { border-top: 1px solid #ffffff20; padding-top: 17px; }
.studio-board-title { display: flex; justify-content: space-between; margin-bottom: 8px; }
.studio-board-title span:last-child { letter-spacing: 0; text-transform: none; font-weight: 400; }
.studio-board button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 2px; border-bottom: 1px solid #ffffff13; color: #e6e4d9; text-align: left; }
.studio-board button span { color: #9fa296; font-size: 9px; letter-spacing: 1px; }
.studio-board button strong { font-size: 11px; font-weight: 500; }
.studio-board button[aria-pressed="true"] { color: #d9b385; }
.daylight-panel { top: 137px; right: 22px; width: 242px; padding: 17px; }
.daylight-heading { display: flex; justify-content: space-between; }
.daylight-heading strong { color: #eeeae0; font-size: 17px; font-weight: 500; letter-spacing: 0; }
.daylight-previews { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 17px 0 21px; }
.daylight-previews button { display: grid; text-align: left; color: #deded5; border: 1px solid #ffffff25; border-radius: 4px; overflow: hidden; padding-bottom: 5px; }
.daylight-previews button[aria-pressed="true"] { border-color: #d5aa77; }
.daylight-previews i { display: block; height: 48px; margin: -1px -1px 6px; background: linear-gradient(145deg,#7c6549,#c6a476 50%,#393f37 51%,#272922); }
.daylight-previews button:nth-child(2) i { background: linear-gradient(145deg,#b5b7a1,#ede8d3 50%,#777968 51%,#414740); }
.daylight-previews button:nth-child(3) i { background: linear-gradient(145deg,#a15f3d,#e0a576 50%,#4d4037 51%,#252821); }
.daylight-previews button:nth-child(4) i { background: linear-gradient(145deg,#202739,#34485b 50%,#1d242b 51%,#0e161a); }
.daylight-previews span, .daylight-previews small { padding: 0 5px; font-size: 10px; }
.daylight-previews small { color: #9c9e95; }
.daylight-panel label { display: block; font-size: 10px; color: #d5d1c4; }
.daylight-panel input { margin: 15px 0 4px; }
.daylight-panel p { color: #95998d; font-size: 9px; line-height: 1.4; }
.sample-tray { left: 50%; bottom: 20px; transform: translateX(-50%); width: min(620px, calc(100vw - 620px)); min-width: 380px; border-radius: 8px; padding: 12px; }
.sample-tabs { display: flex; gap: 4px; border-bottom: 1px solid #ffffff25; padding-bottom: 8px; }
.sample-tabs button { color: #aeb0a6; padding: 5px 11px; font-size: 10px; }
.sample-tabs button[aria-selected="true"] { color: #f2e9d8; background: #ffffff1d; border-radius: 3px; }
.sample-options { display: flex; align-items: stretch; gap: 8px; overflow-x: auto; padding-top: 10px; }
.sample-options button { min-width: 85px; color: #dedacf; font-size: 9px; text-align: left; }
.sample-options button i { display: block; height: 35px; border-radius: 3px; margin-bottom: 6px; border: 1px solid #ffffff3b; }
.sample-options button[aria-pressed="true"] i { outline: 2px solid #d3aa78; outline-offset: 2px; }
.inspector { position: absolute; z-index: 8; top: 122px; right: 22px; bottom: 20px; width: 350px; overflow: auto; color: #253b32; box-shadow: 0 20px 60px #0008; border-radius: 7px; transform: translateX(calc(100% + 45px)); transition: transform .24s; }
.inspector.open { transform: translateX(0); }
.plant-label { z-index: 3; }
@media (max-width: 1000px) { .studio-panel { width: 230px; padding: 16px; } .daylight-panel { width: 186px; } .sample-tray { width: min(500px, calc(100vw - 470px)); min-width: 300px; } }
@media (max-width: 720px) { .room-workspace { min-height: 900px; height: 100dvh; } .masthead { padding: 0 14px; } .studio-panel { top: 115px; bottom: auto; left: 10px; width: 178px; max-height: 52vh; } .daylight-panel { top: 115px; right: 10px; width: 142px; padding: 10px; } .daylight-previews i { height: 28px; } .sample-tray { bottom: 10px; width: calc(100vw - 20px); min-width: 0; } .scene-tools { top: 67px; right: 8px; left: 8px; flex-wrap: wrap; justify-content: flex-end; } .scene-tools button { padding: 6px; } .inspector { right: 10px; width: min(350px, calc(100vw - 20px)); } }

/* On a phone, the room stays in view while the secondary copy steps aside. */
@media (max-width: 720px) {
  .studio-panel { top: 112px; width: 172px; max-height: none; padding: 12px; }
  .studio-panel h1 { font-size: 19px; margin: 5px 0 10px; }
  .studio-description, .mood-meters, .mood-description, .studio-board { display: none; }
  .studio-presets { display: flex; flex-wrap: wrap; margin: 0; gap: 4px; }
  .studio-presets button { padding: 5px 6px; font-size: 9px; }
  .daylight-panel { top: 112px; padding: 10px; }
  .daylight-previews, .daylight-panel p, .daylight-panel label { display: none; }
  .daylight-panel input { margin: 12px 0 0; width: 100%; }
}

/* The signed-in studio is embedded beneath the product navigation. */
body.account-mode .masthead,
body.account-mode .daylight-panel,
body.account-mode .sample-tray,
body.account-mode .studio-presets,
body.account-mode .mood-meters,
body.account-mode .mood-description,
body.account-mode .studio-board,
body.account-mode #view-button,
body.account-mode #tour-button,
body.account-mode #light-button,
body.account-mode #plant-panel-button,
body.account-mode #room-select,
body.account-mode .capture-trigger,
body.account-mode .inspector { display: none; }
body.account-mode .room-workspace { height: 100dvh; min-height: 520px; }
body.account-mode .studio-panel { top: 18px; bottom: auto; max-height: calc(100% - 96px); }
body.account-mode .scene-tools { top: 20px; }
body.account-mode .studio-panel h1 { overflow-wrap: anywhere; }
.account-status { border-top: 1px solid #ffffff26; margin-top: 22px; padding-top: 15px; color: #d5d9cd; font-size: 11px; line-height: 1.5; }
.account-plants { display: grid; gap: 6px; }
.account-plants button { text-align: left; padding: 8px 10px; border-radius: 4px; color: #f2eee6; background: #ffffff14; }
.account-plants button.selected { background: #9a744b; }
@media (max-width: 720px) {
  body.account-mode .room-workspace { height: 100dvh; min-height: 520px; }
  body.account-mode .studio-panel { top: 60px; left: 10px; width: min(200px, 48vw); max-height: 34vh; padding: 12px; }
  body.account-mode .studio-description { display: block; }
  body.account-mode .scene-tools { top: 10px; right: 10px; left: 10px; }
}
