.industry-demo {
  padding-block: clamp(28px, 4vw, 56px) clamp(38px, 6vw, 78px);
}
.industry-demo [hidden] { display: none !important; }
.demo-intro { max-width: 760px; margin: 0 0 clamp(22px, 3vw, 38px); }
.demo-intro h1 { margin: 0 0 10px; font-size: clamp(35px, 5vw, 64px); line-height: 1.06; }
.demo-intro .grad { background-image: linear-gradient(125deg, #15378e, #1b5bdf); }
.demo-intro p { margin: 0; color: var(--ae-muted); }
.demo-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 6px;
  color: #1645b7;
  font-size: 14px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.demo-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; padding: 0; margin: 0; list-style: none; }
.demo-picker a { display: block; overflow: hidden; color: var(--ae-ink); background: #fff; border: 1px solid #d3def5; border-radius: 16px; box-shadow: 0 6px 20px #132b7510; text-decoration: none; }
.demo-picker a:hover { border-color: #698fdf; color: #1645b7; }
.demo-picker img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.demo-picker a > span { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 13px; min-height: 46px; font-weight: 800; }
.demo-picker svg, .demo-tv-actions svg, .demo-staff svg { width: 17px; height: 17px; flex: none; }

.demo-workspace { display: grid; grid-template-columns: minmax(150px, .74fr) minmax(0, 3fr); gap: 15px; align-items: start; }
.demo-workspace.has-queue { grid-template-columns: minmax(148px, .72fr) minmax(0, 2.45fr) minmax(230px, 1fr); }
.demo-channel-panel, .demo-side-card, .demo-guest-card {
  min-width: 0;
  border: 1px solid #d2def5;
  border-radius: 16px;
  padding: 15px;
  background: #fff;
  box-shadow: 0 5px 16px #14286110;
}
.demo-channel-panel h2, .demo-side-card h2 { margin: 0 0 10px; color: var(--ae-ink); font-size: 17px; line-height: 1.3; }
.demo-channel-buttons { display: grid; gap: 6px; }
.demo-channel-buttons .nav-gradient { text-align: left; font-size: 14px; }
.demo-channel-buttons .nav-gradient[aria-pressed="true"] {
  background: #081e63;
  box-shadow: inset 0 0 0 2px #91c1ff;
}
.demo-tv-frame { container-type: inline-size; padding: 7px; background: #1a2641; border: 1px solid #0c1730; border-radius: 14px; box-shadow: 0 13px 28px #17295935; }
.demo-screen { background: radial-gradient(ellipse at right bottom, #164ba0, transparent 75%), #06153f; color: #fff; border-radius: 8px; overflow: hidden; }
.demo-screen.theme-teal { background: radial-gradient(ellipse at right bottom, #176d71, transparent 80%), #082d3a; }
.demo-screen.theme-plum { background: radial-gradient(ellipse at right bottom, #654695, transparent 80%), #241945; }
.demo-slide {
  min-height: max(235px, 56cqw);
  padding: clamp(14px, 4cqw, 33px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  gap: clamp(10px, 2.7cqw, 22px);
}
.demo-slide .demo-screen-brand {
  margin: 0;
  border-bottom: 1px solid #d7e9ff66;
  padding-bottom: 8px;
  color: #e1efff;
  font-size: clamp(13px, 2.8cqw, 22px);
  font-weight: 800;
}
.demo-slide-content { display: grid; gap: 10px; align-items: center; }
.demo-slide-content.has-qr { grid-template-columns: minmax(0, 1fr) clamp(70px, 22cqw, 144px); }
.demo-slide-content h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: clamp(19px, 5.8cqw, 49px);
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.demo-slide-content p, .demo-screen-list {
  margin: 0;
  color: #e2eeff;
  font-size: clamp(12px, 2.45cqw, 20px);
  line-height: 1.4;
}
.demo-screen-list { display: grid; gap: 4px; margin-top: 7px; padding-left: 1.15em; }
.demo-qr { display: block; width: 100%; background: #fff; border-radius: 7px; overflow: hidden; }
.demo-qr img { display: block; width: 100%; height: auto; }
.demo-ticket-board p { margin: 0 0 5px; color: #e1efff; font-size: 12px; }
.demo-ticket-board ul { display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin: 0; list-style: none; }
.demo-ticket-board li { padding: 3px 8px; border-radius: 6px; background: #eef5ff; color: #0a1c51; font-size: 12px; font-weight: 750; }
.demo-tv-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 10px; margin-top: 6px; color: var(--ae-muted); font-size: 13px; }
.demo-tv-actions a { display: inline-flex; min-height: 44px; align-items: center; gap: 5px; color: #1645b7; font-weight: 750; }
.demo-queue-panel { display: grid; gap: 9px; }
.demo-check-in-note, .demo-staff p { margin: 0 0 10px; color: #4a5578; font-size: 13px; line-height: 1.4; }
[data-check-in-form], [data-demo-order] { display: grid; gap: 6px; }
[data-check-in-form] label { font-size: 13px; font-weight: 750; }
[data-check-in-form] input, [data-check-in-form] select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-bottom: 3px;
  padding: 6px 8px;
  background: #f6f8ff;
  border: 1px solid #adbddd;
  border-radius: 8px;
  color: #101a3d;
  font: inherit;
  font-size: 16px;
}
[data-check-in-form] button, [data-demo-order] button { justify-content: center; margin-top: 4px; }
.industry-demo button:disabled { opacity: .62; cursor: default; transform: none; }
.demo-receipt { margin-top: 10px; padding: 9px; border-radius: 8px; background: #e9f2ff; color: #0b2d84; font-size: 14px; font-weight: 750; overflow-wrap: anywhere; }
.demo-staff { padding-block: 4px 12px; }
.demo-staff summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-weight: 800; cursor: pointer; list-style: none; }
.demo-staff summary::-webkit-details-marker { display: none; }
.demo-staff[open] summary svg { transform: rotate(180deg); }
.demo-staff-row { display: flex; flex-wrap: wrap; gap: 5px; padding: 5px 0; border-top: 1px solid #e0e8f7; }
.demo-staff-row strong { flex-basis: 100%; font-size: 13px; }
.demo-control { min-height: 44px; padding: 4px 8px; border: 1px solid #b2c6f2; border-radius: 8px; background: #eef4ff; color: #12398f; font-family: inherit; line-height: 1.2; font-size: 12px; font-weight: 750; cursor: pointer; }
.demo-control:hover:not(:disabled) { background: #dce9ff; }
.demo-waiting { display: grid; gap: 4px; margin: 7px 0; padding: 0; list-style: none; }
.demo-waiting li { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.demo-guest-intro, .demo-guest-card { max-width: 475px; margin-inline: auto; }
.demo-guest-card { padding: clamp(16px, 4vw, 25px); }
.demo-guest-list { display: grid; gap: 8px; padding-left: 1.25em; margin: 0; }
[data-demo-order] { margin-top: 15px; }
[data-demo-order] label { display: flex; align-items: center; min-height: 44px; gap: 8px; }
[data-demo-order] input { width: 19px; height: 19px; }
[data-demo-order] [role="status"]:empty { display: none; }

@media (max-width: 1023px) {
  .demo-workspace.has-queue { grid-template-columns: minmax(140px, .74fr) minmax(0, 3fr); }
  .demo-queue-panel { grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 760px) {
  .demo-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-workspace, .demo-workspace.has-queue { grid-template-columns: minmax(0, 1fr); }
  .demo-tv-column { grid-row: 1; }
  .demo-channel-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-queue-panel { grid-column: auto; }
}
@media (max-width: 540px) {
  .demo-picker { grid-template-columns: minmax(0, 1fr); }
  .demo-queue-panel { grid-template-columns: minmax(0, 1fr); }
}
