/* The public sample workspace uses the same visual system as the product. */
.demo-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #ccdee7; color: #557283; font-size: 14px; }
.demo-banner > div { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 13px; }
.demo-banner strong, .demo-pill { color: #087d94; font: 13px var(--mono); letter-spacing: .6px; }
.demo-banner a { flex: none; font-weight: 600; }
.demo-pill { padding: 5px 7px; background: #eef8fa; border: 1px solid #d7ebef; border-radius: 5px; white-space: nowrap; }
.workspace-topbar { min-height: 57px; }
.dashboard-heading { padding-block: 23px; }
.dashboard-heading h1 { font-family: var(--display); font-weight: 500; }
.stat-card { padding: 16px 18px; }
.stat-card > strong { margin-block: 12px 6px; }
.stat-card .health-value { font-size: 26px; }
.health-value.incident { color: #a2672d; }
.dashboard-account a { color: #a8c8d9; font-size: 13px; margin-left: 39px; }
.demo-scenario { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 21px; border: 1px solid #cfdee7; border-radius: 9px; background: linear-gradient(105deg, #eef8fa, #f8fbfd); margin-bottom: 23px; }
.demo-scenario h2 { margin: 0; color: #254253; font: 500 17px var(--display); letter-spacing: -.3px; }
.demo-scenario p:last-child { color: #607f90; margin: 7px 0 0; font-size: 14px; }
.demo-scenario button { flex: none; }
.demo-scenario .setup-eyebrow { font-size: 12px; }
.demo-scenario.incident { border-color: #e5cba3; background: #fffaf1; }
.live-card { text-align: left; cursor: pointer; width: 100%; font-family: var(--sans); transition: border-color .15s, box-shadow .15s; }
.live-card:hover { border-color: #84b9c8; box-shadow: 0 3px 12px #173f4e09; }
.live-card.incident { border-color: #ddb77e; background: #fffdf8; }
.live-card.incident .live-value { color: #a2672d; }
.live-value { margin-top: 9px; }
.sensor-trend { display: block; width: 100%; height: 33px; margin-top: 9px; color: color-mix(in srgb, var(--sensor-color) 55%, #22556a); }
.live-foot { display: flex; justify-content: space-between; gap: 7px; }
.live-foot span:last-child { color: var(--accent); }
.demo-chat-avatar { image-rendering: pixelated; }
.chat-panel { min-height: 560px; scroll-margin-top: 20px; }
.chat-messages { min-height: 210px; max-height: 370px; }
.chat-message p { line-height: 1.7; }
.chat-message.agent { max-width: 100%; }
.chat-message p { margin-bottom: 0; }
.demo-events { display: grid; gap: 10px; margin-bottom: 12px; }
.demo-event { padding: 13px; background: #fff8e9; border: 1px solid #e7d2aa; border-radius: 7px; }
.demo-event strong { color: #805d29; font-size: 15px; }
.demo-event p { color: #826c4c; font-size: 14px; line-height: 1.6; margin: 7px 0; }
.demo-event .secondary { font-size: 13px; min-height: 28px; padding: 4px 8px; }
.demo-rule { display: block; color: var(--ink); }
.demo-rule .alert-item-head { display: flex; justify-content: space-between; }
.demo-rule .alert-line { margin-bottom: 0; }
.demo-rule .alert-actions { display: flex; justify-content: space-between; align-items: center; }
.demo-rule .alert-actions > span { color: #708594; font-size: 13px; }
.demo-rule .alert-actions > div { display: flex; gap: 6px; }
.demo-alert-form { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 12px; padding-top: 15px; }
.demo-alert-form label { display: grid; gap: 6px; font-size: 14px; margin: 0; }
.demo-alert-form input, .demo-alert-form select { width: 100%; min-width: 0; }
.demo-alert-form label:last-of-type { grid-column: 1 / 3; }
.demo-alert-form button { align-self: end; }
.demo-bottom-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 25px; padding: 24px; border: 1px solid var(--line); background: white; border-radius: 9px; }
.demo-bottom-cta h2 { font: 500 20px var(--display); letter-spacing: -.5px; margin: 0; }
.demo-bottom-cta p { font-size: 15px; color: var(--muted); margin: 7px 0 0; }
.demo-bottom-cta a { flex: none; }
.demo-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 40px); overflow: auto; border: 1px solid #cadae3; border-radius: 15px; padding: 35px; background: #fcfefe; color: var(--ink); box-shadow: 0 28px 100px #051d3440; }
.demo-dialog::backdrop { background: #0820318c; backdrop-filter: blur(4px); }
.demo-dialog h2 { margin: 14px 0; font: 500 28px var(--display); letter-spacing: -.8px; }
.dialog-close { float: right; min-height: 28px; padding: 5px 8px; font-size: 14px; margin: -12px -12px 16px 10px; }
.demo-dialog .detail-value { font: 500 43px var(--display); margin: 20px 0; }
.demo-dialog .sensor-trend { height: 120px; margin: 20px 0; }
.demo-dialog p:not(.setup-eyebrow):not(.detail-value) { font-size: 16px; line-height: 1.8; color: #5a7485; }
.demo-dialog .detail-footnote { border-top: 1px solid var(--line); padding-top: 17px; font-size: 14px !important; }
.call-dialog { text-align: center; }
.call-dialog > img { display: block; margin: 14px auto 22px; image-rendering: pixelated; }
.call-dialog .setup-eyebrow { text-align: center; }
.call-dialog #call-transcript { margin: 20px 0; padding: 18px; border: 1px solid #d9e8ee; border-radius: 8px; background: #f0f8fa; }
.call-dialog > .primary { margin-top: 7px; }
#sensors, #alerts { scroll-margin-top: 20px; }
@media (max-width: 760px) {
  .demo-banner { align-items: start; padding-block: 16px; }
  .demo-banner > div { line-height: 1.7; }
  .demo-banner a { font-size: 13px; }
  .demo-scenario { flex-direction: column; align-items: start; padding: 17px; }
  .demo-scenario button { width: 100%; }
  .dashboard-account { max-width: none; }
  .dashboard-account > span { display: none; }
  .dashboard-account a { margin: 0; }
  .demo-bottom-cta { flex-direction: column; align-items: start; padding: 20px; }
  .demo-alert-form { grid-template-columns: 1fr 1fr; }
  .demo-alert-form label:first-child { grid-column: 1 / -1; }
  .demo-alert-form label:last-of-type { grid-column: 1 / -1; }
  .demo-alert-form button { grid-column: 1 / -1; }
  .demo-dialog { padding: 25px; }
  .demo-dialog h2 { font-size: 24px; }
}
