﻿:root {

    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;

    --wr-layout-background: var(--wr-layout-background-rgb);
    --wr-layout-background-rgb: rgb(33 33 33);

    --wr-layout-foreground-raw: 245 245 245;
    --wr-layout-foreground-rgb: rgb(var(--wr-layout-foreground-raw));
    --wr-layout-foreground: var(--wr-layout-foreground-rgb);
    
    --wr-layout-nav-background: #050608;
    --wr-layout-nav-foreground-raw: 255 255 255;
    --wr-layout-nav-foreground-rgb: rgb(var(--wr-layout-nav-foreground-raw));
    --wr-layout-nav-foreground: var(--wr-layout-nav-foreground-rgb);

    --wr-layout-nav-z-index: 50;

    --wr-layout-content-max: 1440px;
    --wr-layout-gutter: 20px;

    --wr-layout-page-background: transparent;

    --wr-layout-title-letter-spacing: 0.07rem;
    
    --wr-accent-border: var(--wr-accent-phase-na);
    --wr-layout-border-radius: 6px;

    --wr-surface-panel-boxshadow: 0 3.2px 7.2px 0 rgba(0, 0, 0, .4), 0 .6px 1.8px 0 rgba(0, 0, 0, .32);

    --wr-motion-panel-boxshadow-hover: 6px 3.2px 07.2px 0 rgba(0, 0, 0, .4), 0 8.6px 10.8px 0 rgba(0, 0, 0, .32);

    --wr-motion-transition-ease: cubic-bezier(.25, .5, .25, .9);
    --wr-motion-transition-time: 250ms;
    --wr-motion-transition: 0ms none;
    --wr-motion-transition-time-fast: 50ms;
    --wr-motion-transition-fast: 0ms none;

    --wr-layout-mask-shadow-size: 0px 0px 16px 2px;
    --wr-layout-mask-shadow: var(--wr-layout-mask-shadow-size) var(--wr-accent-phase-muted);

    /* phase colors */
    --wr-accent-phase-na-raw: 77 77 77;
    --wr-accent-phase-na-rgb: rgb(var(--wr-accent-phase-na-raw));
    --wr-accent-phase-na: var(--wr-accent-phase-na-rgb);
    
    --wr-accent-phase-1-raw: 139 0 255;
    --wr-accent-phase-1-rgb: rgb(var(--wr-accent-phase-1-raw));
    --wr-accent-phase-1: var(--wr-accent-phase-1-rgb);
    
    --wr-accent-phase-2-raw: 0 255 106;
    --wr-accent-phase-2-rgb: rgb(var(--wr-accent-phase-2-raw));
    --wr-accent-phase-2: var(--wr-accent-phase-2-rgb);
    
    --wr-accent-phase-3-raw: 255 0 216;
    --wr-accent-phase-3-rgb: rgb(var(--wr-accent-phase-3-raw));
    --wr-accent-phase-3: var(--wr-accent-phase-3-rgb);

    /* product colors */
    --wr-accent-product-na-raw: 37 37 37;
    --wr-accent-product-na-rgb: rgb(var(--wr-accent-product-na-raw));
    --wr-accent-product-na:  var(--wr-accent-product-na-rgb);
    
    --wr-accent-product-dosed-raw: 0 45 180;
    --wr-accent-product-dosed-rgb: rgb(var(--wr-accent-product-dosed-raw));
    --wr-accent-product-dosed:  var(--wr-accent-product-dosed-rgb);
    
    --wr-accent-product-gauged-raw: 15 125 0;
    --wr-accent-product-gauged-rgb: rgb(var(--wr-accent-product-gauged-raw));
    --wr-accent-product-gauged: var(--wr-accent-product-gauged-rgb);
    
    --wr-accent-product-linked-raw: 180 24 24;
    --wr-accent-product-linked-rgb: rgb(var(--wr-accent-product-linked-raw));
    --wr-accent-product-linked:  var(--wr-accent-product-linked-rgb);

    /* currently active values */
    --wr-accent-phase: var(--wr-accent-phase-na);
    --wr-accent-phase-rgb: var(--wr-accent-phase-na-rgb);
    --wr-accent-phase-raw: var(--wr-accent-phase-na-raw);
    
    --wr-accent-phase-muted: rgb(var(--wr-accent-phase-rgb) / .6);

    --wr-accent-product: var(--wr-accent-product-na);
    --wr-accent-product-rgb: var(--wr-accent-product-na-rgb);
    --wr-accent-product-raw: var(--wr-accent-product-na-raw);

    --wr-accent-nav-link-accent: var(--wr-accent-phase);
    
    --wr-accent-money-raw: 100 176 108;
    --wr-accent-money-rgb: rgb(var(--wr-accent-money-raw));
    --wr-accent-money: var(--wr-accent-money-rgb);
    
    --wr-accent-gat-raw: 176 164 100;
    --wr-accent-gat-rgb: rgb(var(--wr-accent-gat-raw));
    --wr-accent-gat: var(--wr-accent-gat-rgb);
    
    --wr-accent-risk-raw: 255 159 0;
    --wr-accent-risk-rgb: rgb(var(--wr-accent-risk-raw));
    --wr-accent-risk: var(--wr-accent-risk-rgb);
    
    --wr-accent-venture-raw: 30 144 255;
    --wr-accent-venture-rgb: rgb(var(--wr-accent-venture-raw));
    --wr-accent-venture: var(--wr-accent-venture-rgb);
    
    --wr-accent-led-white-raw: 235 235 235;
    --wr-accent-led-white-rgb: rgb(var(--wr-accent-led-white-raw));
    --wr-accent-led-white: var(--wr-accent-led-white-rgb);
    
    --wr-accent-led-missing: rgb(var(--wr-accent-led-white-raw) / .25);
    
    --wr-accent-green-raw: 0 255 22;
    --wr-accent-green-rgb: rgb(var(--wr-accent-green-raw));
    --wr-accent-green: var(--wr-accent-green-rgb);

    --wr-accent-yellow-raw: 255 234 0;
    --wr-accent-yellow-rgb: rgb(var(--wr-accent-yellow-raw));
    --wr-accent-yellow: var(--wr-accent-yellow-rgb);

    --wr-accent-red-raw: 255 0 0;
    --wr-accent-red-rgb: rgb(var(--wr-accent-red-raw));
    --wr-accent-red: var(--wr-accent-red-rgb);

    --wr-layout-table-border: var(--wr-accent-phase);


    /* phases locked. All that's left is to write it down. */
    --wr-phase-lock-loop: φ₁ ≡ φ₂ (mod 2π);

}

::selection {
  color: gold;
  background: var(--wr-accent-phase-muted);
}
::-moz-selection {
  color: gold;
  background: var(--wr-accent-phase-muted);
}

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

html, body {
    margin: 0;
    padding: 0;
    background-color: var(--wr-layout-background);
    color: var(--wr-layout-foreground);
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

html {
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-color: #4c4c4c var(--wr-layout-nav-background);
}

body {
    -webkit-font-smoothing: antialiased;
}

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

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* Phases */
[data-phase="1"] {
    --wr-accent-phase: var(--wr-accent-phase-1);
    --wr-accent-phase-rgb: var(--wr-accent-phase-1-rgb);
    --wr-accent-phase-raw: var(--wr-accent-phase-1-raw);
    --wr-accent-phase-muted: rgb(var(--wr-accent-phase-1-raw) / .6);
    --wr-accent-nav-link-accent: var(--wr-accent-phase-1);
    --wr-layout-mask-shadow: var(--wr-layout-mask-shadow-size) var(--wr-accent-phase-muted);
}
[data-phase="2"] {
    --wr-accent-phase: var(--wr-accent-phase-2);
    --wr-accent-phase-rgb: var(--wr-accent-phase-2-rgb);
    --wr-accent-phase-raw: var(--wr-accent-phase-2-raw);
    --wr-accent-phase-muted: rgb(var(--wr-accent-phase-2-raw) / .4);
    --wr-accent-nav-link-accent: var(--wr-accent-phase-2);
    --wr-layout-mask-shadow: var(--wr-layout-mask-shadow-size) var(--wr-accent-phase-muted);
}
[data-phase="3"] { /* not everything that exists must be visible - tg */
    --wr-accent-phase: var(--wr-accent-phase-3);
    --wr-accent-phase-rgb: var(--wr-accent-phase-3-rgb);
    --wr-accent-phase-raw: var(--wr-accent-phase-3-raw);
    --wr-accent-phase-muted: rgb(var(--wr-accent-phase-3-raw) / .4);
    --wr-accent-nav-link-accent: var(--wr-accent-phase-3);
    --wr-layout-mask-shadow: var(--wr-layout-mask-shadow-size) var(--wr-accent-phase-muted);
}

/* Products */
[data-product="Dosed"] {
    --wr-accent-product: var(--wr-accent-product-dosed);
    --wr-accent-product-rgb: var(--wr-accent-product-dosed-rgb);
    --wr-accent-product-raw: var(--wr-accent-product-dosed-raw);
    --wr-accent-nav-link-accent: var(--wr-accent-product-dosed);
}
[data-product="Gauged"] {
    --wr-accent-product: var(--wr-accent-product-gauged);
    --wr-accent-product-rgb: var(--wr-accent-product-gauged-rgb);
    --wr-accent-product-raw: var(--wr-accent-product-gauged-raw);
    --wr-accent-nav-link-accent: var(--wr-accent-product-gauged);
}
[data-product="Linked"] {
    --wr-accent-product: var(--wr-accent-product-linked);
    --wr-accent-product-rgb: var(--wr-accent-product-linked-rgb);
    --wr-accent-product-raw: var(--wr-accent-product-linked-raw);
    --wr-accent-nav-link-accent: var(--wr-accent-product-linked);
}

[data-screen-width-lte-3] {
    --wr-layout-gutter: 12px;
}

.wr-nav-link {
    height: 100%;
    display: flex;
    align-items: center;
    color: inherit;
    font-weight: 600;
    padding: 0rem;
    opacity: 0.7;
    transform: translateY(-1px);
    letter-spacing: var(--wr-layout-title-letter-spacing);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    text-wrap-mode: nowrap;
    transition: 
        text-decoration-color var(--wr-motion-transition),
        opacity var(--wr-motion-transition),
        transform var(--wr-motion-transition),
        text-underline-offset var(--wr-motion-transition),
        text-decoration-thickness var(--wr-motion-transition);
    user-drag: none;
    user-select: none;
    -webkit-user-drag: none;
}

.wr-nav-link:hover,
.wr-nav-link.active {
    opacity: 1;
    text-decoration: underline;
    text-decoration-color: var(--wr-accent-nav-link-accent);
}
.wr-nav-link.active {
    transform: translateY(-3px);
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

.wr-accent-text-decoration {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--wr-accent-product);
}
    .wr-accent-text-decoration.wr-title {
        text-underline-offset: 8px;
    }

.wr-layout-vertical-line-phase {
    border-left: 2px solid var(--wr-accent-phase-muted);
    margin: 0;
    width: 0;
}
.wr-layout-vertical-line-product {
    border-left: 2px solid var(--wr-accent-product);
    margin: 0;
    width: 0;
}

.wr-icon-container {
    height: 16px;
    width: 16px;
    display: flex;
    justify-content: center;
}
.wr-icon-container .wr-icon {

}

.wr-label {
    margin-bottom: var(--wr-layout-gutter);
}

.wr-table {
    border-collapse: collapse;
    border-color: var(--wr-accent-phase-na);
    width: max-content;
}
.wr-table thead th {
    font-weight: 600;
    margin: 0px 11px;
}
.wr-table * {
    margin: 0;
}
.wr-table tbody tr {
    transition: background-color var(--wr-motion-transition);
}
.wr-table tbody tr:hover,
.wr-table tbody tr:focus-within{
    background-color: rgb(var(--wr-accent-phase-raw) / .1);
}

.wr-table tbody tr[disabled] {
    background: rgb(var(--wr-accent-phase-na-raw) / .13);
    color: var(--wr-accent-phase-na);
    cursor: not-allowed;
}
.wr-table thead tr,
.wr-table tfoot tr {
    position: relative;
}
.wr-table thead tr::after,
.wr-table tfoot tr::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    opacity: .6;
}
.wr-table thead tr::after {
    box-shadow: 0px 6px 9px 1px var(--wr-accent-phase-muted);
}
.wr-table tfoot tr::after {
    box-shadow: 0px -6px 9px 1px var(--wr-accent-phase-muted);
}

.wr-table thead tr::after {
    top: 0;
}
.wr-table tfoot tr::after {
    bottom: 0;
}
.wr-table-column-fit-content {
    width: 1%;
    white-space: nowrap;
}
.wr-table-column-fit-width {
    width: auto;
}
.wr-input {
    background-color: transparent;
    color: var(--wr-layout-foreground);
    border: 1px solid transparent;
    padding: 5px 1px 3px 5px;
    display: block;
    outline-color: transparent;
    transition:
        background-color var(--wr-motion-transition),
        border var(--wr-motion-transition),
        outline-color var(--wr-motion-transition);
}
.wr-input[data-fill] {
    background-color: rgb(var(--wr-accent-venture-raw) / .15);
}
.wr-input[data-error]:required {
    border: 1px solid var(--wr-accent-yellow);
    position: relative;
}
.wr-input[data-error]:required::after {
  content: attr(data-error);
  position: absolute;
  visibility: hidden;
  opacity: 0;
  top: 125%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 150px;
  background-color: black;
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  z-index: 1;
  transition: opacity 0.3s;
}
.wr-input[data-error]:required:hover::after,
.wr-input[data-error]:required:focus::after {
  visibility: visible;
  opacity: 1;
}

.wr-input:focus-visible,
.wr-input:hover {
    outline-offset: 2px;
    outline-style: ridge;
    outline-width: 2px;
    z-index: 2;
}
.wr-input:focus-visible {
    background-color: rgb(var(--wr-accent-venture-raw) / .5);
    outline-color: var(--wr-accent-venture);
}
.wr-input:not(:focus-visible):hover {
    background-color: rgb(var(--wr-accent-venture-raw) / .3);
    outline-color: rgb(var(--wr-accent-venture-raw) / .5);
    z-index: 3;
}

.wr-input-number {
    --wr-input-number-length: 4;
}

.wr-input-number[data-length] {
    width: max(100%, calc(clamp(2, calc(round(max(4, attr(data-length type(<number>), 4)) / 2) * 2), 20) * .5rem + 2rem));
}

.wr-input::placeholder,
::-webkit-input-placeholder {
    color: white;
    text-align: center;
    opacity: .65;
}

.wr-input:required::placeholder,
.wr-input:required::-webkit-input-placeholder {
    color: var(--wr-accent-yellow);
}

.wr-hover {
    position: relative;
    opacity: .6;
    transition: opacity var(--wr-motion-transition);
    cursor: pointer;
}
.wr-hover::after {
    content: "";
    position: absolute;
    inset: -4px;
    z-index: 2;
}
.wr-hover:hover {
    opacity: 1;
}

@keyframes wr-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.wr-boot-loader {
    background: var(--wr-layout-nav-background);
    color: #FFF;
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 0.75rem;
}

.wr-boot-loader-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: lowercase;
    opacity: 0.85;
}

.wr-boot-loader-progress {
    display: grid;
    place-content: center;
    justify-items: center;
    position: relative;
}

.wr-boot-loader-progress {
    width: 8rem;
    height: 8rem;
    display: block;
}

    .wr-boot-loader-progress circle {
        fill: none;
        stroke: var(--wr-accent-phase-na);
        stroke-width: 0.4rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .wr-boot-loader-progress circle:first-child{
            animation: wr-pulse 1.4s var(--wr-motion-transition-ease) infinite;
        }
        .wr-boot-loader-progress circle:last-child {
            stroke: var(--wr-accent-phase);
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.wr-boot-loader-progress-text {
    font-weight: bold;
    position: absolute;
    left: 35%;
    top: 42%;
}

    .wr-boot-loader-progress-text:after {
        content: var(--blazor-load-percentage-text, "0%");
    }

#blazor-error-ui {
    color-scheme: light only;
    background: var(--wr-layout-nav-background);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: calc(var(--wr-layout-nav-z-index) + 1);
}

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

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

[data-screen-width-lte-1] * { 
    min-width: 0!important;
}
[data-screen-width-lte-1] :where(p, h1, h2, h3, h4, h5, h6, a, li, code, span) {
    overflow-wrap: anywhere!important;
    word-break: normal!important;
    hyphens: auto!important;
}

[data-screen-width-lte-1] .wr-screen-width-lte-1-hidden {
    display: none;
}
[data-screen-width-lte-2] .wr-screen-width-lte-2-hidden {
    display: none;
}
[data-screen-width-lte-3] .wr-screen-width-lte-3-hidden {
    display: none;
}
[data-screen-width-lte-4] .wr-screen-width-lte-4-hidden {
    display: none;
}
[data-screen-width-lte-5] .wr-screen-width-lte-5-hidden {
    display: none;
}