/* Base — reset, design tokens, typography, element defaults. */

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

html {
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	scrollbar-gutter: stable;
}

:root {
	--accent: #1f63b4;
	--accent-d: #174c8a;
	--res-exclusive: #1b3a66;
	--res-exclusive-d: #12294a;
	--res-open: #3c80cc;
	--ink: #1b2838;
	--muted: #5b6e85;
	--line: #dbe4ee;
	--line-2: #c5d3e3;
	--paper: #ffffff;
	--card: #ffffff;
	--tint: #f2f6fb;
	--tint-2: #e8eff8;
	--tint-accent: #e3eefa;
	--out: #eef2f7;
	--out-num: #a7b6c8;
	--today: #dcebfb;
	--backdrop: rgba(12, 28, 50, 0.45);
	--radius: 10px;

	--nav-bg: #2f3437;
	--nav-fg: rgba(255, 255, 255, 0.62);
	--nav-fg-hover: #ffffff;
	--nav-brand: #ffffff;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--ink);
	background-color: var(--paper);
	text-align: left;
	overflow-anchor: none;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-weight: 600;
	line-height: 1.2;
}

p {
	margin-top: 0;
	margin-bottom: 1rem;
}

ul, ol {
	margin-top: 0;
	margin-bottom: 1rem;
}

a {
	color: var(--accent-d);
	text-decoration: none;
	background-color: transparent;
}

a:hover {
	color: var(--accent);
	text-decoration: underline;
}

table {
	border-collapse: collapse;
}

button, input, select, textarea {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

input, select, textarea {
	border: 1px solid var(--line-2);
	border-radius: 8px;
	padding: 0.4rem 0.5rem;
	background: var(--card);
	color: var(--ink);
}

button,
input[type="submit"],
input[type="button"] {
	cursor: pointer;
	border: 1px solid var(--line-2);
	border-radius: 8px;
	padding: 0.45rem 0.85rem;
	background: var(--card);
	color: var(--ink);
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
	background: var(--tint-2);
}

fieldset {
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
}

legend {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin-bottom: 0.5rem;
	font-size: 1.5rem;
	line-height: inherit;
	color: inherit;
	white-space: normal;
}

.welcomepicture {
	max-width: 100%;
	height: auto;
}
