/*
 * Seal: a round seal with the emblem stands at the top left with the kind
 * beneath it, the title beside it, the figures hang as a row of pills, the
 * text takes the rest and the source whispers at the foot. The emblem
 * watermarks the lower right.
 */

.seal-head {
    flex: none;
    display: flex;
    align-items: center;
    gap: 2.2mm;
}

.seal-badge {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4mm;
    width: 4.2em;
    color: var(--card-accent-second);
}

.seal-emblem {
    display: grid;
    place-items: center;
    width: 3em;
    height: 3em;
    padding: 0.6em;
    border: 0.3mm solid var(--card-accent-second);
    border-radius: 50%;
    background: color-mix(in srgb, var(--card-accent-second) 10%, transparent);
    box-shadow:
        inset 0 0 0 0.45mm var(--card-surface),
        inset 0 0 0 0.7mm color-mix(in srgb, var(--card-accent-second) 65%, transparent);
}

.seal-emblem .glyph {
    display: block;
    stroke-width: 1.5;
}

.seal-kind {
    max-width: 100%;
    font-family: var(--card-label-font);
    font-size: 0.52em;
    line-height: 1.1;
    letter-spacing: var(--card-label-spacing);
    text-transform: var(--card-label-transform);
    text-align: center;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.seal-head .print-card-header {
    flex: 1;
    min-width: 0;
}

.seal-pills {
    flex: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7mm;
    margin: 1.3mm 0 0;
    padding: 0;
    list-style: none;
}

.seal-pill {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 0.8mm;
    max-width: 100%;
    min-width: 0;
    padding: 0.2mm 1.5mm 0.3mm;
    border: 0.2mm solid color-mix(in srgb, var(--card-accent-second) 60%, transparent);
    border-radius: 2mm;
    background: color-mix(in srgb, var(--card-accent-second) 8%, transparent);
}

.seal-pill-label {
    font-family: var(--card-label-font);
    font-size: 0.6em;
    letter-spacing: var(--card-label-spacing);
    text-transform: var(--card-label-transform);
    color: var(--card-accent-second);
}

.seal-pill-value {
    min-width: 0;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 0.82em;
    line-height: 1.25;
    color: var(--card-ink);
}

.seal-card .print-card-body {
    margin-top: 1.8mm;
}
