body {
    font-family: "Inter", sans-serif;
    font-feature-settings: "cv05" 1; /* Enable lowercase l with tail */
}

.buttongroup {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 12px;
}

h1 {
  display: block;
  font-size: 2em;
  margin-block-start: 0.67em;
  margin-block-end: 0.67em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
}

/* language toggle group: text-only buttons, selected/hovered one underlined */
fieldset.ds-toggle-group {
    border: 0;
    outline: 0;
    background: none;
    padding: 0;
    margin: 1rem 0 0;
    height: auto;
    overflow: visible;
    gap: 0.25rem;
}

fieldset.ds-toggle-group label.ds-button {
    height: auto;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    padding-inline: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35em;
}

fieldset.ds-toggle-group label.ds-button:hover {
    background: none;
    text-decoration-line: underline;
}

fieldset.ds-toggle-group label.ds-button:has(input:checked) {
    background: none;
    color: inherit;
    font-weight: 600;
    text-decoration-line: underline;
}

fieldset.ds-toggle-group label.ds-button:has(input:focus-visible) {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

fieldset.ds-toggle-group legend {
    float: left;
    width: auto;
    padding: 0 0.5rem 0 0;
    margin: 0;
    font-size: 1rem;
    line-height: inherit;
    align-self: center;
}

fieldset.ds-toggle-group legend .icon {
    vertical-align: -0.2em;
    margin-right: 0.25rem;
}
