/* Visitor controls attached to the saved Engineering design. */
.skip { position: absolute; left: .75rem; top: .75rem; z-index: 2; padding: .6rem 1rem; background: var(--night); transform: translateY(-200%); }
.skip:focus { transform: none; }
.bar nav { margin-left: auto; }
.bar > a:last-child { display: inline-flex; align-items: center; min-height: 44px; color: var(--mist); font-size: .88rem; }
footer { padding-bottom: 6.5rem; }
footer nav { gap: .25rem 1.15rem; }
.demo-form { max-width: 41rem; margin-top: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.demo-form label { margin: 0 0 .3rem; }
.demo-form input, .demo-form select, .demo-form textarea { font: inherit; width: 100%; min-height: 44px; padding: .65rem .8rem; border: 1px solid #536c86; border-radius: .4rem; background: #102035; color: var(--white); }
.demo-form textarea { resize: vertical; }
.demo-form :focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form-details { padding-block: 1.05rem; margin-top: .7rem; border-bottom: 1px solid var(--rule); }
.form-details summary { padding-block: .55rem; cursor: pointer; width: fit-content; }
.form-details[open] .form-grid { margin-top: .8rem; }
.demo-form .honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.demo-form .form-note { font-size: .9rem; }
.demo-form .form-note a { text-decoration: underline; }
.form-status:not(:empty) { margin-block: 1rem; }
.form-status.success { color: var(--cyan); }
.demo-form button { border: 0; cursor: pointer; }
.demo-form button:disabled { opacity: .7; }
.demo-form button svg { width: 1.1rem; height: 1.1rem; margin-left: .6rem; }
.maya-launcher .maya-toggle { background: #112c42; color: #f3f8ff; border: 1px solid #466079; }
@media (max-width: 43rem) {
  .bar { display: grid; grid-template-columns: 1fr auto; gap: 0 .6rem; }
  .bar > a:last-child { grid-column: 2; grid-row: 1; }
  .bar nav { grid-column: 1 / -1; grid-row: 2; margin: 0; justify-content: space-between; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Reserve a header cell for support when the homepage switches to one column. Only an opened chat overlays the page. */
.bar .maya-compact-role[hidden] { display: none; }
@media (max-width: 43rem) {
  .bar:has([data-maya-before]) { grid-template-columns: 1fr auto auto; }
  .bar > a[data-maya-before] { grid-column: 3; }
  .bar > .maya-launcher { position: static; grid-area: 1 / 2; }
  .bar .maya-toggle { min-height: 44px; gap: .25rem; padding: .2rem .45rem; }
  .bar .maya-portrait { width: 22px; height: 22px; }
  .bar .maya-toggle strong { font-size: .81rem; line-height: 1.2; }
  .bar .maya-toggle small { display: none; }
  .bar .maya-compact-role[hidden] { display: block; font-size: .65rem; line-height: 1.2; }
  .bar .maya-launcher section {
    position: fixed; z-index: 10000; inset: max(.5rem, env(safe-area-inset-top)) .5rem auto;
    width: auto; height: min(42rem, calc(100dvh - 1rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
    min-height: 0; margin: 0;
  }
}

@media (max-width: 23rem) and (max-height: 42rem) {
  .hero { padding-top: 1.25rem; }
  .hero .lead { margin-block: .75rem 1.1rem; }
  .hero .art { width: min(100%, 38svh); }
}
