@font-face {
    font-family: "Montserrat Variable";
    src: url("../fonts/montserrat-variable.woff2") format("woff2-variations");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --black: #080808;
    --ink: #141414;
    --muted: #686868;
    --soft: #f5f5f3;
    --line: #dededb;
    --white: #ffffff;
    --red: #f20d1a;
    --red-dark: #cd0712;
    --green: #147745;
    --error: #a12029;
    font-family: "Montserrat Variable", Montserrat, Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--white);
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.topbar {
    width: 100%;
    min-height: 88px;
    padding: 0 max(28px, calc((100vw - 1280px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    background: var(--black);
    border-bottom: 3px solid var(--red);
}

.brand {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--white);
    text-decoration: none;
}

.brand-name {
    font-size: 25px;
    font-weight: 300;
    letter-spacing: -.05em;
}

.brand-name span {
    color: var(--red);
}

.brand-context {
    padding-left: 24px;
    border-left: 1px solid #4a4a4a;
    color: #a7a7a7;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .2em;
}

nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

nav a,
.link-button,
.header-login {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    color: var(--white);
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    cursor: pointer;
}

nav form {
    margin: 0;
}

.nav-index {
    color: var(--red);
    font-size: 9px;
}

.header-login span {
    color: var(--red);
    font-size: 20px;
    transition: transform .2s ease;
}

.header-login:hover span {
    transform: translateX(4px);
}

.container {
    width: min(1280px, calc(100% - 56px));
    margin: 0 auto;
    padding: 72px 0 96px;
    flex: 1;
}

.site-footer {
    min-height: 68px;
    padding: 0 max(28px, calc((100vw - 1280px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: #777;
    background: var(--white);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .18em;
}

h1,
h2,
p {
    margin-top: 0;
}

h1,
h2 {
    letter-spacing: -.045em;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(45px, 6.2vw, 86px);
    font-weight: 300;
    line-height: .98;
}

h1 em,
.login-intro em {
    color: var(--red);
    font-style: normal;
    font-weight: 300;
}

h2 {
    margin: 6px 0 10px;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 350;
}

p {
    line-height: 1.65;
}

.eyebrow {
    margin-bottom: 24px;
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
}

.eyebrow span {
    color: #888;
}

.eyebrow.light {
    color: var(--red);
}

.eyebrow.light span {
    color: #888;
}

.muted {
    margin-bottom: 0;
    color: var(--muted);
}

.public-hero {
    min-height: 580px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
    align-items: center;
    gap: 9vw;
}

.hero-copy {
    min-width: 0;
    padding-left: clamp(0px, 4vw, 58px);
}

.hero-description {
    max-width: 520px;
    margin: 30px 0 40px;
    color: #4f4f4f;
    font-size: 15px;
    font-weight: 400;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--black);
    color: var(--black);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .11em;
}

.arrow-link span {
    color: var(--red);
    font-size: 21px;
    transition: transform .2s ease;
}

.arrow-link:hover span {
    transform: translate(3px, -3px);
}

.hero-visual {
    position: relative;
    min-height: 440px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--black);
    overflow: hidden;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .25;
    background:
        linear-gradient(90deg, transparent 49.7%, #444 50%, transparent 50.3%),
        linear-gradient(0deg, transparent 49.7%, #444 50%, transparent 50.3%);
    background-size: 80px 80px;
}

.hero-visual > p {
    position: absolute;
    right: 24px;
    bottom: 8px;
    color: #737373;
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .22em;
}

.qr-frame {
    position: relative;
    width: 210px;
    height: 210px;
    display: grid;
    place-items: center;
}

.qr-frame strong {
    font-size: 82px;
    font-weight: 200;
    letter-spacing: -.08em;
}

.corner {
    position: absolute;
    width: 48px;
    height: 48px;
    border-color: var(--white);
    border-style: solid;
}

.top-left {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.top-right {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
}

.bottom-right {
    right: 0;
    bottom: 0;
    border-width: 0 2px 2px 0;
}

.scan-line {
    position: absolute;
    right: -25px;
    left: -25px;
    top: 50%;
    height: 2px;
    background: var(--red);
    box-shadow: 0 0 18px rgba(242, 13, 26, .8);
    animation: scan 3.4s ease-in-out infinite;
}

@keyframes scan {
    0%, 100% { transform: translateY(-90px); opacity: .55; }
    50% { transform: translateY(90px); opacity: 1; }
}

.login-shell {
    min-height: 610px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    overflow: hidden;
    border: 1px solid var(--line);
}

.login-intro {
    position: relative;
    min-width: 0;
    padding: clamp(52px, 7vw, 96px);
    color: var(--white);
    background: var(--black);
}

.login-intro::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 14%;
    width: 3px;
    height: 72%;
    background: var(--red);
}

.login-intro h1 {
    margin: 70px 0 28px;
    font-size: clamp(46px, 5.6vw, 74px);
}

.login-intro > p:not(.eyebrow) {
    max-width: 420px;
    color: #a5a5a5;
    font-size: 14px;
}

.login-index {
    position: absolute;
    bottom: 52px;
    left: clamp(52px, 7vw, 96px);
    color: #686868;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .2em;
}

.auth-panel {
    min-width: 0;
    align-self: center;
    padding: clamp(42px, 7vw, 92px);
}

.form-stack {
    display: grid;
    gap: 9px;
    margin-top: 40px;
}

.form-stack > label {
    margin-top: 16px;
    color: #4c4c4c;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .11em;
}

input[type="text"],
input[type="password"],
input[type="url"],
input[type="number"] {
    width: 100%;
    min-height: 52px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #a8a8a8;
    border-radius: 0;
    color: var(--black);
    background: transparent;
    font-size: 15px;
    font-weight: 400;
    outline: 0;
    transition: border-color .2s ease;
}

input:focus {
    border-color: var(--red);
}

.button {
    min-height: 48px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid var(--black);
    border-radius: 0;
    color: var(--white);
    background: var(--black);
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.button span {
    color: var(--red);
    font-size: 18px;
}

.button:hover {
    border-color: var(--red);
    background: var(--red);
}

.button:hover span {
    color: var(--white);
}

.button.secondary {
    color: var(--black);
    border-color: var(--line);
    background: var(--white);
}

.button.secondary:hover,
.button.ghost:hover {
    border-color: var(--black);
    color: var(--white);
    background: var(--black);
}

.button.ghost {
    color: #666;
    border-color: transparent;
    background: transparent;
}

.auth-panel .button {
    width: 100%;
    margin-top: 28px;
}

.validation {
    color: var(--error);
    font-size: 11px;
}

.validation:empty {
    display: none;
}

.page-heading {
    min-height: 260px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 52px;
    margin-bottom: 58px;
    padding-bottom: 42px;
    border-bottom: 1px solid var(--black);
}

.page-heading h1 {
    margin: 0;
    font-size: clamp(48px, 6vw, 78px);
}

.heading-actions {
    width: min(380px, 100%);
    display: grid;
    gap: 26px;
}

.heading-actions .button {
    width: 100%;
}

.page-heading.compact {
    max-width: 860px;
    min-height: auto;
    margin: 0 auto 36px;
}

.page-heading.compact > div {
    width: 100%;
}

.page-heading.compact .muted {
    margin-top: 26px;
}

.alert {
    margin-bottom: 22px;
    padding: 14px 18px;
    border-left: 3px solid var(--green);
    color: var(--green);
    background: #f0f8f4;
    font-size: 12px;
    font-weight: 550;
}

.metrics {
    margin-bottom: 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
}

.metrics > div {
    min-height: 124px;
    padding: 24px 28px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    border-right: 1px solid var(--line);
}

.metrics > div:last-child {
    border-right: 0;
}

.metrics span {
    color: #777;
    font-size: 10px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.metrics strong {
    font-size: 48px;
    font-weight: 250;
    letter-spacing: -.05em;
}

.table-card {
    border-top: 3px solid var(--black);
}

.table-scroll {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 21px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    color: #777;
    background: var(--white);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

tbody tr {
    transition: background .18s ease;
}

tbody tr:hover {
    background: #fafaf8;
}

td {
    font-size: 13px;
}

.small {
    margin-top: 5px;
    color: #8a8a8a;
    font-size: 10px;
}

.destination {
    display: block;
    max-width: 380px;
    overflow: hidden;
    color: #333;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.actions-column {
    width: 390px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.actions form {
    margin: 0;
}

.small-button {
    min-height: 34px;
    padding: 7px 11px;
    gap: 0;
    font-size: 9px;
}

.qr-button {
    border-color: var(--black);
    color: var(--white);
    background: var(--black);
}

.print-button {
    border-color: var(--red);
    background: var(--red);
}

.button:disabled {
    border-color: #bcbcbc;
    color: #777;
    background: #e9e9e9;
    cursor: not-allowed;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--black);
    background: none;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #aaa;
}

.badge.active::before {
    background: var(--green);
}

.badge.inactive {
    color: #888;
}

.badge.incomplete {
    color: var(--error);
}

.badge.incomplete::before {
    background: var(--red);
}

.item-name {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.empty-state {
    padding: 88px 24px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.empty-state h2 {
    font-weight: 350;
}

.empty-state .button {
    margin-top: 22px;
}

.form-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 30px 0 60px;
}

.field-help {
    margin: 0 0 4px;
    color: #858585;
    font-size: 10px;
}

.item-search {
    position: relative;
}

.item-search-results {
    position: absolute;
    z-index: 20;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    max-height: 330px;
    overflow-y: auto;
    border: 1px solid var(--black);
    background: var(--white);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
}

.item-search-option {
    width: 100%;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--black);
    background: var(--white);
    text-align: left;
    cursor: pointer;
}

.item-search-option:last-child {
    border-bottom: 0;
}

.item-search-option:hover,
.item-search-option:focus {
    color: var(--white);
    background: var(--black);
    outline: 0;
}

.item-search-option strong {
    font-size: 12px;
    font-weight: 700;
}

.item-search-option span {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-search-message {
    padding: 17px;
    color: #666;
    font-size: 11px;
}

.selected-item,
.generated-route {
    margin-top: 18px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    background: #fafaf8;
}

.selected-item {
    display: none;
    grid-template-columns: 150px 1fr;
    gap: 8px 20px;
}

.selected-item.visible {
    display: grid;
}

.selected-item > span,
.generated-route > span {
    color: #777;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}

.selected-item strong {
    font-size: 13px;
}

.selected-item p {
    grid-column: 2;
    margin: 0;
    color: #555;
    font-size: 11px;
}

.generated-route {
    display: grid;
    gap: 9px;
    border-left: 3px solid var(--red);
}

.generated-route strong {
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkbox-row {
    margin: 28px 0 8px !important;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--black) !important;
    font-size: 11px !important;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--red);
}

.form-actions {
    margin-top: 30px;
    padding-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid var(--line);
}

.message-page {
    min-height: 580px;
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    align-items: center;
    gap: 7vw;
}

.message-number {
    color: var(--red);
    font-size: clamp(110px, 17vw, 230px);
    font-weight: 150;
    letter-spacing: -.09em;
    line-height: 1;
}

.message-content h1 {
    font-size: clamp(44px, 5.5vw, 72px);
}

.message-content .muted {
    margin: 30px 0 38px;
}

.label-heading {
    margin-bottom: 44px;
}

.label-alert {
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
}

.alert.error {
    color: var(--error);
    border-left-color: var(--error);
    background: #fff1f2;
}

.label-workspace {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 36px 0 0;
}

.label-ruler {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 24px;
    display: flex;
    align-items: start;
    justify-content: center;
    border-top: 1px solid #999;
}

.label-ruler::before,
.label-ruler::after {
    content: "";
    position: absolute;
    top: -5px;
    width: 1px;
    height: 10px;
    background: #777;
}

.label-ruler::before { left: 0; }
.label-ruler::after { right: 0; }

.label-ruler span,
.label-height-ruler span {
    padding: 0 8px;
    color: #777;
    background: var(--white);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .12em;
    text-transform: uppercase;
    transform: translateY(-7px);
}

.label-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    display: grid;
    grid-template-columns: 54% 46%;
    overflow: hidden;
    border: 2px solid var(--black);
    color: var(--black);
    background: var(--white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.label-brand-side {
    min-width: 0;
    padding: clamp(22px, 4.2vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.label-logo {
    font-size: clamp(24px, 3.8vw, 52px);
    font-weight: 300;
    letter-spacing: -.06em;
}

.label-logo span {
    font-weight: 500;
}

.label-divider {
    width: 78%;
    height: 3px;
    margin: clamp(13px, 2vw, 26px) 0;
    background: var(--black);
}

.label-brand-side p {
    margin-bottom: clamp(8px, 1.2vw, 16px);
    font-size: clamp(8px, 1.2vw, 15px);
    font-weight: 700;
    letter-spacing: .14em;
}

.label-brand-side strong {
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(18px, 3vw, 38px);
    font-weight: 450;
    letter-spacing: -.03em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.label-reference {
    margin-top: clamp(4px, .8vw, 10px);
    font-size: clamp(6px, .9vw, 11px);
    font-weight: 600;
    letter-spacing: .08em;
}

.label-brand-side small {
    margin-top: auto;
    font-size: clamp(6px, .9vw, 11px);
    font-weight: 650;
    letter-spacing: .13em;
}

.label-qr-side {
    display: grid;
    place-items: center;
    border-left: 1px solid #d0d0d0;
}

.label-qr-side img {
    width: min(82%, 370px);
    height: auto;
    display: block;
    image-rendering: pixelated;
}

.label-height-ruler {
    position: absolute;
    top: 36px;
    right: -46px;
    width: 28px;
    height: calc((1000px / 2));
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #999;
}

.label-height-ruler::before,
.label-height-ruler::after {
    content: "";
    position: absolute;
    right: -5px;
    width: 10px;
    height: 1px;
    background: #777;
}

.label-height-ruler::before { top: 0; }
.label-height-ruler::after { bottom: 0; }

.label-height-ruler span {
    transform: rotate(90deg);
    white-space: nowrap;
}

.label-metadata {
    margin-top: 38px;
    display: grid;
    grid-template-columns: .55fr .65fr 1.4fr;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.label-metadata > div {
    min-width: 0;
    padding: 22px 24px;
    display: grid;
    gap: 8px;
    border-right: 1px solid var(--line);
}

.label-metadata > div:last-child {
    border-right: 0;
}

.label-metadata span,
.print-specs span {
    color: #777;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}

.label-metadata strong {
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.label-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.no-printers {
    margin-top: 18px;
    color: var(--error);
    font-size: 11px;
}

.print-dialog {
    width: min(620px, calc(100% - 32px));
    padding: 0;
    border: 0;
    color: var(--black);
    background: var(--white);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.print-dialog::backdrop {
    background: rgba(0, 0, 0, .68);
    backdrop-filter: blur(3px);
}

.print-dialog form {
    padding: 42px;
}

.dialog-heading {
    margin-bottom: 34px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
}

.dialog-heading h2 {
    margin-bottom: 0;
}

.dialog-close {
    padding: 0;
    border: 0;
    color: #777;
    background: none;
    font-size: 30px;
    font-weight: 250;
    cursor: pointer;
}

.print-dialog label {
    display: block;
    margin-bottom: 9px;
    color: #555;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.print-dialog select {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #aaa;
    border-radius: 0;
    color: var(--black);
    background: var(--white);
    font: inherit;
    font-size: 13px;
}

.print-fields {
    display: grid;
    grid-template-columns: 1fr 130px;
    gap: 18px;
}

.print-fields input[type="number"] {
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #aaa;
}

.print-dialog select:focus {
    border-color: var(--red);
    outline: 2px solid rgba(242, 13, 26, .12);
}

.print-specs {
    margin-top: 28px;
    padding: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 12px 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.print-specs strong {
    font-size: 11px;
    font-weight: 600;
}

.print-warning {
    margin: 22px 0 0;
    color: #666;
    font-size: 11px;
}

.dialog-actions {
    margin-top: 26px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (prefers-reduced-motion: reduce) {
    .scan-line {
        animation: none;
    }
}

@media (max-width: 900px) {
    .public-hero,
    .login-shell {
        grid-template-columns: 1fr;
    }

    .public-hero {
        gap: 48px;
    }

    .hero-copy {
        padding-left: 0;
    }

    .hero-visual {
        min-height: 380px;
    }

    .login-intro {
        min-height: 420px;
    }

    .login-intro h1 {
        margin-top: 48px;
    }

    .login-intro::after {
        top: auto;
        right: 12%;
        bottom: -1px;
        width: 76%;
        height: 3px;
    }

    .page-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .heading-actions {
        width: 100%;
    }

    .message-page {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .label-height-ruler {
        display: none;
    }
}

@media (max-width: 640px) {
    .topbar {
        min-height: 74px;
        padding: 0 20px;
    }

    .brand {
        gap: 12px;
    }

    .brand-context,
    .nav-index {
        display: none;
    }

    nav {
        gap: 18px;
    }

    nav a,
    .link-button {
        font-size: 9px;
    }

    .header-login {
        gap: 0;
        font-size: 0;
    }

    .header-login span {
        font-size: 20px;
    }

    .container {
        width: min(100% - 36px, 1280px);
        padding: 48px 0 68px;
    }

    .site-footer {
        padding: 20px;
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .public-hero {
        min-height: auto;
    }

    .hero-copy h1 {
        font-size: 38px;
        line-height: 1.04;
    }

    .hero-description {
        max-width: 100%;
        font-size: 13px;
    }

    .hero-visual {
        min-height: 330px;
    }

    .qr-frame {
        width: 170px;
        height: 170px;
    }

    .login-intro,
    .auth-panel {
        padding: 38px 28px;
    }

    .login-intro {
        min-height: 390px;
    }

    .login-intro h1 {
        font-size: 37px;
        line-height: 1.04;
    }

    .login-intro > p:not(.eyebrow) {
        font-size: 12px;
    }

    .login-index {
        bottom: 32px;
        left: 28px;
    }

    .page-heading {
        min-height: auto;
        margin-bottom: 36px;
        padding-bottom: 32px;
    }

    .metrics {
        grid-template-columns: 1fr;
    }

    .metrics > div {
        min-height: 92px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .metrics > div:last-child {
        border-bottom: 0;
    }

    .actions {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .button {
        width: 100%;
    }

    .label-workspace {
        padding-top: 28px;
    }

    .label-brand-side {
        padding: 16px;
    }

    .label-divider {
        height: 2px;
        margin: 10px 0;
    }

    .label-metadata {
        grid-template-columns: 1fr;
    }

    .item-search-option {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .selected-item {
        grid-template-columns: 1fr;
    }

    .selected-item p {
        grid-column: 1;
    }

    .print-fields {
        grid-template-columns: 1fr;
    }

    .label-metadata > div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .label-metadata > div:last-child {
        border-bottom: 0;
    }

    .label-actions {
        flex-direction: column;
    }

    .label-actions .button {
        width: 100%;
    }

    .print-dialog form {
        padding: 28px 22px;
    }

    .dialog-actions {
        flex-direction: column-reverse;
    }

    .dialog-actions .button {
        width: 100%;
    }

    .message-page {
        min-height: 500px;
    }
}
