.ubook-brand:is(.brand,.wordmark) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3d3129;
  font: 750 21px/1 "DM Sans", "Segoe UI", sans-serif;
  letter-spacing: -.8px;
  text-decoration: none;
}
.ubook-brand:is(.brand,.wordmark) img {
  width: 26px;
  height: 23px;
  flex: none;
  margin: 0;
}
body.ubook-app,
body.studio-open {
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --accent: #bc452c;
  --muted: #6d6058;
  --line: #e5dcd6;
  --tint: #fff1eb;
  --text: #3d3129;
  --ink: #3d3129;
  min-height: 100vh;
  background: #fdfbf9;
  color: #3d3129;
  font-family: var(--sans);
}
.ubook-app header { background: #fff; }
.ubook-app header > a:not(.brand):hover,
.ubook-app .back:hover { color: var(--accent); }
.ubook-app h1,
.ubook-app h2,
.ubook-app h3,
.ubook-app .headline {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -.035em;
}
.ubook-app h1 em { font-style: normal; font-weight: inherit; }
.ubook-app :is(input,textarea,select,button,.button) { font-family: var(--sans); }
.ubook-app .tool-list a[aria-current=page] { background: #ffe3d9; color: #7c3526; }
.ubook-app .results { border-left-color: var(--accent); }
.ubook-app .button,
.ubook-app :is(form button, #open-new, #suggest-references):not(.quiet),
body.studio-open .workspace .button:not(.secondary):not(.danger),
#dialog .button:not(.secondary):not(.danger) {
  background-color: #c5482e;
  border-color: #c5482e;
  color: #fff;
  border-radius: 999px;
}
.ubook-app :is(.button,form button,#open-new,#suggest-references):not(.quiet):hover,
body.studio-open .workspace .button:not(.secondary):not(.danger):hover,
#dialog .button:not(.secondary):not(.danger):hover { background-color: #ad3c25; border-color: #ad3c25; }
.ubook-app :focus-visible { outline: 3px solid #a13c25; outline-offset: 3px; }
@media (max-width:540px) {
  .ubook-brand:is(.brand,.wordmark) { font-size: 19px; gap: 6px; }
  .ubook-brand:is(.brand,.wordmark) img { width: 22px; height: 21px; }
}
