/* Interactive miniature product tour — isolated from the institutional pages. */
.demo-shell {
  padding: 10px;
  container-type: inline-size;
  animation: none !important;
  --demo-line: #e9e9e9;
  --demo-muted: #6b6b6b;
  --demo-orange: #f97316;
  --demo-soft: #fff0e4;
  --demo-timing: cubic-bezier(0.44, 0, 0.56, 1);
  font-size: var(--xs);
}
.demo-shell *,
.demo-shell *::before,
.demo-shell *::after {
  box-sizing: border-box;
  min-width: 0;
}
.demo-top,
.demo-brand,
.demo-disclaimer,
.demo-controls,
.demo-control-buttons,
.demo-panel-heading,
.demo-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-top {
  justify-content: space-between;
  padding: 4px 5px 12px;
  gap: 6px;
}
.demo-brand img {
  object-fit: contain;
  flex-shrink: 0;
}
.demo-brand strong {
  font-weight: 500;
  white-space: nowrap;
}
.demo-disclaimer {
  font-size: 12px;
  color: var(--demo-muted);
  border: 1px solid var(--demo-line);
  padding: 4px 8px;
  border-radius: 30px;
  white-space: nowrap;
}
.demo-disclaimer i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--demo-orange);
}
.demo-workspace {
  display: grid;
  grid-template-columns: minmax(122px, 0.29fr) minmax(0, 1fr);
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  overflow: hidden;
}
.demo-navigation {
  background: #f7f7f7;
  padding: 10px 5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid var(--demo-line);
}
.demo-nav-button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  width: 100%;
  padding: 6px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #565656;
  text-align: left;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  touch-action: manipulation;
}
.demo-nav-button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}
.demo-nav-button[aria-pressed="true"] {
  background: var(--demo-soft);
  color: #9a3c06;
  font-weight: 500;
}
.demo-content {
  padding: clamp(9px, 2.5cqw, 18px);
  display: grid;
  grid-template-rows: auto minmax(244px, 1fr) auto;
  gap: 12px;
  background: #fff;
}
.demo-heading {
  display: grid;
  gap: 5px;
}
.demo-kicker {
  font-size: 11px;
  color: #666;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.demo-title {
  font-size: clamp(1.06rem, 4.3cqw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 400;
  text-wrap: wrap;
  min-height: 2.5em;
  display: flex;
  align-items: center;
}
.demo-select-label {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
  color: #6a6a6a;
  font-size: 12px;
}
.demo-select {
  appearance: auto;
  border: 1px solid #dedede;
  border-radius: 5px;
  background: white;
  padding: 6px 7px;
  color: #333;
  font: inherit;
  font-size: 14px;
  min-height: 35px;
  width: 100%;
  max-width: 100%;
  text-overflow: ellipsis;
}
.demo-select-label > span {
  display: none;
}
.demo-scene {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 244px;
  min-width: 0;
  align-content: start;
  overflow: hidden;
}
.demo-scene > div {
  min-width: 0;
  width: 100%;
  animation: demo-appear 0.25s var(--demo-timing) both;
}
.demo-panel-heading {
  justify-content: space-between;
  min-height: 27px;
  gap: 6px;
  line-height: 1.3;
}
.demo-panel-heading strong {
  font-size: 13px;
  font-weight: 500;
}
.demo-panel-heading small {
  font-size: 11px;
  color: #777;
}
.demo-panel-heading > div {
  flex: 1;
  display: grid;
  gap: 3px;
}
.demo-status {
  min-height: 58px;
  border-radius: 8px;
  background: #1c1c1c;
  padding: 9px;
  color: white;
  align-items: center;
  gap: 8px;
}
.demo-status-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #ffb77f;
  background: #f9731620;
  border-radius: 6px;
  flex: 0 0 27px;
}
.demo-status-icon svg {
  width: 17px;
  height: 17px;
}
.demo-status strong,
.demo-status-note {
  display: block;
  line-height: 1.4;
}
.demo-status strong {
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.demo-status-note {
  font-size: 11px;
  color: #b7b7b7;
  margin-top: 2px;
}
.demo-player {
  display: grid;
  gap: 8px;
  padding: 10px 2px 0;
}
.demo-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.demo-progress i {
  display: block;
  height: 4px;
  background: #e7e7e7;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.demo-progress i[data-state="complete"] {
  background: var(--demo-orange);
}
.demo-progress i[data-state="current"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--demo-orange);
  transform-origin: left;
  animation: demo-progress 1850ms linear both;
}
.demo-controls {
  justify-content: space-between;
  min-height: 44px;
  gap: 5px;
}
.demo-control-buttons {
  gap: 4px;
}
.demo-control {
  width: 44px;
  height: 44px;
  border: 1px solid #e1e1e1;
  border-radius: 7px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  color: #333;
  touch-action: manipulation;
}
.demo-control svg {
  width: 20px;
  height: 20px;
}
.demo-play {
  background: #f97316;
  border-color: #f97316;
  color: #171717;
}
.demo-counter {
  font-variant-numeric: tabular-nums;
  color: #707070;
  font-size: 12px;
  white-space: nowrap;
}
.demo-more {
  font-size: 12px;
  font-weight: 500;
  color: #a83c08;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  line-height: 1.3;
}
.demo-metrics {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 8px;
}
.demo-metrics > div {
  border: 1px solid var(--demo-line);
  padding: 9px;
  border-radius: 7px;
  display: grid;
  gap: 6px;
}
.demo-metrics small {
  font-size: 12px;
  line-height: 1.3;
}
.demo-metrics b {
  font-size: 11px;
  font-weight: 400;
  color: #6a6a6a;
}
.demo-mini-line {
  display: block;
  height: 5px;
  background: #eee;
  border-radius: 5px;
  overflow: hidden;
}
.demo-mini-line::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--amount);
  background: #f97316;
  border-radius: 5px;
  transform-origin: left;
  animation: demo-fill 0.5s var(--demo-timing) both;
}
.demo-chart,
.demo-board,
.demo-table,
.demo-chat,
.demo-calendar,
.demo-document,
.demo-form,
.demo-wave-panel,
.demo-timeline,
.demo-receipt,
.demo-review {
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}
.demo-chart {
  align-self: start;
}
.demo-bars {
  height: 104px;
  display: flex;
  align-items: end;
  gap: 5px;
  padding: 8px 2px 0;
  background: repeating-linear-gradient(to top, transparent 0 23px, #eee 24px 25px);
  border-bottom: 1px solid #ddd;
}
.demo-bars i {
  flex: 1;
  height: var(--size);
  background: #fdba74;
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  animation: demo-fill-y 0.55s var(--demo-timing) both;
  animation-delay: var(--delay);
}
.demo-bars i:last-child {
  background: #f97316;
}
.demo-chart-caption {
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 11px;
  padding-top: 4px;
  gap: 4px;
}
.demo-board-head,
.demo-board-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
.demo-board-head span {
  font-size: 10px;
  line-height: 1.3;
  color: #6d6d6d;
  padding: 7px 3px;
  min-height: 34px;
  background: #f5f5f5;
  border-radius: 4px;
  text-align: center;
  display: grid;
  place-items: center;
}
.demo-board-head span.selected {
  color: #9a3c06;
  background: #ffead9;
}
.demo-board-lanes {
  position: relative;
  height: 132px;
  margin-top: 6px;
}
.demo-board-lanes > div {
  background: #fafafa;
  border: 1px dashed #e4e4e4;
  border-radius: 5px;
  padding: 8px 5px;
}
.demo-board-lanes > div i,
.demo-card-lines i {
  display: block;
  height: 5px;
  background: #e8e8e8;
  border-radius: 5px;
  margin-bottom: 5px;
}
.demo-moving-card {
  position: absolute;
  top: 7px;
  left: calc(var(--lane) * (100% / 3));
  width: calc(100% / 3 - 4px);
  padding: 7px 5px;
  background: white;
  border: 1px solid #f97316;
  border-radius: 6px;
  box-shadow: 0 4px 11px #00000016;
  display: grid;
  gap: 5px;
  transition: left 0.52s var(--demo-timing);
  font-size: 10px;
  line-height: 1.3;
  text-align: left;
}
.demo-moving-card strong {
  font-weight: 500;
  overflow-wrap: anywhere;
}
.demo-moving-card small {
  font-size: 10px;
  color: #777;
}
.demo-avatar {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--demo-soft);
  color: #9a3c06;
  font-size: 10px;
  font-weight: 500;
  flex: 0 0 25px;
}
.demo-board-foot {
  font-size: 11px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 8px;
}
.demo-board-foot span,
.demo-table-icon,
.demo-check {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: #a83c08;
  background: var(--demo-soft);
  flex: 0 0 19px;
}
.demo-board-foot svg,
.demo-table-icon svg,
.demo-check svg {
  height: 13px;
  width: 13px;
}
.demo-messages {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 9px;
  min-height: 150px;
}
.demo-bubble {
  font-size: 12px;
  line-height: 1.45;
  align-self: flex-start;
  max-width: 92%;
  background: #f1f1f1;
  color: #333;
  padding: 8px 9px;
  border-radius: 8px 8px 8px 2px;
  animation: demo-appear 0.35s var(--demo-timing) both;
}
.demo-bubble.outgoing {
  background: #fff0e3;
  border-radius: 8px 8px 2px 8px;
  align-self: flex-end;
}
.demo-typing {
  display: flex;
  gap: 4px;
  background: #f4f4f4;
  padding: 10px;
  width: max-content;
  border-radius: 7px;
}
.demo-typing i {
  background: #b9b9b9;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation: demo-pulse 0.9s ease-in-out infinite alternate;
}
.demo-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.demo-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
.demo-flow {
  display: grid;
  gap: 3px;
  align-content: center;
  min-height: 218px;
}
.demo-flow-node {
  border: 1px solid #e4e4e4;
  background: white;
  padding: 8px;
  border-radius: 8px;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.demo-flow-node > span {
  width: 27px;
  height: 27px;
  border-radius: 6px;
  background: #efefef;
  color: #666;
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  font-size: 12px;
}
.demo-flow-node > span svg {
  width: 15px;
  height: 15px;
}
.demo-flow-node > div {
  flex: 1;
  display: grid;
  gap: 2px;
}
.demo-flow-node strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}
.demo-flow-node small {
  font-size: 11px;
  line-height: 1.3;
  color: #777;
}
.demo-flow-node.current {
  border-color: var(--demo-orange);
  background: #fff9f4;
}
.demo-flow-node.current > span,
.demo-flow-node.done > span {
  color: #a83c08;
  background: var(--demo-soft);
}
.demo-flow-line {
  height: 11px;
  width: 1px;
  background: #f97316;
  margin: auto;
}
.demo-active-indicator {
  width: 7px;
  height: 7px;
  background: #f97316;
  border-radius: 50%;
  animation: demo-pulse 0.8s ease-in-out infinite alternate;
  flex: 0 0 7px;
}
.demo-table-row {
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid #ededed;
  padding: 10px 0;
}
.demo-table-row > div {
  flex: 1;
  display: grid;
  gap: 3px;
  line-height: 1.35;
}
.demo-table-row strong {
  font-size: 12px;
  font-weight: 500;
}
.demo-table-row small {
  font-size: 11px;
  color: #777;
}
.demo-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 500;
  color: #696969;
  background: #f1f1f1;
  border-radius: 4px;
  padding: 4px 5px;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
}
.demo-tag.ready {
  color: #9a3c06;
  background: #fff0e3;
}
.demo-days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin: 12px 0;
}
.demo-days > div {
  border: 1px solid #ededed;
  border-radius: 5px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 7px 2px;
}
.demo-days small {
  font-size: 10px;
}
.demo-days b {
  font-size: 12px;
  font-weight: 500;
}
.demo-days span {
  height: 4px;
  width: 14px;
  border-radius: 4px;
  background: #dedede;
}
.demo-days .selected {
  background: #fff0e3;
  border-color: #f97316;
}
.demo-days .selected span {
  background: #f97316;
}
.demo-event {
  padding: 9px 7px;
  background: #fafafa;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
}
.demo-event > i {
  width: 4px;
  align-self: stretch;
  background: #f97316;
  border-radius: 3px;
  flex: 0 0 4px;
}
.demo-event > div {
  flex: 1;
  display: grid;
  gap: 3px;
  line-height: 1.3;
}
.demo-event strong {
  font-size: 12px;
  font-weight: 500;
}
.demo-event small {
  font-size: 11px;
  color: #777;
}
.demo-doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 20px;
}
.demo-doc-head > div {
  display: grid;
  gap: 5px;
}
.demo-doc-head small {
  font-size: 10px;
  color: #a83c08;
}
.demo-doc-head strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.demo-doc-lines {
  display: grid;
  gap: 7px;
  padding-bottom: 12px;
}
.demo-doc-lines i,
.demo-transcript i {
  height: 6px;
  background: #e6e6e6;
  border-radius: 4px;
}
.demo-doc-lines i:nth-child(2) {
  width: 77%;
}
.demo-doc-lines i:nth-child(3) {
  width: 54%;
}
.demo-doc-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 0;
  border-top: 1px solid #eee;
}
.demo-doc-row strong {
  font-size: 12px;
  font-weight: 400;
}
.demo-check {
  background: #f2f2f2;
  color: #aaa;
}
.demo-check.checked {
  background: #fff0e3;
  color: #a83c08;
}
.demo-studio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.demo-design {
  background: #171717;
  color: white;
  padding: 10px;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
}
.demo-design-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffb77f;
}
.demo-design-header span {
  font-size: 20px;
}
.demo-design-header small {
  font-size: 10px;
}
.demo-design-art {
  height: 63px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.demo-design-art i {
  position: absolute;
  width: 55px;
  height: 55px;
  border: 1px solid #f97316;
  border-radius: 50%;
  left: calc(50% - 27px);
  transform: translateX(-20px);
}
.demo-design-art i:nth-child(2) {
  transform: translateX(0);
  background: #f9731633;
}
.demo-design-art i:nth-child(3) {
  transform: translateX(20px);
  background: #f9731666;
}
.demo-design-art > div {
  z-index: 1;
  display: grid;
  place-items: center;
  color: white;
  font-size: 25px;
}
.demo-design-art svg {
  width: 27px;
  height: 27px;
}
.demo-design strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  text-align: center;
}
.demo-design-line {
  height: 4px;
  width: 42%;
  margin: 5px auto 0;
  display: block;
  background: #f97316;
  border-radius: 4px;
}
.demo-studio-list {
  display: grid;
  gap: 4px;
}
.demo-studio-list > div {
  padding: 5px 7px;
  border: 1px solid #eee;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  line-height: 1.35;
  color: #777;
}
.demo-studio-list > div.selected {
  background: #fff0e3;
  color: #9a3c06;
}
.demo-studio-list span {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  flex: 0 0 15px;
}
.demo-studio-list svg {
  width: 13px;
  height: 13px;
}
.demo-field {
  display: grid;
  gap: 3px;
  margin-top: 8px;
}
.demo-field small {
  font-size: 11px;
  color: #666;
}
.demo-field > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  border: 1px solid #e4e4e4;
  background: #fafafa;
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.3;
  color: #888;
}
.demo-field > span.filled {
  border-color: #f9b481;
  background: #fff7f0;
  color: #333;
}
.demo-field svg {
  width: 14px;
  height: 14px;
  color: #a83c08;
  flex: 0 0 14px;
}
.demo-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 83px;
  margin: 13px 0;
  border-block: 1px solid #eee;
}
.demo-wave i {
  height: var(--wave);
  width: 4px;
  flex: 1;
  max-width: 5px;
  background: #f97316;
  border-radius: 5px;
  animation: demo-wave 0.7s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}
.demo-wave.complete i {
  animation: none;
  background: #fdba74;
}
.demo-transcript {
  display: grid;
  gap: 7px;
  justify-items: start;
}
.demo-transcript i {
  display: block;
  width: 100%;
}
.demo-transcript i:last-child {
  width: 70%;
}
.demo-edit-preview {
  background: #222;
  border-radius: 5px;
  min-height: 98px;
  display: grid;
  place-content: center;
  justify-items: center;
  color: white;
  gap: 5px;
  margin-bottom: 10px;
}
.demo-edit-preview span {
  color: #ffb77f;
  font-size: 22px;
  line-height: 1;
}
.demo-edit-preview svg {
  height: 22px;
  width: 22px;
}
.demo-edit-preview small {
  color: #ddd;
  font-size: 11px;
}
.demo-track {
  height: 29px;
  position: relative;
  background: #f7f7f7;
  border-radius: 4px;
  padding: 5px 3px;
  margin-top: 7px;
}
.demo-track i {
  display: block;
  width: var(--length);
  height: 19px;
  background: repeating-linear-gradient(90deg, #fed4b3 0 10px, #ffc699 11px 18px);
  border: 1px solid #f97316;
  border-radius: 3px;
  transform-origin: left;
  animation: demo-fill 0.4s var(--demo-timing) both;
}
.demo-track b {
  position: absolute;
  left: var(--marker);
  height: 35px;
  width: 2px;
  background: #a83c08;
  top: -3px;
}
.demo-track.alt i {
  background: #eee;
  border-color: #ddd;
}
.demo-receipt-row {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
  border-top: 1px dashed #e1e1e1;
}
.demo-receipt-row svg {
  width: 15px;
  height: 15px;
  color: #a83c08;
}
.demo-receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}
.demo-receipt-total strong {
  font-size: 12px;
  font-weight: 500;
}
.demo-stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 13px 0;
  font-size: 28px;
  color: #dedede;
  line-height: 1;
}
.demo-stars span.filled {
  color: #f97316;
}
.demo-review-labels {
  display: grid;
  gap: 6px;
}
.demo-review-labels > span {
  padding: 6px 8px;
  background: #f4f4f4;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  line-height: 1.3;
}
.demo-review-labels > span.selected {
  background: #fff0e3;
  color: #9a3c06;
}
.demo-review-labels svg {
  width: 14px;
  height: 14px;
}
@keyframes demo-appear {
  from {
    opacity: 0.35;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes demo-fill {
  from {
    transform: scaleX(0.18);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes demo-fill-y {
  from {
    transform: scaleY(0.2);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes demo-pulse {
  from {
    opacity: 0.55;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes demo-wave {
  from {
    transform: scaleY(0.22);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes demo-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.demo-paused *,
.demo-paused *::before,
.demo-paused *::after {
  animation-play-state: paused !important;
}
.demo-paused .demo-scene > div,
.demo-paused .demo-mini-line::before,
.demo-paused .demo-bars i,
.demo-paused .demo-track i {
  animation: none !important;
}
.demo-paused .demo-progress i[data-state="current"]::after {
  animation: none;
}
@media (hover: hover) {
  .demo-nav-button:hover {
    background: #fff0e3;
    color: #a83c08;
  }
  .demo-control:hover {
    border-color: #f97316;
  }
  .demo-play:hover {
    background: #ff8b36;
  }
  .demo-more:hover {
    text-decoration: underline;
  }
}
@container (max-width: 435px) {
  .demo-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .demo-navigation {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    border-right: 0;
    border-bottom: 1px solid #e9e9e9;
    padding: 5px;
  }
  .demo-nav-button {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 4px 2px;
    text-align: center;
    font-size: 11px;
    line-height: 1.1;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .demo-content {
    padding: 11px;
  }
  .demo-title {
    min-height: 2.5em;
    font-size: 1.15rem;
  }
  .demo-scene {
    min-height: 244px;
    grid-template-rows: auto;
  }
  .demo-select {
    font-size: 16px;
  }
  .demo-controls {
    gap: 4px;
  }
  .demo-control {
    width: 44px;
    height: 44px;
  }
}
@container (max-width: 285px) {
  .demo-navigation {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .demo-control-buttons {
    gap: 2px;
  }
  .demo-control {
    width: 38px;
    height: 44px;
  }
  .demo-more {
    font-size: 11px;
  }
  .demo-counter {
    font-size: 11px;
  }
  .demo-workspace {
    border-radius: 6px;
  }
  .demo-content {
    padding: 8px;
  }
  .demo-nav-button {
    font-size: 11px;
  }
  .demo-scene {
    min-height: 275px;
  }
  .demo-board-head span {
    font-size: 9px;
  }
  .demo-tag {
    max-width: 55px;
  }
}
@supports not (container-type: inline-size) {
  @media (max-width: 900px) {
    .demo-workspace {
      grid-template-columns: minmax(0, 1fr);
    }
    .demo-navigation {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      border-right: 0;
      border-bottom: 1px solid #e9e9e9;
    }
    .demo-nav-button {
      flex-direction: column;
      justify-content: center;
      text-align: center;
      font-size: 10px;
    }
    .demo-select {
      font-size: 16px;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .demo-shell *,
  .demo-shell *::before,
  .demo-shell *::after {
    animation: none !important;
    transition: none !important;
  }
  .demo-progress i[data-state="current"]::after {
    transform: none;
  }
  .demo-moving-card {
    transition: none;
  }
}
