/* /industries/home-appliances/ (components/site/demo_stage/industry_home_appliances/): what its three scenes and four section panels add to demo_stage.css. */
.demo-stage :is([data-demo-scene=fit], [data-demo-scene=delivery], [data-demo-scene=codes]) {
  .chat { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--card); color: var(--foreground); }
  .chat header { padding: 16px 16px 12px; border-bottom: 1px solid var(--border); font-size: 15px; font-weight: 600; }
  .chat header small { display: block; font-size: 12px; font-weight: 400; color: var(--muted-foreground); }
  .talk { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 12px 6px; }
  :is(.thread, .talk) { -webkit-mask-image: linear-gradient(to bottom, transparent, black 34px); mask-image: linear-gradient(to bottom, transparent, black 34px); }
  .bubble { max-width: 84%; width: fit-content; border-radius: 17px; padding: 8px 12px; font-size: 13.5px; line-height: 1.38; margin-bottom: 8px; }
  .bubble.me { margin-left: auto; background: var(--brand); color: var(--brand-foreground); border-bottom-right-radius: 5px; }
  .bubble.them { background: var(--muted); color: var(--foreground); border-bottom-left-radius: 5px; }
  .wait { font-size: 13px; color: var(--muted-foreground); padding: 0 4px 8px; animation: ds-breathe 1.4s ease-in-out infinite; }
  .box-in { margin: 0 12px 14px; display: flex; align-items: center; background: var(--muted); border-radius: 99px; padding: 9px 14px; font-size: 13.5px; min-height: 40px; }
  .box-in .hint { color: var(--muted-foreground); }
  .box-in .typed:not(:empty) + .hint { display: none; }

  .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
  .tiles li { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: 14px; background: var(--background); padding: 8px; font-size: 12.5px; line-height: 1.3; }
  .tiles img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; background: var(--muted); margin-bottom: 7px; }
  .tiles b { font-weight: 500; }
  .tiles span { color: var(--muted-foreground); margin: 1px 0 8px; font-variant-numeric: tabular-nums; }
  .tiles .add { margin-top: auto; font-style: normal; text-align: center; border-radius: 99px; padding: 6px 8px; background: var(--foreground); color: var(--background); font-weight: 500; transition: transform .15s var(--ds-ease), background-color .2s; }
  .tiles .add.picked { background: var(--brand); color: var(--brand-foreground); transform: scale(.97); }
  .sheet svg { width: 18px; height: 18px; }

  .work .head .title { min-width: 0; }
  .work .head .ok { color: var(--foreground); }
  .work .body { margin-top: 4px; }
  .work.done.kept .body { grid-template-rows: 1fr; opacity: 1; }
  .line { padding-left: 23px; }
  .thumbs { padding-left: 23px; }
  .tool { margin-left: auto; flex: none; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; font-weight: 400; background: var(--card); border-radius: 6px; padding: 1px 7px; color: var(--muted-foreground); }
  .picks { display: grid; gap: 8px; margin-top: 8px; }
  .pick { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--border); border-radius: 11px; padding: 6px 8px; font-size: 12px; line-height: 1.25; }
  .pick img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; background: var(--muted); flex: none; }
  .pick b { display: block; font-weight: 500; }
  .happened { display: flex; justify-content: center; margin-bottom: 8px; }
  .happened span { font-size: 12.5px; font-weight: 500; color: var(--brand); font-variant-numeric: tabular-nums; }
  .event.before :is(b, small) { color: var(--muted-foreground); }

  .side { display: flex; flex-direction: column; }
  .side .gap { padding-bottom: 16px; }
  .side > .user { flex: none; }
  .ask .item { display: flex; align-items: center; gap: 12px; }
  .ask .item img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--muted); flex: none; }
  .ask .item b { display: block; font-size: 13px; font-weight: 500; color: var(--muted-foreground); }
  .ask .item small { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--foreground); margin-top: 1px; text-wrap: balance; }
  .ask .why { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--muted-foreground); }
  .choice { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
  .choice span { border-radius: 99px; padding: 8px 18px; font-size: 13.5px; font-weight: 500; background: var(--muted); transition: transform .15s var(--ds-ease); }
  .choice .yes { background: var(--foreground); color: var(--background); }
  .choice .yes.picked { transform: scale(.95); }
  .decided { padding-top: 12px; font-size: 13px; font-weight: 500; color: var(--ds-good); }

  .question header { display: flex; align-items: flex-start; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
  .question header b { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
  .question header small { display: block; font-size: 12.5px; color: var(--muted-foreground); margin-top: 2px; }
  .brand-mark { margin-left: auto; flex: none; }
  .brand-mark svg { width: 20px; height: 20px; }
  .post { padding-top: 12px; font-size: 13.5px; line-height: 1.42; }
  .post b { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 2px; }
}

@media (min-width: 1024px) {
  .demo-stage :is([data-demo-scene=fit], [data-demo-scene=delivery], [data-demo-scene=codes]) {
    .side { height: auto; }
    .picks { grid-template-columns: 1fr 1fr; }
  }
}

/* Section panels: each its own shape, still, fluid from 360 px. */
/* demo_stage.css turns a panel's children into display: contents below 1024 px (for the panes); a still panel keeps its boxes. */
.demo-stage .panel.still:is(.fitsearch, .storetools, .filter, .intents) > * { display: block; }

.demo-stage .panel.fitsearch {
  .box { padding: 0; }
  .query { display: flex; align-items: center; gap: 10px; margin: 20px 20px 0; background: var(--muted); border-radius: 99px; padding: 11px 16px; font-size: 14.5px; }
  .query svg { width: 16px; height: 16px; flex: none; color: var(--muted-foreground); }
  .found { margin: 10px 22px 18px; font-size: 13px; color: var(--muted-foreground); }
  .record { display: grid; gap: 20px; border-top: 1px solid var(--border); padding: 22px; }
  .record img { width: 100%; max-width: 240px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: var(--muted); justify-self: center; }
  .record h3 { font-size: 20px; font-weight: 600; line-height: 1.2; }
  .record .price { margin-top: 4px; font-size: 14px; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
  dl { margin-top: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; font-size: 14.5px; }
  dt, dd { padding: 10px 0; border-top: 1px solid var(--border); }
  dt { color: var(--muted-foreground); }
  dd { font-variant-numeric: tabular-nums; }
}

.demo-stage .panel.storetools {
  .box { padding: 0; }
  header { padding: 22px 24px 18px; }
  header b { display: block; font-size: 19px; font-weight: 600; }
  header small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted-foreground); }
  .grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); padding: 0 20px; }
  .grid > * { padding: 16px 0; border-top: 1px solid var(--border); font-size: 14px; display: flex; align-items: center; }
  .grid > :not(.name) { padding-left: 12px; }
  .head { padding: 10px 0 10px 12px; font-size: 12.5px; color: var(--muted-foreground); }
  .name { display: block !important; min-width: 0; }
  .name b { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
  .name small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted-foreground); }
  .off { color: var(--muted-foreground); }
  footer { border-top: 1px solid var(--border); margin: 0 24px; padding: 14px 0 20px; font-size: 13px; color: var(--muted-foreground); }
}

.demo-stage .panel.filter {
  .phone { height: auto; padding-bottom: 8px; }
  .mailhead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 18px 16px 12px; border-bottom: 1px solid var(--border); font-size: 13px; }
  .mailhead b { font-weight: 600; }
  .mailhead small { font-size: 12px; color: var(--muted-foreground); }
  .paper { margin: 12px; background: #fff; color: #1c1917; border-radius: 12px; padding: 18px 16px; display: grid; gap: 12px; box-shadow: 0 1px 3px rgb(0 0 0 / .08), 0 0 0 1px rgb(0 0 0 / .04); }
  .paper .logo { text-align: center; font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
  .paper h3 { font-size: 17px; font-weight: 600; line-height: 1.25; }
  .paper p { font-size: 13px; line-height: 1.45; color: #44403c; }
  .paper .item { display: flex; align-items: center; gap: 12px; border: 1px solid #e7e5e4; border-radius: 10px; padding: 8px; font-size: 12.5px; line-height: 1.35; color: #57534e; }
  .paper .item img { width: 64px; height: 64px; border-radius: 7px; object-fit: cover; background: #f5f5f4; flex: none; }
  .paper .item b { display: block; font-weight: 500; color: #1c1917; }
  .paper .cta { text-align: center; }
  .paper .cta span { display: inline-block; background: #1c1917; color: #fff; border-radius: 99px; padding: 8px 18px; font-size: 13px; font-weight: 500; }
  .result { align-self: center; padding: 22px 24px; }
  .result b.title { display: block; font-size: 19px; font-weight: 600; }
  .result > small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted-foreground); }
  .rows { margin-top: 16px; }
  .rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px solid var(--border); font-size: 15px; }
  .rows dt { color: var(--muted-foreground); }
  .rows dd { flex: none; font-weight: 500; font-variant-numeric: tabular-nums; }
}

.demo-stage .panel.intents {
  .rising { padding: 24px; }
  .rising small { display: block; font-size: 13.5px; color: var(--muted-foreground); }
  .rising b { display: block; margin-top: 14px; font-size: 24px; font-weight: 600; line-height: 1.2; }
  .rising p { margin-top: 10px; font-size: 14.5px; color: var(--muted-foreground); }
  .table { padding: 0; }
  .table header { padding: 22px 24px 14px; }
  .table header b { display: block; font-size: 19px; font-weight: 600; }
  .table header small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted-foreground); }
  .scroll { overflow-x: auto; padding: 0 24px 12px; }
  table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
  th { padding: 8px 0 8px 14px; text-align: right; font-size: 12.5px; font-weight: 400; color: var(--muted-foreground); white-space: nowrap; text-transform: none; letter-spacing: normal; }
  td { padding: 13px 0 13px 14px; text-align: right; border-top: 1px solid var(--border); white-space: nowrap; }
  :is(th, td):first-child { min-width: 130px; position: sticky; left: 0; z-index: 1; padding-left: 0; padding-right: 8px; text-align: left; white-space: normal; background: var(--card); }
  tr.total td { font-weight: 600; }
}

@media (min-width: 1024px) {
  .demo-stage .panel:is(.fitsearch, .storetools, .filter, .intents) { display: grid; padding: 28px; }
  .demo-stage .panel.fitsearch .box { max-width: 860px; justify-self: center; width: 100%; }
  .demo-stage .panel.fitsearch .record { grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 32px; }
  .demo-stage .panel.storetools .box { max-width: 860px; justify-self: center; width: 100%; }
  .demo-stage .panel.storetools .grid { grid-template-columns: minmax(0, 1fr) auto auto; padding: 0 24px; }
  .demo-stage .panel.storetools .grid > :not(.name) { padding-left: 28px; }
  .demo-stage .panel.filter { grid-template-columns: 334px minmax(0, 1fr); align-items: center; column-gap: 28px; }
  .demo-stage .panel.still.filter .phone { height: auto; }
  .demo-stage .panel.intents { grid-template-columns: 300px minmax(0, 1fr); align-items: stretch; column-gap: 20px; }
  .demo-stage .panel.intents .rising { display: flex; flex-direction: column; justify-content: center; }
}
