/* /industries/logistics/ (components/site/demo_stage/industry_logistics/): what its three scenes and four section panels add to demo_stage.css. */
.demo-stage :is([data-demo-scene=tracking], [data-demo-scene=reschedule], [data-demo-scene=carriers]) {
  .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; }
  .day { text-align: center; font-size: 12px; color: var(--muted-foreground); padding: 2px 0 10px; }
  .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; }

  .file { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; background: var(--card); border-radius: 10px; padding: 7px 10px; font-size: 13px; font-weight: 500; color: var(--foreground); }
  .file small { font-size: 12px; font-weight: 400; color: var(--muted-foreground); }

  .work .head .title { min-width: 0; }
  .work:not(.done) .title { animation: ds-breathe 1.4s ease-in-out infinite; }
  .work .body { margin-top: 4px; }
  .tool, .mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; font-weight: 400; color: var(--muted-foreground); }
  .tool { margin-left: auto; flex: none; }
  .note { font-size: 13px; color: var(--muted-foreground); padding: 0 2px 10px; }
  .passes { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted-foreground); padding-bottom: 10px; }
  .passes::before, .passes::after { content: ''; flex: 1; height: 1px; background: var(--border); }
  .person small { display: block; }
  .event.before :is(b, small) { color: var(--muted-foreground); }
  .state.solved, .state.good { background: var(--ds-good-bg); color: var(--ds-good); }

  .side { display: flex; flex-direction: column; position: relative; }
  .side .gap { padding-bottom: 16px; }
  .ask > b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
  .ask > small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted-foreground); }
  .choice { display: flex; flex-wrap: wrap; align-items: center; 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); }
  .choice em { font-style: normal; margin-left: 4px; font-size: 13px; color: var(--brand); font-weight: 500; }
  .approved-by { padding-top: 12px; font-size: 13px; font-weight: 500; color: var(--ds-good); }

  .layer { transition: opacity .32s var(--ds-ease), transform .32s var(--ds-ease); }
  .layer:not(.first) { position: absolute; inset: 0 0 auto; z-index: 2; opacity: 0; transform: translateY(12px); pointer-events: none; }
  .layer.on { opacity: 1; transform: none; }
  .layer.first.off { opacity: 0; }
  .layer .title { display: block; font-size: 16px; font-weight: 600; }
  .layer .sub { display: block; font-size: 12.5px; color: var(--muted-foreground); padding-bottom: 12px; border-bottom: 1px solid var(--border); }
  .parcel .row { display: flex; align-items: center; gap: 10px; padding-top: 14px; }
  .parcel .row b, .account li b { display: block; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
  .parcel .row small, .account li small { font-size: 12.5px; color: var(--muted-foreground); }
  .when { font-size: 12.5px; color: var(--muted-foreground); padding: 6px 0 12px; }
  .scans { border-top: 1px solid var(--border); padding-top: 4px; }
  .scans li { padding: 8px 0; font-size: 13px; }
  .scans b { display: block; font-weight: 500; }
  .scans small { font-size: 12px; color: var(--muted-foreground); }
  .refresh { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--brand); }
  .account .list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .account .list li > div { min-width: 0; }
  .account .list span { flex: none; font-size: 13px; color: var(--muted-foreground); }
  .account .when { padding: 12px 0 0; }
}

/* 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(.tms, .activity, .followup, .topics) > * { display: block; }
.demo-stage .panel:is(.tms, .activity, .followup, .topics) {
  .box { padding: 8px 24px 12px; }
  header { padding: 16px 0 14px; }
  header b { display: block; font-size: 18px; font-weight: 600; }
  header small { display: block; font-size: 13px; color: var(--muted-foreground); margin-top: 2px; }
  .mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
  time { font-size: 13.5px; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
}

.demo-stage .panel.tms {
  li, footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); }
  li > div, footer > div { min-width: 0; }
  li small, footer small { display: block; font-size: 13.5px; color: var(--muted-foreground); margin-top: 3px; }
  li > span, footer > span { flex: none; font-size: 13.5px; color: var(--muted-foreground); text-align: right; max-width: 40%; }
  li > .state { margin: 0; color: var(--ds-warn); }
  footer { margin-top: 8px; }
  footer b { font-size: 15px; font-weight: 600; }
}

.demo-stage .panel.activity {
  li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 16px 0; border-top: 1px solid var(--border); }
  li span { font-size: 14.5px; }
}

.demo-stage .panel.followup {
  .mail { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
  .mail > small { font-size: 12.5px; color: var(--muted-foreground); }
  .mail > b { font-size: 18px; font-weight: 600; line-height: 1.3; }
  .mail > p { font-size: 14.5px; line-height: 1.5; }
  .quote { margin-top: 6px; background: var(--muted); border-radius: 12px; padding: 10px 14px; }
  .quote b { display: block; font-size: 14px; font-weight: 600; }
  .quote small { font-size: 13px; color: var(--muted-foreground); }
  .account header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .account strong { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
  li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-top: 1px solid var(--border); font-size: 14.5px; }
}

.demo-stage .panel.topics {
  header { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  header small { margin: 0; }
  table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
  th { text-align: left; font-size: 12.5px; font-weight: 400; color: var(--muted-foreground); padding: 0 8px 10px 0; }
  td { padding: 14px 8px 14px 0; border-top: 1px solid var(--border); }
  :is(th, td):not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; padding-right: 0; padding-left: 12px; }
  .rising { border-top: 1px solid var(--border); padding: 14px 0 6px; font-size: 14.5px; color: var(--ds-warn); font-weight: 500; }
}

@media (min-width: 1024px) {
  .demo-stage .panel:is(.tms, .activity, .followup, .topics) { display: grid; padding: 28px; }
  .demo-stage .panel:is(.tms, .activity, .topics) .box { width: min(760px, 100%); justify-self: center; padding: 8px 32px 16px; }
  .demo-stage .panel.followup { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; column-gap: 20px; }
  .demo-stage .panel.followup .account { padding: 8px 28px 12px; }
  .demo-stage .panel.activity li { grid-template-columns: 96px minmax(0, 1fr) auto; align-items: baseline; gap: 16px; }
  .demo-stage .panel.activity li span { text-align: right; color: var(--muted-foreground); }
  .demo-stage .panel.followup li { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: baseline; }
}
