/*
 * COPYRIGHT 2026, SYSCON International
 * NO LICENSE FOR ANY OTHER USE
 *
 * SYSCON Vault styles: SYSCON Sky palette and Noto Sans (served from the vault itself; the Content Security Policy allows no other origin).
 */

@font-face {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/NotoSans-Regular-latin.8f0940722870.woff2") format("woff2");
}

@font-face {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/NotoSans-SemiBold-latin.260245104d5b.woff2") format("woff2");
}

@font-face {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/NotoSans-Bold-latin.7d1a4ca3e7be.woff2") format("woff2");
}

:root {
    --sky-0: #eaf4fa;
    --sky-1: #bce5fa;
    --sky-2: #8cd3f7;
    --sky-5: #007bc4;
    --sky-6: #026596;
    --sky-7: #054c6f;
    --sky-8: #093852;
    --sky-9: #0b2836;
    --white: #ffffff;
    --alert-red: #b42318;
    --alert-red-background: #fef3f2;
    --radius: 8px;
    --page-gutter: 16px;
}

* {
    box-sizing: border-box;
}

html {
    font-family: "Noto Sans", "Barlow Semi Condensed", sans-serif;
    color: var(--sky-9);
    background: var(--sky-0);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    line-height: 1.5;
}

h1,
h2 {
    color: var(--sky-8);
    line-height: 1.25;
}

h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 16px;
}

h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 12px;
}

a {
    color: var(--sky-5);
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px var(--page-gutter);
    background: var(--sky-7);
    color: var(--white);
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-header__logo {
    height: 28px;
    width: auto;
}

.site-header__product {
    font-size: 1.1rem;
    font-weight: 600;
    padding-left: 12px;
    border-left: 1px solid var(--sky-2);
}

.site-header__account {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.page {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px var(--page-gutter) 48px;
}

.page--narrow {
    max-width: 480px;
    padding-top: 10vh;
}

.card {
    background: var(--white);
    border: 1px solid var(--sky-1);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
}

.card__logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    margin-bottom: 24px;
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--sky-7);
}

.empty-state__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.details {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px 24px;
    margin: 0;
}

.details dt {
    font-weight: 600;
    color: var(--sky-7);
}

.details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.badge {
    display: inline-block;
    padding: 2px 10px;
    margin: 0 6px 6px 0;
    border-radius: 999px;
    background: var(--sky-0);
    border: 1px solid var(--sky-1);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sky-7);
}

.button {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid var(--sky-5);
    border-radius: var(--radius);
    background: var(--sky-5);
    color: var(--white);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.button:hover,
.button:focus-visible {
    background: var(--sky-6);
    border-color: var(--sky-6);
}

.button:disabled {
    opacity: 0.6;
    cursor: progress;
}

.button--quiet {
    background: transparent;
    color: var(--sky-5);
}

.button--quiet:hover,
.button--quiet:focus-visible {
    background: var(--sky-0);
    color: var(--sky-6);
}

.button--on-dark {
    background: transparent;
    border-color: var(--sky-2);
    color: var(--white);
    padding: 6px 14px;
}

.button--on-dark:hover,
.button--on-dark:focus-visible {
    background: var(--sky-6);
    border-color: var(--white);
}

.button--wide {
    width: 100%;
    text-align: center;
}

.inline-form {
    display: inline;
    margin: 0;
}

.stacked-actions {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.notice {
    padding: 12px 16px;
    border-radius: var(--radius);
    background: var(--alert-red-background);
    border: 1px solid var(--alert-red);
    color: var(--alert-red);
}

.muted {
    color: var(--sky-7);
    font-size: 0.9rem;
}

.status-line {
    min-height: 1.5em;
    margin: 12px 0 0;
}

@media (max-width: 600px) {
    .details {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .details dd {
        margin-bottom: 10px;
    }

    .card {
        padding: 18px;
    }
}

.site-header__link {
    color: var(--white);
    font-weight: 600;
}

.share-card {
    display: grid;
    gap: 16px;
    justify-items: start;
}

.share-text {
    font-family: ui-monospace, "Noto Sans Mono", monospace;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    line-height: 2;
    overflow-wrap: anywhere;
}

.share-qr svg {
    width: 196px;
    height: auto;
}

textarea {
    font: inherit;
    font-family: ui-monospace, "Noto Sans Mono", monospace;
    padding: 10px;
    border: 1px solid var(--sky-2);
    border-radius: var(--radius);
    width: 100%;
}

@media print {
    .site-header,
    .notice,
    .button {
        display: none;
    }
}
