*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  color: #171717;
  background: #eeeeee;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

button {
  font: inherit;
}

.shell-toolbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid #d8d8d8;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 210px;
}

.shell-brand img {
  width: 26px;
  height: 26px;
}

.shell-title {
  font-size: 13px;
  font-weight: 780;
  line-height: 1.1;
}

.shell-subtitle {
  margin-top: 2px;
  color: #696969;
  font-size: 11px;
  font-weight: 620;
  line-height: 1.1;
}

.preset-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 3px;
  width: min(100%, 240px);
  padding: 3px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #f6f6f6;
}

.preset-tab {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 7px;
  color: #4f4f4f;
  background: transparent;
  font-size: 12px;
  font-weight: 740;
  cursor: pointer;
}

.preset-tab:hover {
  color: #171717;
}

.preset-tab.is-active {
  color: #ffffff;
  background: #171717;
}

.shell-main {
  height: 100vh;
  padding-top: 58px;
}

.preset-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 58px);
  border: 0;
  background: #f4f4f4;
}

@media (max-width: 720px) {
  .shell-toolbar {
    align-items: stretch;
    height: 102px;
    flex-direction: column;
    padding: 10px 12px;
  }

  .shell-brand {
    min-width: 0;
  }

  .preset-tabs {
    width: 100%;
  }

  .preset-tab {
    padding: 0 8px;
  }

  .shell-main {
    padding-top: 102px;
  }

  .preset-frame {
    height: calc(100vh - 102px);
  }
}
