main.container {
    max-width: 820px;
    padding-block: 2rem;
}

.app-loading {
    width: 100%;
    height: 100vh;
    align-content: center;
    text-align: center;
}

.titlebar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    column-gap: 1rem;
    flex-wrap: wrap;
}

.titlebar h1 {
    margin-bottom: .5rem;
}

.repo {
    font-size: .9rem;
    white-space: nowrap;
}

.examples {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 1rem;
}

.chip {
    width: auto;
    margin: 0;
    padding: .25rem .7rem;
    font-size: .8rem;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    border-radius: 999px;
    line-height: 1.35;
}

textarea#expr {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 1rem;
}

.result,
.error {
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: var(--pico-border-radius);
    white-space: pre-wrap;
    word-break: break-word;
}

.result {
    border-left: 3px solid #2ea043;
}

.result .value {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 1.15rem;
}

.result .type {
    margin-top: .35rem;
    opacity: .65;
    font-size: .8rem;
}

.error {
    border-left: 3px solid #e5534b;
    color: #e5534b;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

#blazor-error-ui {
    background: lightyellow;
    color: #000;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
