.has-unified-app-shell {
  padding-top: 0 !important;
}

.app-shell-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 52px;
  border-bottom: 1px solid #e5e9ec;
  color: #333;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.app-shell-header *,
.app-shell-header *::before,
.app-shell-header *::after {
  box-sizing: border-box;
}

.app-shell-header__inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 52px;
  padding: 0 16px;
}

.app-shell-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: 94px;
  margin-right: 0;
  color: inherit;
  text-decoration: none;
}

.app-shell-brand:hover {
  color: inherit;
  text-decoration: none;
}

.app-shell-brand img {
  display: block;
  width: auto;
  height: 42px;
}

.app-shell-nav {
  display: flex;
  align-items: stretch;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.app-shell-nav::-webkit-scrollbar {
  display: none;
}

.app-shell-nav > a,
.app-shell-settings > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  color: #333;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.app-shell-nav > a:hover,
.app-shell-nav > a.active,
.app-shell-settings > summary:hover,
.app-shell-settings > summary.active,
.app-shell-settings[open] > summary {
  color: #a31e36;
  background: transparent;
  text-decoration: none;
}

.app-shell-nav > a.active::after,
.app-shell-settings > summary.active::after,
.app-shell-settings[open] > summary::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #a31e36;
  content: "";
}

.app-shell-caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 4px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  vertical-align: middle;
}

.app-shell-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  margin-left: auto;
}

.app-shell-create,
.app-shell-settings {
  position: relative;
  align-self: stretch;
}

.app-shell-create > summary,
.app-shell-settings > summary {
  list-style: none;
}

.app-shell-create > summary::-webkit-details-marker,
.app-shell-settings > summary::-webkit-details-marker {
  display: none;
}

.app-shell-create > summary {
  display: flex;
  align-items: center;
  min-width: 48px;
  height: 52px;
  padding: 0 8px;
  color: #1186a7;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.app-shell-create > summary .app-shell-caret {
  margin-left: 1px;
  border-top-width: 3px;
  border-right-width: 3px;
  border-left-width: 3px;
  color: #333;
}

.app-shell-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  display: grid;
  width: 245px;
  padding: 6px;
  border: 1px solid #dfe5ea;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 48, 62, 0.16);
}

.app-shell-dropdown a {
  padding: 9px 11px;
  border-radius: 3px;
  color: #333;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
}

.app-shell-dropdown a:hover,
.app-shell-dropdown a.active {
  color: #a31e36;
  background: #f7f1f3;
  text-decoration: none;
}

.app-shell-settings__menu {
  display: block;
  width: 270px;
  max-height: calc(100vh - 64px);
  padding: 8px;
  overflow-y: auto;
}

.app-shell-settings__group {
  display: grid;
  margin: 0;
  padding: 4px 0;
}

.app-shell-settings__group + .app-shell-settings__group {
  margin-top: 4px;
  padding-top: 9px;
  border-top: 1px solid #edf0f2;
}

.app-shell-settings__label {
  padding: 3px 11px 5px;
  color: #7c8790;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.app-shell-settings__footer {
  margin-top: 5px;
  padding-top: 7px;
  border-top: 1px solid #dfe5e9;
}

.app-shell-settings__footer a {
  display: block;
  color: #8f1d32;
}

@media (max-width: 900px) {
  .app-shell-header__inner { padding: 0 10px; }
  .app-shell-brand { width: 82px; }
  .app-shell-brand img { height: 38px; }
  .app-shell-nav > a,
  .app-shell-settings > summary { padding: 0 10px; font-size: 13px; }
  .app-shell-settings > summary { width: 42px; overflow: hidden; color: transparent; }
  .app-shell-settings > summary .app-shell-caret { color: #333; }
}
