/* Florentini v28 — owner digital kitchen twin */

.kitchen-twin-page-v28 {
  --kt-ink: #2e372f;
  --kt-muted: #778077;
  --kt-line: rgba(94, 119, 85, .19);
  --kt-green: #6f8964;
  --kt-deep: #35533d;
  --kt-lime: #e7f0c8;
  width: 100%;
  min-width: 0;
  color: var(--kt-ink);
}

.kitchen-hero-v28 {
  position: relative;
  min-height: 205px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  overflow: hidden;
  padding: 24px 10px 32px;
}

.kitchen-hero-v28::before {
  content: "f";
  position: absolute;
  right: 20%;
  bottom: -104px;
  font-family: var(--font-script, Allura);
  font-size: 310px;
  line-height: 1;
  color: rgba(103, 131, 90, .045);
  pointer-events: none;
}

.kitchen-kicker-v28 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: #788277;
  font-family: var(--font-mono, "JetBrains Mono");
  font-size: 10px;
  letter-spacing: .16em;
}

.kitchen-kicker-v28 span {
  color: var(--kt-deep);
}

.kitchen-kicker-v28 i {
  width: 34px;
  height: 1px;
  background: #a9b5a4;
}

.kitchen-hero-v28 h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-serif, Georgia);
  font-size: clamp(48px, 5.2vw, 78px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.045em;
}

.kitchen-hero-v28 h1 em {
  color: var(--kt-green);
  font-weight: 400;
}

.kitchen-hero-v28 p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #667066;
  font-size: 15px;
  line-height: 1.55;
}

.kitchen-hero-status-v28 {
  position: relative;
  z-index: 1;
  min-width: 270px;
  display: grid;
  justify-items: end;
  gap: 7px;
  padding: 20px 22px;
  border: 1px solid var(--kt-line);
  border-radius: 24px;
  background: rgba(253, 252, 247, .68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.kitchen-hero-status-v28 > span {
  padding: 6px 9px;
  border-radius: 99px;
  font-family: var(--font-mono, monospace);
  font-size: 8px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.kitchen-hero-status-v28 > span.demo { background: #f1ead4; color: #8f7432; }
.kitchen-hero-status-v28 > span.real { background: #e2ecd8; color: #4f744d; }
.kitchen-hero-status-v28 b { font-family: var(--font-serif, Georgia); font-size: 18px; font-weight: 500; }
.kitchen-hero-status-v28 small { color: #7c847c; font-family: var(--font-mono, monospace); font-size: 10px; }

.kitchen-workspace-v28 {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(93, 116, 84, .22);
  border-radius: 30px;
  background: #f6f6ef;
  box-shadow: 0 30px 90px rgba(48, 62, 50, .14), inset 0 1px 0 #fff;
}

.kitchen-toolbar-v28 {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid var(--kt-line);
  background: rgba(255, 254, 249, .94);
}

.kitchen-view-switch-v28 {
  width: fit-content;
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--kt-line);
  border-radius: 999px;
  background: #f1f2ea;
}

.kitchen-view-switch-v28 button,
.kitchen-toolbar-v28 button,
.kitchen-panel-tabs-v28 button,
.kitchen-selected-actions-v28 button,
.kitchen-modal-v28 button {
  font: inherit;
}

.kitchen-view-switch-v28 button {
  min-width: 76px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: #747e74;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}

.kitchen-view-switch-v28 button.active {
  background: #fff;
  color: var(--kt-deep);
  box-shadow: 0 5px 14px rgba(52, 70, 54, .09);
}

.kitchen-view-switch-v28 button.dimensions {
  background: var(--kt-lime);
  color: var(--kt-deep);
  box-shadow: inset 0 0 0 1px rgba(91, 121, 76, .18), 0 5px 14px rgba(52, 70, 54, .09);
}

.kitchen-view-switch-v28 svg,
.kitchen-toolbar-v28 svg,
.kitchen-custom-add-v28 svg,
.kitchen-data-action-v28 svg,
.kitchen-room-card-v28 svg,
.kitchen-warnings-v28 svg,
.kitchen-selected-actions-v28 svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.kitchen-toolbar-center-v28 {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--kt-line);
  border-radius: 999px;
  background: #f6f6f0;
}

.kitchen-toolbar-center-v28 button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f695f;
  cursor: pointer;
}

.kitchen-toolbar-center-v28 button:hover:not(:disabled) { background: #fff; color: var(--kt-deep); }
.kitchen-toolbar-center-v28 button:disabled { opacity: .28; cursor: default; }
.kitchen-toolbar-center-v28 button.redo svg { transform: scaleX(-1); }
.kitchen-toolbar-center-v28 > span { width: 1px; height: 22px; margin: 0 4px; background: var(--kt-line); }
.kitchen-toolbar-center-v28 > b { min-width: 45px; text-align: center; font-family: var(--font-mono, monospace); font-size: 9px; font-weight: 500; }

.kitchen-toolbar-actions-v28 {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.kitchen-toolbar-actions-v28 button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--kt-line);
  border-radius: 999px;
  background: #fff;
  color: var(--kt-ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}

.kitchen-toolbar-actions-v28 button.primary {
  border-color: var(--kt-deep);
  background: var(--kt-deep);
  color: #fff;
  box-shadow: 0 10px 24px rgba(51, 79, 58, .2);
}

.kitchen-editor-grid-v28 {
  min-width: 0;
  min-height: 720px;
  display: grid;
  grid-template-columns: 270px minmax(440px, 1fr) 310px;
  background: #e7ebe2;
}

.kitchen-left-v28,
.kitchen-right-v28 {
  min-width: 0;
  background: rgba(253, 252, 247, .94);
}

.kitchen-left-v28 { border-right: 1px solid var(--kt-line); }
.kitchen-right-v28 { border-left: 1px solid var(--kt-line); padding: 14px; }

.kitchen-panel-tabs-v28 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 14px;
  padding: 4px;
  border-radius: 14px;
  background: #eff1e9;
}

.kitchen-panel-tabs-v28 button {
  height: 34px;
  padding: 0 5px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #7a8279;
  cursor: pointer;
  font-size: 10px;
  font-weight: 650;
}

.kitchen-panel-tabs-v28 button.active {
  background: #fff;
  color: var(--kt-deep);
  box-shadow: 0 5px 13px rgba(52, 68, 53, .08);
}

.kitchen-panel-body-v28 {
  display: grid;
  gap: 12px;
  padding: 4px 14px 18px;
}

.kitchen-panel-heading-v28 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 4px;
  color: #7b837b;
  font-family: var(--font-mono, monospace);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kitchen-panel-heading-v28 b { color: #536a50; font-weight: 500; }

.kitchen-catalog-v28 {
  display: grid;
  gap: 7px;
}

.kitchen-catalog-v28 > button {
  min-width: 0;
  min-height: 62px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border: 1px solid rgba(100, 123, 90, .16);
  border-radius: 15px;
  background: #fff;
  color: var(--kt-ink);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.kitchen-catalog-v28 > button:hover {
  z-index: 1;
  border-color: rgba(87, 117, 77, .45);
  box-shadow: 0 10px 24px rgba(50, 67, 52, .09);
  transform: translateX(3px);
}

.kitchen-catalog-v28 i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--item-color) 55%, white);
  border-radius: 12px;
  background: color-mix(in srgb, var(--item-color) 24%, white);
  color: color-mix(in srgb, var(--item-color) 68%, #27382a);
  font-family: var(--font-serif, Georgia);
  font-size: 16px;
  font-style: normal;
}

.kitchen-catalog-v28 span { min-width: 0; display: grid; gap: 4px; }
.kitchen-catalog-v28 span b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.kitchen-catalog-v28 span small { color: #929892; font-family: var(--font-mono, monospace); font-size: 7px; }
.kitchen-catalog-v28 em { color: #79916e; font-size: 21px; font-style: normal; font-weight: 300; }

.kitchen-custom-add-v28,
.kitchen-data-action-v28 {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px dashed rgba(89, 117, 79, .38);
  border-radius: 15px;
  background: #f3f6ed;
  color: #52704f;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.kitchen-room-card-v28 {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--kt-line);
  border-radius: 18px;
  background: #fff;
}

.kitchen-room-card-v28 > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--kt-deep);
  color: #fff;
}

.kitchen-room-card-v28 > div { min-width: 0; display: grid; gap: 4px; }
.kitchen-room-card-v28 small { color: #8d958d; font-family: var(--font-mono, monospace); font-size: 8px; text-transform: uppercase; }
.kitchen-room-card-v28 b { overflow: hidden; font-family: var(--font-serif, Georgia); font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.kitchen-room-card-v28 em { color: #788178; font-family: var(--font-mono, monospace); font-size: 8px; font-style: normal; }

.kitchen-floor-editor-v36 {
  display: grid;
  gap: 10px;
  padding: 13px;
  overflow: hidden;
  border: 1px solid rgba(70,100,67,.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 6%,rgba(194,220,155,.3),transparent 34%),
    linear-gradient(145deg,#f9fbf3,#e8efe3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88),0 9px 24px rgba(49,75,51,.07);
}
.kitchen-floor-editor-v36 > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.kitchen-floor-editor-v36 > header > span { min-width: 0; display: grid; gap: 3px; }
.kitchen-floor-editor-v36 > header b { color: #36563b; font-size: 10px; }
.kitchen-floor-editor-v36 > header small { color: #899389; font-size: 7px; line-height: 1.35; }
.kitchen-floor-editor-v36 > header output { flex: 0 0 auto; max-width: 98px; overflow: hidden; padding: 5px 7px; border: 1px solid rgba(63,91,63,.13); border-radius: 8px; background: rgba(255,255,255,.68); color: #557255; font: 7px var(--font-mono,monospace); text-overflow: ellipsis; white-space: nowrap; }
.kitchen-floor-presets-v36 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.kitchen-floor-presets-v36 button { min-width: 0; min-height: 42px; display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 4px; align-items: center; padding: 5px; border: 1px solid rgba(75,104,72,.17); border-radius: 10px; background: rgba(255,255,252,.7); color: #697769; text-align: left; cursor: pointer; font: inherit; }
.kitchen-floor-presets-v36 button i { display: grid; place-items: center; color: #557356; font: 15px/1 Georgia,serif; font-style: normal; }
.kitchen-floor-presets-v36 button span { min-width: 0; font-size: 6.7px; font-weight: 700; line-height: 1.15; white-space: normal; }
.kitchen-floor-presets-v36 button.active { border-color: #5e7d5c; background: #dce9cf; color: #31563a; box-shadow: 0 5px 13px rgba(53,86,56,.11); }
.kitchen-floor-blocks-v36 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--floor-columns),minmax(0,1fr));
  grid-template-rows: repeat(var(--floor-rows),minmax(0,1fr));
  gap: 4px;
  aspect-ratio: 4 / 3;
  padding: 9px;
  border: 1px solid rgba(72,103,71,.25);
  border-radius: 15px;
  background:
    linear-gradient(rgba(77,108,73,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(77,108,73,.06) 1px,transparent 1px),
    rgba(247,249,242,.82);
  background-size: 14px 14px;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.42);
}
.kitchen-floor-blocks-v36 button { position: relative; min-width: 0; min-height: 0; padding: 0; border: 1px dashed rgba(96,112,93,.22); border-radius: 5px; background: rgba(255,255,255,.3); cursor: pointer; transition: transform .12s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease; }
.kitchen-floor-blocks-v36 button > span { position: absolute; inset: 3px; border-radius: 3px; background: transparent; }
.kitchen-floor-blocks-v36 button.active { border-style: solid; border-color: rgba(66,102,65,.46); background: linear-gradient(145deg,#aac49a,#708f6f); box-shadow: inset 0 1px rgba(255,255,255,.46),0 3px 7px rgba(45,73,47,.17); }
.kitchen-floor-blocks-v36 button.active > span { background: linear-gradient(145deg,rgba(255,255,255,.2),transparent); }
.kitchen-floor-blocks-v36 button:hover { transform: scale(1.08); z-index: 1; border-color: #547453; box-shadow: 0 5px 12px rgba(44,74,47,.2); }
.kitchen-floor-blocks-v36 button:focus-visible { z-index: 2; outline: 2px solid #365d41; outline-offset: 1px; }
.kitchen-floor-editor-v36 > footer { display: flex; align-items: center; gap: 9px; color: #858f85; font: 6.5px var(--font-mono,monospace); text-transform: uppercase; }
.kitchen-floor-editor-v36 > footer span { display: inline-flex; align-items: center; gap: 4px; }
.kitchen-floor-editor-v36 > footer i { width: 8px; height: 8px; border: 1px dashed #a7afa5; border-radius: 2px; }
.kitchen-floor-editor-v36 > footer i.active { border-style: solid; border-color: #6e8d6b; background: #86a37c; }
.kitchen-floor-editor-v36 > footer b { margin-left: auto; color: #466847; font-size: 7px; }
.kitchen-floor-editor-v36 > p { margin: 0; color: #7e897e; font-size: 7px; line-height: 1.45; }

.kitchen-grid-config-v28 {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(83, 111, 78, .25);
  border-radius: 17px;
  background:
    linear-gradient(rgba(79,106,75,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,106,75,.055) 1px, transparent 1px),
    linear-gradient(145deg, #fbfcf6, #edf2e8);
  background-size: 12px 12px, 12px 12px, auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}
.kitchen-grid-config-v28 header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kitchen-grid-config-v28 header > span { display: grid; gap: 3px; }
.kitchen-grid-config-v28 header b { color: #405c43; font-size: 10px; }
.kitchen-grid-config-v28 header small { color: #8a9489; font-size: 7px; }
.kitchen-grid-config-v28 output { flex: 0 0 auto; padding: 5px 7px; border-radius: 7px; background: #355d41; color: #fff; font-family: var(--font-mono, monospace); font-size: 8px; }
.kitchen-grid-config-v28 > div { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 4px; }
.kitchen-grid-config-v28 button { min-width: 0; height: 30px; padding: 0; border: 1px solid rgba(77,103,75,.18); border-radius: 8px; background: rgba(255,255,252,.78); color: #697569; cursor: pointer; font: inherit; font-size: 8px; font-weight: 700; }
.kitchen-grid-config-v28 button.active { border-color: #557655; background: #dce9cf; color: #2f5638; box-shadow: 0 4px 10px rgba(49,78,53,.12); }
.kitchen-grid-config-v28 button.align { width: 100%; height: 34px; border-style: dashed; background: rgba(255,255,252,.66); color: #466749; }
.kitchen-grid-custom-v35 {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 58px 18px;
  gap: 6px;
  align-items: center;
  padding: 5px 6px 5px 10px;
  border: 1px solid rgba(77,103,75,.16);
  border-radius: 10px;
  background: rgba(255,255,252,.68);
  color: #617061;
  font-size: 8px;
  font-weight: 650;
}
.kitchen-grid-custom-v35 input { width: 58px; height: 28px; padding: 0 6px; border: 1px solid rgba(77,103,75,.22); border-radius: 8px; background: #fff; color: #355d41; text-align: right; font: 700 9px var(--font-mono,monospace); }
.kitchen-grid-custom-v35 em { color: #869086; font: 7px var(--font-mono,monospace); font-style: normal; }
.kitchen-grid-config-v28 > .kitchen-grid-patterns-v35 { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
.kitchen-grid-config-v28 .kitchen-grid-patterns-v35 button { height: 48px; display: grid; grid-template-columns: 21px minmax(0,1fr); gap: 5px; align-items: center; padding: 5px 6px; text-align: left; }
.kitchen-grid-patterns-v35 button > i { display: grid; place-items: center; color: #4f6f50; font: 16px/1 Georgia,serif; font-style: normal; }
.kitchen-grid-patterns-v35 button > span { min-width: 0; display: grid; gap: 1px; }
.kitchen-grid-patterns-v35 button b { overflow: hidden; font-size: 7.5px; text-overflow: ellipsis; white-space: nowrap; }
.kitchen-grid-patterns-v35 button small { overflow: hidden; color: #929992; font-size: 6px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }

.kitchen-switch-v28 {
  min-height: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--kt-line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.kitchen-switch-v28 > span { display: grid; gap: 4px; }
.kitchen-switch-v28 b { font-size: 10px; }
.kitchen-switch-v28 small { color: #909690; font-size: 8px; line-height: 1.35; }
.kitchen-switch-v28 input { position: absolute; opacity: 0; pointer-events: none; }
.kitchen-switch-v28 > i { position: relative; width: 36px; height: 21px; border-radius: 99px; background: #d8dcd4; transition: background .2s ease; }
.kitchen-switch-v28 > i::after { content: ""; position: absolute; width: 15px; height: 15px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.15); transition: transform .2s ease; }
.kitchen-switch-v28 input:checked + i { background: #728d68; }
.kitchen-switch-v28 input:checked + i::after { transform: translateX(15px); }

.kitchen-data-note-v28 {
  margin: 0;
  padding: 15px;
  border-radius: 16px;
  background: #eef2e8;
  color: #687168;
  font-size: 10px;
  line-height: 1.55;
}

.kitchen-data-action-v28 {
  min-height: 61px;
  justify-content: flex-start;
  border-style: solid;
  background: #fff;
  text-align: left;
}

.kitchen-data-action-v28 > span { display: grid; gap: 4px; }
.kitchen-data-action-v28 b { color: var(--kt-ink); font-size: 10px; }
.kitchen-data-action-v28 small { color: #929992; font-size: 8px; }

.kitchen-saved-v28 {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 10px 5px;
}

.kitchen-saved-v28 > i { width: 8px; height: 8px; border-radius: 50%; background: #b9a576; box-shadow: 0 0 0 5px rgba(185, 165, 118, .12); }
.kitchen-saved-v28 > i.ok { background: #739069; box-shadow: 0 0 0 5px rgba(115, 144, 105, .13); }
.kitchen-saved-v28 > span { display: grid; gap: 3px; }
.kitchen-saved-v28 b { font-size: 9px; }
.kitchen-saved-v28 small { color: #969c96; font-family: var(--font-mono, monospace); font-size: 7px; }

.kitchen-stage-v28 {
  position: relative;
  min-width: 0;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,252,.98) 0%, rgba(238,241,232,.78) 45%, rgba(211,219,207,.88) 100%),
    #e7ebe2;
}

.kitchen-stage-v28::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.22) 50%, transparent 59%);
  pointer-events: none;
}

.kitchen-scene-v28 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.kitchen-scene-v28:active { cursor: grabbing; }
.kitchen-grid-v28 line { vector-effect: non-scaling-stroke; }
.kitchen-grid-v28 line.minor { stroke: rgba(86, 109, 77, .105); stroke-width: .65; }
.kitchen-grid-v28 line.major { stroke: rgba(68, 96, 64, .25); stroke-width: 1.15; }
.kitchen-grid-v28.pattern-diamond line.minor { stroke: rgba(95,116,84,.12); stroke-dasharray: 2.5 1.5; }
.kitchen-grid-v28.pattern-diamond line.major { stroke: rgba(62,91,59,.29); }
.kitchen-grid-v28 circle.minor { fill: rgba(70,99,66,.27); vector-effect: non-scaling-stroke; }
.kitchen-grid-v28 circle.major { fill: rgba(47,82,49,.62); stroke: rgba(255,255,255,.72); stroke-width: .7; vector-effect: non-scaling-stroke; }
.kitchen-floor-cells-v36 polygon { stroke: none; }
.kitchen-floor-boundary-v36 line { stroke: #708b6b; stroke-width: 3; vector-effect: non-scaling-stroke; }
.kitchen-shape-wall-v36 { stroke: rgba(115,139,110,.72); stroke-width: 1.15; opacity: .43; vector-effect: non-scaling-stroke; }
.kitchen-clearance-v28 { fill: rgba(133, 164, 113, .09); stroke: #819d75; stroke-width: 2; stroke-dasharray: 8 7; vector-effect: non-scaling-stroke; pointer-events: none; }
.kitchen-object-v28 { cursor: move; outline: none; }
.kitchen-scene-v28.nav-pan,
.kitchen-scene-v28.nav-pan .kitchen-object-v28 { cursor: grab; }
.kitchen-scene-v28.nav-pan:active,
.kitchen-scene-v28.nav-pan:active .kitchen-object-v28 { cursor: grabbing; }
.kitchen-object-v28 polygon { stroke: rgba(47, 61, 48, .3); stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: filter .16s ease, stroke .16s ease; }
.kitchen-object-v28 polygon.side-a { filter: brightness(.82) saturate(.86); }
.kitchen-object-v28 polygon.side-b { filter: brightness(.69) saturate(.82); }
.kitchen-object-v28 polygon.side-c { filter: brightness(.9); }
.kitchen-object-v28 polygon.side-d { filter: brightness(.76); }
.kitchen-object-v28 polygon.top { filter: brightness(1.08) saturate(.75); }
.kitchen-object-v28:hover polygon { stroke: #4f704f; stroke-width: 2; filter: brightness(1.04); }
.kitchen-object-v28.selected polygon { stroke: #325c3a; stroke-width: 3; }
.kitchen-object-v28.collision polygon { stroke: #b95d50; stroke-width: 3; }
.kitchen-object-v28 circle { fill: rgba(253,252,247,.94); stroke: rgba(61,83,62,.34); stroke-width: 1.2; filter: drop-shadow(0 3px 4px rgba(42,55,44,.2)); pointer-events: none; }
.kitchen-object-v28.selected circle { fill: var(--kt-deep); stroke: #fff; stroke-width: 2; }
.kitchen-object-v28.collision circle { fill: #a95148; }
.kitchen-object-v28 text { fill: var(--kt-deep); font-family: var(--font-serif, Georgia); font-size: 13px; font-weight: 600; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.kitchen-object-v28.selected text,
.kitchen-object-v28.collision text { fill: #fff; }
.kitchen-scene-v28.detail-light .kitchen-object-v28 polygon { stroke-width: .9; }
.kitchen-scene-v28.detail-complex { shape-rendering: geometricPrecision; }
.kitchen-scene-v28.detail-complex .kitchen-object-v28 > circle { filter: drop-shadow(0 4px 6px rgba(25,42,29,.25)); }
.kitchen-object-detail-v28 { pointer-events: none; }
.kitchen-object-v28 .kitchen-object-detail-v28 polygon,
.kitchen-object-v28:hover .kitchen-object-detail-v28 polygon,
.kitchen-object-v28.selected .kitchen-object-detail-v28 polygon {
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.kitchen-object-detail-v28 line,
.kitchen-object-detail-v28 polyline { vector-effect: non-scaling-stroke; }
.kitchen-object-detail-v28 .detail-top-inset {
  fill: rgba(255,255,250,.12);
  stroke: rgba(255,255,255,.42);
}
.kitchen-object-detail-v28.level-2 .detail-top-inset {
  fill: rgba(255,255,252,.2);
  stroke: rgba(255,255,255,.68);
  stroke-width: 1.25;
}
.kitchen-object-detail-v28 .detail-glint { stroke: rgba(255,255,255,.88); stroke-width: 1.6; stroke-linecap: round; }
.kitchen-object-detail-v28 .detail-line,
.kitchen-object-detail-v28 .detail-seam { stroke: rgba(28,42,31,.42); stroke-width: 1.25; }
.kitchen-object-detail-v28 .detail-seam.subtle { stroke: rgba(255,255,255,.5); stroke-width: .9; }
.kitchen-object-detail-v28 .detail-handle {
  stroke: #eef2e9;
  stroke-width: 4.5;
  stroke-linecap: round;
  filter: drop-shadow(1px 2px 1px rgba(25,39,29,.42));
}
.kitchen-object-detail-v28.level-2 .detail-handle { stroke-width: 5.5; }
.kitchen-object-detail-v28 .detail-panel { fill: rgba(29,43,33,.13); stroke: rgba(255,255,255,.28); }
.kitchen-object-detail-v28 .detail-panel.cold { fill: rgba(30,55,65,.16); }
.kitchen-object-detail-v28 .detail-panel.heat { fill: rgba(53,35,29,.26); stroke: rgba(255,235,216,.26); }
.kitchen-object-detail-v28 .detail-vent { stroke: rgba(239,244,238,.72); stroke-width: 1; stroke-linecap: round; }
.kitchen-object-detail-v28 .detail-burner { fill: rgba(39,35,30,.7); stroke: rgba(255,235,211,.74); stroke-width: 1.2; }
.kitchen-object-detail-v28 .detail-burner-core { fill: #24231f; stroke: rgba(255,255,255,.32); stroke-width: .75; }
.kitchen-object-detail-v28 .detail-knob { fill: #eee9dd; stroke: rgba(45,37,32,.7); stroke-width: 1; vector-effect: non-scaling-stroke; }
.kitchen-object-detail-v28 .detail-basin { fill: rgba(38,69,73,.72); stroke: rgba(236,250,247,.8); stroke-width: 1.3; }
.kitchen-object-detail-v28 .detail-faucet { fill: none; stroke: #e9f0ed; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(1px 2px 1px rgba(29,52,48,.38)); }
.kitchen-object-detail-v28 .detail-shelf { stroke: rgba(253,250,240,.8); stroke-width: 3; }
.kitchen-object-detail-v28 .detail-post { stroke: rgba(53,49,39,.58); stroke-width: 4; }
.kitchen-object-detail-v28 .detail-leg { stroke: rgba(57,62,54,.6); stroke-width: 5; stroke-linecap: round; }
.kitchen-object-v28 .kitchen-plan-object-label-v28 { pointer-events: none; }
.kitchen-object-v28 .kitchen-plan-object-label-v28 rect {
  fill: rgba(255, 254, 248, .94);
  stroke: rgba(58, 83, 59, .24);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 3px 6px rgba(42, 58, 45, .12));
}
.kitchen-object-v28 .kitchen-plan-object-label-v28 text {
  fill: #344b38;
  font-family: var(--font-mono, monospace);
  font-size: 8px;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: middle;
}
.kitchen-dimensions-v28 { pointer-events: none; }
.kitchen-dimensions-v28 marker path { fill: #315d45; }
.kitchen-measure-v28 line { vector-effect: non-scaling-stroke; }
.kitchen-measure-v28 .axis { stroke: #315d45; stroke-width: 1.45; }
.kitchen-measure-v28 .extension { stroke: rgba(49, 93, 69, .58); stroke-width: 1; stroke-dasharray: 3 4; }
.kitchen-measure-v28 .leader { stroke: rgba(49, 93, 69, .62); stroke-width: 1; stroke-dasharray: 2 3; }
.kitchen-measure-v28.gap .axis { stroke: #78916f; stroke-width: 1.1; stroke-dasharray: 4 4; }
.kitchen-measure-v28.object .axis { stroke: #9c7441; stroke-width: 1.55; }
.kitchen-measure-v28.object .extension { stroke: rgba(156, 116, 65, .62); }
.kitchen-measure-v28 .label rect {
  fill: rgba(255, 254, 248, .96);
  stroke: rgba(49, 93, 69, .32);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 3px 7px rgba(42, 58, 45, .14));
}
.kitchen-measure-v28.object .label rect { fill: #fff8e9; stroke: rgba(156, 116, 65, .42); }
.kitchen-measure-v28.gap .label rect { fill: rgba(239, 244, 232, .95); }
.kitchen-measure-v28 text {
  fill: #315d45;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 650;
  text-anchor: middle;
  dominant-baseline: middle;
}
.kitchen-measure-v28.object text { fill: #765528; }

.kitchen-plan-compass-v28 { pointer-events: none; }
.kitchen-plan-compass-v28 circle { fill: rgba(255,254,249,.86); stroke: rgba(66, 94, 67, .28); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.kitchen-plan-compass-v28 line { stroke: #678061; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.kitchen-plan-compass-v28 path { fill: #355f42; }
.kitchen-plan-compass-v28 text { fill: #355f42; font-family: var(--font-mono, monospace); font-size: 10px; font-weight: 700; text-anchor: middle; }
.kitchen-plan-compass-v28 text.axis { fill: #899489; font-size: 8px; }

.kitchen-stage-topline-v28 {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #687568;
  font-family: var(--font-mono, monospace);
  font-size: 8px;
  letter-spacing: .1em;
  pointer-events: none;
}

.kitchen-stage-topline-v28 span { display: flex; align-items: center; gap: 8px; }
.kitchen-stage-topline-v28 span i { width: 7px; height: 7px; border-radius: 50%; background: #80a071; box-shadow: 0 0 0 5px rgba(128,160,113,.13); }
.kitchen-stage-topline-v28 b { font-weight: 500; }

.kitchen-quality-v28 {
  --quality-progress: 50%;
  position: absolute;
  z-index: 4;
  top: 42px;
  right: 16px;
  width: 232px;
  padding: 10px 12px 8px;
  border: 1px solid rgba(80,104,76,.2);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255,255,250,.94), rgba(236,241,232,.88));
  box-shadow: 0 14px 34px rgba(39,57,42,.13), inset 0 1px 0 rgba(255,255,255,.75);
  backdrop-filter: blur(16px);
}
.kitchen-quality-v28 header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.kitchen-quality-v28 header > span { color: #778377; font-family: var(--font-mono, monospace); font-size: 7px; letter-spacing: .15em; }
.kitchen-quality-v28 output { display: flex; align-items: baseline; gap: 6px; color: var(--kt-deep); font-size: 9px; font-weight: 750; }
.kitchen-quality-v28 output small { color: #9aa29a; font-size: 6px; font-weight: 550; }
.kitchen-quality-v28 input[type="range"] {
  width: 100%;
  height: 16px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.kitchen-quality-v28 input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #496e50 0 var(--quality-progress), #d9e0d5 var(--quality-progress) 100%);
  box-shadow: inset 0 1px 2px rgba(33,52,36,.16);
}
.kitchen-quality-v28 input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border: 3px solid #fff;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--kt-deep);
  box-shadow: 0 2px 8px rgba(31,54,35,.3), 0 0 0 1px rgba(48,82,53,.18);
}
.kitchen-quality-v28 input[type="range"]::-moz-range-track { height: 4px; border: 0; border-radius: 999px; background: #d9e0d5; }
.kitchen-quality-v28 input[type="range"]::-moz-range-progress { height: 4px; border-radius: 999px; background: #496e50; }
.kitchen-quality-v28 input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border: 3px solid #fff; border-radius: 50%; background: var(--kt-deep); box-shadow: 0 2px 8px rgba(31,54,35,.3); }
.kitchen-quality-v28 > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.kitchen-quality-v28 > div button {
  min-height: 21px;
  padding: 0 2px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #8e978e;
  cursor: pointer;
  font: inherit;
  font-size: 6.5px;
  font-weight: 650;
}
.kitchen-quality-v28 > div button.active { background: rgba(93,126,85,.12); color: #345b3b; }
.kitchen-quality-v28 > div button:hover { color: #345b3b; }

.kitchen-cad-navigation-v28 {
  position: absolute;
  z-index: 4;
  top: 42px;
  left: 16px;
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(78,104,75,.2);
  border-radius: 13px;
  background: rgba(255,254,249,.9);
  box-shadow: 0 10px 28px rgba(37,55,40,.11);
  backdrop-filter: blur(14px);
}
.kitchen-cad-navigation-v28 button { min-height: 30px; display: inline-flex; align-items: center; gap: 5px; padding: 0 9px; border: 0; border-radius: 9px; background: transparent; color: #727d72; cursor: pointer; font: inherit; font-size: 8px; font-weight: 700; }
.kitchen-cad-navigation-v28 button.active { background: #365d41; color: #fff; box-shadow: 0 5px 12px rgba(42,74,48,.2); }

.kitchen-stage-hint-v28 {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px 9px 9px;
  border: 1px solid rgba(92, 116, 84, .2);
  border-radius: 15px;
  background: rgba(255, 254, 249, .86);
  box-shadow: 0 10px 30px rgba(44, 59, 46, .1);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.kitchen-stage-hint-v28 .mouse { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--kt-deep); color: #fff; font-size: 16px; }
.kitchen-stage-hint-v28 > span:last-child { display: grid; gap: 3px; }
.kitchen-stage-hint-v28 b { font-size: 9px; }
.kitchen-stage-hint-v28 small { color: #8c938c; font-size: 7px; }

.kitchen-plan-tools-v28 {
  position: absolute;
  z-index: 3;
  top: 42px;
  right: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  max-width: calc(100% - 32px);
  padding: 5px;
  border: 1px solid rgba(91, 115, 84, .19);
  border-radius: 18px;
  background: rgba(255,254,249,.88);
  box-shadow: 0 10px 28px rgba(43, 57, 45, .09);
  backdrop-filter: blur(12px);
}

.kitchen-plan-tools-v28 button {
  min-height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6d776d;
  cursor: pointer;
  font: inherit;
  font-size: 8px;
  font-weight: 650;
}

.kitchen-plan-tools-v28 button.active { background: var(--kt-lime); color: var(--kt-deep); }
.kitchen-plan-tools-v28 label { min-height: 30px; display: flex; align-items: center; gap: 5px; padding: 0 5px 0 8px; border-left: 1px solid rgba(79,101,75,.13); border-right: 1px solid rgba(79,101,75,.13); color: #839083; font-family: var(--font-mono, monospace); font-size: 6px; text-transform: uppercase; }
.kitchen-plan-tools-v28 select { height: 24px; padding: 0 21px 0 7px; border: 1px solid rgba(83,109,79,.2); border-radius: 8px; background: #f2f5ed; color: #3f6043; cursor: pointer; font: inherit; font-size: 7px; font-weight: 700; }

.kitchen-plan-selection-v28 {
  position: absolute;
  z-index: 3;
  top: 45px;
  left: 17px;
  max-width: min(320px, calc(100% - 300px));
  display: grid;
  gap: 3px;
  padding: 8px 11px;
  border-left: 3px solid #76906d;
  border-radius: 6px 12px 12px 6px;
  background: rgba(255,254,249,.84);
  box-shadow: 0 8px 24px rgba(43,57,45,.08);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.kitchen-plan-selection-v28 b { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.kitchen-plan-selection-v28 span { color: #7b857b; font-family: var(--font-mono, monospace); font-size: 7px; }

.kitchen-orbit-v28 {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, 36px);
  grid-template-rows: repeat(3, 36px);
  gap: 5px;
}

.kitchen-orbit-v28 button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--kt-line);
  border-radius: 50%;
  background: rgba(255,254,249,.9);
  color: var(--kt-deep);
  box-shadow: 0 8px 20px rgba(45,59,46,.09);
  cursor: pointer;
  font-size: 15px;
}

.kitchen-orbit-v28 button:nth-child(1) { grid-column: 2; grid-row: 1; }
.kitchen-orbit-v28 button:nth-child(2) { grid-column: 1; grid-row: 2; }
.kitchen-orbit-v28 button:nth-child(3) { grid-column: 2; grid-row: 2; }
.kitchen-orbit-v28 button:nth-child(4) { grid-column: 3; grid-row: 2; }
.kitchen-orbit-v28 button:nth-child(5) { grid-column: 2; grid-row: 3; }
.kitchen-orbit-v28 button.home { border-color: var(--kt-deep); background: var(--kt-deep); color: #fff; }

.kitchen-analysis-v28,
.kitchen-selected-v28 {
  padding: 15px;
  border: 1px solid var(--kt-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(44, 58, 45, .055);
}

.kitchen-right-v28 { display: grid; align-content: start; gap: 12px; }
.kitchen-analysis-v28 > header,
.kitchen-selected-v28 > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.kitchen-analysis-v28 > header span,
.kitchen-selected-v28 > header span { color: #687168; font-family: var(--font-mono, monospace); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.kitchen-analysis-v28 > header b { color: #9aa09a; font-size: 7px; font-weight: 500; }

.kitchen-metrics-v28 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.kitchen-metric-v28 {
  min-width: 0;
  min-height: 78px;
  display: grid;
  align-content: space-between;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(97, 119, 90, .13);
  border-radius: 14px;
  background: #f7f8f2;
}

.kitchen-metric-v28 > span { overflow: hidden; color: #7b847b; font-family: var(--font-mono, monospace); font-size: 7px; letter-spacing: .06em; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; }
.kitchen-metric-v28 strong { font-family: var(--font-serif, Georgia); font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.kitchen-metric-v28 small { color: #969c96; font-size: 7px; }
.kitchen-metric-v28.warn { border-color: rgba(175, 127, 64, .34); background: #fbf6e9; }
.kitchen-metric-v28.warn strong { color: #946b37; }

.kitchen-util-v28 { display: grid; gap: 7px; margin-top: 13px; }
.kitchen-util-v28 > span { display: flex; justify-content: space-between; font-size: 9px; }
.kitchen-util-v28 > span b { font-weight: 600; }
.kitchen-util-v28 > span em { color: #587354; font-family: var(--font-mono, monospace); font-size: 8px; font-style: normal; }
.kitchen-util-v28 > i { height: 7px; overflow: hidden; border-radius: 99px; background: #edf0e7; }
.kitchen-util-v28 > i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8fa483, #5f7d5d); }
.kitchen-util-v28 > small { color: #989e98; font-size: 7px; line-height: 1.4; }

.kitchen-warnings-v28 { display: grid; gap: 6px; margin-top: 12px; }
.kitchen-warnings-v28 > div { display: grid; grid-template-columns: 19px minmax(0,1fr); align-items: center; gap: 7px; padding: 7px 8px; border-radius: 10px; font-size: 8px; line-height: 1.35; }
.kitchen-warnings-v28 > div svg { width: 15px; height: 15px; }
.kitchen-warnings-v28 > div.ok { background: #edf4e7; color: #52704e; }
.kitchen-warnings-v28 > div.warn { background: #faf2df; color: #8b682f; }
.kitchen-warnings-v28 > div.danger { background: #f8e7e3; color: #9b5147; }

.kitchen-selected-v28 > header b { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: var(--kt-deep); color: #fff; font-family: var(--font-serif, Georgia); font-size: 12px; }
.kitchen-selected-v28 > p { margin: 5px 0 0; color: #8a928a; font-size: 9px; line-height: 1.5; }
.kitchen-wide-field-v28,
.kitchen-field-grid-v28 label,
.kitchen-modal-v28 label { display: grid; gap: 5px; }
.kitchen-wide-field-v28 > span,
.kitchen-field-grid-v28 label > span,
.kitchen-modal-v28 label > span { color: #7e867e; font-family: var(--font-mono, monospace); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.kitchen-wide-field-v28 input,
.kitchen-field-grid-v28 input,
.kitchen-modal-v28 input,
.kitchen-modal-v28 select {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(96, 118, 88, .2);
  border-radius: 11px;
  outline: none;
  background: #f8f9f4;
  color: var(--kt-ink);
  font: inherit;
  font-size: 10px;
}
.kitchen-wide-field-v28 input:focus,
.kitchen-field-grid-v28 input:focus,
.kitchen-modal-v28 input:focus,
.kitchen-modal-v28 select:focus { border-color: #789270; box-shadow: 0 0 0 3px rgba(120,146,112,.12); }
.kitchen-field-grid-v28 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px 7px; margin-top: 10px; }
.kitchen-selected-actions-v28 { display: grid; grid-template-columns: 1fr 1fr 39px; gap: 6px; margin-top: 12px; }
.kitchen-selected-actions-v28 button { min-width: 0; height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 7px; border: 1px solid var(--kt-line); border-radius: 11px; background: #f4f6ef; color: #526752; cursor: pointer; font-size: 8px; font-weight: 650; }
.kitchen-selected-actions-v28 button.danger { border-color: rgba(174,92,78,.2); background: #fbefeb; color: #a05c50; }

.kitchen-modal-layer-v28 {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(28, 38, 30, .7);
  backdrop-filter: blur(12px) saturate(.72);
}

.kitchen-modal-v28 {
  width: min(620px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 28px;
  background: #fdfcf7;
  color: var(--kt-ink);
  box-shadow: 0 40px 120px rgba(18,28,20,.34);
}

.kitchen-modal-v28 > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.kitchen-modal-v28 > header > div { display: grid; gap: 7px; }
.kitchen-modal-v28 > header span { color: #66805d; font-family: var(--font-mono, monospace); font-size: 8px; letter-spacing: .14em; }
.kitchen-modal-v28 h2 { margin: 0; font-family: var(--font-serif, Georgia); font-size: 31px; font-weight: 500; letter-spacing: -.025em; }
.kitchen-modal-v28 > header button { width: 40px; height: 40px; border: 1px solid var(--kt-line); border-radius: 50%; background: #fff; color: #617061; cursor: pointer; font-size: 22px; }
.kitchen-modal-v28 form { display: grid; gap: 15px; }
.kitchen-modal-grid-v28 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.kitchen-modal-v28 input,
.kitchen-modal-v28 select { height: 48px; padding-inline: 14px; border-radius: 14px; font-size: 14px; }
.kitchen-modal-v28 form > p { margin: 0; padding: 12px 14px; border-radius: 13px; background: #eff3e9; color: #6c756c; font-size: 11px; line-height: 1.5; }
.kitchen-modal-v28 footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.kitchen-modal-v28 footer button { min-height: 46px; padding: 0 19px; border: 1px solid var(--kt-line); border-radius: 99px; background: #fff; color: var(--kt-ink); cursor: pointer; font-size: 11px; font-weight: 650; }
.kitchen-modal-v28 footer button.primary { border-color: var(--kt-deep); background: var(--kt-deep); color: #fff; }

body.kitchen-expanded-open-v28 { overflow: hidden !important; }
.kitchen-twin-page-v28.expanded {
  position: fixed;
  inset: 0;
  z-index: 1500;
  width: 100vw;
  height: 100dvh;
  padding: 0;
  background: #e7ebe2;
}
.kitchen-twin-page-v28.expanded .kitchen-hero-v28 { display: none; }
.kitchen-twin-page-v28.expanded .kitchen-workspace-v28 { height: 100dvh; border: 0; border-radius: 0; }
.kitchen-twin-page-v28.expanded .kitchen-editor-grid-v28 { height: calc(100dvh - 68px); min-height: 0; grid-template-columns: 270px minmax(0,1fr) 310px; }
.kitchen-twin-page-v28.expanded .kitchen-stage-v28 { min-height: 0; }

.kitchen-twin-page-v28 button:focus-visible,
.kitchen-object-v28:focus-visible {
  outline: 3px solid rgba(92, 130, 79, .34);
  outline-offset: 2px;
}

@media (max-width: 1380px) {
  .kitchen-editor-grid-v28 { grid-template-columns: 238px minmax(390px,1fr) 285px; }
  .kitchen-right-v28 { padding: 10px; }
  .kitchen-analysis-v28, .kitchen-selected-v28 { padding: 12px; }
  .kitchen-catalog-v28 span b { font-size: 10px; }
}

@media (max-width: 1120px) {
  .kitchen-toolbar-v28 { grid-template-columns: 1fr auto; }
  .kitchen-toolbar-center-v28 { grid-row: 2; grid-column: 1 / -1; justify-self: center; }
  .kitchen-editor-grid-v28 {
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-template-areas: "stage stage" "left right";
  }
  .kitchen-stage-v28 { grid-area: stage; min-height: 620px; }
  .kitchen-left-v28 { grid-area: left; border-top: 1px solid var(--kt-line); border-right: 1px solid var(--kt-line); }
  .kitchen-right-v28 { grid-area: right; border-top: 1px solid var(--kt-line); border-left: 0; }
  .kitchen-catalog-v28 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kitchen-twin-page-v28.expanded .kitchen-toolbar-v28 { min-height: 112px; }
  .kitchen-twin-page-v28.expanded .kitchen-editor-grid-v28 { height: calc(100dvh - 112px); grid-template-columns: 230px minmax(0,1fr) 280px; grid-template-areas: none; }
  .kitchen-twin-page-v28.expanded .kitchen-left-v28,
  .kitchen-twin-page-v28.expanded .kitchen-right-v28,
  .kitchen-twin-page-v28.expanded .kitchen-stage-v28 { grid-area: auto; border-top: 0; }
}

@media (max-width: 1000px) {
  .kitchen-twin-page-v28.expanded .kitchen-editor-grid-v28 { display: block; height: calc(100dvh - 112px); }
  .kitchen-twin-page-v28.expanded .kitchen-left-v28,
  .kitchen-twin-page-v28.expanded .kitchen-right-v28 { display: none; }
  .kitchen-twin-page-v28.expanded .kitchen-stage-v28 { width: 100%; height: 100%; min-height: 0; }
}

@media (max-width: 760px) {
  .main[data-screen-label="v5-kitchentwin"] { padding: 0 8px 88px !important; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
  .kitchen-workspace-v28,
  .kitchen-editor-grid-v28,
  .kitchen-left-v28,
  .kitchen-right-v28,
  .kitchen-panel-body-v28,
  .kitchen-floor-editor-v36 { touch-action: pan-y; }
  .kitchen-floor-editor-v36,
  .kitchen-floor-editor-v36 button { -webkit-user-select: none; user-select: none; }
  .kitchen-floor-editor-v36 button { touch-action: pan-y; }
  .kitchen-twin-page-v28:not(.expanded) .kitchen-scene-v28 { touch-action: pan-y; }
  .kitchen-hero-v28 { min-height: 190px; grid-template-columns: 1fr; align-items: start; gap: 18px; padding: 24px 10px; }
  .kitchen-hero-v28::before { right: -30px; bottom: -85px; font-size: 260px; }
  .kitchen-hero-v28 h1 { font-size: clamp(45px, 14vw, 64px); }
  .kitchen-hero-v28 p { font-size: 13px; }
  .kitchen-hero-status-v28 { min-width: 0; width: 100%; justify-items: start; padding: 14px 16px; }
  .kitchen-workspace-v28 { border-radius: 23px; }
  .kitchen-toolbar-v28 { grid-template-columns: 1fr auto; gap: 8px; padding: 8px; }
  .kitchen-toolbar-actions-v28 button span { display: none; }
  .kitchen-toolbar-actions-v28 button { width: 42px; padding: 0; }
  .kitchen-view-switch-v28 button { min-width: 62px; padding-inline: 10px; }
  .kitchen-toolbar-center-v28 { max-width: 100%; }
  .kitchen-toolbar-center-v28 button { width: 31px; height: 31px; }
  .kitchen-editor-grid-v28 { display: flex; flex-direction: column; min-height: 0; }
  .kitchen-stage-v28 { order: 1; width: 100%; min-height: 54dvh; }
  .kitchen-left-v28 { order: 2; width: 100%; border-right: 0; border-top: 1px solid var(--kt-line); }
  .kitchen-right-v28 { order: 3; width: 100%; border-top: 1px solid var(--kt-line); }
  .kitchen-catalog-v28 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kitchen-catalog-v28 > button { min-height: 92px; grid-template-columns: 38px minmax(0,1fr); grid-template-rows: auto auto; align-content: center; }
  .kitchen-catalog-v28 > button em { display: none; }
  .kitchen-catalog-v28 span b { white-space: normal; line-height: 1.25; }
  .kitchen-stage-hint-v28 { left: 10px; bottom: 10px; max-width: calc(100% - 118px); }
  .kitchen-stage-hint-v28 small { display: none; }
  .kitchen-orbit-v28 { right: 10px; bottom: 10px; }
  .kitchen-quality-v28 { top: 42px; right: 10px; width: min(224px, calc(100% - 20px)); }
  .kitchen-cad-navigation-v28 { top: 42px; left: 10px; }
  .kitchen-plan-tools-v28 { left: 10px; right: auto; top: 42px; }
  .kitchen-plan-selection-v28 { left: 10px; top: 86px; max-width: calc(100% - 20px); }
  .kitchen-metrics-v28 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .kitchen-modal-layer-v28 { align-items: end; padding: 8px; }
  .kitchen-modal-v28 { max-height: calc(100dvh - 16px); padding: 19px; border-radius: 24px; }
  .kitchen-modal-v28 h2 { font-size: 27px; }
  .kitchen-modal-grid-v28 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kitchen-modal-v28 input, .kitchen-modal-v28 select { font-size: 16px; }
  .kitchen-modal-v28 footer { display: grid; grid-template-columns: 1fr 1fr; }
  .kitchen-twin-page-v28.expanded .kitchen-toolbar-v28 { min-height: 112px; }
  .kitchen-twin-page-v28.expanded .kitchen-editor-grid-v28 { height: calc(100dvh - 112px); display: block; }
  .kitchen-twin-page-v28.expanded .kitchen-left-v28,
  .kitchen-twin-page-v28.expanded .kitchen-right-v28 { display: none; }
  .kitchen-twin-page-v28.expanded .kitchen-stage-v28 { width: 100%; height: 100%; min-height: 0; }
}

@media (pointer: coarse) {
  .main[data-screen-label="v5-kitchentwin"] { overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
  .kitchen-workspace-v28,
  .kitchen-editor-grid-v28,
  .kitchen-left-v28,
  .kitchen-right-v28,
  .kitchen-panel-body-v28,
  .kitchen-floor-editor-v36,
  .kitchen-floor-editor-v36 button { touch-action: pan-y; }
  .kitchen-twin-page-v28:not(.expanded) .kitchen-scene-v28 { touch-action: pan-y; }
}

@media (max-width: 430px) {
  .kitchen-kicker-v28 { font-size: 8px; }
  .kitchen-view-switch-v28 button svg { display: none; }
  .kitchen-view-switch-v28 button { min-width: 58px; padding-inline: 8px; font-size: 10px; }
  .kitchen-plan-tools-v28 button { padding-inline: 8px; font-size: 7px; }
  .kitchen-plan-tools-v28 label { padding-left: 5px; }
  .kitchen-plan-tools-v28 select { width: 58px; padding-left: 5px; padding-right: 16px; }
  .kitchen-quality-v28 { width: 204px; padding: 8px 9px 7px; border-radius: 14px; }
  .kitchen-quality-v28 header { margin-bottom: 4px; }
  .kitchen-quality-v28 output small { display: none; }
  .kitchen-quality-v28 > div button { font-size: 6px; }
  .kitchen-cad-navigation-v28 button { width: 31px; justify-content: center; padding: 0; }
  .kitchen-cad-navigation-v28 button span { display: none; }
  .kitchen-toolbar-center-v28 > button:nth-child(7) { display: none; }
  .kitchen-catalog-v28 { gap: 6px; }
  .kitchen-catalog-v28 > button { padding: 8px; }
  .kitchen-metrics-v28 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kitchen-field-grid-v28 { grid-template-columns: 1fr 1fr; }
  .kitchen-modal-grid-v28 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .kitchen-catalog-v28 > button,
  .kitchen-switch-v28 > i,
  .kitchen-switch-v28 > i::after { transition: none; }
}
