/* Base typography, colors, panels and controls. */
:root {
  --tf-ui-scale: 0.8;
  color-scheme: dark;
  --bg: #101318;
  --panel: #191f27;
  --line: #34404d;
  --muted: #9aa8b7;
  --accent: #8dc7a3;
}
html {
  zoom: var(--tf-ui-scale);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  width: 100%;
  min-height: calc(100vh / var(--tf-ui-scale));
  background: var(--bg);
  color: #e8edf2;
  font:
    14px/1.45 system-ui,
    sans-serif;
}
header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: center;
}
header strong {
  font-size: 19px;
  letter-spacing: 0.07em;
}
header span {
  color: var(--muted);
}
body > header {
  flex-wrap: wrap;
}
body > header .product-tagline {
  font-size: 12px;
}
main {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 14px;
  max-width: 1700px;
  margin: auto;
}
.panel,
.view {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.panel {
  padding: 14px;
}
h2 {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
select,
button,
input {
  background: #222c36;
  color: #e8edf2;
  border: 1px solid #42505e;
  border-radius: 6px;
  padding: 8px;
}
button {
  cursor: pointer;
}
button:hover {
  border-color: var(--accent);
}
button.danger {
  color: #ffb0a6;
  margin-top: 12px;
}
