/* Navigation from the simulator to the Saryan project page. */
.v5-shell header.command-topbar {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  height: 56px;
}
.command-topbar > .command-topbar-actions { justify-self: end; }
a.command-project-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-block-size: 44px;
  padding-inline: 16px;
  border-inline-start: 1px solid var(--line);
  color: #366b6e;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
}
a.command-project-return > svg { flex: 0 0 auto; }
a.command-project-return:hover { color: #14798a; background: #21879a0a; }
a.command-project-return:focus-visible { outline: 2px solid #21879a; outline-offset: 2px; }
[data-theme="dark"] a.command-project-return { color: #91d9d8; border-color: #48c4d329; }
[data-theme="dark"] a.command-project-return:hover { color: #d6ffff; background: #48c4d30d; }
[data-theme="dark"] a.command-project-return:focus-visible { outline-color: #91d9d8; }
@media (max-width: 760px) {
  .v5-shell header.command-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    row-gap: 0;
    height: auto;
    min-block-size: 96px;
  }
  .command-topbar > .command-wordmark { grid-column: 1; grid-row: 1; justify-self: start; }
  .command-topbar > .command-topbar-actions { display: contents; }
  .command-topbar-actions > .v7-theme-switcher { grid-column: 2; grid-row: 1; justify-self: end; }
  .command-topbar-actions > .prototype { grid-column: 2; grid-row: 2; justify-self: end; }
  a.command-project-return {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    border-inline-start: 0;
    padding-inline: 0 12px;
  }
}
@media print { .v5-shell header.command-topbar { display: none !important; } }
