@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

@font-face {
  font-family: "CooperHewittBook";
  src: url("./CooperHewitt-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 300;
  display: flex;
  flex-direction: column;
}

.toolbar {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo {
  height: 40px;
  width: auto;
  display: block;
  margin-right: 4px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.brand {
  height: 40px;
  display: flex;
  align-items: center;
  margin-right: 10px;
  font-family: "CooperHewittBook", sans-serif;
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
}

select,
button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: normal;
}

button {
  height: auto;
  padding: 1px 6px;
  cursor: pointer;
}

.split {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  min-height: 0;
}

.pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

label {
  font-size: 18px;
  font-weight: 350;
  color: #444;
}

.pane > label {
  margin-bottom: 6px;
}

.toolbar label {
  margin-bottom: 0;
}

textarea {
  flex: 1;
  width: 100%;
  resize: none;
  border: 1px solid #ccc;
  padding: 10px;
  line-height: 1.4;
  font-size: 13px;
  font-family: "Source Code Pro", monospace;
}
