:host {
  display: block;
  min-height: 100%;
}

.shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.shell-header {
  border-bottom: 1px solid var(--tui-border-normal);
  background: var(--tui-background-elevation-1);
}

.shell-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
  padding-block: 1rem;
  text-align: left;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.015em;
  color: var(--tui-text-primary);
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 2rem;
  width: auto;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--tui-text-action);
}

.shell-sub {
  font: var(--tui-font-text-s);
  color: var(--sg-color-subtitle);
}

.shell-main {
  flex: 1;
}

.shell-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: 1.5rem;
  align-items: center;
}

.shell-nav-link {
  text-decoration: none;
  font-weight: 400;
  transition: opacity 0.2s;
  cursor: pointer;
  color: var(--sg-color-subtitle);
}

.shell-nav-link:hover {
  opacity: 0.7;
}
