/* The homepage console keeps the workspace beside the introduction. */
#start {
  padding-block: 22px 16px;
  scroll-margin-top: 70px;
}
#start > .hero-grid {
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  grid-template-areas: "brief stage" ". display-link" "promises promises";
  align-items: stretch;
  column-gap: 28px;
  row-gap: 8px;
  max-width: 1365px;
  padding-inline: clamp(16px, 2.35vw, 36px);
}
#start .hero-brief {
  grid-area: brief;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: auto minmax(16px,1fr) auto;
  min-width: 0;
}
#start .hero-top {
  grid-area: 1 / 1;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 16px;
  margin: 0;
}
#start #hero-h {
  font-size: clamp(2.35rem, 3.2vw, 3.05rem);
  line-height: 1.05;
  max-width: 18ch;
  margin: 0;
}
#start .lede {
  font-size: clamp(.94rem, 1.27vw, 1.1rem);
  max-width: 43ch;
  margin-top: 0;
}
#start .hero-value { font-size: .85rem; margin-top: 0; }
#start .hero-top > .btn { margin: 0; }
.site #start .hero-primary.btn {
  justify-content: space-between;
  width: max-content;
  max-width: 100%;
  min-height: 48px;
  color: #fff;
  border: 1px solid #A67C37;
  background: linear-gradient(155deg, #1A1F28, #0E1117);
  border-radius: 10px;
  box-shadow: inset 0 1px 1px #ffffff2e, 0 3px 0 #2b3038, 4px 10px 18px -11px #111620cc;
  white-space: normal;
}
.site #start .hero-primary.btn:hover { border-color: var(--hover); }
#start .hero-display-link {
  grid-area: display-link;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: #3a4b60;
  font-size: .82rem;
  font-weight: 650;
}
#start .hero-display-link:hover { text-decoration: underline; }
#start .hero-promises {
  grid-area: promises;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#start .hero-promises li {
  grid-template-rows: auto 1fr;
  min-width: 0;
  gap: 5px;
  padding: 12px clamp(9px,2vw,22px);
  font-size: .8rem;
}
#start .hero-promises strong { letter-spacing: .055em; }
#start .hero-stage {
  grid-area: stage;
  align-self: stretch;
  min-width: 0;
  perspective: 1400px;
  scroll-margin-top: 88px;
}
#start .hero-trigger-dock {
  grid-area: 3 / 1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-content: start;
  gap: 6px;
  padding: 3px 5px 26px;
  min-height: 78px;
  border: 1px solid #C9D1DA;
  border-radius: 11px;
  background: var(--steel-top);
  box-shadow: var(--steel-chamfer),var(--steel-key-edge);
}
#start .hero-trigger-dock button {
  position: relative;
  z-index: 1;
  min-height: 46px;
  padding: 6px 4px;
  color: var(--steel-secondary);
  font: 700 .73rem/1.2 var(--f-body);
  text-wrap: balance;
}
@media (prefers-reduced-motion:no-preference) {
  html:not([data-rova-still]) #start [data-hq-trigger]:is(:active,[data-hardware-press]) { translate: 0 2px 4px; }
}
.hero-bus {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  pointer-events: none;
}
.hero-bus :is(use,path) { vector-effect: non-scaling-stroke; }

.site #start #hqdemo {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  left: auto;
  margin: 0;
  transform: rotateY(-1.5deg);
  transform-origin: center right;
  transform-style: preserve-3d;
  translate: none;
  scale: 1;
  overflow: clip;
  isolation: isolate;
  box-shadow:
    var(--steel-chamfer),
    0 4px 0 #4A525D,
    0 8px 16px -10px #17263E66,
    14px 24px 36px -20px #23334872,
    6px 34px 58px -32px #2C3C5552;
}
.site #start #hqdemo[data-expanded] {
  width: 100%;
  margin: 0;
}
#hqdemo .dash-top-actions { display: flex; align-items: center; gap: 5px; justify-self: end; }
#hqdemo .dash-top-actions button { padding-inline: 8px; font-size: .7rem; white-space: nowrap; }
.site #start #hqdemo .dash-header {
  display: grid;
  grid-template-columns: minmax(125px,1fr) max-content max-content;
  grid-template-rows: auto;
  grid-template-areas: "brand sectors controls";
  align-items: center;
  gap: 5px 8px;
  padding: 7px 10px;
}
.site #start #hqdemo .dash-title { grid-area: brand; }
.site #start #hqdemo #hero-sector { grid-area: sectors; width: auto; }
#hqdemo .dash-top-actions { grid-area: controls; }
#hqdemo #hero-sector button { padding-inline: 10px; }
#hqdemo .dash-motion { font-size: .7rem; padding-inline: 9px; }
#hqdemo .dash-grid {
  flex: 1 1 auto;
  grid-template-columns: 116px minmax(0,1fr);
  min-height: 0;
}
#hqdemo .dash-nav {
  min-width: 0;
  min-block-size: 0;
  padding: 7px 5px;
  gap: 4px;
}
#hqdemo .dash-nav button {
  padding: 5px 6px;
  gap: 4px;
  font-size: .7rem;
  line-height: 1.17;
  white-space: normal;
}
#hqdemo .dash-nav button svg { width: 14px; height: 14px; }
#hqdemo .dash-main { padding: 7px 8px 8px; min-height: 0; }
#hqdemo .dash-main:has(#view-overview:not([hidden])) {
  --hq-scene-height: clamp(330px, 51svh, 470px);
  --hq-scene-opacity: .98;
}
#hqdemo .dash-main:has(#view-overview:not([hidden])) .hq-workspaces {
  inset-inline: 0;
  mask-image: linear-gradient(#000 34%, #000c 64%, transparent);
}
#hqdemo .dash-main:has(#view-overview:not([hidden])) .hq-workspaces img { filter: saturate(.94); }
#hqdemo .dash-main:has(#view-overview:not([hidden])) .etched-grid {
  mask-image: linear-gradient(transparent 24%, #0005 68%, #0008);
}
#hqdemo .dash-intro {
  align-items: center;
  min-block-size: 0;
  padding-block-start: 0;
  margin-bottom: 6px;
}
#hqdemo .dash-intro > div { flex: 1; max-inline-size: 65ch; }
#hqdemo .dash-intro h3 { font-size: 1.13rem; }
#hqdemo .dash-intro p { font-size: .73rem; margin-top: 2px; line-height: 1.29; }
#hqdemo .sector-line {
  width: fit-content;
  padding: 3px 6px;
  border-radius: 5px;
  background: #fff;
}
#hqdemo #view-overview .dash-intro {
  align-items: flex-start;
  min-block-size: clamp(110px, calc(25svh - 85px), 152px);
}
#hqdemo #view-overview .dash-link {
  align-self: flex-start;
  flex-shrink: 0;
}
#hqdemo #view-overview .dash-intro > div {
  flex: 0 1 auto;
  padding: 6px 9px;
  border: 1px solid #C9D1DA;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 14px -10px #26374D66;
}
#hqdemo #view-overview #sector-line {
  margin-block-start: 3px;
  padding: 0;
  border: 0;
}
#hqdemo .hq-pane-links { display: flex; flex-wrap: wrap; gap: 5px; margin-block-end: 7px; }
#hqdemo .hq-tool {
  padding: clamp(9px,1.4vw,16px);
  border: 1px solid #a0abba;
  border-top-color: var(--steel-highlight);
  border-left-color: var(--steel-highlight);
  border-radius: 12px;
  background: linear-gradient(145deg,#fcfdff,#e7ecf3);
  box-shadow: var(--steel-chamfer),var(--steel-shadow);
  color: var(--steel-ink);
  font-size: .81rem;
}
#hqdemo .hq-tool h4 { margin: 0; font: 700 1rem/1.2 var(--f-head); }
#hqdemo .hq-tool p { margin: 0; }
#hqdemo .hq-tool-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-block-end: 9px;
}
#hqdemo .hq-tool-heading > span {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
#hqdemo .hq-tool :is(button,input,select) { min-width: 44px; min-height: var(--steel-key-height); }
#hqdemo .hq-tool button {
  padding: 6px 9px;
  font: 650 .76rem/1.25 var(--f-body);
  white-space: normal;
}
#hqdemo .hq-payments {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr));
  gap: 12px;
}
#hqdemo .hq-payments > div { min-width: 0; }
#hqdemo .hq-payment-list {
  display: grid;
  gap: 5px;
}
#hqdemo .hq-payment-list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  text-align: left;
}
#hqdemo .hq-payment-list button > span { display: grid; gap: 2px; }
#hqdemo .hq-payment-list button > span:last-child { justify-items: end; text-align: right; }
#hqdemo .hq-payment-list button small { color: var(--steel-secondary); font-size: .68rem; }
#hqdemo .hq-payment-list button[data-paid] small::before,
#hqdemo .hq-tool-status::before {
  display: inline-block;
  content: "";
  width: 6px;
  height: 6px;
  margin-inline-end: 5px;
  border-radius: 50%;
  background: var(--signal-light);
  box-shadow: inset 0 1px 1px #fff9;
  vertical-align: .07em;
}
#hqdemo .hq-tool-status:not([data-lit])::before { background: #687384; }
#hqdemo .hq-payment-detail,
#hqdemo .hq-chat-log {
  border: 1px solid #9ca7b580;
  border-radius: 9px;
  background: #f7f9fc;
  box-shadow: inset 0 1px 5px #33415520;
}
#hqdemo .hq-payment-detail {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 6px;
  padding: 12px;
}
#hqdemo .hq-payment-detail > strong {
  font: 650 1.7rem/1.15 var(--f-head);
  font-variant-numeric: tabular-nums;
}
#hqdemo .hq-tool .hq-tool-status {
  margin-block: 2px 7px;
  color: var(--steel-secondary);
  font-weight: 650;
}
#hqdemo [data-payment-collect][aria-disabled="true"] { cursor: default; }
#hqdemo .hq-chat-channels { display: flex; flex-wrap: wrap; gap: 5px; margin-block-end: 8px; }
#hqdemo .hq-chat-log {
  display: grid;
  align-content: start;
  gap: 8px;
  height: 164px;
  padding: 10px;
  overflow-y: auto;
  scrollbar-width: thin;
}
#hqdemo .hq-chat-log > div {
  padding: 7px 9px;
  border-inline-start: 2px solid var(--sector);
  border-radius: 3px 8px 8px 3px;
  background: #e8edf4;
  overflow-wrap: anywhere;
}
#hqdemo .hq-chat-log strong { font-size: .74rem; }
#hqdemo .hq-tool-form {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 5px 7px;
}
#hqdemo .hq-chat-form { margin-block-start: 8px; }
#hqdemo .hq-tool-form label { grid-column: 1/-1; font-weight: 650; }
#hqdemo .hq-tool-form :is(input,select) {
  width: 100%;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #8995a5;
  border-radius: 7px;
  background: #fafcff;
  color: var(--steel-ink);
  font: 500 1rem/1.25 var(--f-body);
}
#hqdemo :is(.hq-tool-form input,.hq-tool-form select,.hq-chat-log):focus-visible {
  outline: 2px solid var(--hover);
  outline-offset: 1px;
}
#hqdemo .hq-login { max-width: 34rem; }
#hqdemo [data-login-out] { margin-block-start: 8px; }
#hqdemo [data-login-out][hidden] { display: none; }
#hqdemo .dash-link,#hqdemo .dash-explore { padding-inline: 8px; font-size: .69rem; }
#hqdemo #hq-app { overflow: visible; }
#hqdemo #hq-app .app-body { padding: 4px; position: relative; }
#hqdemo #hq-app .kpis { margin-top: 0; gap: 6px; grid-template-columns: repeat(4,minmax(0,1fr)); }
#hqdemo #hq-app .kpi {
  padding: 7px 6px 5px;
  min-height: 103px;
  text-align: left;
}
#hqdemo #hq-app .kpi > span { color: #293442; font-size: .65rem; line-height: 1.21; }
#hqdemo #hq-app .kpi b { font-size: 1.58rem; margin-top: 3px; }
#hqdemo #hq-app .kpi i { font-size: .64rem; line-height: 1.22; margin-top: 3px; }
#hqdemo .hq-kpi-spark { height: 18px; min-height: 18px; }
#hqdemo .hq-idle-badge {
  position: absolute;
  inset: auto 3px 3px;
  padding: 3px 4px;
  color: #1a2430;
  background: #f7f2e8;
  border: 1px solid #A67C37;
  border-radius: 4px;
  font: 700 .6rem/1.1 var(--f-body);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--steel-ease), visibility 0s linear .22s;
}
#hqdemo .kpi[data-hq-cue] .hq-idle-badge { opacity: 1; visibility: visible; transition-delay: 0s; }
#hqdemo .kpi[data-hq-cue] { border-color: #A67C37; z-index: 6; }
#hqdemo .kpi[data-hq-cue] .hq-kpi-spark { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-rova-still]) #hqdemo .kpi[data-hq-cue] { translate: 0 -3px 8px; }
}
#hqdemo .app-grid { grid-template-columns: minmax(0,1.13fr) minmax(0,1fr); margin-top: 7px; gap: 6px; }
#hqdemo .app-grid .panel { min-width:0; padding: 6px; }
#hqdemo .panel h5 { flex-wrap: nowrap; align-items: center; gap: 4px; margin: 0 0 4px; }
#hqdemo .panel h5 button { min-width: 0; padding: 4px 7px; white-space: normal; text-align: left; font-size: .72rem; }
#hqdemo .panel h5 > span:not([hidden]) { flex: 0 0 auto; font-size: .62rem; color: #34465c; }
#hqdemo .overview-plot { min-height: 0; }
#hqdemo .overview-options { margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 4px; }
#hqdemo .overview-options button { padding: 0 7px; font-size: .69rem; }
#hqdemo .overview-pipeline { gap: 3px; padding: 3px; }
#hqdemo .overview-pipeline button {
  grid-template-columns: minmax(66px,.95fr) minmax(22px,1fr) auto;
  gap: 5px;
  text-align: left;
  padding: 4px;
  font-size: .65rem;
}
#hqdemo .overview-series-note { color: #34465c; font-size: .64rem; padding: 1px 3px; }
#hqdemo .overview-series-note:empty { display: none; }
#hqdemo .hq-queue { margin: 0; padding: 0 2px 1px; max-block-size: 226px; overflow: auto; }
#hqdemo .hq-queue li { padding: 2px 0; grid-template-columns: minmax(0,1fr) auto; gap: 4px; }
#hqdemo .hq-queue .hq-entry {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(29px, max-content) minmax(0,1fr);
  gap: 5px;
  margin: 0;
  min-width: 0;
  padding: 4px;
  text-align: left;
  color: #2b3b4e;
  font-size: .65rem;
  line-height: 1.2;
}
#hqdemo .hq-entry span { overflow-wrap: anywhere; }
#hqdemo .hq-entry strong { color: #0b0c0e; margin-bottom: 1px; }
#hqdemo .hq-queue :is(.act,.st) { font-size: .64rem; padding-inline: 5px; }
#hqdemo .hq-queue .st { max-width: 76px; white-space: normal; text-align: center; }
#hqdemo .hq-queue .act[data-completed] {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(155deg,#1A1F28,#0E1117);
  border-color: #A67C37;
  color: #fff;
}
#hqdemo .hq-queue .act[data-completed] i { width: 7px; height: 7px; }
#hqdemo .hq-live-activity {
  flex: none;
  padding: 5px 10px 7px;
  border-top: 1px solid #C9D1DA;
  background: linear-gradient(168deg,#f4f6f9,#e6eaf0);
  box-shadow: inset 0 2px 6px #2735481f,inset 0 -1px 0 #ffffffb8;
}
#hqdemo .hq-live-activity header,
#hqdemo .hq-live-activity h3 {
  display: flex;
  align-items: center;
  gap: 7px;
}
#hqdemo .hq-live-activity header {
  justify-content: space-between;
  padding: 3px 5px 5px;
}
#hqdemo .hq-live-activity h3 {
  color: #0F172A;
  font: 600 .7rem/1.2 var(--f-mono);
  letter-spacing: .10em;
  text-transform: uppercase;
}
#hqdemo .hq-live-activity .glass-live-dot {
  background: var(--signal-light);
  box-shadow: inset 0 1px 2px #23282e93;
}
#hqdemo .hq-live-activity .glass-live-dot::before { content: none; }
#hqdemo .hq-live-activity header span {
  padding: 2px 6px;
  border: 1px solid #C9D1DA;
  border-radius: 5px;
  background: #f9fafc;
  color: #475569;
  font: 650 .63rem/1.15 var(--f-body);
}
#hqdemo .hq-live-activity li {
  display: grid;
  grid-template-columns: 4.8ch max-content minmax(0,1fr);
  align-items: baseline;
  gap: 6px;
  padding: 4px 5px;
  border-top: 1px solid #C9D1DA;
  font: 500 .7rem/1.3 var(--f-body);
}
#hqdemo .hq-activity-event { display: inline-flex; align-items: baseline; gap: 6px; }
#hqdemo .hq-live-activity time { color: #4A525D; font-family: var(--f-mono); }
#hqdemo .hq-live-activity strong { color: #0F172A; font-weight: 700; }
#hqdemo .hq-live-activity :is(.hq-activity-arrow,.hq-activity-update) { color: #475569; }
#hqdemo .app-body .metric-preview {
  inset: 106px 7px auto;
  position: absolute;
  z-index: 10;
  margin: 0;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto auto;
  align-items: center;
  box-shadow: var(--steel-shadow-up);
  padding: 8px;
  background: var(--steel-top);
  gap: 6px;
}
#hqdemo .hq-detail-close { font-size: 1rem; padding: 0; min-width: 44px; }
#hqdemo .metric-preview .metric-note { color: #34465c; }
#hqdemo .referral-copy:not([hidden]) {
  display:inline-flex;
  align-items:center;
  min-height:46px;
  margin-top:7px;
  padding:8px 10px;
  border:1px solid #8193a3;
  border-radius:6px;
  background:#f7f9fc;
  color:#13243a;
  font:500 .8rem/1.35 var(--f-body);
}

.hq-timeline-layer {
  position: absolute;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  inset: 0;
  padding: 8px;
  z-index: 35;
  background: rgba(11,12,14,.28);
}
.hq-timeline-layer[hidden] { display: none; }
.hq-timeline {
  position: sticky;
  top: 80px;
  width: min(100%, 368px);
  min-width: 0;
  max-block-size: min(100%, calc(100svh - 96px));
  overflow: auto;
  padding: 14px;
  color: #0b0c0e;
  background: var(--steel-top);
  border: 1px solid #6c7785;
  border-top-color: #fff;
  border-radius: 10px;
  box-shadow: -12px 9px 28px #0b0c0e4d, inset 0 1px 0 #fff;
  animation: command-plate-in .36s var(--steel-ease) both;
}
@keyframes command-plate-in { from { transform: translateX(16px); opacity: .8; } to { transform: none; opacity: 1; } }
.hq-timeline header { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.hq-timeline header button { padding: 0; font-size: 1.15rem; }
.hq-timeline h3 { color: #0b0c0e; margin: 2px 0 0; font: 720 1.25rem/1.1 var(--f-head); }
.hq-timeline-kicker { color: #34465c; font: 700 .68rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.hq-timeline-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  margin-top: 10px;
  border: 1px solid #8b99a9;
  border-radius: 5px;
  background: #edf1f7;
  color: #293b4f;
  font-size: .73rem;
  font-weight: 700;
}
.hq-timeline-events {
  position: relative;
  display: grid;
  gap: 13px;
  margin-top: 16px;
  list-style: none;
  padding: 2px 3px 2px 17px;
  border-left: 1px solid #A67C37;
}
.hq-timeline-events li { position: relative; display: grid; gap: 4px; }
.hq-timeline-events li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -22px;
  width: 8px; height: 8px;
  border: 1px solid #8b621e;
  border-radius: 50%;
  background: #dbb66d;
  box-shadow: 0 0 0 2px #ecf0f5;
}
.hq-timeline-events li strong { color: #141d29; font-size: .82rem; }
.hq-timeline-events li span { color: #34465c; font-size: .77rem; line-height: 1.35; }

@media (min-width: 1100px) {
  #start { width: min(95vw,1540px,calc(100% - 68px)); max-width: none; margin-inline: auto; }
  #start > .hero-grid {
    width: 100%;
    max-width: none;
    padding-inline: 0;
    grid-template-columns: minmax(280px,25.5%) minmax(0,1fr);
    column-gap: 26px;
  }
  #start .hero-top { gap: 20px; }
  #start #hero-h {
    max-width: min(100%,13ch);
    font-size: clamp(2.85rem,3.85vw,3.65rem);
    line-height: 1.03;
    letter-spacing: -.03em;
    font-weight: 700;
  }
  #start .lede { max-width: 22ch; line-height: 1.72; }
  #start .hero-value { max-width: 32ch; }
  .site #start .hero-primary.btn { --steel-key-height: 50px; }
  #start .hero-display-link { margin-inline-start: 8px; }
  #start .hero-stage {
    /* Keep the screen height fixed when a longer workspace opens inside it. */
    contain: size;
    min-height: clamp(580px,calc(100svh - 220px),780px);
  }
  .site #start #hqdemo { block-size: 100%; }
  .site #start #hqdemo .dash-header { --steel-key-height: 40px; padding-block: 6px; }
  #hqdemo .dash-grid { overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }
  #hqdemo .dash-main { padding-block: 7px 5px; }
  #hqdemo .dash-intro { margin-bottom: 6px; }
  #hqdemo #view-overview .dash-intro {
    --steel-key-height: 38px;
    /* Leave room for the activity feed in shorter desktop windows. */
    min-block-size: clamp(106px, calc(100svh - 757px), 152px);
  }
  #hqdemo .dash-nav { --steel-key-height: 35px; }
  #hqdemo .app-grid { --steel-key-height: 34px; }
  #hqdemo #hq-app .app-body { padding-block: 4px; }
  #hqdemo #hq-app .kpi { padding-block: 9px 7px; }
  #hqdemo .hq-kpi-spark { height: 17px; min-height: 17px; }
  #hqdemo .app-grid .panel { padding: 7px; }
  #hqdemo .overview-stats:has(.overview-range[hidden]) {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 5px;
    align-content: start;
  }
  #hqdemo .overview-stats:has(.overview-range[hidden]) :is(h5,.overview-options,.overview-plot) { margin: 0; }
  #hqdemo .overview-stats:has(.overview-range[hidden]) .overview-plot { grid-column: 1/-1; }
  #hqdemo .hq-queue { max-block-size: 166px; }
  #hqdemo .dash-main .hq-queue li { margin-block: 0; padding-block: 2px; }
  #hqdemo .hq-queue .hq-entry { padding-block: 2px; }
  #hqdemo .hq-entry strong { margin-block-end: 0; }
  #hqdemo .hq-queue .st { max-width: 124px; }
  #hqdemo .hq-live-activity { padding-block: 5px 6px; }
  #hqdemo .hq-live-activity header { padding-block: 3px; }
  #hqdemo .hq-live-activity li { padding-block: 4px; }
}
@media (max-width: 1099px) {
  #start > .hero-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "brief" "stage" "display-link" "promises"; row-gap: 12px; }
  #start .hero-brief { grid-template-rows: auto auto; row-gap: 16px; }
  #start .hero-trigger-dock { grid-area: 2 / 1; }
  #hero-trace-0 { d: path("M100 49V57L110 66V92"); }
  #hero-trace-1 { d: path("M300 49V92"); }
  #hero-trace-2 { d: path("M500 49V57L490 66V92"); }
  .site #start #hqdemo { transform: none; }
  #hqdemo .hq-timeline { position: sticky; top: 116px; max-block-size: calc(100svh - 132px); }
}
.display3d-kiosk-mode #start { width: auto; }
.display3d-kiosk-mode #start > .hero-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "brief" "stage" "display-link" "promises"; row-gap: 12px; padding-inline: 12px; }
.display3d-kiosk-mode #start .hero-brief { grid-template-rows: auto auto; row-gap: 16px; }
.display3d-kiosk-mode #start .hero-trigger-dock { grid-area: 2 / 1; }
.display3d-kiosk-mode #start .hero-stage { contain: none; min-height: 0; }
.display3d-kiosk-mode #hero-trace-0 { d: path("M100 49V57L110 66V92"); }
.display3d-kiosk-mode #hero-trace-1 { d: path("M300 49V92"); }
.display3d-kiosk-mode #hero-trace-2 { d: path("M500 49V57L490 66V92"); }
.display3d-kiosk-mode .site #start #hqdemo { min-height: 0; block-size: auto; transform: none; }
@container (max-width: 760px) {
  .site #start #hqdemo .dash-header {
    grid-template-columns: minmax(0,1fr) max-content;
    grid-template-rows: auto auto;
    grid-template-areas: "brand controls" "sectors sectors";
  }
  .site #start #hqdemo #hero-sector { width: 100%; }
}
@media (max-width: 680px) {
  #hqdemo .dash-grid { grid-template-columns: minmax(0,1fr); }
  #hqdemo .dash-nav {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid #9ba7b6;
  }
  #hqdemo .dash-nav button { width: 100%; }
  #hqdemo .dash-nav button[data-view="ai"] { grid-column: span 3; }
}
@media (max-width: 620px) {
  #start { padding-block: 12px 26px; }
  #start > .hero-grid { row-gap: 10px; }
  #start .hero-top, #start .hero-brief { gap: 12px; }
  #start .hero-promises li { padding-inline: 8px; font-size: .72rem; }
  .site #start #hqdemo .dash-header { padding: 7px; }
  #hqdemo .dash-top-actions button { padding-inline: 6px; }
  #hqdemo #hero-sector button { padding: 5px 6px; font-size: .68rem; }
  #hqdemo .hq-live-activity li { grid-template-columns: 4.8ch minmax(0,1fr); gap: 2px 6px; }
  #hqdemo .hq-activity-update { grid-column: 2; }
  #hqdemo #hq-app .kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #hqdemo .app-grid { grid-template-columns: minmax(0,1fr); }
  #hqdemo .dash-intro { flex-wrap: nowrap; }
  #hqdemo .dash-intro > div { min-width: 0; }
  #hqdemo .app-body .metric-preview { inset: 102px 6px auto; grid-template-columns: minmax(0,1fr) auto; }
  #hqdemo .metric-preview .metric-history { display: none; }
  #hqdemo .metric-preview [data-metric-link] { grid-column: 1; justify-self: start; }
  #hqdemo .metric-preview [data-metric-close] { grid-area: 1/2; }
}
@media (prefers-reduced-motion: reduce) {
  #hqdemo .hq-timeline { animation: none; }
  #hqdemo .hq-idle-badge { transition: none; }
  #start #hqdemo { transition: none; }
}
