/* Scales two presentation-only product views as a single hero illustration. */
.v7-demo {
  --vd-ink: #172337;
  --vd-muted: #536176;
  --vd-line: #dee5ee;
  --vd-blue: #2259d6;
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--vd-ink);
  text-align: left;
  line-height: 1.35;
  container-type: inline-size;
}
.v7-demo *, .v7-demo *::before, .v7-demo *::after { box-sizing: border-box; }
.vd-tour { position: relative; min-width: 0; margin: 0; padding: 0; border: 0; }
.vd-sr, .vd-radio { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.vd-stage { position: relative; width: 100%; aspect-ratio: 1.8; }
.vd-scene { display: none; position: absolute; inset: 0; }
#v7-demo-dashboard:checked ~ .vd-stage .vd-dashboard,
#v7-demo-finance:checked ~ .vd-stage .vd-finance,
#v7-demo-labor:checked ~ .vd-stage .vd-labor { display: block; }

.vd-desktop {
  position: absolute;
  inset: 1.3% auto 4.6% 0;
  display: grid;
  grid-template-columns: 18% minmax(0, 1fr);
  width: 89%;
  border: .75cqw solid #f7f9fb;
  border-radius: 1.6cqw;
  outline: 1px solid #b6c4d1;
  background: #f6f7f9;
  box-shadow: 0 2px 2px #19273826, 0 19px 42px -18px #1b354c66;
  font-size: 1.32cqw;
  overflow: hidden;
}
.v7-demo img { display: block; max-width: 100%; }
.v7-demo svg { display: inline-block; flex: none; width: 1.14em; height: 1.14em; vertical-align: -.15em; }
.vd-sidebar { display: flex; flex-direction: column; gap: .17em; padding: 1.5em .7em 0; background: #222b39; color: #f0f3f8; }
.vd-sidebar > img { width: 5.2em; height: auto; margin: .08em .36em .7em; filter: brightness(0) invert(1); }
.vd-org { background: #2d394b; border: 1px solid #435060; border-radius: .44em; margin: .2em .12em .5em; padding: .57em .55em; font-size: .84em; white-space: nowrap; }
.vd-sidebar > span { display: flex; align-items: center; gap: .57em; border-radius: .35em; padding: .54em .55em; font-size: .92em; font-weight: 600; white-space: nowrap; }
.vd-sidebar > small { color: #c2cbd8; margin: .75em .6em .27em; font-size: .72em; letter-spacing: .035em; }
.vd-sidebar .vd-active { color: #fff; background: #2858c5; }
.vd-work, .vd-content { min-width: 0; }
.vd-appbar, .vd-phone-top { display: flex; align-items: center; justify-content: space-between; background: white; border-bottom: 1px solid var(--vd-line); }
.vd-appbar { min-height: 3.5em; padding: 0 1.55em; color: #49576b; font-weight: 650; }
.vd-appbar em { padding: .42em .75em; border-radius: .36em; color: #fff; background: #2459d5; font-size: .83em; font-style: normal; }
.vd-content { padding: 1.28em 1.4em; }
.vd-page-title { margin-bottom: 1.13em; }
.vd-page-title > strong { display: block; font-size: 1.94em; font-weight: 760; line-height: 1.24; letter-spacing: -.07em; color: var(--vd-ink); }
.vd-page-title > small { display: block; margin-top: .32em; color: var(--vd-muted); font-size: .87em; }
.vd-section-line { display: flex; align-items: center; justify-content: space-between; gap: .4em; margin-bottom: .54em; }
.vd-section-line > b { font-size: 1.05em; }
.vd-section-line > span { color: var(--vd-muted); font-size: .75em; }
.vd-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .53em; margin: 0; }
.vd-metrics > div, .vd-box { min-width: 0; border: 1px solid var(--vd-line); border-radius: .58em; background: #fff; }
.vd-metrics > div { padding: .82em .55em; }
.vd-metrics dt, .vd-box > b { display: flex; align-items: center; gap: .36em; }
.vd-metrics dt { font-size: .87em; font-weight: 680; line-height: 1.4; }
.vd-metrics dt svg { color: var(--vd-blue); }
.vd-metrics dd { margin: .5em 0 .23em; font-size: 1.18em; font-weight: 760; letter-spacing: -.085em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vd-metrics small { display: block; color: var(--vd-muted); font-size: .68em; line-height: 1.45; }
.vd-labor .vd-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vd-labor .vd-metrics dt { min-height: 2.6em; font-size: .78em; }
.vd-labor .vd-metrics dd { font-size: 1.03em; }
.vd-box { padding: .88em; margin-top: .75em; }
.vd-box > b { font-size: 1em; font-weight: 730; }
.vd-box > b svg { color: var(--vd-blue); }
.vd-shortcuts > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4em; margin-top: .68em; }
.vd-shortcuts > div > span { display: flex; align-items: center; padding: .55em .29em; gap: .3em; border: 1px solid var(--vd-line); border-radius: .4em; font-size: .78em; font-weight: 600; white-space: nowrap; }
.vd-shortcuts > div svg { color: var(--vd-blue); }
.vd-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55em; }
.vd-duo p { padding: .6em 0 0; margin: .6em 0 0; border-top: 1px solid var(--vd-line); font-size: .86em; color: var(--vd-muted); }
.vd-ledger-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: .4em; padding: .9em .44em; border-top: 1px solid var(--vd-line); font-size: .82em; font-variant-numeric: tabular-nums; }
.vd-record-label { margin-top: .8em; background: #f4f6f9; color: var(--vd-muted); font-size: .73em; }

.vd-phone {
  position: absolute;
  width: 18%;
  right: 0;
  bottom: 0;
  aspect-ratio: .49;
  padding: .23em;
  border: .25em solid #161b21;
  border-radius: 1.72em;
  background: #333a43;
  font-size: 1.05cqw;
  box-shadow: inset -1px 0 1px #a5adb6, 0 0 0 1px #78818c, 0 10px 20px -7px #132b4660;
}
.vd-phone-inner { position: relative; display: flex; flex-direction: column; height: 100%; padding-top: 1.05em; border-radius: 1.32em; background: white; overflow: hidden; }
.vd-phone-inner::before { position: absolute; top: .34em; left: 40%; width: 20%; height: .32em; border-radius: 999px; background: #1d2430; content: ""; }
.vd-phone-top { padding: .65em .82em; }
.vd-phone-top > img { width: 3.6em; height: auto; }
.vd-phone .vd-content { flex: 1; min-height: 0; padding: .85em .67em; background: #f6f7f9; overflow: hidden; }
.vd-phone .vd-page-title { margin-bottom: .7em; }
.vd-phone .vd-page-title > strong { font-size: 1.4em; }
.vd-phone .vd-page-title > small { font-size: .65em; }
.vd-phone .vd-section-line { margin-bottom: .45em; }
.vd-phone .vd-section-line > b { font-size: .82em; }
.vd-phone .vd-section-line > span { display: none; }
.vd-phone .vd-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4em; }
.vd-phone .vd-metrics > div { padding: .6em .38em; }
.vd-phone .vd-metrics dt { font-size: .73em; }
.vd-phone .vd-metrics dd { font-size: .88em; margin: .3em 0 .2em; }
.vd-phone .vd-metrics small { font-size: .59em; }
.vd-phone .vd-box { padding: .58em; margin-top: .49em; }
.vd-phone .vd-box > b { font-size: .85em; }
.vd-phone .vd-shortcuts > div { grid-template-columns: 1fr 1fr; gap: .3em; }
.vd-phone .vd-shortcuts > div > span { font-size: .69em; }
.vd-phone .vd-duo { grid-template-columns: 1fr; }
.vd-mobile-nav { display: flex; flex: none; justify-content: space-around; padding: .83em 0 .95em; background: #fff; border-top: 1px solid var(--vd-line); color: #728298; }
.vd-mobile-nav span { display: grid; justify-items: center; gap: .2em; font-size: .64em; }
.vd-mobile-nav svg, .vd-mobile-nav i { width: 1.7em; height: 1.7em; }
.vd-mobile-nav i { border-radius: 50%; background: var(--vd-blue); color: #fff; font-style: normal; text-align: center; }
.vd-mobile-nav span:first-child { color: var(--vd-blue); }

.vd-controls { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; margin: 1.05rem auto .5rem; padding: .21rem; gap: .12rem; background: #fff; border: 1px solid #d8e0eb; border-radius: 999px; }
.vd-controls label { display: inline-flex; align-items: center; justify-content: center; gap: .33rem; margin: 0; padding: .42rem .72rem; color: #44556d; font-size: .74rem; line-height: 1.3; font-weight: 650; cursor: pointer; border-radius: 999px; white-space: nowrap; }
.vd-controls label:hover { background: #edf3fc; color: #12439b; }
#v7-demo-dashboard:checked ~ .vd-controls label[for="v7-demo-dashboard"],
#v7-demo-finance:checked ~ .vd-controls label[for="v7-demo-finance"],
#v7-demo-labor:checked ~ .vd-controls label[for="v7-demo-labor"] { color: #fff; background: #1748ab; }
#v7-demo-dashboard:focus-visible ~ .vd-controls label[for="v7-demo-dashboard"],
#v7-demo-finance:focus-visible ~ .vd-controls label[for="v7-demo-finance"],
#v7-demo-labor:focus-visible ~ .vd-controls label[for="v7-demo-labor"] { outline: 2px solid #1748ab; outline-offset: 3px; }
.v7-demo figcaption { text-align: center; color: #455875; font-size: .71rem; font-weight: 500; line-height: 1.5; }

@media (max-width: 620px) {
  .vd-stage { aspect-ratio: auto; height: 310px; }
  .vd-desktop { display: none; }
  .vd-phone { width: min(218px, 73%); height: 100%; inset: 0; margin: auto; aspect-ratio: auto; font-size: 12px; }
  .vd-phone .vd-content { padding: .8em .85em; }
  .vd-phone .vd-metrics dd { font-size: 1em; }
  .vd-phone .vd-duo { grid-template-columns: 1fr 1fr; }
  .vd-controls { margin-top: 1rem; }
  .vd-controls label { min-height: 38px; padding-inline: .72rem; }
  .v7-demo figcaption { max-width: 29em; margin-inline: auto; font-size: .7rem; }
}
