:root {
    color-scheme: light;
    --blue: #007aff;
    --red: #ff3b30;
    --green: #34c759;
    --orange: #ff9500;
    --yellow: #ffcc00;
    --purple: #af52de;
    --teal: #5ac8fa;
    --pink: #ff2d55;
    --grey1: #8e8e93;
    --grey2: #aeaeb2;
    --grey3: #c7c7cc;
    --grey4: #d1d1d6;
    --grey5: #e5e5ea;
    --grey6: #f2f2f7;
    --bg-primary: #ffffff;
    --bg-secondary: #f2f2f7;
    --bg-tertiary: #ffffff;
    --sidebar-bg: #f2f2f7;
    --sidebar-width: 220px;
    --toolbar-height: 52px;
    --radius: 10px;
    --radius-sm: 8px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.16);
    --shadow-sheet: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    --transition: 250ms ease-in-out;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    background: #f2f2f7;
    color: #1c1c1e;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.47;
    overflow: hidden;
}

body.foldr-drag-active {
    user-select: none;
    cursor: copy;
}

input,
button,
textarea,
select {
    font: inherit;
    outline: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
}

h1:focus {
    outline: none;
}

#blazor-error-ui {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(127, 29, 29, 0.96);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
    color: #ffffff;
}

#blazor-error-ui .reload {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}
