:root {
	--color-text: #020202;
	--color-bg: #f8f8f8;
	--color-bg-2: #ececec;
	--color-bg-2-alpha90: #ececece6;
	--color-bg-3: #d8d8d8;
	--color-bg-4: #cccccc;
	--color-bg-5: #a0a0a0;
	--color-gray: #575757;
	--color-gray-2: #bdbdbd;
	--color-theme: #0080ff;
	--color-theme-alpha07: #0080ff12;
	--color-theme-alpha20: #0080ff33;
	
	--color-blue: #3030c2;
	--color-green: #30c230;
	--color-green-alpha07: #30c23012;
	--color-green-alpha20: #30c23033;
	--color-yellow: #ccaa30;
	--color-red: #cc3030;
	--color-purple: #aa30cc;
	
	--nav-height: 3rem;
}
* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	
	color: var(--color-text);
	background-color: var(--color-bg);
}
html {
	font-size: 16px;
}
body {
	min-height: 100vh;
	min-height: 100dvh;
	
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	
	font-size: 0;
	font-family: "Inter", sans-serif;
}

h1 {
	font-size: 2rem;
	color: var(--color-theme);
}

span, pre, li::marker {
	font-size: 1rem;
}
span, pre {
	display: block;
}
span.inline, pre.inline {
	display: inline-block;
}
pre {
	margin: 0;
	padding: 0;
	font-size: 0.8rem;
}
li {
	margin-bottom: 0.5rem;
}

a {
	text-decoration: none;
}
a.nolink {
	all: unset;
}
a.nolink:hover {
	cursor: pointer;
}
span a:not(.nolink),
a:not(.nolink) span {
	color: var(--color-theme);
}
span a:not(.nolink):hover,
a:not(.nolink):hover span {
	text-decoration: underline;
	cursor: pointer;
}
span.gray a:not(.nolink),
.gray span a:not(.nolink) {
	color: var(--color-gray);
	text-decoration: underline;
	text-decoration-style: dotted;
}
span.gray a:not(.nolink):hover,
.gray span a:not(.nolink):hover {
	text-decoration-style: solid;
}

button {
	all: unset;
}
button:focus {
	outline: revert;
}

input, select {
	font-family: inherit;
	font-size: 1rem;
	color: var(--color-text);
}


.colored { color: var(--color-theme) !important; }
.gray { color: var(--color-gray) !important; }
.blue { color: var(--color-blue) !important; }
.green { color: var(--color-green) !important; }
.yellow { color: var(--color-yellow) !important; }
.red { color: var(--color-red) !important; }
.purple { color: var(--color-purple) !important; }

.hidden { visibility: hidden !important; }
.gone { display: none !important; }
.select-none {
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.text-align-center { text-align: center !important; }





/* NAV */
nav {
	position: fixed;
	top: 0;
	width: 100%;
	
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-wrap: nowrap;
	
	z-index: 1024;
	background-color: var(--color-bg);
	border-bottom: 2px solid var(--color-theme);
}
nav .nav-container {
	height: var(--nav-height);
	
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	flex-wrap: nowrap;
	gap: 2rem;
	
	padding: 0.5rem;
	
	background-color: var(--color-theme-alpha20);
	z-index: 1025;
}

nav .nav-container .nav-section {
	flex-basis: 0px;
	flex-grow: 2;
	
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 1rem;
	
	height: 100%;
}

nav .nav-container .nav-section img {
	height: 2rem;
}
nav .nav-container .nav-section img.padding {
	padding: 0.25rem;
}

nav .nav-container .nav-section.branding {
	justify-content: flex-start;
}
nav .nav-container .nav-section.name {
	justify-content: center;
	font-weight: bold;
	flex-grow: 1;
}
nav .nav-container .nav-section.status {
	justify-content: flex-end;
}
nav .nav-container .nav-section.status .badge {
	background-color: var(--color-bg-4);
}


/* PAGE */
.page {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 2rem;
	
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
	padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
}

.page .main {
	flex-grow: 1;
	
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 2rem;
}


/* FOOTER */
.page .footer {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 0.5rem;
}

.page .footer .delimiter {
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	color: var(--color-gray);
}

.page .footer > .line,
.page .footer > .line .item {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.page .footer .version {
	flex-grow: 1;
	text-align: right;
}


/* BUTTONS */
.button {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	
	width: fit-content;
	padding: 0.75rem;
	
	color: var(--color-theme);
	border-radius: 0.5rem;
	border: 0.125rem solid var(--color-theme);
	
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	transition: background-color 0.1s ease-in-out;
}
.button span {
	text-decoration: none !important;
}
.button:hover {
	cursor: pointer;
	background-color: var(--color-theme-alpha07);
}


/* BADGE */
.badge {
	display: inline-flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 0.25rem;
	
	padding: 0.75rem;
	
	border-radius: 0.5rem;
	background-color: var(--color-bg-3);
}
.badge.badge-small {
	padding: 0.4rem 0.6rem;
}
.badge.badge-small span {
	font-size: 0.8rem;
}
.badge .content {
	display: inline-flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.5rem;
}
.badge .explainer {
	font-size: 0.8rem;
	color: var(--color-gray);
}

.badge .status::before {
	content: "";
	display: inline-block;
	width: 0.52rem;
	height: 0.52rem;
	
	border-radius: 50%;
	background-color: var(--color-gray);
}
.badge .status.status-green::before {
	background-color: var(--color-green);
}
.badge .status.status-yellow::before {
	background-color: var(--color-yellow);
}
.badge .status.status-red::before {
	background-color: var(--color-red);
}
.badge .status.status-purple::before {
	background-color: var(--color-purple);
}

.badge.badge-bar {
	position: relative;
}
.badge.badge-bar .bar-housing {
	width: 100%;
	margin-top: 0.25rem;
	
	border-radius: 999rem;
	background-color: var(--color-bg-5);
	overflow: hidden;
}
.badge.badge-bar .bar {
	width: 0;
	height: 0.5rem;
	border-radius: 999rem;
	
	-webkit-mask: linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0);
	transition: width 0.5s ease-in-out;
}
.badge.badge-bar .bar::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--color-theme);
}
.badge.badge-bar .bar.color-gradient::before {
	background: linear-gradient(to right, var(--color-gray) 0%, var(--color-theme) 100%);
}
.badge.badge-bar .bar.color-gradient-cold-hot::before {
	background: linear-gradient(to right, var(--color-blue) 0%, var(--color-red) 100%);
}


/* BOXES */
.box-view {
	align-self: center;
	
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 2rem;
	
	max-width: 70vw;
}
.box-view .button-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: flex-start;
	
	width: 100%;
}
.box-view .button-row.button-row-align-end {
	width: 100%;
	justify-content: flex-end;
}
.box-view h1 {
	width: 100%;
	text-align: center;
}

.box {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 1rem;
	
	max-width: 48rem;
	padding: 1rem;
	
	border-radius: 0.5rem;
	border: 0.125rem solid var(--color-theme);
	background-color: var(--color-bg-2);
	overflow: hidden;
}
.box-view .box {
	flex-basis: 20rem;
	flex-grow: 1;
}

.box .title {
	color: var(--color-theme);
	font-size: 1.5rem;
}
.box .subtitle {
	margin-top: 1rem;
	color: var(--color-theme);
	font-size: 1rem;
}
.box .subtitle.subtitle-top {
	margin-top: 0;
}

.box-view .box img {
	max-width: 100%;
}


/* LEGAL VIEW */
.legal-view {
	align-self: center;
	
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 2rem;
	
	max-width: 70vw;
}
.legal-view h1 {
	width: 100%;
	text-align: center;
}


/* FILE LIST */
.filelist {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0.5rem;
	
	width: 100%;
}

.filelist .selector {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.filelist .selector select,
.filelist .selector .button {
	padding: 0.5rem;
}
.filelist .selector select {
	min-width: 0;
	
	border-radius: 0.5rem;
	border: 0.125rem solid var(--color-theme);
	background: none;
	text-overflow: ellipsis;
	
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	transition: background-color 0.1s ease-in-out;
}
.filelist .selector select:hover {
	cursor: pointer;
	background-color: var(--color-theme-alpha07);
}
.filelist .selector .button {
	gap: 0.25rem;
}

.filelist .list {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0.5rem;
}
.filelist .list .item {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	
	padding: 0.5rem;
	
	border-radius: 0.5rem;
	border: 0.125rem solid var(--color-theme);
	overflow: hidden;
}
.filelist .list .item:nth-child(2n+1) {
	background-color: var(--color-bg-2);
}

.filelist .list .item .date {
	flex-grow: 1;
	
	font-weight: bold;
}

.filelist .list .item .count {
	font-size: 0.8rem;
	color: var(--color-gray);
}

.filelist .list .item .action {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 0.25rem;
	align-items: center;
	
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.filelist .list .item .action * {
	text-decoration: none;
}
.filelist .list .item .action:hover * {
	
}
