.planner-page {
  color: #234b39;
  background: #f7f5ef;
  --sp-muted: #53634f;
  --sp-surface: #fffdf8;
  --sp-line: #d2d8cb
}
.planner-page .support-header {
  max-width: 1280px;
  border-bottom: 1px solid #d9d7ce
}
.sp-main {
  max-width: 1280px;
  margin: auto;
  padding: 30px 28px 42px
}
.sp-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  margin-bottom: 27px
}
.sp-eyebrow {
  font: 12px/1.7 "Space Mono",monospace;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin: 0 0 9px;
  color: var(--sp-muted)
}
.sp-intro h1 {
  font-size: 48px;
  letter-spacing: -.04em;
  margin: 0 0 10px;
  color: #234b39
}
.sp-intro p:not(.sp-eyebrow) {
  font-size: 16px;
  color: var(--sp-muted);
  margin: 0
}
.sp-segment {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid #d2d8cb;
  border-radius: 999px;
  background: #fffdf8;
  flex: none
}
.sp-segment button {
  min-height: 44px;
  padding: 9px 17px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4d6653;
  font: 500 14px Inter,system-ui,sans-serif;
  white-space: nowrap
}
.sp-segment button[aria-pressed=true] {
  background: #234b39;
  color: #fff
}
.sp-roles button {
  padding: 11px 20px;
  font-size: 14px;
  min-height: 44px
}
.sp-room {
  background: #fffdf8;
  border: 1px solid #d2d8cb;
  border-radius: 14px;
  padding: 19px 22px;
  display: flex;
  align-items: center;
  gap: 23px;
  margin-bottom: 22px
}
.sp-step {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #cbd5c5;
  border-radius: 50%;
  font: 12px "Space Mono",monospace;
  flex: none
}
.sp-room-title,.sp-library-heading {
  display: flex;
  align-items: center;
  gap: 12px
}
.sp-room-title {
  margin-right: auto
}
.sp-room h2,.sp-library h2 {
  font-size: 19px;
  margin: 0 0 5px;
  letter-spacing: -.035em
}
.sp-room p,.sp-library-heading p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 225px;
  color: var(--sp-muted)
}
.sp-room-inputs {
  display: flex;
  gap: 10px;
  align-items: flex-end
}
.sp-room label>span,.sp-layout-select>span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--sp-muted)
}
.sp-room-inputs label {
  width: 88px
}
.sp-room-inputs label:last-child {
  width: 99px
}
.sp-room-inputs label>div {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5c5;
  border-radius: 7px;
  background: #f8f7f0;
  overflow: hidden
}
.sp-room input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font: 600 16px Inter,system-ui,sans-serif;
  color: #234b39;
  padding: 10px 3px 10px 11px;
  appearance: textfield;
  min-height: 43px
}
.sp-room-inputs label>div>span {
  font-size: 12px;
  color: var(--sp-muted);
  padding-right: 10px
}
.sp-times {
  font-size: 14px;
  color: #8e9986;
  padding-bottom: 11px
}
.sp-unit-select select,.sp-layout-select select,.sp-inspector select {
  max-width: 100%;
  font: 500 16px Inter,system-ui,sans-serif;
  color: #234b39;
  border: 1px solid #cbd5c5;
  border-radius: 7px;
  padding: 11px 27px 11px 10px;
  min-height: 44px;
  background: #fffdf8
}
.sp-room-area {
  border-left: 1px solid #d9dfd1;
  padding-left: 22px;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  gap: 4px
}
.sp-room-area strong {
  font-size: 19px;
  white-space: nowrap;
  font-family: "Bricolage Grotesque",system-ui,sans-serif
}
.sp-room-area span {
  font-size: 12px;
  color: var(--sp-muted)
}
.sp-workspace {
  display: grid;
  grid-template-columns: 312px minmax(0,1fr);
  gap: 22px;
  align-items: start
}
.sp-library {
  background: #fffdf8;
  border: 1px solid #d2d8cb;
  border-radius: 14px;
  overflow: hidden
}
.sp-library-heading {
  padding: 20px 16px 15px
}
.sp-library-heading h2 {
  font-size: 18px
}
.sp-library-heading p {
  font-size: 13px
}
.sp-library-heading .sp-step {
  width: 29px;
  height: 29px
}
.sp-catalogue-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid #ebece2;
  min-height: 72px
}
.sp-catalogue-row[hidden] {
  display: none
}
.sp-catalogue-item {
  border: 0;
  background: none;
  padding: 0;
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
  color: #234b39
}
.sp-item-icon {
  display: block;
  width: 44px;
  height: 44px;
  flex: none
}
.sp-catalogue-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0
}
.sp-catalogue-copy strong {
  font: 600 14px/1.4 Inter,system-ui,sans-serif
}
.sp-catalogue-copy small {
  font: 12px/1.5 Inter,system-ui,sans-serif;
  color: var(--sp-muted);
  white-space: normal;
  font-variant-numeric: tabular-nums
}
.sp-count-controls {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: none
}
.sp-count-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 19px;
  color: #234b39;
  padding: 0;
  min-height: 44px
}
.sp-count-controls button:disabled {
  opacity: .25;
  cursor: default
}
.sp-item-count {
  font: 14px/1.5 "Space Mono",monospace;
  min-width: 25px;
  text-align: center
}
.sp-count-controls button:last-child {
  background: #e9efdf;
  border: 1px solid #d5dfca;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  margin-left: 3px;
  min-height: 44px
}
.sp-catalogue-row.is-active {
  background: #f0f3e7
}
.sp-library-bottom {
  padding: 17px 16px 19px;
  border-top: 1px solid #dde3d4;
  display: grid;
  gap: 17px
}
.sp-stacking {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--sp-muted);
  cursor: pointer;
  min-height: 44px
}
.sp-stacking input {
  width: 16px;
  height: 16px;
  accent-color: #234b39;
  margin: 0
}
.sp-layout-select select {
  width: 100%;
  font-size: 12px
}
.sp-plan-column {
  min-width: 0
}
.sp-canvas-card {
  background: #fffdf8;
  border: 1px solid #d2d8cb;
  border-radius: 14px;
  overflow: hidden
}
.sp-canvas-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 17px;
  border-bottom: 1px solid #e5e8dd
}
.sp-views button {
  min-height: 44px;
  padding: 7px 13px;
  font-size: 14px
}
.sp-room-measure {
  font: 12px "Space Mono",monospace;
  color: #5b7058;
  white-space: nowrap
}
.sp-canvas-wrap {
  position: relative;
  background: radial-gradient(ellipse at 55% 45%,#f2f2e7,#fffdf8 75%)
}
.sp-canvas {
  width: 100%;
  height: 390px;
  touch-action: pan-y;
  overflow: hidden;
  position: relative;
  outline: none;
  user-select: none;
  -webkit-user-select: none
}
.sp-drawing {
  width: 100%;
  height: 100%;
  display: block
}
.sp-object {
  cursor: grab;
  outline: none;
  touch-action: none
}
.sp-object:active {
  cursor: grabbing
}
.sp-object.is-selected {
  filter: drop-shadow(0 2px 2px #345b422b)
}
.sp-object:focus-visible {
  filter: drop-shadow(0 0 3px #b95331)
}
.sp-canvas-tip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 20px 18px;
  font-size: 13px;
  color: var(--sp-muted);
  line-height: 1.6;
  flex-wrap: wrap
}
.sp-tip-dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: #8ba17b
}
.sp-add-mobile {
  display: none;
  font-size: 14px
}
.sp-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.65fr;
  border-top: 1px solid #e1e5d7;
  background: #f5f5eb
}
.sp-stats>div {
  padding: 14px 19px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid #dfe4d6
}
.sp-stats>div:last-child {
  border-right: 0
}
.sp-stats span {
  font-size: 12px;
  color: var(--sp-muted)
}
.sp-stats strong {
  font: 600 22px/1.1 "Bricolage Grotesque",system-ui,sans-serif;
  letter-spacing: -.025em
}
.sp-fit-stat strong {
  font-size: 17px;
  line-height: 1.4
}
.sp-fit-stat.is-warning strong {
  color: #b14d34
}
.sp-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 17px 0 0
}
.sp-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #cbd5c5;
  border-radius: 8px;
  background: #fffdf8;
  color: #234b39;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: 500 14px Inter,system-ui,sans-serif
}
.sp-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  flex: none
}
.sp-primary {
  background: #234b39;
  border-color: #234b39;
  color: #fffdf0
}
.sp-primary:hover {
  background: #35634a
}
.sp-text-button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--sp-muted);
  font: 500 14px Inter,system-ui,sans-serif;
  padding: 8px
}
.sp-text-button:disabled {
  opacity: .35;
  cursor: default
}
.sp-status {
  font-size: 14px;
  line-height: 1.65;
  margin: 9px 0 0;
  min-height: 23px;
  color: #4a694c
}
.sp-unplaced {
  border: 1px solid #dfc6b5;
  border-radius: 8px;
  background: #fbefe4;
  padding: 12px 15px;
  margin: 12px 0;
  font-size: 12px;
  line-height: 1.7;
  color: #96533d
}
.sp-unplaced button {
  font: inherit;
  border: 0;
  border-bottom: 1px solid #b4856d;
  padding: 2px 0;
  margin: 0 10px 0 0;
  background: transparent;
  color: #96533d
}
.sp-inspector {
  margin-top: 17px;
  padding: 20px;
  background: #fffdf8;
  border: 1px solid #d2d8cb;
  border-radius: 12px
}
.sp-inspector-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 17px
}
.sp-inspector-title .sp-eyebrow {
  font-size: 12px;
  margin-bottom: 4px
}
.sp-inspector-title h2 {
  font-size: 21px;
  margin: 0
}
.sp-inspector select {
  font-size: 16px;
  max-width: 215px;
  min-width: 0;
  min-height: 44px
}
.sp-item-fields {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 11px
}
.sp-item-fields label {
  font-size: 12px;
  color: var(--sp-muted);
  min-width: 0
}
.sp-item-fields label span {
  display: block;
  margin-bottom: 5px
}
.sp-item-fields input {
  font: 500 16px Inter,system-ui,sans-serif;
  min-height: 40px;
  width: 100%;
  min-width: 0;
  color: #234b39;
  border: 1px solid #d1dac9;
  border-radius: 6px;
  background: #f7f7ef;
  padding: 9px
}
.sp-item-fields input:disabled {
  opacity: .45
}
.sp-item-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 13px
}
.sp-small-button {
  min-height: 44px;
  border: 1px solid #d4ddcd;
  border-radius: 6px;
  background: #f4f6ed;
  color: #3c5d40;
  font: 500 14px Inter,system-ui,sans-serif;
  padding: 8px 12px
}
.sp-nudge {
  display: flex;
  gap: 2px
}
.sp-nudge button {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #d4ddcd;
  border-radius: 5px;
  color: #456747;
  background: #fffdf8;
  font-size: 15px
}
.sp-remove {
  margin-left: auto;
  color: #a35c42
}
.sp-item-note {
  font-size: 13px;
  color: var(--sp-muted);
  line-height: 1.7;
  margin: 11px 0 0
}
.sp-item-note.has-issue {
  color: #a9553c
}
.sp-estimate-note {
  font-size: 14px;
  color: var(--sp-muted);
  line-height: 1.8;
  margin: 16px 0 0
}
.sp-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #d5ddcb;
  padding-top: 22px;
  margin-top: 32px;
  font-size: 12px
}
.sp-bottom a {
  text-decoration: none
}
.sp-bottom a:hover {
  text-decoration: underline
}
.sp-form-error {
  font-size: 14px;
  color: #813f2d;
  margin: -9px 0 20px;
  padding: 12px 16px;
  background: #fff0e8;
  border: 1px solid #d9b4a1;
  border-radius: 10px;
  line-height: 1.6
}
.sp-empty-canvas {
  display: grid;
  place-content: center;
  height: 100%;
  text-align: center;
  padding: 30px;
  color: #587452
}
.sp-empty-canvas strong {
  font: 600 27px "Bricolage Grotesque",system-ui,sans-serif
}
.sp-empty-canvas p {
  font-size: 14px;
  color: var(--sp-muted);
  max-width: 340px;
  margin: 12px auto
}
.sp-note {
  padding: 20px;
  border: 1px solid #d2d8cb;
  background: #fffdf8;
  border-radius: 12px
}
.planner-page input:focus-visible,.planner-page select:focus-visible {
  outline: 2px solid #b95331;
  outline-offset: 2px
}
@media(max-width:1100px) {
  .sp-room {
    flex-wrap: wrap;
    gap: 18px
  }
  .sp-room-title {
    flex-basis: 100%;
    margin-bottom: 2px
  }
  .sp-room-inputs {
    margin-right: auto
  }
  .sp-workspace {
    grid-template-columns: 280px minmax(0,1fr);
    gap: 16px
  }
  .sp-catalogue-row {
    padding-left: 8px;
    padding-right: 8px;
    padding: 10px 12px;
    min-height: 72px
  }
  .sp-item-icon {
    width: 44px;
    height: 44px
  }
  .sp-canvas {
    height: 365px
  }
  .sp-room-measure {
    font-size: 12px
  }
  .sp-canvas-toolbar {
    padding: 12px
  }
  .sp-room-area {
    min-width: 110px
  }
  .sp-catalogue-copy small {
    font-size: 12px;
    white-space: normal;
    font-variant-numeric: tabular-nums
  }
}
@media(max-width:850px) {
  .sp-plan-column {
    order: 1;
    width: 100%
  }
  .sp-library {
    order: 2;
    width: 100%
  }
  #plannerCatalogue {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr))
  }
  .sp-add-mobile {
    display: inline-flex;
    align-items: center;
    min-height: 44px
  }
  .sp-main {
    padding: 26px 20px 35px
  }
  .sp-intro {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 17px
  }
  .sp-intro h1 {
    font-size: 42px;
    letter-spacing: -.04em
  }
  .sp-intro>div:first-child {
    flex: 1;
    min-width: 270px
  }
  .sp-intro p:not(.sp-eyebrow) {
    font-size: 16px
  }
  .sp-roles {
    margin-top: 6px
  }
  .sp-workspace {
    display: flex;
    flex-direction: column
  }
  .sp-canvas-toolbar {
    flex-wrap: wrap;
    gap: 9px
  }
  .sp-canvas {
    height: 330px
  }
  .sp-library-heading .sp-step {
    display: none
  }
  .sp-catalogue-item {
    gap: 3px
  }
  .sp-item-icon {
    width: 44px;
    height: 44px
  }
  .sp-count-controls button {
    width: 44px;
    height: 44px;
    min-height: 44px
  }
  .sp-count-controls button:last-child {
    width: 44px;
    height: 44px;
    min-height: 44px
  }
  .sp-catalogue-copy strong {
    font-size: 14px
  }
  .sp-catalogue-copy small {
    font-size: 12px;
    white-space: normal;
    font-variant-numeric: tabular-nums
  }
  .sp-stats>div {
    padding: 13px 10px
  }
  .sp-stats span {
    font-size: 12px
  }
  .sp-fit-stat strong {
    font-size: 14px
  }
  .sp-item-fields {
    grid-template-columns: repeat(3,minmax(0,1fr))
  }
  .sp-inspector {
    padding: 16px
  }
  .sp-inspector-title {
    align-items: flex-start;
    flex-wrap: wrap
  }
  .sp-inspector select {
    max-width: 100%;
    width: 100%;
    font-size: 16px;
    min-height: 44px
  }
  .sp-room-area {
    min-width: auto
  }
  .sp-room-title p {
    max-width: none
  }
}
@media(max-width:620px) {
  #plannerCatalogue {
    display: block
  }
  .sp-times {
    display: none
  }
  .sp-actions>.sp-button {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    white-space: normal
  }
  .sp-actions>.sp-button span {
    min-width: 0
  }
  .sp-main {
    padding: 24px 16px 30px
  }
  .sp-intro {
    margin-bottom: 20px;
    gap: 16px
  }
  .sp-intro h1 {
    font-size: 39px;
    letter-spacing: -.04em
  }
  .sp-intro p:not(.sp-eyebrow) {
    font-size: 16px;
    max-width: 340px;
    line-height: 1.8
  }
  .sp-eyebrow {
    font-size: 12px
  }
  .sp-roles {
    margin-top: 0
  }
  .sp-roles button {
    font-size: 14px;
    padding: 8px 17px;
    min-height: 44px
  }
  .sp-room {
    padding: 17px 15px;
    gap: 15px;
    margin-bottom: 18px
  }
  .sp-room-title {
    gap: 9px
  }
  .sp-room h2 {
    font-size: 18px
  }
  .sp-room p {
    font-size: 14px
  }
  .sp-room .sp-step {
    width: 28px;
    height: 28px
  }
  .sp-room-inputs {
    width: 100%;
    gap: 8px;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    align-items: end
  }
  .sp-room-inputs label,.sp-room-inputs label:last-child {
    flex: 1;
    width: auto;
    min-width: 0
  }
  .sp-room-inputs input {
    padding-left: 9px;
    font-size: 16px
  }
  .sp-room-inputs label>div>span {
    padding-right: 7px;
    font-size: 12px
  }
  .sp-room label>span {
    font-size: 12px
  }
  .sp-unit-select {
    display: flex;
    align-items: center;
    gap: 11px
  }
  .sp-unit-select>span {
    margin: 0
  }
  .sp-unit-select select {
    font-size: 16px;
    padding: 9px 26px 9px 9px;
    min-height: 44px
  }
  .sp-room-area {
    margin-left: auto;
    border-left: 0;
    padding-left: 0;
    flex-direction: row;
    align-items: center;
    gap: 9px
  }
  .sp-room-area strong {
    font-size: 18px
  }
  .sp-room-area span {
    font-size: 12px
  }
  .sp-workspace {
    display: flex;
    flex-direction: column;
    gap: 22px
  }
  .sp-plan-column {
    order: 1;
    width: 100%
  }
  .sp-library {
    order: 2;
    width: 100%;
    scroll-margin-top: 20px
  }
  .sp-library-heading {
    padding: 18px 16px
  }
  .sp-library-heading h2 {
    font-size: 19px
  }
  .sp-library-heading p {
    font-size: 13px
  }
  .sp-library-heading .sp-step {
    display: inline-grid
  }
  .sp-catalogue-row {
    padding: 10px 12px;
    min-height: 72px
  }
  .sp-catalogue-copy strong {
    font-size: 14px
  }
  .sp-catalogue-copy small {
    font-size: 12px;
    white-space: normal;
    font-variant-numeric: tabular-nums
  }
  .sp-catalogue-item {
    gap: 12px
  }
  .sp-item-icon {
    width: 44px;
    height: 44px
  }
  .sp-count-controls {
    gap: 3px
  }
  .sp-count-controls button,.sp-count-controls button:last-child {
    width: 44px;
    height: 44px;
    min-height: 44px
  }
  .sp-item-count {
    font-size: 14px;
    min-width: 25px
  }
  .sp-stacking {
    font-size: 14px;
    min-height: 44px
  }
  .sp-library-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
  }
  .sp-stacking {
    grid-column: 1/-1;
    font-size: 14px;
    min-height: 44px
  }
  .sp-layout-select {
    min-width: 0
  }
  .sp-layout-select>span {
    font-size: 12px
  }
  .sp-canvas-toolbar {
    padding: 12px;
    gap: 12px;
    flex-wrap: wrap
  }
  .sp-room-measure {
    font-size: 12px
  }
  .sp-views {
    width: 100%;
    justify-content: center
  }
  .sp-views button {
    flex: 1;
    font-size: 14px;
    min-height: 44px
  }
  .sp-canvas {
    height: 320px
  }
  .sp-canvas-tip {
    padding: 0 13px 13px;
    font-size: 13px;
    gap: 5px;
    flex-wrap: wrap
  }
  .sp-add-mobile {
    display: inline-block;
    margin-left: auto;
    white-space: nowrap;
    font-weight: 600;
    color: #477044;
    font-size: 14px
  }
  .sp-stats {
    grid-template-columns: .85fr .85fr 1.7fr
  }
  .sp-stats>div {
    padding: 13px 10px;
    gap: 7px
  }
  .sp-stats span {
    font-size: 12px
  }
  .sp-stats strong {
    font-size: 22px
  }
  .sp-fit-stat strong {
    font-size: 13px;
    line-height: 1.6
  }
  .sp-actions {
    gap: 8px;
    align-items: stretch
  }
  .sp-button {
    font-size: 14px;
    padding: 10px 12px;
    min-height: 44px
  }
  .sp-text-button {
    font-size: 14px;
    padding: 7px;
    min-height: 44px
  }
  .sp-inspector {
    margin-top: 12px;
    padding: 16px
  }
  .sp-inspector-title {
    gap: 12px
  }
  .sp-inspector-title>div {
    min-width: 0
  }
  .sp-inspector-title h2 {
    font-size: 20px
  }
  .sp-inspector-title .sp-eyebrow {
    font-size: 12px
  }
  .sp-inspector select {
    min-height: 44px;
    font-size: 16px
  }
  .sp-item-fields {
    gap: 10px
  }
  .sp-item-fields label {
    font-size: 12px
  }
  .sp-item-fields input {
    font-size: 16px
  }
  .sp-item-tools {
    gap: 8px
  }
  .sp-small-button {
    font-size: 14px;
    min-height: 44px
  }
  .sp-nudge button {
    min-height: 44px;
    width: 44px
  }
  .sp-remove {
    margin-left: 0
  }
  .sp-estimate-note {
    font-size: 14px
  }
  .sp-bottom {
    margin-top: 25px;
    padding-top: 19px;
    font-size: 12px
  }
  .sp-bottom a {
    line-height: 1.7;
    max-width: 160px
  }
  .planner-page .support-header nav {
    gap: 18px;
    font-size: 12px
  }
}
@media(prefers-reduced-motion:reduce) {
  .sp-object {
    filter: none;
    touch-action: none
  }
}
.sp-focus-button {
  margin-left: auto;
  white-space: nowrap;
  min-height: 44px
}
.sp-focus-button[aria-pressed=true] {
  background: #e9c6ad;
  border-color: #cc9b7a;
  color: #75442e
}
.sp-focus-button:disabled {
  opacity: .4;
  cursor: default
}
@media(max-width:620px) {
  .sp-focus-button {
    margin-left: 0;
    min-height: 44px
  }
  .sp-room-measure {
    margin-left: auto
  }
}
/* Long role labels reflow within narrow phone widths in both languages. */
@media(max-width:620px) {
  .sp-roles {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%
  }
  .sp-roles button {
    flex: 1;
    min-width: 0;
    white-space: normal;
    line-height: 1.5;
    min-height: 44px;
    font-size: 14px
  }
}
.planner-page button {
  touch-action: manipulation
}
.planner-page input[aria-invalid="true"] {
  border: 2px solid #9d4427
}
.sp-position-controls {
  margin-top: 14px
}
.sp-position-controls summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--green);
  justify-content: space-between;
  gap: 12px
}
.sp-position-controls .sp-item-fields {
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin-top: 8px
}
.sp-canvas-tip>span:nth-child(2) {
  flex: 1 1 180px
}
.sp-stats strong,.sp-room-area strong {
  font-variant-numeric: tabular-nums
}

.sp-position-controls summary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex: none;
}
.sp-position-controls[open] summary svg {
  transform: rotate(180deg);
}
