/* KvantHome redesign layer.
 *
 * Loaded after the compiled bundle CSS and after bridge.css. The goal is a
 * calmer product interface: one UI face, one rare editorial accent, readable
 * mobile type, fewer decorative labels and no generated-looking artwork.
 */

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/golos-text-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/golos-text-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/literata-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/literata-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --kh-font: "Golos Text", "Segoe UI", Arial, sans-serif;
  --kh-serif: "Literata", Georgia, "Times New Roman", serif;
  --kh-ink: #302d29;
  --kh-muted: #68635b;
  --kh-line: #ded5c6;
  --kh-paper: #fcfaf5;
  --kh-bg: #f5efe1;
  --kh-soft: #f0e9dd;
  --kh-beige: #e5d3af;
  --kh-blue: #aec4d4;
  --kh-wine: #790d16;
  --kh-wine-deep: #5d0911;
  font-family: var(--kh-font);
  font-size: 16px;
  color: var(--kh-ink);
  background: var(--kh-bg);
  --muted: var(--kh-muted);
  --line: var(--kh-line);
  --paper: var(--kh-paper);
  --bg: var(--kh-bg);
  --soft: var(--kh-soft);
  --beige: var(--kh-beige);
  --blue: var(--kh-blue);
  --wine: var(--kh-wine);
  --ink: var(--kh-ink);
}

#root,
#root *,
.kh-auth,
.kh-auth *,
.kh-session,
.kh-session *,
.kh-toast {
  font-family: var(--kh-font);
}

#root br {
  display: inline;
}

#root {
  color: var(--kh-ink);
  background: var(--kh-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#root p {
  line-height: 1.6;
}

#root h1,
#root h2,
#root h3,
#root h4 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

#root .button {
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  gap: 12px;
  box-shadow: none;
}
#root .button.secondary {
  border-color: var(--kh-line);
  color: var(--kh-wine);
  background: transparent;
}
#root .button.secondary:hover {
  background: var(--kh-soft);
}
#root .text-link {
  font-size: 14px;
  font-weight: 500;
  gap: 8px;
}
#root .chip {
  min-height: 38px;
  border-radius: 8px;
  font-size: 13px;
  padding: 8px 12px;
}
#root input:not([type="range"]),
#root select,
#root textarea {
  border-radius: 8px;
  font-size: 14px;
}
#root label {
  font-size: 13px;
  font-weight: 500;
}

/* ------------------------------------------------------------------ landing */
#root .landing {
  background: var(--kh-bg);
  color: var(--kh-ink);
}
#root .landing-nav {
  height: 78px;
  margin: 0 5.5%;
  border-bottom: 1px solid var(--kh-line);
}
#root .landing-nav .brand > span {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
#root .landing-nav .brand small,
#root .landing footer .brand small {
  display: none;
}
#root .landing-nav nav {
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
#root .landing-nav .nav-demo {
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff8ed;
  background: var(--kh-wine);
}
#root .landing-nav .nav-demo:hover {
  background: #8c1620;
}

#root .hero {
  padding: 48px 5.5% 0;
}
#root .hero-kicker {
  display: none;
}
#root .hero-title {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.6fr);
  gap: 48px;
  align-items: end;
  margin: 0 0 38px;
}
#root .hero-title h1 {
  font-family: var(--kh-serif);
  font-size: clamp(46px, 5.6vw, 80px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
#root .hero-title h1 em {
  color: var(--kh-wine);
  font-style: normal;
  letter-spacing: inherit;
}
#root .hero-title > p {
  max-width: 340px;
  padding: 0 0 8px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--kh-muted);
}
#root .hero-stage {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 190px;
  gap: 32px;
  align-items: center;
  min-height: 0;
}
#root .hero-caption {
  display: block;
}
#root .hero-caption .vertical-label,
#root .hero-caption .tiny-number {
  display: none;
}
#root .hero-caption p {
  display: block;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--kh-muted);
}
#root .hero-caption .button {
  width: 100%;
  justify-content: space-between;
}
#root .hero-caption .text-link {
  display: inline-flex;
  margin-top: 12px;
  font-size: 13px;
}
#root .hero .floor-plan {
  padding: 0;
}
#root .plan-meta {
  display: none;
}
#root .floor-plan .room-label text,
#root .floor-plan text {
  font-size: 10px;
  letter-spacing: 0.08em;
}
#root .plan-legend {
  font-size: 11px;
}
#root .plan-legend span:first-child {
  display: none;
}
#root .hero-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--kh-line);
  border-radius: 12px;
  background: var(--kh-paper);
  font-size: 0;
  letter-spacing: 0;
}
#root .hero-note > strong {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
#root .hero-note > strong small {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}
#root .hero-note > p {
  display: none;
}
#root .hero-note .demo-label {
  align-self: flex-start;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 11px;
  letter-spacing: 0;
}
#root .hero-bottom {
  display: flex;
  gap: 24px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--kh-line);
  font-size: 13px;
  color: var(--kh-muted);
}
#root .hero-bottom > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#root .hero-bottom > span:first-child {
  color: var(--kh-ink);
  font-weight: 600;
}
#root .hero-bottom > a {
  width: 36px;
  height: 36px;
  margin-left: auto;
  border-radius: 50%;
}

#root .section-wrap {
  padding: 76px 5.5%;
}
#root .editorial-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}
#root .editorial-head > .eyebrow {
  display: none;
}
#root .editorial-head h2 {
  font-size: clamp(32px, 3.3vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
#root .editorial-head h2 em {
  color: var(--kh-wine);
  font-style: normal;
  letter-spacing: inherit;
}
#root .editorial-head > p:last-child {
  padding: 0 0 4px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--kh-muted);
}

/* Ecosystem: one large light panel, one climate panel, a full-width heat strip
 * and four compact capability rows. No numbered cards, no generated artwork. */
#root .ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
#root .feature-light {
  grid-column: span 7;
  grid-row: auto;
  min-height: 280px;
  padding: 28px;
  border-radius: 12px;
  background: #eadfca;
  display: flex;
  flex-direction: column;
}
#root .feature-window {
  grid-column: span 5;
  grid-row: auto;
  min-height: 280px;
  padding: 28px;
  border-radius: 12px;
  background: #d6e2ea;
  display: flex;
  flex-direction: column;
}
#root .feature-heat {
  grid-column: 1 / -1;
  grid-row: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  border: 1px solid var(--kh-line);
  border-radius: 12px;
  background: var(--kh-paper);
}
#root .feature-index {
  grid-column: 1 / -1;
  grid-row: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--kh-line);
}
#root .feature-index article {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 22px 24px 22px 0;
  border: 0;
  border-right: 1px solid var(--kh-line);
}
#root .feature-index article:first-child {
  padding-top: 22px;
  border-top: 0;
}
#root .feature-index article:last-child {
  padding-right: 0;
  border-right: 0;
}
#root .feature-index .index-num {
  display: none;
}
#root .feature-index h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.3;
}
#root .feature-index p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--kh-muted);
}
#root .feature-index article > svg {
  display: block;
  grid-column: 1;
  grid-row: 1;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--kh-wine);
}
#root .feature-index article > div {
  grid-column: 2;
}
#root .feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--kh-muted);
}
#root .feature-top svg {
  width: 20px;
  height: 20px;
  color: var(--kh-wine);
}
#root .feature-light h3,
#root .feature-window h3 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
#root .feature-light p,
#root .feature-window p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #5c5347;
}
#root .feature-light label {
  margin-top: auto;
  padding-top: 20px;
  font-size: 13px;
}
#root .feature-light label strong {
  float: right;
  font-weight: 600;
}
#root .feature-light input[type="range"] {
  margin-top: 10px;
}
#root .feature-window .text-link {
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
}
#root .feature-heat > svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--kh-wine);
}
#root .feature-heat h3 {
  margin: 0 0 6px;
  font-size: 20px;
}
#root .feature-heat p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--kh-muted);
}
#root .feature-heat .circle-button {
  width: 40px;
  height: 40px;
  flex: none;
  margin-left: auto;
}
#root .pendant,
#root .light-pool,
#root .light-demo,
#root .window-art,
#root .lighting-visual {
  display: none !important;
}

/* Scenarios: a real selector plus a selected-scenario panel. */
#root .life-content {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
#root .scene-menu {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--kh-line);
  border-radius: 12px;
  background: var(--kh-paper);
}
#root .scene-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid var(--kh-line);
  border-radius: 0;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--kh-ink);
  background: transparent;
}
#root .scene-menu button:last-child {
  border-bottom: 0;
}
#root .scene-menu button > span,
#root .scene-menu button > svg {
  display: none;
}
#root .scene-menu button.active {
  color: var(--kh-wine);
  background: var(--kh-soft);
  font-weight: 600;
}
#root .scene-menu button.active::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--kh-wine);
}
#root .scene-story {
  align-self: stretch;
  padding: 30px 32px;
  border: 1px solid var(--kh-line);
  border-radius: 12px;
  background: var(--kh-paper);
}
#root .scene-story > .eyebrow {
  display: none;
}
#root .scene-story h3 {
  max-width: none;
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.15;
}
#root .scene-steps {
  display: grid;
  gap: 0;
  margin-bottom: 26px;
  border-top: 1px solid var(--kh-line);
}
#root .scene-steps p {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--kh-line);
  font-size: 14px;
}
#root .scene-steps svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--kh-wine);
}
#root .scene-story .button {
  width: 100%;
  justify-content: center;
}
#root .scene-result {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--kh-ink);
  background: var(--kh-soft);
}
#root .scene-result::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #5f7d54;
}
#root .scene-story > small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--kh-muted);
}

/* Energy story */
#root .energy-journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin: 36px 0 44px;
}
#root .energy-journey > div {
  position: relative;
  padding-top: 16px;
  border-top: 1px solid var(--kh-line);
}
#root .energy-journey > div > span {
  display: none;
}
#root .energy-journey svg {
  width: 22px;
  height: 22px;
  margin-bottom: 14px;
  color: var(--kh-wine);
}
#root .energy-journey h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
#root .energy-journey p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--kh-muted);
}
#root .landing-energy-grid {
  gap: 20px;
}
#root .energy-calculator,
#root .landing-live-energy {
  padding: 28px;
  border-radius: 12px;
}
#root .energy-calculator > .eyebrow {
  display: none;
}
#root .energy-calculator h3,
#root .landing-live-energy h3 {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.15;
}
#root .energy-calculator > .muted,
#root .landing-live-energy > .muted {
  font-size: 13px;
  line-height: 1.6;
}
#root .landing-live-energy .feature-top {
  margin-bottom: 18px;
  font-size: 12px;
}
#root .landing-power strong {
  font-size: 44px;
}
#root .landing-power > span {
  font-size: 13px;
}
#root .landing-energy-scenes button {
  padding: 14px 0;
  font-size: 14px;
}
#root .landing-energy-scenes small {
  font-size: 12px;
}
#root .landing-energy-scenes button > svg {
  width: 16px;
  height: 16px;
}
#root .landing-live-energy dl > div {
  font-size: 13px;
}
#root .landing-experiment {
  gap: 48px;
  padding-top: 40px;
  margin-top: 48px;
}
#root .landing-experiment .eyebrow {
  display: none;
}
#root .hero-note > .live-dot {
  display: none;
}
#root .landing-experiment h3 {
  margin-top: 0;
  font-size: 28px;
}
#root .landing-experiment p {
  font-size: 14px;
  line-height: 1.6;
}
#root .landing-experiment small {
  font-size: 12px;
  line-height: 1.6;
}
#root .experiment-week {
  gap: 6px;
  font-size: 12px;
}
#root .experiment-week > span {
  padding: 12px;
  border-radius: 8px;
}
#root .landing-finale {
  padding: 64px 20px 72px;
  background: var(--kh-beige);
}
#root .landing-finale > .eyebrow {
  display: none;
}
#root .landing-finale h2 {
  margin: 0 auto 28px;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
#root .landing-finale h2 em {
  color: var(--kh-wine);
  font-style: normal;
}
#root .landing-finale .button {
  min-height: 48px;
  padding: 12px 22px;
  font-size: 14px;
}
#root .landing-finale > p:last-child {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #6f6250;
}
#root .landing footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 32px 5.5%;
  font-size: 13px;
  color: var(--kh-muted);
}
#root .landing footer p {
  font-size: 12px;
  line-height: 1.6;
}
#root .landing footer nav {
  display: flex;
  gap: 18px;
  font-size: 13px;
}
#root .landing footer .brand > span {
  font-size: 18px;
}

/* --------------------------------------------------------------------- app */
#root .workspace {
  background: var(--kh-bg);
  color: var(--kh-ink);
  font-size: 15px;
}
#root .sidebar {
  padding: 24px 18px;
}
#root .sidebar .brand > span {
  font-size: 20px;
}
#root .sidebar .brand small {
  display: none;
}
#root .sidebar-home {
  padding: 24px 8px 18px;
  margin-bottom: 16px;
}
#root .sidebar-home .eyebrow {
  display: none;
}
#root .sidebar-home strong {
  margin: 0 0 4px;
  font-size: 15px;
}
#root .sidebar-home small {
  font-size: 12px;
  line-height: 1.4;
}
#root .sidebar nav {
  gap: 4px;
}
#root .sidebar nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  gap: 10px;
}
#root .sidebar nav a.active:after {
  display: none;
}
#root .sidebar-bottom {
  padding: 20px 6px 0;
}
#root .sidebar-bottom .demo-label {
  display: none;
}
#root .sidebar-bottom > p {
  margin: 10px 0;
  font-size: 12px;
  line-height: 1.5;
}
#root .sidebar-bottom > a {
  font-size: 13px;
  gap: 12px;
}
#root .profile-dot small {
  font-size: 11px;
}
#root .app-topbar {
  height: 72px;
  padding: 0 32px;
  gap: 18px;
}
#root .connection {
  font-size: 12px;
}
#root .app-topbar > time {
  font-size: 12px;
}
#root .avatar {
  width: 34px;
  height: 34px;
  font-size: 13px;
}
#root .app-main {
  max-width: 1420px;
  padding: 32px 36px 120px;
}
#root .section-head {
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 26px;
}
#root .section-head .eyebrow {
  display: none;
}
#root .section-head h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
#root .section-head .muted {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--kh-muted);
}
#root .section-head > .status-pill {
  padding: 8px 12px;
  font-size: 12px;
}
#root .summary-strip {
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 0;
  margin-bottom: 24px;
  padding: 0;
  border-top: 1px solid var(--kh-line);
  border-bottom: 1px solid var(--kh-line);
}
#root .summary-strip > div {
  padding: 16px 18px;
  border-right: 1px solid var(--kh-line);
}
#root .summary-strip > div:first-child {
  padding-left: 0;
}
#root .summary-strip > div:last-child {
  border-right: 0;
}
#root .summary-strip span {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--kh-muted);
}
#root .summary-strip strong {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 600;
}
#root .summary-strip small {
  font-size: 12px;
}
#root .summary-strip .current-power > span {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--kh-wine);
}
#root .summary-strip .current-power > strong {
  font-size: 34px;
}
#root .panel {
  padding: 24px;
  border-radius: 12px;
}
#root .panel-heading {
  margin-bottom: 14px;
}
#root .panel-heading h2 {
  font-size: 19px;
}
#root .panel-heading .eyebrow {
  display: none;
}
#root .panel-heading > a,
#root .panel-heading .text-link {
  font-size: 13px;
}
#root .panel-body {
  padding-top: 14px;
}
#root .dashboard-grid {
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
}
#root .dashboard-lower {
  gap: 18px;
}
#root .dashboard-side {
  gap: 18px;
}
#root .climate-lines {
  display: none;
}
#root .climate-preview {
  background: linear-gradient(160deg, #c4d6e2 0%, #a9c0d2 100%);
}
#root .presence-panel {
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
#root .presence-panel > .eyebrow {
  display: none;
}
#root .presence-panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
}
#root .presence-panel > p {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  line-height: 1.55;
}
#root .climate-preview {
  padding: 24px;
  border-radius: 12px;
}
#root .climate-preview > div:first-child {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
#root .climate-preview .eyebrow {
  display: none;
}
#root .climate-preview h2 {
  font-size: 48px;
  font-weight: 500;
}
#root .climate-preview h2 small {
  font-size: 12px;
}
#root .climate-preview p {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
}
#root .quick-scenes {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
#root .quick-scenes button {
  min-height: 84px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  gap: 10px;
}
#root .quick-scenes button svg {
  width: 20px;
  height: 20px;
}
#root .quick-scenes button.active {
  color: #fff8ed;
  background: var(--kh-wine);
  border-color: var(--kh-wine);
}
#root .quick-scenes button.active svg {
  color: #fff8ed;
}
#root .device-grid {
  gap: 14px;
}
#root .device-card {
  padding: 20px;
  border-radius: 12px;
}
#root .device-card-top {
  margin-bottom: 18px;
}
#root .device-glyph {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}
#root .device-card-title h3 {
  font-size: 16px;
}
#root .device-status {
  min-height: 20px;
  font-size: 13px;
  line-height: 1.5;
}
#root .device-card-bottom {
  margin-top: 18px;
  padding-top: 12px;
  font-size: 11px;
}
#root .device-card .badge {
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 11px;
}
#root .lighting-grid .device-card {
  min-height: 0;
}
#root .device-card > .text-link {
  font-size: 13px;
}
#root .room-links {
  display: flex;
  gap: 8px;
  margin: 18px 0 24px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
#root .room-links::-webkit-scrollbar {
  display: none;
}
#root .room-links a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--kh-line);
  border-radius: 999px;
  font-size: 13px;
  background: var(--kh-paper);
}
#root .room-links a > span,
#root .room-links a > svg {
  display: none;
}
#root .device-toolbar {
  gap: 12px;
  margin-bottom: 20px;
}
#root .search-field {
  border-radius: 8px;
  background: var(--kh-paper);
}
#root .search-field > input {
  min-height: 42px;
  font-size: 13px;
}
#root .device-toolbar select {
  font-size: 13px;
  border-radius: 8px;
}
#root .tabs {
  border-radius: 9px;
}
#root .tabs button {
  padding: 9px 14px;
  font-size: 13px;
}
#root .rule {
  padding: 22px;
  border-radius: 12px;
}
#root .rule-head h3 {
  font-size: 17px;
}
#root .rule-description p {
  font-size: 13px;
  line-height: 1.6;
}
#root .rule-description .eyebrow {
  font-size: 11px;
  letter-spacing: 0;
}
#root .rule-footer {
  font-size: 12px;
}
#root .rule-footer > .text-link {
  font-size: 13px;
}
#root .settings-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 8%;
  padding: 28px 0;
}
#root .settings-section .eyebrow {
  display: none;
}
#root .settings-section h2 {
  margin: 0 0 12px;
  font-size: 22px;
}
#root .settings-section > div > p {
  font-size: 13px;
  line-height: 1.6;
}
#root .security-banner {
  padding: 24px 28px;
  border-radius: 12px;
}
#root .security-banner .eyebrow {
  font-size: 11px;
  letter-spacing: 0;
}
#root .security-banner h2 {
  margin: 6px 0 8px;
  font-size: 22px;
}
#root .security-banner p {
  font-size: 13px;
}
#root .security-device {
  padding: 18px;
  border-radius: 10px;
}
#root .security-device strong {
  font-size: 14px;
}
#root .security-device small {
  font-size: 12px;
}
#root .energy-wordmark {
  display: none;
}
#root .energy-nav a {
  font-size: 13px;
}
#root .energy-overview span {
  font-size: 12px;
}
#root .energy-overview strong {
  font-size: 26px;
}
#root .energy-overview strong small,
#root .energy-overview > div > small {
  font-size: 12px;
}
#root .energy-now > span:first-child {
  font-size: 12px;
  letter-spacing: 0;
}
#root .energy-now > strong {
  font-size: 32px;
}
#root .energy-insights > a > span {
  font-size: 12px;
}
#root .energy-insights strong {
  font-size: 18px;
}
#root .energy-insights strong small {
  font-size: 11px;
}
#root .analytics-totals span {
  font-size: 12px;
}
#root .analytics-totals strong {
  font-size: 32px;
}
#root .analytics-totals small,
#root .analytics-totals p {
  font-size: 12px;
}
#root .device-breakdown > div {
  font-size: 13px;
}
#root .device-breakdown strong {
  font-size: 14px;
}
#root .device-breakdown small {
  font-size: 12px;
}
#root .recommendation-panel {
  padding: 26px;
  border-radius: 12px;
}
#root .recommendation-panel > .eyebrow {
  display: none;
}
#root .recommendation-panel h2 {
  margin-top: 0;
  font-size: 26px;
}
#root .recommendation-panel p:not(.eyebrow) {
  font-size: 14px;
}
#root .recommendation-panel .muted {
  font-size: 12px !important;
}
#root .scenario-comparison h2 {
  font-size: 20px;
}
#root .scenario-comparison .muted {
  font-size: 13px;
}
#root .page-footnote {
  font-size: 12px;
  line-height: 1.65;
}
#root .chart-caption {
  font-size: 12px;
}
#root .bottom-nav {
  border-top: 1px solid var(--kh-line);
  background: var(--kh-paper);
}
#root .bottom-nav a {
  font-size: 11px;
  gap: 4px;
}
#root .bottom-nav a svg {
  width: 22px;
  height: 22px;
}
#root .simulator-bar {
  background: var(--kh-paper);
  border-top: 1px solid var(--kh-line);
}
#root .simulator-bar > span {
  font-size: 11px;
}
#root .simulator-bar strong {
  font-size: 13px;
}
#root .simulator-bar .chip {
  font-size: 11px;
  min-height: 34px;
}

/* ------------------------------------------------------------------- auth */
.kh-auth {
  --kh-bg: #f3ecdf;
  --kh-paper: #fcfaf5;
  --kh-surface: #eee5d4;
  --kh-beige: #e5d3af;
  --kh-wine: #790d16;
  --kh-wine-deep: #5d0911;
  --kh-ink: #302d29;
  --kh-muted: #68635b;
  --kh-line: #ded5c6;
  padding: clamp(16px, 3vw, 40px);
  background: var(--kh-bg);
  font-family: var(--kh-font);
}
.kh-auth::before {
  display: none;
}
.kh-auth [hidden] {
  display: none !important;
}
.kh-auth-shell {
  width: min(1040px, 100%);
  min-height: min(640px, calc(100vh - clamp(32px, 6vw, 80px)));
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  border: 1px solid var(--kh-line);
  border-radius: 18px;
  background: var(--kh-paper);
  box-shadow: 0 24px 70px -36px rgba(48, 45, 41, 0.42);
}
.kh-auth-brand {
  padding: clamp(32px, 4vw, 52px);
  justify-content: flex-start;
  gap: 34px;
  background: linear-gradient(150deg, #8a141e 0%, var(--kh-wine) 55%, var(--kh-wine-deep) 100%);
}
.kh-auth-brand::after {
  display: none;
}
.kh-auth-mark {
  gap: 9px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}
.kh-mark-dot {
  width: 9px;
  height: 9px;
  background: #e5d3af;
  box-shadow: none;
}
.kh-eyebrow {
  display: none;
}
.kh-auth-copy {
  max-width: 440px;
}
.kh-auth-copy h1 {
  font-family: var(--kh-font);
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff9ee;
}
.kh-auth-copy h1 em {
  color: #e5d3af;
  font-style: normal;
}
.kh-lead {
  max-width: 410px;
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 247, 234, 0.78);
}
.kh-auth-points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: auto 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 247, 234, 0.2);
}
.kh-auth-points li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 247, 234, 0.75);
}
.kh-auth-points strong {
  min-width: 96px;
  font-size: 14px;
  font-weight: 600;
  color: #fff9ee;
}
.kh-auth-stats {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 247, 234, 0.2);
}
.kh-auth-stats div {
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
}
.kh-auth-stats strong {
  min-width: 96px;
  font-size: 14px;
}
.kh-auth-stats span {
  font-size: 13px;
  line-height: 1.5;
}
.kh-auth-orbit {
  display: none;
}
.kh-auth-panel {
  padding: clamp(28px, 3.6vw, 48px);
  background: var(--kh-paper);
}
.kh-auth-badge {
  display: none;
}
.kh-auth-panel h2 {
  font-family: var(--kh-font);
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.kh-auth-panel-head p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
}
.kh-auth-tabs {
  border-radius: 9px;
  background: var(--kh-surface);
}
.kh-auth-tabs button {
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
}
.kh-field > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--kh-muted);
}
.kh-field input {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
}
.kh-submit,
.kh-demo {
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.kh-submit {
  box-shadow: none;
}
.kh-auth-divider {
  margin: 18px 0 14px;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}
.kh-auth-foot {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.55;
}
.kh-auth-legal {
  margin-top: 14px;
  padding-top: 12px;
  font-size: 11px;
  line-height: 1.5;
}
.kh-fatal h2 {
  font-family: var(--kh-font);
  font-weight: 600;
}

/* --------------------------------------------------------------- chrome */
.kh-session {
  right: 18px;
  bottom: 18px;
  gap: 8px;
  padding: 7px 8px 7px 11px;
  border-radius: 9px;
  font-size: 12px;
  background: rgba(252, 250, 245, 0.96);
  box-shadow: 0 8px 24px -16px rgba(48, 45, 41, 0.55);
}
.kh-session[hidden] {
  display: none !important;
}
.kh-session.kh-session-inbar,
.kh-session.kh-session-insidebar {
  position: static;
  inset: auto;
  box-shadow: none;
}
.kh-session.kh-session-inbar {
  padding: 5px 7px;
  border-color: transparent;
  background: transparent;
  font-size: 11px;
}
.kh-session.kh-session-insidebar {
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  gap: 6px;
  font-size: 11px;
}
.kh-session.kh-session-insidebar .kh-session-name,
.kh-session.kh-session-insidebar .kh-session-mode {
  display: none;
}
.kh-session-dot {
  width: 8px;
  height: 8px;
}
.kh-session-name {
  font-weight: 600;
}
.kh-session-mode {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}
.kh-session-exit {
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 600;
}
body.kh-app-ready .kh-toast {
  bottom: 142px;
}
.kh-toast {
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.5;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  #root .hero-stage {
    grid-template-columns: 170px minmax(0, 1fr) 170px;
    gap: 20px;
  }
  #root .feature-light h3,
  #root .feature-window h3 {
    font-size: 26px;
  }
  #root .feature-index {
    grid-template-columns: repeat(2, 1fr);
  }
  #root .feature-index article:nth-child(2) {
    border-right: 0;
  }
  #root .feature-index article:nth-child(3),
  #root .feature-index article:nth-child(4) {
    border-top: 1px solid var(--kh-line);
  }
  #root .energy-journey {
    gap: 18px;
  }
  #root .energy-journey h3 {
    font-size: 16px;
  }
}

@media (max-width: 860px) {
  .kh-auth {
    padding: 0;
    background: var(--kh-paper);
  }
  .kh-auth-shell {
    grid-template-columns: 1fr;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .kh-auth-brand {
    min-height: 0;
    padding: 26px 22px 24px;
    gap: 18px;
  }
  .kh-auth-copy h1 {
    font-size: 30px;
  }
  .kh-lead {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
  }
  .kh-auth-points,
  .kh-auth-stats {
    display: none;
  }
  .kh-auth-panel {
    padding: 24px 22px 32px;
  }
  .kh-auth-panel h2 {
    font-size: 26px;
  }
}

@media (max-width: 760px) {
  #root .landing-nav {
    height: 66px;
    margin: 0 6%;
  }
  #root .landing-nav nav {
    top: 66px;
    gap: 18px;
    font-size: 15px;
  }
  #root .hero {
    padding: 28px 6% 0;
  }
  #root .hero-title {
    display: block;
    margin-bottom: 24px;
  }
  #root .hero-title h1 {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.05;
  }
  #root .hero-title > p {
    max-width: none;
    margin-top: 16px;
    padding: 0;
    font-size: 15px;
    line-height: 1.55;
  }
  #root .hero-stage {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  #root .hero .floor-plan {
    order: 1;
    width: 100%;
  }
  #root .hero .floor-plan svg {
    width: 100%;
    height: auto;
  }
  #root .floor-plan .room-label text,
  #root .floor-plan text {
    font-size: 18px;
    letter-spacing: 0.04em;
  }
  #root .plan-legend {
    font-size: 12px;
  }
  #root .hero-caption {
    order: 2;
    width: 100%;
    margin: 0;
  }
  #root .hero-caption > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  #root .hero-caption p {
    width: 100%;
    margin: 0 0 4px;
    font-size: 14px;
  }
  #root .hero-caption .button {
    flex: 1 1 100%;
    min-height: 46px;
  }
  #root .hero-caption .text-link {
    margin: 0;
    font-size: 13px;
  }
  #root .hero-note {
    order: 3;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
  }
  #root .hero-note > strong {
    font-size: 22px;
  }
  #root .hero-note .demo-label {
    margin: 0 0 0 auto;
  }
  #root .hero-bottom {
    display: none;
  }
  #root .section-wrap {
    padding: 48px 6%;
  }
  #root .editorial-head {
    display: block;
    margin-bottom: 26px;
  }
  #root .editorial-head h2 {
    margin: 0 0 12px;
    font-size: 31px;
    line-height: 1.1;
  }
  #root .editorial-head > p:last-child {
    font-size: 14px;
    line-height: 1.55;
  }
  #root .ecosystem-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  #root .feature-light,
  #root .feature-window,
  #root .feature-heat,
  #root .feature-index {
    width: 100%;
    min-height: 0;
  }
  #root .feature-light,
  #root .feature-window {
    padding: 22px;
  }
  #root .feature-light h3,
  #root .feature-window h3 {
    font-size: 25px;
  }
  #root .feature-heat {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 40px;
    gap: 14px;
    padding: 18px;
  }
  #root .feature-heat h3 {
    font-size: 18px;
  }
  #root .feature-heat p {
    font-size: 13px;
  }
  #root .feature-index {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--kh-line);
  }
  #root .feature-index article {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--kh-line);
  }
  #root .feature-index article:nth-child(3),
  #root .feature-index article:nth-child(4) {
    border-top: 0;
  }
  #root .feature-index article:last-child {
    border-bottom: 0;
  }
  #root .feature-index h3 {
    font-size: 17px;
  }
  #root .feature-index p {
    font-size: 14px;
  }
  #root .life-content {
    display: block;
  }
  #root .scene-menu {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 4px;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    scrollbar-width: none;
  }
  #root .scene-menu::-webkit-scrollbar {
    display: none;
  }
  #root .scene-menu button {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid var(--kh-line);
    border-radius: 999px;
    font-size: 14px;
    background: var(--kh-paper);
  }
  #root .scene-menu button:last-child {
    border-bottom: 1px solid var(--kh-line);
  }
  #root .scene-menu button.active {
    color: #fff8ed;
    background: var(--kh-wine);
    border-color: var(--kh-wine);
  }
  #root .scene-menu button.active::before {
    background: #fff8ed;
  }
  #root .scene-story {
    padding: 22px 20px;
  }
  #root .scene-story h3 {
    margin-bottom: 18px;
    font-size: 24px;
  }
  #root .scene-steps p {
    font-size: 14px;
  }
  #root .energy-journey {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 28px 0 32px;
  }
  #root .energy-journey > div:last-child {
    grid-column: 1 / -1;
  }
  #root .energy-journey h3 {
    font-size: 16px;
  }
  #root .energy-journey p {
    font-size: 13px;
  }
  #root .landing-energy-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  #root .energy-calculator,
  #root .landing-live-energy {
    padding: 20px;
  }
  #root .energy-calculator h3,
  #root .landing-live-energy h3 {
    font-size: 24px;
  }
  #root .landing-experiment {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 28px;
    margin-top: 32px;
  }
  #root .landing-experiment h3 {
    font-size: 25px;
  }
  #root .landing-finale {
    padding: 44px 20px 52px;
  }
  #root .landing-finale h2 {
    font-size: 32px;
  }
  #root .landing footer {
    display: block;
    padding: 28px 6%;
    font-size: 13px;
  }
  #root .landing footer p {
    margin: 14px 0;
  }
  #root .landing footer nav {
    margin: 14px 0;
  }

  #root .app-topbar {
    height: 60px;
    padding: 0 16px;
    gap: 8px;
  }
  #root .connection {
    display: none;
  }
  #root .app-topbar > time {
    display: none;
  }
  #root .app-topbar > .avatar {
    width: 32px;
    height: 32px;
  }
  #root .app-main {
    padding: 24px 16px 150px;
  }
  #root .section-head {
    display: block;
    margin-bottom: 22px;
  }
  #root .section-head h1 {
    font-size: 28px;
  }
  #root .section-head .muted {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.5;
  }
  #root .summary-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
  }
  #root .summary-strip > div {
    padding: 14px 14px 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--kh-line);
  }
  #root .summary-strip > div:nth-child(2n) {
    padding-left: 14px;
    border-left: 1px solid var(--kh-line);
  }
  #root .summary-strip .current-power {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--kh-line);
  }
  #root .summary-strip .current-power > strong {
    margin: 0;
    font-size: 32px;
  }
  #root .summary-strip span {
    font-size: 12px;
  }
  #root .summary-strip strong {
    font-size: 24px;
  }
  #root .panel {
    padding: 18px;
  }
  #root .panel-heading h2 {
    font-size: 18px;
  }
  #root .dashboard-grid,
  #root .dashboard-lower {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  #root .dashboard-side {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }
  #root .presence-panel,
  #root .climate-preview {
    padding: 18px;
  }
  #root .climate-preview h2 {
    font-size: 44px;
  }
  #root .quick-scenes {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  #root .quick-scenes button {
    min-height: 76px;
    padding: 12px;
    font-size: 13px;
  }
  #root .device-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #root .device-card {
    padding: 16px;
  }
  #root .device-card-top {
    margin-bottom: 14px;
  }
  #root .device-card-title h3 {
    font-size: 16px;
  }
  #root .device-status {
    font-size: 13px;
  }
  #root .device-card-bottom {
    font-size: 11px;
  }
  #root .settings-section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }
  #root .settings-section h2 {
    font-size: 21px;
  }
  #root .security-banner {
    padding: 20px;
    gap: 16px;
  }
  #root .security-banner h2 {
    font-size: 21px;
  }
  #root .security-banner p {
    font-size: 13px;
  }
  #root .energy-overview {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  #root .energy-overview > div {
    padding: 14px 14px 14px 0;
    border-bottom: 1px solid var(--kh-line);
  }
  #root .energy-overview > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    grid-column: 1 / -1;
    padding: 14px 0;
    border-bottom: 1px solid var(--kh-line);
  }
  #root .energy-overview > div:first-child > strong {
    margin-top: 4px;
    font-size: 34px;
  }
  #root .energy-overview span {
    font-size: 12px;
  }
  #root .energy-overview strong {
    font-size: 24px;
  }
  #root .energy-insights {
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
  }
  #root .energy-insights > a > span {
    font-size: 12px;
  }
  #root .energy-insights strong {
    font-size: 18px;
  }
  #root .analytics-totals {
    gap: 12px;
  }
  #root .analytics-totals strong {
    font-size: 25px;
  }
  #root .analytics-totals small,
  #root .analytics-totals span,
  #root .analytics-totals p {
    font-size: 11px;
  }
  #root .analytics-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  #root .recommendation-panel {
    padding: 22px;
  }
  #root .recommendation-panel h2 {
    font-size: 24px;
  }
  #root .recommendation-panel p:not(.eyebrow) {
    font-size: 14px;
  }
  #root .bottom-nav a {
    font-size: 11px;
  }
  #root .simulator-bar {
    min-height: 54px;
    padding: 8px 14px;
  }
  #root .simulator-bar > span {
    font-size: 10px;
  }
  #root .simulator-bar strong {
    font-size: 13px;
  }
  #root .simulator-bar .chip {
    min-height: 34px;
    font-size: 11px;
  }
  .kh-session {
    padding: 5px 7px;
    font-size: 11px;
  }
  .kh-session.kh-session-inbar {
    gap: 6px;
  }
  body.kh-app-ready .kh-toast {
    bottom: 196px;
  }
  .kh-session-mode {
    display: none;
  }
  .kh-session-name {
    max-width: 78px;
  }
  .kh-session-exit {
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  #root .hero-title h1 {
    font-size: 34px;
  }
  #root .editorial-head h2 {
    font-size: 28px;
  }
  #root .feature-light h3,
  #root .feature-window h3 {
    font-size: 23px;
  }
  #root .energy-journey {
    grid-template-columns: 1fr;
  }
  #root .energy-journey > div:last-child {
    grid-column: auto;
  }
  #root .energy-journey > div {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 12px;
    padding-top: 14px;
  }
  #root .energy-journey svg {
    grid-row: 1 / span 2;
    margin: 2px 0 0;
  }
  #root .energy-journey h3 {
    margin: 0 0 2px;
  }
  #root .quick-scenes {
    grid-template-columns: 1fr;
  }
  #root .summary-strip strong {
    font-size: 22px;
  }
  .kh-auth-copy h1 {
    font-size: 27px;
  }
  .kh-auth-panel {
    padding: 20px 18px 28px;
  }
}

@media (max-width: 760px) {
  #root .device-toolbar .sr-label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 100%;
    min-width: 0;
  }
  #root .device-toolbar .sr-label select {
    flex: 1;
    width: auto;
    min-width: 0;
  }
  #root .device-toolbar .tabs {
    width: 100%;
  }
  #root .device-toolbar .tabs button {
    flex: 1;
  }
  #root .room-links {
    flex-wrap: wrap;
    overflow: visible;
  }
  #root .climate-preview {
    display: flex;
    flex-direction: column;
  }
  #root .climate-preview > div:first-child {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #root *,
  .kh-auth * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
