/* Design tokens — source: designs/COR-1064-overview.html */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0d1117;
    --surface: #161b22;
    --border: #30363d;
    --text: #f0f6fc;
    --muted: #8b949e;
    --accent: #00d4ff;
    --tile-bg: #1c2128;
    --tile-hover: #21262d;
    --radius: 10px;
    /*noinspection CssUnresolvedCustomProperty*/
    --background-color: var(--mud-palette-background);
}

html, body {
    height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

html, body, #blazor-error-ui {
    height: 100%;
}

body {
    position: relative;
    overflow-y: auto;
}

/* Propagate full height through MudBlazor layout wrappers.
   Do NOT set overflow-y: auto on .mud-main-content — doing so creates a new
   scroll container that prevents position:sticky from engaging against the
   document viewport. Let html/body be the scroll root instead. */
.mud-layout {
    min-height: 100%;
}
.mud-main-content {
    min-height: 100%;
}

.page-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
}

body::before {
    content: "";
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(680px, 100vw);
    height: min(420px, 62vw);
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, .07) 0%, transparent 70%);
    pointer-events: none;
}

.markdown-body {
    box-sizing: border-box;
    min-width: 200px;
    max-width: 980px;
    margin: 0 auto;
    padding: 45px;
}

@media (max-width: 767px) {
    .markdown-body {
        padding: 15px;
    }
}
