:root {
    --primary-font: 'BasisGrotesque';
}

html { height: 100%; scroll-behavior: smooth; }

body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: var(--s-25);
	color: var(--s-900);
	font-size: 16px;
	font-family: var(--primary-font), sans-serif;
	font-weight: 400;
    font-feature-settings: 'ss01' on;
	overflow-y: scroll;
}

* { margin: 0; padding: 0; outline: 0; }

a { color: var(--b-100); text-decoration: none; }
a[data-modal] { cursor: pointer; }
a img { border: 0; }

strong { font-weight: 700; }
input, textarea, button { font-family: var(--primary-font), sans-serif; }

h1, h2, h3, h4, h5 { font-family: var(--primary-font), sans-serif; font-weight: 700; }

.wrap { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; min-height: 100%; padding: 0 20px; }
.content { display: flex; flex-wrap: wrap; box-sizing: border-box; width: 1600px; max-width: 100%; padding: 0 10px; }
.content.width-500 { width: 500px; }
.content.width-1040 { width: 1040px; }

header { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 20px 0; }
header .content { flex-wrap: nowrap; justify-content: space-between; gap: 20px; }
header .logo { flex-basis: 260px; flex-grow: 0; flex-shrink: 0; display: flex; }
header .logo:last-child { flex-basis: auto; flex-grow: 1; flex-shrink: 1; justify-content: center; }
header .logo a { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 16px; height: 36px; }
header .logo img { height: 100%; }
header .logo span { color: var(--s-900); font-size: 36px; line-height: 36px; }
header .menu { flex-grow: 1; display: flex; justify-content: center; align-items: center; }
header .menu nav { display: flex; justify-content: center; align-items: center; }
header .menu nav ul { display: flex; justify-content: center; align-items: center; flex-wrap: nowrap; gap: 40px; list-style: none; }
header .menu nav ul li { display: flex; justify-content: center; align-items: center; text-align: center; }
header .menu nav ul li a { transition: color 0.2s ease-in-out; color: var(--s-500); font-weight: 700; line-height: 26px; }
header .menu nav ul li a:hover { color: var(--s-600); }
header .menu nav ul li.active a { color: var(--b-500); }
header .dropdown-container { flex-basis: 260px; flex-grow: 0; flex-shrink: 0; justify-content: flex-end; }
header .user-menu { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; background: transparent; border: 0; cursor: pointer; }
header .user-menu .image { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
header .user-menu .arrow { transition: color 0.2s ease-in-out; display: flex; color: var(--s-500); font-size: 16px; }
header .user-menu:hover .arrow,
header .dropdown-container:has(.dropdown:hover) .user-menu .arrow { color: var(--s-900); }

.page-container { flex-grow: 1; display: flex; flex-direction: column; width: 100%; }

.page { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 110px 0; background: var(--b-300); border-radius: 24px; }
.page:last-child { flex-grow: 1; }
.page + .page { padding-top: 0; }
.page.vertical-center { justify-content: center; }

.title { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; margin-bottom: 14px; }
.title .column { display: flex; flex-direction: column; }
.title .column .column { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.title .column .field-item { display: flex; width: 200px; }
.title h1,
.title h2 { font-size: 30px; line-height: 36px; }
.title .text { margin-top: 4px; line-height: 26px; }

.content-box { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; margin: 10px 0; padding: 30px; background: var(--s-25); border: 1px solid var(--s-75); border-radius: 16px; }

.image-content-container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 60px; width: 100%; }
.image-content-container .content-box { flex-basis: 480px; flex-grow: 1; flex-shrink: 0; width: 0; max-width: 100%; }
.image-content-container aside { display: flex; flex-direction: column; box-sizing: border-box; width: 480px; max-width: 100%; }
.image-content-container aside.qr-container { justify-content: space-between; align-items: center; gap: 20px; min-height: 480px; padding: 40px; background: var(--b-400); border-radius: 16px; }
.image-content-container aside.qr-container::before { content: ""; display: flex; width: 100%; }
.image-content-container aside.qr-container .qr-code { display: flex; position: relative; box-sizing: border-box; width: 160px; max-width: 100%; padding: 10px; background: var(--s-25); }
.image-content-container aside.qr-container .qr-code span { position: absolute; }
.image-content-container aside.qr-container .qr-code span:nth-child(1) { top: -16px; left: -16px; }
.image-content-container aside.qr-container .qr-code span:nth-child(2) { top: -16px; right: -16px; transform: rotate(90deg); }
.image-content-container aside.qr-container .qr-code span:nth-child(3) { bottom: -16px; left: -16px; transform: rotate(-90deg); }
.image-content-container aside.qr-container .qr-code span:nth-child(4) { bottom: -16px; right: -16px; transform: rotate(180deg); }
.image-content-container aside.qr-container .qr-text { display: flex; justify-content: center; align-items: center; box-sizing: border-box; max-width: 100%; min-height: 36px; padding: 6px 16px; background: var(--s-25); border: 1px solid var(--s-100); border-radius: 8px; font-size: 15px; font-weight: 500; font-family: monospace; line-height: 20px; letter-spacing: 0.56px; text-align: center; word-break: break-word; }
.image-content-container aside img { max-width: 100%; }

.form-container { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px 20px; width: 100%; }
.form-container.disabled { opacity: 0.5; }
.form-container .form-item { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; width: calc(33.33% - 13.33px); box-sizing: border-box; }
.form-container .form-item.width-full { width: 100%; }
.form-container .form-item.width-two { width: calc(66.66% - 6.66px); }
.form-container .form-item .item-heading { font-weight: 500; line-height: 26px; }
.form-container .form-item .item-heading.required::after { content: " *"; color: var(--red-100); }
.form-container .form-item:has(.button) { margin-top: 18px; }
.form-container .divider + .form-item:has(.button) { margin-top: 8px; }
.form-container .split-items { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 8px; width: 100%; }
.form-container .split-items .split-item { flex-basis: 0; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.form-container .split-items .separator { flex-shrink: 0; display: flex; justify-content: center; align-items: center; height: 48px; }
.form-container .divider { display: flex; width: 100%; height: 0; margin: 28px 0 20px 0; border-top: 1px solid var(--s-75); }

.paging { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; width: 100%; margin: 20px 0 10px 0; }
.paging a { transition: background 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out; display: flex; justify-content: center; align-items: center; box-sizing: border-box; min-width: 48px; min-height: 48px; padding: 10px 14px; background: var(--s-25); border: 1px solid var(--s-75); border-radius: 24px; color: var(--s-900); font-weight: 700; line-height: 26px; text-align: center; }
.paging a:hover { border-color: var(--s-200); }
.paging a.active { background: var(--s-900); color: var(--s-25); }

.table-container { display: flex; flex-direction: column; width: 100%; margin: 16px 0 10px 0; background: var(--s-25); border-radius: 16px; overflow: auto; }
table.table tr th,
table.table tr td { padding: 20px 5px; }
table.table tr:first-child th:first-child { border-top-left-radius: 16px; }
table.table tr:first-child th:last-child { border-top-right-radius: 16px; }
table.table tr:last-child td:first-child { border-bottom-left-radius: 16px }
table.table tr:last-child td:last-child { border-bottom-right-radius: 16px; }
table.table tr th:first-child,
table.table tr td:first-child { padding-left: 20px; border-left: 1px solid var(--s-75); }
table.table thead:has(tr th[rowspan]) tr th { padding-left: 20px; padding-right: 20px; }
table.table thead:has(tr th[rowspan]) tr th:not(:first-child) { border-left: 1px solid var(--s-75); }
table.table tr th:last-child,
table.table tr td:last-child { padding-right: 20px; border-right: 1px solid var(--s-75); }
table.table tr th { padding-top: 10px; padding-bottom: 10px; background: var(--s-50); border: 1px solid var(--s-75); border-right: 0; border-left: 0; color: var(--s-500); font-size: 14px; font-weight: 400; line-height: 20px; }
table.table tr:not(:first-child) th { border-top: 0; }
table.table tr td { position: relative; background: var(--s-25); border-bottom: 1px solid var(--s-75); line-height: 22px; }
table.table tr:has(+ tr:hover) td { border-bottom-color: var(--b-800); }
table.table tr:hover td { background: var(--b-700); border-bottom-color: var(--b-800); color: var(--b-500); }
table.table tr td[align="right"] .tags,
table.table tr td[align="right"] .buttons { justify-content: flex-end; }
table.table tr td a.whole { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; height: 100%; }
table.table tr td .code-tag { max-width: 96px; }

.button-container { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin: 20px 0 24px 0; }

.content-box table.table tr td { padding-top: 15px; padding-bottom: 15px; }

.gallery-container { display: flex; flex-wrap: nowrap; gap: 10px; width: 100%; height: 500px; margin-bottom: 30px; }
.gallery-container:last-child { margin-bottom: 0; }
.gallery-container .image { display: flex; width: 100%; height: 100%; }
.gallery-container .image .img { width: 100%; height: 100%; border-radius: 8px; object-fit: cover; }
.gallery-container .thumbs { flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; width: 360px; height: 100%; }
.gallery-container .thumbs .image { flex-basis: 0; flex-grow: 1; height: 0; }

.map-container { display: flex; position: relative; width: 100%; height: 400px; background: var(--s-50); border-radius: 16px; }
.map-container .map { width: 100%; height: 100%; border-radius: 16px; }
.map-container .button { position: absolute; z-index: 10; bottom: 20px; right: 22px; }

.data-container { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; margin-bottom: 30px; padding: 10px 30px 18px 30px; border: 1px solid var(--s-75); border-radius: 16px; }
.data-container:last-child { margin-bottom: 0; }
.data-container ul { column-count: 2; column-gap: 40px; list-style: none; overflow: hidden; }
.data-container ul + ul { border-top: 1px solid var(--s-75); }
.data-container ul li { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: flex-start; gap: 10px; position: relative; box-sizing: border-box; width: 100%; padding: 12px 0 11px 0; line-height: 26px; break-inside: avoid; }
.data-container ul li:has(.button) { padding: 0; }
.data-container ul li::after { content: ""; position: absolute; bottom: 0; left: 0; transform: translateY(1px); width: 100%; height: 0; border-bottom: 1px solid var(--s-75); }
.data-container ul li:has(.button)::after,
.data-container ul li:has(+ li .button)::after { display: none; }
.data-container ul li .value { font-weight: 700; }

.data-container ul.columns-full { column-count: 1; }
.data-container ul.columns-full li { flex-direction: column; }

.specifications-container { display: flex; flex-wrap: wrap; gap: 12px 20px; width: 100%; }
.specifications-container .spec-item { flex-basis: 220px; flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
.specifications-container .spec-item.width-full { flex-basis: auto; width: 100%; }
.specifications-container .spec-item .item-heading { font-weight: 500; line-height: 26px; }
.specifications-container .spec-item .item-value { display: flex; line-height: 22px; }
.specifications-container .divider { display: flex; width: 100%; height: 0; margin-top: 10px; border-top: 1px solid var(--s-75); }
.specifications-container .divider:last-child,
.specifications-container .divider + .divider { display: none; }

.notice-container { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 16px; box-sizing: border-box; width: 100%; margin: 16px 0 32px 0; padding: 24px; background: var(--b-850); border: 1px solid var(--b-900); border-radius: 8px; }
.notice-container + .notice-container { margin-top: 0; }
.notice-container:first-child { margin-top: 0; }
.notice-container:last-child { margin-bottom: 0; }
.success .notice-container { margin-bottom: 32px; }
.notice-container .icon { flex-shrink: 0; display: flex; align-items: center; min-height: 22px; color: var(--b-900); }
.notice-container .details { display: flex; flex-direction: column; width: 100%; }
.notice-container .details .headline { margin-bottom: 6px; color: var(--b-900); font-size: 18px; font-weight: 700; line-height: 22px; }
.notice-container .details p { margin-bottom: 6px; line-height: 26px; }
.notice-container .details p:last-child { margin-bottom: 0; }

.notice-container.blue { background: var(--blue-550); border: 1px solid var(--blue-600); }
.notice-container.blue .icon { color: var(--blue-600); }
.notice-container.blue .details .headline { color: var(--blue-600); }

.result-container { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px; box-sizing: border-box; width: 100%; min-height: 322px; padding: 30px 0; }
.result-container .details { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 100%; text-align: center; }
.result-container .details .icon { display: flex; margin-bottom: 18px; color: var(--b-100); font-size: 72px; }
.result-container .details .headline { font-size: 30px; font-weight: 700; line-height: 36px; }
.result-container .details p { line-height: 26px; }
.result-container .button { align-self: center; }

footer { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 14px 0; }
footer .content { justify-content: center; }
footer span { color: var(--s-500); font-size: 14px; line-height: 22px; text-align: center; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: flex; align-items: center; box-sizing: border-box; min-height: 24px; padding: 2px 10px; background: var(--s-900); border-radius: 12px; color: var(--s-25); font-size: 14px; font-weight: 700; line-height: 20px; }
.tag.orange { background: var(--b-900); }
.tag.grey { background: var(--s-500); }
.tag.blue { background: var(--b-100); }
.tag.pink { background: var(--b-500); }
.tag.green { background: var(--lime-700); }
.tag.yellow { background: var(--yellow-100); }
.tag.red { background: var(--red-100); }

.code-tag { display: block; box-sizing: border-box; min-height: 30px; padding: 4px 10px; background: var(--s-50); border-radius: 8px; color: var(--s-500); font-size: 14px; font-family: monospace; line-height: 20px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

.buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.buttons:has(.button.link) { gap: 20px; }

.button { transition: background 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out; align-self: flex-start; flex-shrink: 0; display: flex; justify-content: center; align-items: center; gap: 12px; box-sizing: border-box; min-height: 48px; padding: 8px 22px; background: var(--b-100); border: 2px solid var(--b-100); border-radius: 24px; color: var(--s-25); font-size: 16px; font-weight: 700; line-height: 26px; text-align: center; cursor: pointer; }
.button:hover { background: var(--b-200); border-color: var(--b-200); }

.button.secondary { background: var(--b-500); border-color: var(--b-500); }
.button.secondary:hover { background: var(--b-600); border-color: var(--b-600); }

.button.grey-light { background: var(--s-50); border-color: var(--s-50); color: var(--s-400); }
.button.grey-light:hover { background: var(--s-75); border-color: var(--s-75); color: var(--s-500); }

.button.grey { background: var(--s-400); border-color: var(--s-400); }
.button.grey:hover { background: var(--s-500); border-color: var(--s-500); }

.button.black { background: var(--s-700); border-color: var(--s-700); }
.button.black:hover { background: var(--s-900); border-color: var(--s-900); }

.button.red { background: var(--red-100); border-color: var(--red-100); }
.button.red:hover { background: var(--red-200); border-color: var(--red-200); }

.button.small { min-height: 40px; padding: 4px 18px; }
.button.width-full { width: 100%; }

.button .icon { display: flex; }

.button.link { min-height: 0; padding: 0; background: transparent !important; border: 0; border-radius: 0; color: var(--b-100); text-align: left; }
.button.link:hover { color: var(--b-200); }

.button.link.grey { color: var(--s-400); }
.button.link.grey:hover { color: var(--s-500); }

.button.link.red { color: var(--red-100); }
.button.link.red:hover { color: var(--red-200); }

.input { box-sizing: border-box; width: 100%; height: 48px; padding: 0 16px; background: var(--s-25); border: 1px solid var(--s-100); border-radius: 8px; color: var(--s-900); font-size: 16px; }
.input::placeholder { opacity: 1; color: var(--s-400); }
.input:hover { border-color: var(--s-200); }
.input:focus { border-color: var(--b-500); }
.input.error { border-color: var(--red-100); }
.input[readonly] { background: var(--s-50); color: var(--s-500); }
.input[type="file"] { padding-top: 10px; padding-bottom: 10px; }

.textarea { box-sizing: border-box; width: 100%; height: 152px; padding: 10px 16px; background: var(--s-25); border: 1px solid var(--s-100); border-radius: 8px; color: var(--s-900); font-size: 16px; resize: none; }
.textarea::placeholder { opacity: 1; color: var(--s-400); }
.textarea:hover { border-color: var(--s-200); }
.textarea:focus { border-color: var(--b-500); }
.textarea.error { border-color: var(--red-100); }
.textarea[readonly] { background: var(--s-50); color: var(--s-500); }

.code-input { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; }
.code-input .separator { font-size: 20px; }
.code-input .item { flex-basis: 50px; flex-grow: 1; font-size: 20px; }
.code-input .item .input { height: 72px; font-size: 18px; font-weight: 500; text-align: center; appearance: textfield; }
.code-input .item .input::-webkit-inner-spin-button { display: none; }

.select { width: 100%; height: 48px; }

.checkbox-container { display: flex; flex-wrap: nowrap; align-items: flex-start; margin: 12px 0; }
.checkbox-container + .checkbox-container { margin-top: 0; }
.checkbox-container input { display: none; }
.checkbox-container .checkbox { flex-shrink: 0; display: flex; justify-content: center; align-items: center; box-sizing: border-box; width: 24px; height: 24px; background: var(--s-25); border: 1px solid var(--s-100); border-radius: 8px; cursor: pointer; }
.checkbox-container .checkbox:hover,
.checkbox-container:has(.checkbox-label:hover) input:not(:checked):not(.error) + .checkbox { border-color: var(--s-200); }
.checkbox-container input.error + .checkbox { border-color: var(--red-100); }
.checkbox-container .checkbox span { display: none; color: var(--s-25); font-size: 14px; }
.checkbox-container .checkbox:hover span,
.checkbox-container:has(.checkbox-label:hover) input:not(:checked) + .checkbox span { display: flex; color: var(--s-75); }
.checkbox-container input:checked + .checkbox { background: var(--s-900); border-color: var(--s-900); }
.checkbox-container input:checked + .checkbox span { display: flex; }
.checkbox-container .checkbox-label { padding-left: 10px; line-height: 22px; cursor: pointer; user-select: none; }
.checkbox-container .checkbox-label a { color: var(--s-900); font-weight: 700; }

.dropdown-container { display: flex; position: relative; }
.dropdown-container .dropdown { display: none; position: absolute; z-index: 500; top: 100%; left: 50%; transform: translateX(-50%); min-width: 100%; padding-top: 10px; }
.dropdown-container .user-menu:hover + .dropdown,
.dropdown-container .button:hover + .dropdown,
.dropdown-container .dropdown:hover { display: flex; }
.dropdown-container .dropdown ul { display: flex; flex-direction: column; width: 100%; max-height: 288px; background: var(--s-25); border: 1px solid var(--s-100); border-radius: 8px; list-style: none; overflow-y: auto; }
.dropdown-container .dropdown ul li { display: flex; width: 100%; }
.dropdown-container .dropdown ul li a { transition: color 0.2s ease-in-out; display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; box-sizing: border-box; width: 100%; padding: 11px 16px; color: var(--s-500); font-weight: 700; line-height: 26px; white-space: nowrap; }
.dropdown-container .dropdown ul li a:hover { color: var(--s-900); }
.dropdown-container .dropdown ul li.active a { color: var(--b-500); }
.dropdown-container .dropdown ul li .icon { display: flex; }

.revisions { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; height: 160px; padding: 4px 10px; background: var(--s-50); border-radius: 8px; overflow: auto; }
.revisions .revision { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 10px; width: 100%; font-size: 14px; font-family: monospace; line-height: 22px; }
.revisions .revision .number { flex-shrink: 0; flex-basis: 20px; color: var(--s-300); }
.revisions .revision .name { flex-shrink: 0; flex-basis: 200px }
.revisions .revision .values { display: flex; flex-wrap: wrap; gap: 0 10px; word-break: break-word; }
.revisions .revision .values .value.deletion { color: var(--red-800); }
.revisions .revision .values .value.addition { color: var(--lime-800); }
.revisions .revision .values .sep { color: var(--s-300); }

.modal { display: flex; flex-direction: column; justify-content: center; align-items: center; position: fixed; z-index: 800; top: 0; left: 0; width: 100%; height: 100%; background: var(--s-900-t60); }
.modal .modal-box { display: flex; flex-direction: column; width: 480px; max-width: 100%; max-height: 100%; background: var(--s-25); border-radius: 16px; }
.modal .modal-box.width-580 { width: 580px; }
.modal .modal-box.scroll { overflow: auto; }
.modal .modal-box .modal-title { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 20px; position: sticky; z-index: 10; top: 0; box-sizing: border-box; width: 100%; padding: 22px 30px 14px 30px; background: var(--s-25); border-radius: 16px 16px 0 0; }
.modal .modal-box .modal-title h2 { font-size: 30px; line-height: 36px; }
.modal .modal-box .modal-title .close { transition: color 0.2s ease-in-out; display: flex; margin-top: 6px; background: transparent; border: 0; color: var(--s-300); font-size: 24px; cursor: pointer; }
.modal .modal-box .modal-title .close:hover { color: var(--s-400); }
.modal .modal-box .modal-content { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; padding: 0 30px; }
.modal .modal-box .modal-content:last-child { padding-bottom: 30px; }
.modal .modal-box .modal-content .result-container { padding-bottom: 0; }
.modal .modal-box .modal-buttons { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; position: sticky; z-index: 10; bottom: 0; box-sizing: border-box; width: 100%; padding: 30px; background: var(--s-25); border-radius: 0 0 16px 16px; }

.success,
.errors { display: none; width: 100%; }
.errors ul { display: flex; flex-direction: column; width: 100%; list-style: none; color: var(--red-100); }

.hidden { display: none !important; }
