/* input(657,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&'
input(722,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&'
input(792,5): run-time error CSS1035: Expected colon, found '{'
input(874,5): run-time error CSS1035: Expected colon, found '{'
input(1002,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&'
input(1021,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&'
input(1039,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&'
input(1076,2): run-time error CSS1035: Expected colon, found '{'
input(1283,32): run-time error CSS1047: Expected number or percentage value in rgb function, found 'from'
input(1283,54): run-time error CSS1046: Expect comma, found 'r'
input(1283,56): run-time error CSS1047: Expected number or percentage value in rgb function, found 'g'
input(1283,58): run-time error CSS1046: Expect comma, found 'b'
input(1283,60): run-time error CSS1047: Expected number or percentage value in rgb function, found '/'
input(1283,62): run-time error CSS1034: Expected closing parenthesis, found '.25'
input(1283,62): run-time error CSS1042: Expected function, found '.25'
input(1283,67): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
input(1395,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&'
input(1470,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&' */
html
{
    --amount: 100%;
}

@keyframes fadeIn
{
    0%
    {
        opacity: 0
    }

    100%
    {
        opacity: 1
    }
}

@keyframes slideUp
{
    0%
    {
        transform: translateY(calc( var(--amount) ));
    }

    100%
    {
        transform: translateY(0);

    }
}

@keyframes wiggle
{
    0%,100%
    {
        transform: rotate( calc( var(--rotation) * 4deg ) );
    }

    50%
    {
        transform: rotate(calc( var(--rotation) * -4deg ) );
    }
}

@keyframes bounceIn
{
    0%
    {
        -webkit-transform: scale3d(.3,.3,.3);
        transform: scale3d(.3,.3,.3)
    }

    20%
    {
        -webkit-transform: scale3d(1.1,1.1,1.1);
        transform: scale3d(1.1,1.1,1.1)
    }

    40%
    {
        -webkit-transform: scale3d(.9,.9,.9);
        transform: scale3d(.9,.9,.9)
    }

    60%
    {
        -webkit-transform: scale3d(1.03,1.03,1.03);
        transform: scale3d(1.03,1.03,1.03)
    }

    80%
    {
        -webkit-transform: scale3d(.97,.97,.97);
        transform: scale3d(.97,.97,.97)
    }

    100%
    {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1)
    }
}

@keyframes pulse
{
    0%,100%
    {
        transform: scale(calc( 100% - (var(--amount) * 0.2) ));
    }

    50%
    {
        transform: scale(1);
    }
}

@keyframes rotation
{
    from
    {
        transform: rotate(0) translateX(50%) rotate(0)
    }

    to
    {
        transform: rotate(360deg) translateX(50%) rotate(-360deg)
    }
}

@keyframes sideToSide
{
    0%,100%
    {
        transform: translate(100%,0)
    }

    50%
    {
        transform: translate(-100%,0)
    }
}

@keyframes zoomer
{
    0%
    {
        transform: scale(.3)
    }

    100%
    {
        transform: scale(1)
    }
}

@keyframes zoomerOut
{
    0%
    {
        transform: scale(1)
    }

    100%
    {
        transform: scale(0)
    }
}

@keyframes spinner
{
    from
    {
        transform: rotate(0)
    }

    to
    {
        transform: rotate(360deg)
    }
}

@keyframes shake
{
    0%,100%
    {
        transform: translateX(0)
    }

    16%,50%,83%
    {
        transform: translateX(-10px)
    }

    33%,66%
    {
        transform: translateX(10px)
    }
}

@keyframes barrelRoll
{
    from
    {
        transform: rotate(0)
    }

    to
    {
        transform: rotate(360deg)
    }
}

@keyframes pound
{
    to
    {
        transform: scale(1.2)
    }
}

@keyframes heartbeat
{
    0%,100%
    {
        transform: scale(1)
    }

    10%
    {
        transform: scale(1.2)
    }

    20%
    {
        transform: scale(1.4)
    }
}

@keyframes rollerRight
{
    0%
    {
        transform: translateX(-200px) rotate(0);
        opacity: 0
    }

    100%
    {
        transform: translateX(0) rotate(2turn);
        opacity: 1
    }
}

@keyframes rollerLeft
{
    0%
    {
        transform: translateX(200px) rotate(0);
        opacity: 0
    }

    100%
    {
        transform: translateX(0) rotate(-2turn);
        opacity: 1
    }
}

@keyframes slideLeft
{
    0%
    {
        transform: translateX(150%);
        opacity: 0
    }

    100%
    {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes slideRight
{
    0%
    {
        transform: translateX(-150%);
        opacity: 0
    }

    100%
    {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes rotateIn
{
    0%
    {
        -webkit-transform: rotate3d(0,0,1,-720deg);
        transform: rotate3d(0,0,1,-720deg);
        opacity: 0
    }

    100%
    {
        -webkit-transform: none;
        transform: none;
        opacity: 1
    }
}


/* juxtapose - v1.2.5 - 2026-04-24
 * Copyright (c) 2015-2026 Alex Duner and Northwestern University Knight Lab
 */
div.juxtapose {
	width: 100%;
	font-family: Helvetica, Arial, sans-serif;
}

div.jx-slider {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	color: #f3f3f3;
}


div.jx-handle {
	position: absolute;
	height: 100%;
	width: 40px;
	cursor: col-resize;
	z-index: 15;
	margin-left: -20px;
}

.vertical div.jx-handle {
	height: 40px;
	width: 100%;
	cursor: row-resize;
	margin-top: -20px;
	margin-left: 0;
}

div.jx-control {
	height: 100%;
	margin-right: auto;
	margin-left: auto;
	width: 3px;
	background-color: currentColor;
}

.vertical div.jx-control {
	height: 3px;
	width: 100%;
	background-color: currentColor;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

div.jx-controller {
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	height: 60px;
	width: 9px;
	margin-left: -3px;
	background-color: currentColor;
}

.vertical div.jx-controller {
	height: 9px;
	width: 100px;
	margin-left: auto;
	margin-right: auto;
	top: -3px;
	position: relative;
}

div.jx-arrow {
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	width: 0;
	height: 0;
	transition: all .2s ease;
}

.vertical div.jx-arrow {
	position: absolute;
	margin: 0 auto;
	left: 0;
	right: 0;
	width: 0;
	height: 0;
	transition: all .2s ease;
}


div.jx-arrow.jx-left {
	left: 2px;
	border-style: solid;
	border-width: 8px 8px 8px 0;
	border-color: transparent currentColor transparent transparent;
}

div.jx-arrow.jx-right {
	right: 2px;
	border-style: solid;
	border-width: 8px 0 8px 8px;
	border-color: transparent transparent transparent currentColor;
}

.vertical div.jx-arrow.jx-left {
	left: 0px;
	top: 2px;
	border-style: solid;
	border-width: 0px 8px 8px 8px;
	border-color: transparent transparent currentColor transparent;
}

.vertical div.jx-arrow.jx-right {
	right: 0px;
	top: auto;
	bottom: 2px;
	border-style: solid;
	border-width: 8px 8px 0 8px;
	border-color: currentColor transparent transparent transparent;
}

div.jx-handle:hover div.jx-arrow.jx-left,
div.jx-handle:active div.jx-arrow.jx-left {
	left: -1px;
}

div.jx-handle:hover div.jx-arrow.jx-right,
div.jx-handle:active div.jx-arrow.jx-right {
	right: -1px;
}

.vertical div.jx-handle:hover div.jx-arrow.jx-left,
.vertical div.jx-handle:active div.jx-arrow.jx-left {
	left: 0px;
	top: 0px;
}

.vertical div.jx-handle:hover div.jx-arrow.jx-right,
.vertical div.jx-handle:active div.jx-arrow.jx-right {
	right: 0px;
	bottom: 0px;
}


div.jx-image {
	position: absolute;
	height: 100%;
	display: inline-block;
	top: 0;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
}

.vertical div.jx-image {
	width: 100%;
	left: 0;
	top: auto;
}

div.jx-image img {
	height: 100%;
	width: auto;
	z-index: 5;
	position: absolute;
	margin-bottom: 0;

	max-height: none;
	max-width: none;
	max-height: initial;
	max-width: initial;
}

.vertical div.jx-image img {
	height: auto;
	width: 100%;
}

div.jx-image.jx-left {
	left: 0;
	background-position: left;
}

div.jx-image.jx-left img {
	left: 0;
}

div.jx-image.jx-right {
	right: 0;
	background-position: right;
}

div.jx-image.jx-right img {
	right: 0;
	bottom: 0;
}


.veritcal div.jx-image.jx-left {
	top: 0;
	background-position: top;
}

.veritcal div.jx-image.jx-left img {
	top: 0;
}

.vertical div.jx-image.jx-right {
	bottom: 0;
	background-position: bottom;
}

.veritcal div.jx-image.jx-right img {
	bottom: 0;
}


div.jx-image div.jx-label {
	font-size: 1em;
	padding: .25em .75em;
	position: relative;
	display: inline-block;
	top: 0;
	background-color: #000; /* IE 8 */
	background-color: rgba(0,0,0,.7);
	color: white;
	z-index: 10;
	white-space: nowrap;
	line-height: 18px;
	vertical-align: middle;
}

div.jx-image.jx-left div.jx-label {
	float: left;
	left: 0;
}

div.jx-image.jx-right div.jx-label {
	float: right;
	right: 0;
}

.vertical div.jx-image div.jx-label {
	display: table;
	position: absolute;
}

.vertical div.jx-image.jx-right div.jx-label {
	left: 0;
	bottom: 0;
	top: auto;
}

div.jx-credit {
	line-height: 1.1;
	font-size: 0.75em;
}

div.jx-credit em {
	font-weight: bold;
	font-style: normal;
}


/* Animation */

div.jx-image.transition {
	transition: width .5s ease;
}

div.jx-handle.transition {
	transition: left .5s ease;
}

.vertical div.jx-image.transition {
	transition: height .5s ease;
}

.vertical div.jx-handle.transition {
	transition: top .5s ease;
}

/* Knight Lab Credit */
a.jx-knightlab {
	background-color: #000; /* IE 8 */
	background-color: rgba(0,0,0,.25);
	bottom: 0;
	display: table;
	height: 14px;
	line-height: 14px;
	padding: 1px 4px 1px 5px;
	position: absolute;
	right: 0;
	text-decoration: none;
	z-index: 10;
}

a.jx-knightlab div.knightlab-logo {
	display: inline-block;
	vertical-align: middle;
	height: 8px;
	width: 8px;
	background-color: #c34528;
	transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	top: -1.25px;
	position: relative;
	cursor: pointer;
}

a.jx-knightlab:hover {
	background-color: #000; /* IE 8 */
	background-color: rgba(0,0,0,.35);
}
a.jx-knightlab:hover div.knightlab-logo {
	background-color: #ce4d28;
}

a.jx-knightlab span.juxtapose-name {
	display: table-cell;
	margin: 0;
	padding: 0;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: 300;
	color: white;
	font-size: 10px;
	padding-left: 0.375em;
	vertical-align: middle;
	line-height: normal;
	text-shadow: none;
}

/* keyboard accessibility */
div.jx-controller:focus,
div.jx-image.jx-left div.jx-label:focus,
div.jx-image.jx-right div.jx-label:focus,
a.jx-knightlab:focus {
	background: #eae34a;
	color: #000;
}
a.jx-knightlab:focus span.juxtapose-name{
	color: #000;
	border: none;
}

input, select, textarea, .border-input
{
    border: 1px solid var( --input-border );
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    font-weight: normal !important;
    font-family: "Sen";
    background-color: var( --input-bg );
    color: var( --input-text );
    transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;

    &:where( input:not( [type=checkbox], [type=radio], [type=range], [type=color], [type=file], [type=image], [type=hidden] ),
        select:not( [multiple], [size] ), select[size="1"]:not( [multiple] ) )
    {
        height: var( --control-height );
        padding-block: 0;
    }

    &:not( input[type=checkbox] )
    {
        width: 100%;
    }

    &:hover:not( :focus ):not( :disabled )
    {
        border-color: var( --input-border-hover );
    }

    &:focus
    {
        outline: none;
        border-color: var( --primary );
        background-color: var( --input-bg-focus );
        box-shadow: 0 0 0 3px var( --input-focus-ring );
    }

    &::placeholder
    {
        color: var( --input-placeholder );
    }
     
    &:disabled
    {
        opacity: 0.3;
        cursor: not-allowed;
    }

    &.modified
    {
        border-color: rgb( from var( --primary ) r g b / 0.6 );
    }

    &.invalid
    {
        background-color: var( --error );
        color: var( --error-alt );

        &::placeholder
        {
            color: var( --error-alt );
            opacity: 0.3;
        }
    }
}

select
{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23647c7c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1.5l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 11px 7px;

    &.input-validation-error
    {
        border-right: 0.5rem solid var( --error );
    }

    option, optgroup
    {
        background-color: var( --site-background-color );
        color: var( --text-color );
        padding: 2px 10px;
    }

    optgroup
    {
        padding: 20px;
        opacity: 0.3;
        color: var( --text-strong );
    }
}

.validation-message
{
    color: var( --error );
    font-size: 12px;
    padding: 0.5rem;
}

/* Hide native number-input spinners — they're inconsistent across browsers
   and we don't have a way to make them look right. */
input[type="number"]
{
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button
{
    -webkit-appearance: none;
    margin: 0;
}

/* Native date/time picker icons are barely visible on a dark theme. Recolor + show. */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="week"]::-webkit-calendar-picker-indicator
{
    filter: invert( 0.9 );
    opacity: 0.5;
    cursor: pointer;
    padding: 0.25rem 0;
    transition: opacity 0.15s ease;
}

input[type="date"]:hover::-webkit-calendar-picker-indicator,
input[type="datetime-local"]:hover::-webkit-calendar-picker-indicator,
input[type="time"]:hover::-webkit-calendar-picker-indicator,
input[type="month"]:hover::-webkit-calendar-picker-indicator,
input[type="week"]:hover::-webkit-calendar-picker-indicator
{
    opacity: 1;
}

.file-upload
{
    position: relative;

    input
    {
        cursor: pointer;
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        opacity: 0;
    }

    &:after
    {
        content: "upload_file";
        font-family: "Material Symbols Rounded";
        font-size: 2rem;
        color: var( --text-strong );
        padding: 0.5rem;
        border-radius: 5px;
        position: absolute;
        bottom: 20px;
        right: 20px;
        pointer-events: none;
        transition: all 0.2s ease;
    }

    &:hover
    {
        &:after
        {
            font-size: 3rem;
        }
    }

    &.noimage
    {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 200px;
        border: 2px dashed rgb( var( --tint ) / 0.67 );
        border-radius: 10px;

        &:after
        {
            position: initial;
        }

        &.is-drag-hovered
        {
            border: 2px solid var( --success );
            background-color: color-mix( in srgb, var( --success ) 13%, transparent );

            &:after
            {
                color: var( --success );
            }
        }

        &.is-drag-dropped
        {
            opacity: 0.5;
            border: 2px solid var( --accent-bright );
            background-color: color-mix( in srgb, var( --accent-bright ) 7%, transparent );

            &:after
            {
                color: var( --accent-bright );
            }
        }
    }
}

table
{
    width: 100%;
    border-radius: 8px;
    border-spacing: 0px;
    overflow: hidden;

    thead
    {
        background-color: var( --site-background-color-dark );
        font-size: 11px;
        letter-spacing: 1px;
        overflow: hidden;
    }

    th, thead td
    {
        padding: 8px;
        font-size: 0.7rem;
        color: rgb( var( --tint ) / 0.46 );
    }

    tr
    {
        background-color: rgb( var( --tint ) / 0.025 );

        &:nth-of-type(odd)
        {
            background-color: rgb( var( --tint ) / 0.04 );
        }

        td, th
        {
            padding: 6px 12px;
            font-size: 13px;
            border: 1px solid rgb( var( --scrim ) / 0.2 );
            color: var( --text-muted );

            &.grow
            {
                width: 100%;
            }
        }

        &:hover
        {
            background-color: rgb( from var( --primary ) r g b / 0.2 );
            color: var( --text-strong );
        }
    }


    thead
    {
        tr, tr:hover, tr:nth-of-type(odd)
        {
            background-color: rgb( from var( --primary ) r g b / 0.32 );

            td, th
            {
                color: color-mix( in srgb, var( --primary ) 50%, var( --text-strong ) );
            }
        }
    }


    .faded
    {
        opacity: 0.5;
    }
}

::-webkit-scrollbar-corner
{
	display: none;
	border: none;
}

::-webkit-resizer
{
	border: none;
}

::-webkit-scrollbar-button
{
	border: none;
	display: none;
}

::-webkit-scrollbar-track
{
	border-radius: 4px;
	background-color: transparent;
	border: none;
}

::-webkit-scrollbar
{
	background-color: transparent;
	height: 16px;
	overflow: visible;
	width: 8px;
	border: none;
	position: absolute;
}

::-webkit-scrollbar-thumb
{
	border-radius: 2px;
	background-color: rgb( var( --tint ) / 0.4 );
	border: none;
}

#components-reconnect-modal
{
    transition: all 2s linear;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgb( var( --scrim ) / 0 );
}

#components-reconnect-modal.components-reconnect-show
{
    background-color: rgb( var( --scrim ) / 0.87 );
    z-index: 10000;
    backdrop-filter: blur( 10px ) grayscale( 50% );
    display: flex;
    align-items: center;
    justify-content: center;
    animation: reconnect-appear 0.5s;
    animation-iteration-count: 1;

    &:after
    {
        content: 'Reconnecting..';
        font-size: 1rem;
        font-family: Poppins;
    }
}

#components-reconnect-modal.components-reconnect-rejected, #components-reconnect-modal.components-reconnect-failed
{
    background-color: rgb( var( --scrim ) / 0.87 );
    z-index: 10000;
    backdrop-filter: blur( 10px ) grayscale( 50% );
    display: flex;
    align-items: center;
    justify-content: center;
    animation: reconnect-appear 0.5s;
    animation-iteration-count: 1;

    &:after
    {
        white-space: pre;
        content: 'Site updated';
        text-align: center;
        font-size: 20px;
        font-family: Poppins;
        border-radius: 10px;
        border: 2px solid rgb( var( --tint ) / 0.27 );
        padding: 2rem;
        background-color: rgb( var( --tint ) / 0.13 );
    }
}

#components-reconnect-modal.components-reconnect-failed
{
    background-color: color-mix( in srgb, var( --error ) 50%, rgb( var( --scrim ) / 0.87 ) );

    &:after
    {
        content: 'Failed to connect';
    }
}

@keyframes reconnect-appear
{
    from
    {
        opacity: 0;
    }

    to
    {
        opacity: 1;
    }
}
code, pre
{
	font-family: "Cascadia Code", monospace;
	tab-size: 4;
}

pre
{
	background: var( --code-bg );
	border: 1px solid rgb( var( --tint ) / 0.15 );
	border-radius: 5px;
	padding: 16px;
}

.code
{
	color: var( --code-text );

	a
	{
		text-decoration: none;
	}

	.keyword
	{
		color: var( --code-keyword );
	}
}
pre code.hljs
{
    display: block;
    overflow-x: auto;
    padding: 1em;
    border-radius: 3px;
}

code.hljs
{
    padding: 3px 5px;
}

/*
    Visual Studio (dark) syntax colours, applied globally to every highlight.js block.
    Overrides the previous variable-based theme.
*/
.hljs
{
    background: #1e1e1e;
    color: #dcdcdc;
}

/* Comments - green */
.hljs-comment,
.hljs-doctag,
.hljs-quote
{
    color: #57a64a;
}

/* Keywords / built-in type keywords (string, void, bool...) / razor @directives - blue */
.hljs-keyword,
.hljs-literal,
.hljs-built_in,
.hljs-selector-tag { color: #569cd6; }

/* User types (class/struct/interface/enum) - teal */
.hljs-type,
.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__ { color: #4ec9b0; }

/* Method names - pale yellow */
.hljs-title.function_,
.hljs-section { color: #dcdcaa; }

/* Strings - orange */
.hljs-string,
.hljs-regexp,
.hljs-meta .hljs-string { color: #d69d85; }

/* Numbers - light green */
.hljs-number { color: #b5cea8; }

/* Locals / fields / properties / attribute names / params / metadata - light blue */
.hljs-attr,
.hljs-attribute,
.hljs-variable,
.hljs-property,
.hljs-template-variable,
.hljs-params,
.hljs-meta { color: #9cdcfe; }

/* Markup element names (html tags + razor components) - blue */
.hljs-name { color: #569cd6; }

/* Tag punctuation (< > /) - grey */
.hljs-tag { color: #808080; }

.hljs-symbol,
.hljs-bullet,
.hljs-link { color: #d7ba7d; }

.hljs-emphasis { font-style: italic; }
.hljs-strong { font-weight: bold; }

@charset "utf-8";

/* ============================================================================
   Theme variables.

   The site has a single dark theme. Variables are organized by role so a
   value can be tweaked in one place. `--tint` and `--scrim` are RGB triplets
   (no alpha) you compose with at the call site:
     rgb( var( --tint )  / 0.08 )   — light overlay (panel surfaces, borders)
     rgb( var( --scrim ) / 0.3  )   — dark overlay (shadows, backdrops)
   ============================================================================ */

html
{
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    overflow-y: scroll;

    /* === Brand / status === */
    --primary:        #3273EB;
    --primary-alt:    #fff;     /* text/icon color drawn on top of --primary fill */
    --error:          #b72d4f;
    --error-alt:      #fff;
    --warning:        #f59e0b;
    --warning-alt:    #fff;
    --success:        #4db649;
    --success-alt:    #fff;
    --admin:          #c4214f;
    --admin-alt:      #fff;
    --accent:         #08f;       /* secondary accent blue — used inside menus, highlight icons */
    --accent-bright:  #40a6ff;
    --highlight-gold: #ffbd32;
    --facepunch:      #EC1C24;

    /* === Foundation surfaces === */
    --site-background-color:      #181f2f;
    --site-background-color-dark: #080f1f;
    --site-header-color:          #04131c;
    --site-header-height: 60px;
    --site-sidebar-secondary: color-mix( in srgb, var( --site-header-color ) 66%, var( --site-background-color ) );
    --site-sidebar-third:     color-mix( in srgb, var( --site-header-color ) 33%, var( --site-background-color ) );

    /* Shared component foundations follow the site's theme. */
    --background: var( --site-background-color );
    --background-dark: var( --site-background-color-dark );
    --header-background: var( --site-header-color );
    --font-body: 'Poppins', sans-serif;

    /* === Text === */
    --text-color:     #ADB3CB;
    --text-strong:    #fff;
    --text-on-strong: #0a0e18;   /* foreground for elements that use --text-strong as bg (inverted pills) */
    --text-muted:     #b2bed4;
    --text-faint:     #ccc;      /* fainter than muted — labels, icon fills */

    /* === Links ===
       Softened brand blue — clearly a link, but less abrasive against the dark
       background than raw --primary. Derived via color-mix so it tracks --primary
       if the brand color ever changes. Hover lifts to the vivid accent blue. */
    --link:       color-mix( in srgb, var( --primary ) 60%, var( --text-color ) );
    --link-hover: var( --accent-bright );

    /* === Composable tint / scrim ===
       Use these for any semi-transparent overlay. Compose the alpha at the
       call site: `rgb( var( --tint ) / 0.08 )`, `rgb( var( --scrim ) / 0.3 )`. */
    --tint:  255 255 255;   /* soft overlays — white over a dark base */
    --scrim: 0 0 0;         /* shadows / backdrops */

    /* === Common surfaces (shorthands over --tint, kept for compatibility) === */
    --surface-bg:         rgb( var( --tint ) / 0.04 );
    --surface-bg-fade:    rgb( var( --tint ) / 0.015 );
    --surface-bg-hover:   rgb( var( --tint ) / 0.08 );
    --surface-line:       rgb( var( --tint ) / 0.1 );
    --surface-line-hover: rgb( var( --tint ) / 0.2 );

    /* === Shadows === */
    --shadow-sm: 0 1px 2px  rgb( var( --scrim ) / 0.25 );
    --shadow-md: 0 4px 12px rgb( var( --scrim ) / 0.3 );
    --shadow-lg: 0 10px 30px rgb( var( --scrim ) / 0.4 );

    /* === Inset white highlights for solid-fill brand buttons ===
       These sit on top of a colored brand fill (primary/danger/etc) — the
       "glossy top edge" of the button. */
    --btn-highlight:        rgb( 255 255 255 / 0.18 );
    --btn-highlight-strong: rgb( 255 255 255 / 0.25 );
    --btn-highlight-soft:   rgb( 255 255 255 / 0.1 );

    /* === Menus / popovers === */
    --menu-background:            #111;
    --menu-border:                1px solid #244051;
    --menu-option-color:          #869bb3;
    --menu-option-colorbg:        transparent;
    --menu-option-color-hover:    var( --text-strong );
    --menu-option-colorbg-hover:  rgb( var( --tint ) / 0.06 );
    --menu-option-color-active:   #fff;
    --menu-option-colorbg-active: var( --accent );

    /* === Code / syntax === */
    --code-bg:        #1e1e1e;
    --code-text:      #ccc;
    --code-keyword:   #569cd6;
    --code-namespace: #dcdcdc;
    --code-typename:  #4ec9b0;
    --code-comment:   #608b4e;
    --code-bracket:   #efb839;
    --code-string:    #d69d85;
    --code-symbol:    #00b0e8;
    --code-literal:   #dcdcaa;
    --code-attr:      #f00;
    --code-variable:  #9cdcfe;   /* VS-style identifier blue (params, locals) */

    /* === Forms / inputs === */
    --form-surface:       rgb( var( --tint ) / 0.02 );
    --form-divider:       rgb( var( --tint ) / 0.06 );
    --form-label-color:   #d9deec;
    --input-bg:           rgb( 0 0 0 / 0.35 );
    --input-bg-focus:     rgb( 0 0 0 / 0.45 );
    --input-border:       rgb( var( --tint ) / 0.18 );
    --input-border-hover: rgb( var( --tint ) / 0.32 );
    --input-text:         #e4ecff;
    --input-placeholder:  rgb( var( --tint ) / 0.4 );
    --input-focus-ring:   rgb( from var( --primary ) r g b / 0.25 );

    /* === Layout === */
    --container-max-width: 1400px;
    --column-gap: 0.75rem;
    --scroll: 0;

    background-color: var( --site-background-color );
    color: var( --text-color );
}


/* ============================================================================
   Roadmap sub-theme.

   The roadmap runs darker and more cinematic than the rest of the site — it is
   a showcase surface with a full-bleed backdrop, not a tooling surface. That is
   deliberate, so it gets a declared sub-theme instead of the 84 loose hex values
   it used to carry.

   Everything here derives from the site tokens above, so the roadmap tracks the
   brand: change --primary or the ground and this moves with it. It lives in the
   global sheet rather than a scoped .razor.css because the detail modal renders
   outside .roadmap-shell and would otherwise need a second copy.
   ============================================================================ */

.roadmap-shell,
.roadmap-modal-overlay
{
    /* Grounds — the site's dark band, pushed one step further down. */
    --roadmap-page:   var( --site-background-color-dark );
    --roadmap-chrome: color-mix( in srgb, var( --site-background-color-dark ) 72%, #000 );
    --roadmap-card:   color-mix( in srgb, var( --site-background-color ) 38%, var( --site-background-color-dark ) );

    /* Borders follow the site's tint-over-ground idiom rather than a fixed hex. */
    --roadmap-border:       rgb( var( --tint ) / 0.08 );
    --roadmap-border-hover: rgb( var( --tint ) / 0.16 );

    /* Text runs a little brighter here than site body copy — the ground is darker
       and the type sits over imagery. */
    --roadmap-text:  color-mix( in srgb, var( --text-color ) 72%, var( --text-strong ) );
    --roadmap-muted: color-mix( in srgb, var( --text-color ) 76%, var( --site-background-color ) );
    /* 68%, not lower: this carries the breadcrumb, the empty-lane line and the
       "show more" control, and anything dimmer drops under 4.5:1 on the card ground.
       The hex it replaced was already failing at 4.3:1. */
    --roadmap-dim:   color-mix( in srgb, var( --text-color ) 68%, var( --site-background-color ) );

    /* The roadmap's blue is the site accent, lifted for the darker ground. One hue. */
    --roadmap-blue: color-mix( in srgb, var( --accent ) 85%, var( --text-strong ) );

    /* Status. These are the site's status tokens, lifted the same way — not a
       second set of greens and ambers invented for this page. */
    --roadmap-status-progress: var( --roadmap-blue );
    --roadmap-status-complete: color-mix( in srgb, var( --success ) 78%, var( --text-strong ) );
    --roadmap-status-hold:     color-mix( in srgb, var( --warning ) 82%, var( --text-strong ) );
    --roadmap-status-planned:  var( --roadmap-muted );

    /* Categorical ramp — seven hues at even spacing, tuned to a single luminance
       band so no category shouts louder than its neighbours. The previous set had
       two greens 31 apart in RGB and two blues 45 apart, which made adjacent
       categories effectively indistinguishable; the closest pair here is 70. */
    --roadmap-cat-1: #c9872c;
    --roadmap-cat-2: #77a63a;
    --roadmap-cat-3: #38a858;
    --roadmap-cat-4: #38a2b2;
    --roadmap-cat-5: #8a8cea;
    --roadmap-cat-6: #ce6fe2;
    --roadmap-cat-7: #dc7495;
}


html, body
{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    min-width: 320px;
}

.container
{
    flex-grow: 1;
    margin: 0 auto;
    width: auto;
    max-width: var( --container-max-width );
}

body
{
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


*, *:before, *:after
{
    box-sizing: inherit;
}

h1, h2, h3, h4, h5
{
    color: var( --text-strong );
}

a
{
    color: var( --link );
    text-decoration: none;

    &:hover
    {
        color: var( --link-hover );
    }
}

i
{
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    font-feature-settings: 'liga';
    font-variation-settings: "FILL";
    -webkit-font-smoothing: antialiased;
}

.title
{
    font-family: 'Poppins', sans-serif;
}

.subtitle
{
    color: var( --text-strong );
    font-family: 'Poppins', sans-serif;
}

.nowrap
{
    white-space: nowrap;
}

/* Visually hidden, still announced. Global because it is a utility every component
   may need — it previously lived in RoadmapPage's scoped sheet, where any other
   component using the class silently rendered the text on screen instead. */
.sr-only
{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset( 50% );
    white-space: nowrap;
    border: 0;
}

.rating-parent .rating-button-container
{
    opacity: 0;
    transform: translateX( -8px );
}


.rating-parent:hover .rating-button-container
{
    opacity: 1;
    transition: all 0.2s ease;
    transform: translateX( 0px );
}


video:not( .playing )
{
    opacity: 0.8;
    cursor: pointer;

    &:hover
    {
        opacity: 1;
    }
}

video.playing
{
    opacity: 1;
}

/* ---- jam header art ----

   A jam page paints its header art from .band-art, which is wider than the 1400px rail and
   taller than the header block so the art runs edge to edge and up behind the navbar. Both
   of those need something outside the jam layout's own scope, so they live here.

   The clip has to be on .content-layout because that is the first ancestor that is actually
   the width of the window. Clipping any nearer would cut the art off at the rail, and not
   clipping at all puts a horizontal scrollbar on every jam page. overflow-x: clip rather
   than hidden, so it does not become a scroll container and break sticky positioning. */

.content-layout:has( .band-art )
{
    overflow-x: clip;
}

/* The navbar is opaque by default, which would cut a hard line across the art. It is not a
   descendant of .content-layout - it goes in through a SectionOutlet further up - so this
   has to be rooted at the body. */
body:has( .band-art ) header.header
{
    background-color: transparent;
}

