@font-face {
    font-family: "Inclusive Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/ui/fonts/inclusive-sans-latin-3021e84f6f1e82de664194d16cb7a24d.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inclusive Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/ui/fonts/inclusive-sans-latin-ext-63c6ec17053cbb1e14bc13f2492f89a8.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inclusive Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/ui/fonts/inclusive-sans-vietnamese-2990d3dd46a2a656032791371c0376d2.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

#autofill-loading {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 150ms ease-in, opacity 150ms ease-in, margin-top 150ms ease-in;
}

#autofill-loading.htmx-request {
    max-height: 200px;
    margin-top: 1.5rem;
    opacity: 1;
}

body:has(#autofill-loading.htmx-request) #autofill-outlet .autofill-error {
    display: none;
}

body:has(#autofill-loading.htmx-request) #autofill-outlet .autofill-proposal {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 150ms ease-in;
}

.ai-spinner {
    display: none;
}

button.htmx-request .ai-spinner {
    display: inline-block;
}

button.htmx-request .ai-icon {
    display: none;
}

.ai-field:has(button.htmx-request) :is(textarea, input[type="text"]) {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 150ms ease-in;
}

.tooltip-wrap {
    width: 10rem;
}

.admin-json {
    max-height: 24rem;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.auth-art {
    background:
        radial-gradient(circle at 20% 15%, color-mix(in oklab, var(--color-primary) 22%, transparent), transparent 55%),
        radial-gradient(circle at 85% 85%, color-mix(in oklab, var(--color-secondary) 22%, transparent), transparent 55%),
        var(--color-base-200);
}

.legal h2 {
    margin-top: 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    scroll-margin-top: 5rem;
}

.legal h3 {
    margin-top: 1.5rem;
    font-weight: 600;
    scroll-margin-top: 5rem;
}

.legal p,
.legal ul,
.legal ol,
.legal .table-wrap {
    margin-top: 0.75rem;
    line-height: 1.7;
}

.legal ul {
    list-style: disc;
    padding-inline-start: 1.5rem;
}

.legal ol {
    list-style: decimal;
    padding-inline-start: 1.5rem;
}

.legal li + li {
    margin-top: 0.375rem;
}

.legal a:not(.btn) {
    color: var(--color-primary);
    text-decoration: underline;
}

.legal td,
.legal th {
    vertical-align: top;
}

.fieldset > .fieldset-legend,
.fieldset > div > .fieldset-legend {
    width: max-content;
    max-width: 100%;
}

.git-log-command {
    overflow-wrap: anywhere;
    line-height: 1.6;
}

body:has(#list-view.hidden) #task-search {
    display: none;
}

.textarea[readonly] {
    cursor: not-allowed;
    border-color: var(--color-base-200);
    background-color: var(--color-base-200);
    color: color-mix(in oklab, var(--color-base-content) 40%, transparent);
    box-shadow: none;
}

.textarea[readonly]::placeholder {
    color: var(--color-base-content);
    opacity: 0.5;
}
