/* Furniture stays within reach, including in browser full screen. */
#kayleigh-room-model .kr-furniture-tools {
  grid-area: view;
  position: relative;
  align-self: start;
  justify-self: start;
  z-index: 11;
  margin: 10px;
  max-width: calc(100% - 20px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
  color: #29362b;
  font: 12px/1.35 system-ui, sans-serif;
}
#kayleigh-room-model .kr-furniture-shortcuts { display: flex; gap: 5px; flex-wrap: wrap; }
#kayleigh-room-model :is(.kr-furniture-tools, .kr-furniture-picker) button {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #cbd2c5;
  border-radius: 11px;
  color: #29362b;
  background: #fbfaf5;
  font: 600 13px/1.25 system-ui, sans-serif;
  touch-action: manipulation;
  cursor: pointer;
  pointer-events: auto;
}
#kayleigh-room-model .kr-furniture-shortcut { box-shadow: 0 2px 12px #1b25141f; }
#kayleigh-room-model .kr-furniture-tap-hint {
  align-self: flex-start;
  padding: 3px 7px;
  border-radius: 5px;
  color: #465241;
  background: #faf9f0e8;
  font-size: 11px;
}
#kayleigh-room-model .kr-app-view .kr-furniture-tools {
  position: absolute;
  top: calc(max(12px, env(safe-area-inset-top)) + var(--kr-toolbar-height, 44px) + 8px);
  left: max(12px, env(safe-area-inset-left));
  margin: 0;
  max-width: calc(100% - 24px);
}
#kayleigh-room-model .kr-app-view:has(.kr-app-status:not([hidden])) .kr-furniture-tools { top: calc(max(12px, env(safe-area-inset-top)) + var(--kr-toolbar-height, 44px) + 68px); }
#kayleigh-room-model .kr-app-view .kr-furniture-tools .kr-products-open { display:none; }
#kayleigh-room-model .kr-app-view .kr-furniture-tools .kr-furniture-shortcut-lightSwitch { display:none; }
#kayleigh-room-model :is(.kr-settings-open, .kr-picker-open) > .kr-furniture-tools { visibility: hidden; }

#kayleigh-room-model .kr-picker-backdrop {
  position: absolute;
  z-index: 34;
  inset: 0;
  background: #15281a12;
  touch-action: none;
  pointer-events: none;
}
#kayleigh-room-model .kr-furniture-picker {
  --kr-picker-shape: #d9d7c9;
  --kr-picker-detail: #c3c9b7;
  position: absolute;
  z-index: 35;
  top: calc(var(--kr-ui-top, 0px) + max(12px, env(safe-area-inset-top)));
  right: calc(100% - var(--kr-ui-left, 0px) - var(--kr-ui-width, 100%) + max(12px, env(safe-area-inset-right)));
  bottom: auto;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(var(--kr-ui-width, 100%) - max(12px, env(safe-area-inset-left)) - max(12px, env(safe-area-inset-right))));
  height: calc(var(--kr-ui-height, 100%) - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  border: 1px solid #cbd2c5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 50px #17221c36;
  background: #f9f8f2;
  color: #29362b;
  font: 13px/1.4 system-ui, sans-serif;
  touch-action: pan-y;
}
#kayleigh-room-model .kr-picker-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 8px; flex-shrink: 0; min-width: 0; }
#kayleigh-room-model .kr-picker-header h2 { min-width: 0; overflow-wrap: anywhere; margin: 0; color: inherit; font: 650 19px/1.25 system-ui, sans-serif; }
#kayleigh-room-model .kr-picker-header h2 { flex: 1; }
#kayleigh-room-model .kr-furniture-picker .kr-picker-drawer-toggle { display: none; }
#kayleigh-room-model .kr-furniture-picker .kr-picker-random { flex-shrink: 0; background: #e4eadb; border-color: #a7b59a; }
#kayleigh-room-model .kr-furniture-picker button:disabled { opacity: .5; cursor: default; }
#kayleigh-room-model .kr-furniture-picker .kr-picker-done { flex-shrink: 0; background: #526647; color: #fffef8; border-color: #526647; }
#kayleigh-room-model .kr-picker-rotation { display: flex; align-items: center; gap: 6px; flex-shrink: 0; min-width: 0; padding: 0 14px 8px; flex-wrap: wrap; }
#kayleigh-room-model .kr-picker-rotation-label { flex: 1; min-width: 0; color: #526148; font-size: 12px; font-weight: 600; }
#kayleigh-room-model .kr-picker-rotation-angle { min-width: 46px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
#kayleigh-room-model .kr-picker-rotation button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 8px; background: #e0e6d8; border-color: #a6b69b; }
#kayleigh-room-model .kr-picker-rotation button svg { display: block; width: 24px; height: 24px; }
#kayleigh-room-model .kr-picker-rotation .kr-picker-straighten { width: auto; flex: 0 0 auto; padding: 8px 10px; font-size: 12px; font-weight: 600; }
#kayleigh-room-model .kr-picker-rotation-feedback { flex-shrink: 0; margin: 0; padding: 0 14px 10px; color: #8a3b2a; font-size: 12px; line-height: 1.4; }
#kayleigh-room-model .kr-picker-body {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scroll-padding-block: 8px;
}
#kayleigh-room-model .kr-picker-categories { display: flex; gap: 5px; flex-wrap: wrap; min-width: 0; padding: 0 14px 5px; }
#kayleigh-room-model .kr-picker-categories button { padding: 6px 9px; white-space: nowrap; font-size: 11px; border-radius: 9px; }
#kayleigh-room-model .kr-picker-categories button[aria-pressed="true"] { background: #e0e6d8; border-color: #8a9b7b; }
#kayleigh-room-model .kr-picker-help { margin: 3px 14px 10px; flex-shrink: 0; color: #65715c; font: 11px/1.4 system-ui, sans-serif; }
#kayleigh-room-model .kr-picker-finishes { margin: 6px 14px 12px; min-width: 0; }
#kayleigh-room-model .kr-picker-finish-label { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 650; }
#kayleigh-room-model .kr-picker-finish-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
#kayleigh-room-model .kr-picker-finish-swatch { display: block; width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid #bac3b2; border-radius: 7px; overflow: hidden; }
#kayleigh-room-model .kr-picker-finish-swatch img { display: block; width: 100%; height: 100%; object-fit: cover; }
#kayleigh-room-model .kr-furniture-picker :is(.kr-picker-finish-select, .kr-picker-finish-search) { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 9px 10px; border: 1px solid #bbc5b2; border-radius: 9px; color: #29362b; background: #fffef9; font: 14px/1.3 system-ui, sans-serif; }
#kayleigh-room-model .kr-furniture-picker .kr-picker-finish-search { margin-bottom: 6px; }
#kayleigh-room-model .kr-picker-finish-note { margin: 5px 0 0; color: #65715c; font-size: 11px; line-height: 1.4; }
#kayleigh-room-model .kr-picker-finishes .kr-picker-finish-source { display: inline-block; padding-block: 5px; color: #435d32; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
#kayleigh-room-model .kr-picker-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 2px 14px 14px;
}
#kayleigh-room-model .kr-furniture-picker .kr-picker-option {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  min-width: 0;
  padding: 8px;
  text-align: left;
  color: #425139;
  background: #fffef9;
  font-size: 12px;
  font-weight: 500;
  box-shadow: none;
}
#kayleigh-room-model .kr-picker-option > :is(svg, img) { width: 100%; height: 76px; margin: 0; background: #f2f2e9; border-radius: 6px; flex-shrink: 0; }
#kayleigh-room-model .kr-picker-option > img { object-fit: contain; background: #fff; }
#kayleigh-room-model .kr-picker-name { color: #2e392a; overflow-wrap: anywhere; flex: 1; line-height: 1.35; }
#kayleigh-room-model .kr-picker-dimensions { color: #65715c; font-size: 10px; font-variant-numeric: tabular-nums; font-weight: 400; }
#kayleigh-room-model .kr-picker-selected { font-size: 10px; font-weight: 650; color: #6c785f; }
#kayleigh-room-model .kr-picker-option[aria-pressed="true"] { background: #eef2e6; border-color: #657d50; box-shadow: inset 0 0 0 1px #657d50; }
#kayleigh-room-model .kr-picker-option[aria-pressed="true"] .kr-picker-selected { color: #405b2a; }
#kayleigh-room-model .kr-picker-option[aria-pressed="true"] .kr-picker-selected::before { content: '✓ '; }
#kayleigh-room-model .kr-picker-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; justify-content: space-between; min-width: 0; min-height: 44px; padding: 8px 14px; border-top: 1px solid #dce0d3; }
#kayleigh-room-model .kr-picker-feedback { flex: 1 1 140px; min-width: 0; color: #526148; font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
#kayleigh-room-model .kr-picker-source { color: #435d32; flex-shrink: 0; padding: 10px 0; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
#kayleigh-room-model .kr-picker-comparison { display: flex; gap: 8px; flex-shrink: 0; padding: 9px 14px; border-top: 1px solid #dce0d3; background: #f9f8f2; }
#kayleigh-room-model .kr-picker-comparison button { flex: 1 1 0; min-width: 0; padding-inline: 8px; font-size: 12px; }
#kayleigh-room-model .kr-picker-comparison .kr-picker-compare { background: #e0e6d8; border-color: #8a9b7b; }
#kayleigh-room-model .kr-picker-compare[aria-pressed="true"] { box-shadow: inset 0 0 0 1px #657d50; }
#kayleigh-room-model :is(.kr-furniture-tools, .kr-furniture-picker) :is(button, a, input, select):focus-visible { outline: 3px solid #668c50; outline-offset: 2px; }
#kayleigh-room-model :is(.kr-furniture-picker, .kr-picker-backdrop, .kr-picker-source, .kr-picker-finish-source, .kr-picker-comparison, .kr-picker-finishes, .kr-picker-finish-search, .kr-picker-finish-row, .kr-picker-finish-swatch, .kr-picker-finish-label)[hidden] { display: none; }
@media (hover: hover) {
  #kayleigh-room-model .kr-picker-option:hover { border-color: #81956f; }
  #kayleigh-room-model .kr-furniture-shortcut:hover { background: #e8eddf; }
}
@media (max-width: 760px) {
  /* Room switching is already a primary app action. Give the limited sheet
     height to category choices and product previews. */
  #kayleigh-room-model .kr-picker-rooms { display: none; }
  #kayleigh-room-model .kr-picker-help { display: none; }
  #kayleigh-room-model .kr-furniture-picker {
    top: auto;
    bottom: calc(100% - var(--kr-ui-top, 0px) - var(--kr-ui-height, 100%));
    right: calc(100% - var(--kr-ui-left, 0px) - var(--kr-ui-width, 100%));
    width: var(--kr-ui-width, 100%);
    /* Leave two fifths of the visible room above the comparison sheet. */
    height: min(60vh, calc(var(--kr-ui-height, 100vh) * .60));
    height: min(60dvh, calc(var(--kr-ui-height, 100dvh) * .60));
    border-radius: 18px 18px 0 0;
    padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }
  #kayleigh-room-model .kr-picker-header { padding-top: 8px; }
  #kayleigh-room-model .kr-furniture-picker :is(.kr-picker-finish-select, .kr-picker-finish-search) { font-size: 16px; }
  #kayleigh-room-model .kr-picker-option > :is(svg, img) { height: 66px; }
  #kayleigh-room-model .kr-picker-footer { padding-block: 3px; }
}
@media (max-width: 480px) {
  #kayleigh-room-model .kr-picker-header { gap: 6px; padding-inline: 10px; }
  #kayleigh-room-model .kr-picker-header h2 { font-size: 16px; }
  #kayleigh-room-model .kr-picker-header button { padding-inline: 9px; }
  #kayleigh-room-model .kr-picker-categories { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  #kayleigh-room-model .kr-picker-categories button { flex-shrink: 0; }
  #kayleigh-room-model .kr-furniture-shortcut-chair { display: none; }
  #kayleigh-room-model .kr-furniture-tools button { font-size: 12px; padding-inline: 11px; }
}
@media (max-width: 340px) {
  #kayleigh-room-model .kr-picker-options { grid-template-columns: minmax(0, 1fr); }
}
@media (max-height: 560px) and (max-width: 760px) and (orientation: landscape) {
  /* A side sheet keeps the room visible when there is little vertical space. */
  #kayleigh-room-model .kr-furniture-picker {
    width: min(380px, calc(var(--kr-ui-width, 100vw) * .55));
    height: var(--kr-ui-height, 100dvh);
    border-radius: 18px 0 0 18px;
  }
  #kayleigh-room-model .kr-picker-categories { padding-bottom: 2px; }
  #kayleigh-room-model .kr-picker-header { padding-block: 5px; }
  #kayleigh-room-model .kr-picker-footer { min-height: 32px; }
}
@media (prefers-reduced-motion: no-preference) {
  #kayleigh-room-model .kr-furniture-picker:not([hidden]) { animation: kr-picker-enter .16s ease-out; }
  #kayleigh-room-model .kr-picker-option { transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
}
@keyframes kr-picker-enter { from { opacity: 0; } to { opacity: 1; } }

/* Visual retailer finishes: generous touch targets, readable names, selected tick. */
#kayleigh-room-model .kr-picker-finish-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:10px; }
#kayleigh-room-model .kr-furniture-picker .kr-picker-finish-tile { display:flex; flex-direction:column; gap:5px; align-items:stretch; min-width:0; padding:5px; border:2px solid transparent; border-radius:10px; background:transparent; color:#29362b; cursor:pointer; }
#kayleigh-room-model .kr-furniture-picker .kr-picker-finish-tile[aria-pressed="true"] { border-color:#435d32; background:#edf1e7; }
#kayleigh-room-model .kr-picker-finish-tile:focus-visible { outline:3px solid #435d32; outline-offset:2px; }
#kayleigh-room-model .kr-picker-finish-chip { position:relative; display:grid; place-items:center; height:48px; border:1px solid #b7b9ae; border-radius:7px; overflow:hidden; background:#ecebe4; font-size:24px; }
#kayleigh-room-model .kr-picker-finish-chip img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; }
#kayleigh-room-model .kr-picker-finish-check { position:absolute; right:3px; bottom:3px; display:grid; place-items:center; width:20px; height:20px; border-radius:50%; background:#fff; color:#29362b; font-size:14px; box-shadow:0 1px 4px #0003; }
#kayleigh-room-model .kr-picker-finish-caption { font-size:11px; line-height:1.25; overflow-wrap:anywhere; text-align:center; }
#kayleigh-room-model .kr-furniture-picker .kr-picker-finish-more { width:100%; min-height:44px; margin-top:8px; border:1px solid #bbc5b2; border-radius:8px; background:#fffef9; color:#435d32; }
#kayleigh-room-model :is(.kr-picker-finish-grid,.kr-picker-finish-more)[hidden] { display:none; }
@media(max-width:360px) { #kayleigh-room-model .kr-picker-finish-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }

#kayleigh-room-model .kr-furniture-picker .kr-picker-furniture-search { box-sizing:border-box; width:calc(100% - 28px); margin:0 14px 10px; min-height:44px; padding:10px; border:1px solid #bbc5b2; border-radius:9px; background:#fffef9; color:#29362b; font:16px/1.3 system-ui,sans-serif; }
#kayleigh-room-model .kr-picker-option[hidden] { display:none; }

/* A room-led collection with product photos and quiet sage accents. */
#kayleigh-room-model .kr-picker-rooms {display:flex;gap:4px;margin:2px 14px 10px;padding:4px;background:#ebece2;border-radius:12px;}
#kayleigh-room-model .kr-picker-rooms button {flex:1;min-width:0;border:0;background:transparent;padding:7px 4px;font-size:11px;}
#kayleigh-room-model .kr-picker-rooms button[aria-pressed="true"] {background:#fffefa;box-shadow:0 1px 5px #27331b15;}
#kayleigh-room-model .kr-picker-modes {display:flex;gap:8px;margin:5px 14px 10px;border-bottom:1px solid #dce0d3;}
#kayleigh-room-model .kr-picker-modes button {flex:1;border:0;border-radius:0;background:transparent;font-size:12px;color:#77806e;}
#kayleigh-room-model .kr-picker-modes button[aria-pressed="true"] {color:#31452b;box-shadow:inset 0 -2px #526647;}
#kayleigh-room-model .kr-picker-current {margin:4px 14px 12px;font-size:13px;font-weight:650;}
#kayleigh-room-model .kr-picker-price {font-size:12px;color:#31452b;font-weight:650;}
#kayleigh-room-model .kr-picker-owned {font-size:10px;color:#65715c;}
#kayleigh-room-model .kr-picker-detail {font-size:10px;line-height:1.4;color:#69715f;}
#kayleigh-room-model .kr-picker-option > :is(svg,img) {height:100px;}
#kayleigh-room-model .kr-picker-name {font-weight:650;}
#kayleigh-room-model :is(.kr-furniture-picker,.kr-furniture-tools) [hidden] {display:none !important;}
#kayleigh-room-model .kr-picker-options {box-sizing:border-box;}

#kayleigh-room-model .kr-picker-brand {font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#7b826f;}

#kayleigh-room-model .kr-picker-filter-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:10px 14px; }
#kayleigh-room-model .kr-furniture-picker > .kr-picker-filter-row { flex:0 0 auto; margin:0; padding:0 14px 8px; }
#kayleigh-room-model :is(.kr-picker-brand-select,.kr-picker-sofa-type-select) { flex:1; min-width:150px; max-width:100%; font:inherit; border:1px solid #cbd2c5; border-radius:8px; padding:10px; background:#fffef8; color:#29362b; color-scheme:light; }
#kayleigh-room-model .kr-picker-filter-row[data-sofa="true"] { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; grid-template-areas:"brand-label type-label clear" "brand type clear"; gap:3px 8px; }
#kayleigh-room-model .kr-picker-filter-row[data-sofa="true"] .kr-picker-brand-label { grid-area:brand-label; font-size:11px; }
#kayleigh-room-model .kr-picker-filter-row[data-sofa="true"] .kr-picker-sofa-type-label { grid-area:type-label; font-size:11px; }
#kayleigh-room-model .kr-picker-filter-row[data-sofa="true"] .kr-picker-brand-select { grid-area:brand; }
#kayleigh-room-model .kr-picker-filter-row[data-sofa="true"] .kr-picker-sofa-type-select { grid-area:type; }
#kayleigh-room-model .kr-picker-filter-row[data-sofa="true"] :is(.kr-picker-brand-select,.kr-picker-sofa-type-select) { min-width:0; width:100%; }
#kayleigh-room-model .kr-picker-filter-row[data-sofa="true"] .kr-picker-clear { grid-area:clear; align-self:end; max-width:72px; font-size:11px; }
#kayleigh-room-model .kr-picker-result-count { font-size:12px; color:#65715c; margin:8px 14px; }
#kayleigh-room-model :is(.kr-picker-clear,.kr-picker-more) { font:inherit; color:#29362b; background:#fbfaf5; border:1px solid #cbd2c5; border-radius:8px; padding:10px; min-height:44px; }
#kayleigh-room-model .kr-picker-more { width:calc(100% - 28px); margin:12px 14px; }
#kayleigh-room-model .kr-picker-empty { padding:18px 14px; line-height:1.5; }
#kayleigh-room-model :is(.kr-picker-filter-row,.kr-picker-more,.kr-picker-clear)[hidden] { display:none; }

/* Each catalogue card keeps one direct preview action. */
#kayleigh-room-model .kr-picker-card { display:flex; flex-direction:column; min-width:0; gap:4px; }
#kayleigh-room-model .kr-picker-card > .kr-picker-option { width:100%; flex:1; }
#kayleigh-room-model .kr-furniture-picker .kr-picker-filters-toggle { display:none; }
@media (max-width: 760px) {
  #kayleigh-room-model .kr-furniture-picker .kr-picker-filters-toggle { display:block; flex:0 0 auto; border-radius:8px; }
  #kayleigh-room-model .kr-picker-filters:not(.kr-picker-filters-open) { display:none; }
  #kayleigh-room-model .kr-picker-categories { flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; }
  #kayleigh-room-model .kr-picker-categories button { flex-shrink:0; }
  #kayleigh-room-model .kr-furniture-picker .kr-picker-rooms { display: none; }
  #kayleigh-room-model .kr-picker-modes { margin-block: 0 6px; }
  #kayleigh-room-model .kr-picker-filter-row { margin-block: 0 6px; }
  #kayleigh-room-model .kr-picker-result-count { margin-block: 0 6px; }
}

/* Drag only the header: the product list keeps its ordinary native scrolling.
   A lowered shelf leaves the model visible with its change/rotate controls. */
@media (max-width: 760px), (max-height: 560px) and (max-width: 1024px) {
  #kayleigh-room-model .kr-furniture-picker {
    top: auto;
    right: calc(100% - var(--kr-ui-left, 0px) - var(--kr-ui-width, 100%));
    bottom: calc(100% - var(--kr-ui-top, 0px) - var(--kr-ui-height, 100%));
    width: var(--kr-ui-width, 100%);
    height: min(var(--kr-ui-height, 100dvh), max(var(--kr-drawer-min-height, 220px), calc(var(--kr-ui-height, 100dvh) * .60)));
    max-height: var(--kr-ui-height, 100dvh);
    border-radius: 18px 18px 0 0;
    padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }
  #kayleigh-room-model .kr-picker-header {
    position: relative;
    gap: 6px;
    padding: 12px 10px 6px;
    touch-action: none;
    cursor: ns-resize;
    user-select: none;
  }
  #kayleigh-room-model .kr-picker-header::before {
    content: '';
    position: absolute;
    top: 4px;
    left: calc(50% - 18px);
    width: 36px;
    height: 4px;
    border-radius: 4px;
    background: #aab59f;
  }
  #kayleigh-room-model .kr-picker-header h2 { font-size: 15px; line-height: 1.2; }
  #kayleigh-room-model .kr-picker-header button { padding-inline: 8px; font-size: 12px; }
  #kayleigh-room-model .kr-furniture-picker .kr-picker-drawer-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; padding: 9px; border-color: transparent; background: #eef1e7; touch-action: none; }
  #kayleigh-room-model .kr-picker-drawer-toggle svg { width: 24px; height: 24px; }
  #kayleigh-room-model .kr-picker-drawer-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  #kayleigh-room-model .kr-furniture-picker > .kr-picker-filter-row { gap: 6px; flex-wrap: nowrap; padding-inline: 10px; }
  #kayleigh-room-model .kr-picker-brand-select { flex:1 1 0; min-width:0; min-height:44px; font-size:16px; text-overflow:ellipsis; }
  #kayleigh-room-model .kr-furniture-picker .kr-picker-clear { font-size:12px; padding-inline:8px; }
  #kayleigh-room-model .kr-furniture-picker.kr-picker-drawer-expanded { height:var(--kr-ui-height, 100dvh); border-radius:0; padding-top:env(safe-area-inset-top); }
  #kayleigh-room-model .kr-picker-drawer-expanded .kr-picker-filters { display:block; }
  #kayleigh-room-model .kr-furniture-picker.kr-picker-drawer-expanded .kr-picker-filters-toggle { display:none; }
  #kayleigh-room-model .kr-furniture-picker.kr-picker-drawer-compact:not(.kr-picker-dragging) { height:auto; }
  #kayleigh-room-model .kr-picker-drawer-compact:not(.kr-picker-dragging) > :is(.kr-picker-body, .kr-picker-filter-row) { display:none; }
  #kayleigh-room-model .kr-furniture-picker.kr-picker-dragging { height:min(var(--kr-ui-height, 100dvh), max(var(--kr-drawer-min-height, 220px), var(--kr-drawer-drag-height, 60dvh))); }
  #kayleigh-room-model .kr-app-view.kr-picker-open.kr-picker-drawer-expanded > .kr-app-navigation { visibility:hidden; }
}

/* The seating control stays with dining choices on narrow screens. */
.kr-picker-dining-layout{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--kr-picker-rule,#d8ded4)}
.kr-picker-dining-layout[hidden]{display:none}
.kr-picker-dining-layout label{font-size:13px;font-weight:600}
.kr-picker-dining-layout select{font:inherit;font-size:14px;min-height:44px;width:100%;padding:8px;border:1px solid #8b958d;border-radius:8px;background:var(--paper,#faf9f6);color:inherit}
.kr-picker-dining-fit{grid-column:1/-1;margin:0;font-size:12px;line-height:1.5;color:var(--soft,#626b62)}
.kr-picker-dining-fit[data-fits="false"]{color:light-dark(#83551e,#efc38c)}

#kayleigh-room-model .kr-picker-shelf-height { margin:10px 0; padding:12px; border:1px solid #cbd2c5; border-radius:12px; background:#f1f3eb; }
#kayleigh-room-model .kr-picker-shelf-height[hidden] { display:none; }
#kayleigh-room-model .kr-picker-shelf-height label { display:flex; justify-content:space-between; gap:12px; font-weight:600; }
#kayleigh-room-model .kr-picker-shelf-height output { white-space:nowrap; }
#kayleigh-room-model .kr-picker-shelf-height input[type="range"] { width:100%; min-height:40px; margin:4px 0; accent-color:#2f4e3b; touch-action:pan-x; }
#kayleigh-room-model .kr-picker-shelf-reset { min-height:36px; padding:7px 10px; font-size:12px; }
