/* Visual source: WordPress certificate-experience, page 3413, captured 2026-09-27. */
/* Adapted directly from approved Concept A; shadow-root scoped. */
@import url('./record-typography.css');

:host {
    --navy: #18365d;
    --navy-deep: #0d2850;
    --royal: #1b92fa;
    --royal-light: #317bea;
    --ink: #2b3550;
    --muted: #6b7490;
    --line: #e3e7ef;
    --panel: #fff;
    --pass-text: #2f9e5b;
    --pass-strong: #1f7a44;
    --pass-border: #8ecfa6;
    --pass-bg: #f1faf4;
    --fail-text: #c0394a;
    --fail-strong: #a02636;
    --fail-border: #e3a0a8;
    --fail-bg: #fdf2f3;
    --warn-text: #8a6212;
    --warn-border: #e6c98a;
    --warn-bg: #fdf8ec;
    --font-title: 'Bebas Neue', Arial, sans-serif;
    --font-heading: 'Oswald', Arial, sans-serif;
    --font-body: 'Mulish', 'Segoe UI', Arial, sans-serif;
    --font-site-title: 'Inter', 'Segoe UI', Arial, sans-serif;
    --font-code: 'OCR A', ui-monospace, monospace;
    --radius: 12px;
    --shell: 64.5rem;
}
* {
    box-sizing: border-box;
}
:host {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}
a {
    color: var(--royal);
}
:focus-visible {
    outline: 3px solid var(--royal-light);
    outline-offset: 2px;
    border-radius: 4px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.shell {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 1rem;
}

/* preview ribbon — says, before anything else, that this is a mockup */
.preview-ribbon {
    background: #fff4d6;
    color: #6b4a06;
    border-bottom: 1px solid #ecd28f;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    padding: 0.4rem 1rem;
    letter-spacing: 0.01em;
}
.preview-ribbon b {
    font-family: var(--font-heading);
    letter-spacing: 0.12em;
    margin-right: 0.35rem;
}

/* app bar */
.appbar {
    background: var(--navy-deep);
    color: #fff;
}
.appbar-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.appbar img.logo {
    height: 2.125rem;
    display: block;
    filter: brightness(0) invert(1);
}
.appbar nav {
    margin-left: auto;
    display: flex;
    gap: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
}
.appbar nav a {
    color: #b9c3ee;
    text-decoration: none;
}
.appbar nav a[aria-current] {
    color: #fff;
    box-shadow: inset 0 -2px 0 #6f8cff;
    padding-bottom: 0.2rem;
}

/* The lookup is one certificate surface, including its heading and form. */
.certificate-stage {
    padding: 1rem 1rem 0;
    background: linear-gradient(#0d3d74 0 5.5rem, #fff 5.5rem 100%) no-repeat;
}
.certificate-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    max-width: var(--shell);
    margin: 0 auto;
    padding: clamp(1.25rem, 2vw, 2rem);
    border: 1px solid #b8d0e8;
    border-radius: 1.125rem;
    background: #fff;
    box-shadow: 0 16px 42px rgba(17, 54, 99, 0.1);
}
.certificate-heading {
    display: grid;
    grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
    align-items: center;
    gap: clamp(0.875rem, 2vw, 1.5rem);
}
.certificate-logo {
    display: block;
    width: min(100%, 16rem);
    height: auto;
}
.certificate-heading-copy {
    min-width: 0;
    padding-left: clamp(0.875rem, 1.5vw, 1.5rem);
    border-left: 2px solid #1d3f79;
}
.certificate-heading h1 {
    margin: 0;
    color: #142b58;
    font: 400 clamp(2.5rem, 4.3vw, 4.65rem)/0.96 var(--font-title);
    letter-spacing: 0.035em;
    text-transform: uppercase;
}
.certificate-heading p {
    margin: 0.5rem 0 0;
    color: #1f4ba7;
    font: 600 clamp(0.75rem, 1.15vw, 1.1rem)/1.25 var(--font-heading);
    letter-spacing: 0.32em;
    text-transform: uppercase;
}
.eyebrow {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--royal);
    margin: 0 0 0.25rem;
}

/* The existing input and submit behavior stay inside the new panel. */
.verify-card {
    position: relative;
    margin-top: clamp(1rem, 2vw, 1.5rem);
    background: #fff;
    border: 1px solid #d6e4f1;
    border-radius: 1rem;
    box-shadow: none;
    padding: clamp(1rem, 1.5vw, 1.25rem);
}
.verify-card .card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.verify-card label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
}
.demo-tag {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b4a06;
    background: #fff4d6;
    border: 1px solid #ecd28f;
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    white-space: nowrap;
}
.field-row {
    display: flex;
    gap: 0.75rem;
}
.code-input {
    flex: 1;
    min-width: 0;
    font-family: var(--font-code);
    font-size: clamp(1.125rem, 1.8vw, 1.5rem);
    letter-spacing: 0.08em;
    color: var(--navy);
    text-transform: uppercase;
    border: 1.5px solid #cfd6e6;
    border-radius: 10px;
    padding: 0.55rem 0.875rem;
    background: #fff;
}
.code-input::placeholder {
    color: #b3bbd2;
}
.code-input:focus {
    outline: none;
    border-color: var(--royal-light);
    box-shadow: 0 0 0 4px rgba(27, 146, 250, 0.16);
    background: #fff;
}
.code-input[aria-invalid='true'] {
    border-color: var(--fail-border);
}
.btn-verify {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #fff;
    background: linear-gradient(120deg, #286ee9, #0d43c5);
    border: 0;
    border-radius: 0.75rem;
    padding: 0 1.25rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-verify:hover {
    background: var(--royal-light);
}
.btn-verify svg {
    width: 1.1rem;
    height: 1.1rem;
}
.helper {
    margin: 0.625rem 0 0;
    font-size: 0.8125rem;
    color: var(--muted);
}
.helper.error {
    color: var(--fail-text);
    font-weight: 700;
}
.result-shell {
    padding-top: 1rem;
}
.try {
    margin-top: 0.875rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted);
}
.try-label {
    flex-basis: 100%;
}
.try button {
    font: inherit;
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--navy);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    cursor: pointer;
}
.try button span {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--muted);
    margin-left: 0.25rem;
}
.try button:hover {
    border-color: #b8c3e6;
}

/* result area */
.result {
    margin: 1rem 0 3rem;
}
.result[hidden] {
    display: none;
}
.checking {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1.25rem;
    color: var(--muted);
    font-weight: 700;
}
.spinner {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    border: 2.5px solid #d5dbef;
    border-top-color: var(--royal);
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

/* Certificate authenticity is separate from each reported analysis status. */
.auth {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    border-radius: var(--radius);
    border: 1px solid var(--pass-border);
    background: var(--pass-bg);
}
.auth .badge {
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #2f9e5b;
    color: #fff;
}
.auth .badge svg {
    width: 1.35rem;
    height: 1.35rem;
}
.auth .said {
    min-width: 0;
    flex: 1;
}
.auth h2 {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--pass-strong);
    line-height: 1.25;
}
.auth p {
    margin: 0.125rem 0 0;
    font-size: 0.8125rem;
    color: #3f6b52;
}
.auth .code {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    text-align: right;
}
.auth .code span {
    font-family: var(--font-code);
    font-size: 0.9375rem;
    color: var(--navy);
    overflow-wrap: anywhere;
}
.auth-seal {
    display: block;
    flex: none;
    width: 3.25rem;
    height: 3.25rem;
    object-fit: contain;
}
.auth.missing {
    border-color: var(--warn-border);
    background: var(--warn-bg);
}
.auth.missing .badge {
    background: #c4912b;
}
.auth.missing h2 {
    color: var(--warn-text);
}
.auth.missing p {
    color: #7a6333;
}
.auth.missing.pending {
    border-color: var(--line);
    background: var(--panel);
}
.auth.missing.pending .badge {
    background: var(--muted);
}
.auth.missing.pending h2 {
    color: var(--ink);
}
.auth.missing.pending p {
    color: var(--muted);
}

.sample {
    --document-braid-h: url('./assets/ee814d2d902108b2.svg');
    --document-braid-v: url('./assets/b1646a3e743240ec.svg');
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 1rem;
    padding: 1.5rem;
    border: 2px solid #15543a;
    background-color: #fff;
    background-image:
        var(--document-braid-h), var(--document-braid-h), var(--document-braid-v),
        var(--document-braid-v);
    background-size:
        48px 11px,
        48px 11px,
        11px 48px,
        11px 48px;
    background-position:
        left 1px top 1px,
        left 1px bottom 1px,
        left 1px top 1px,
        right 1px top 1px;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
}
.sample-frame {
    position: absolute;
    inset: 0.75rem;
    z-index: 2;
    border: 1px solid #8eae9e;
    border-radius: 4px;
    pointer-events: none;
}
.sample::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        112deg,
        #f5d8bc 0%,
        #f0dce9 18%,
        #d4dffa 37%,
        #d9f3ef 53%,
        #f5e6cb 71%,
        #f2dbea 87%,
        #d7e9f5 100%
    );
    -webkit-mask: url('./assets/8c41ea303deef19c.svg') 0 0 / auto 13rem repeat;
    mask: url('./assets/8c41ea303deef19c.svg') 0 0 / auto 13rem repeat;
    opacity: 0.28;
    pointer-events: none;
}
.sample::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: min(92%, 47rem);
    aspect-ratio: 1;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    background: url('./assets/a4c645f27ffd1b02.webp') center / contain no-repeat;
    opacity: 0.04;
    pointer-events: none;
}
.sample-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.sample .eyebrow {
    color: var(--royal);
    margin-bottom: 0.125rem;
}
.sample h3 {
    margin: 0;
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 2.375rem;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--navy);
}
.sample .meta {
    margin-top: 0.375rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.125rem;
    font-size: 0.8125rem;
    color: var(--muted);
}
.sample .meta b {
    color: var(--ink);
}
.lenses {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.625rem;
}
.lens {
    --wave-wash: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.8rem 0.875rem 0.75rem;
    background-color: #fff;
    background-image:
        linear-gradient(var(--wave-wash), var(--wave-wash)), url('./assets/c3a973621ce2d812.svg');
    background-size:
        auto,
        240px 120px;
    position: relative;
}
.lens.fail {
    --wave-wash: rgba(253, 242, 243, 0.5);
    background-color: var(--fail-bg);
    border-color: var(--fail-border);
}
.lens .l-label {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--royal);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding-right: 6rem;
    overflow-wrap: anywhere;
}
.lens .l-label svg {
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
}
.lens .l-big {
    font-family: var(--font-title);
    font-size: 1.875rem;
    line-height: 1;
    color: var(--navy);
    letter-spacing: 0.02em;
    margin-top: 0.3rem;
    overflow-wrap: anywhere;
}
.lens.fail .l-big {
    color: var(--fail-strong);
}
.lens .l-sub {
    font-size: 0.6875rem;
    color: var(--muted);
    margin-top: 0.3rem;
}
.lens .pill {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-heading);
    font-size: 0.6563rem;
    letter-spacing: 0.1em;
    border-radius: 999px;
    padding: 0.1875rem 0.625rem;
    border: 1px solid var(--pass-border);
    color: var(--pass-text);
    background: var(--pass-bg);
    white-space: nowrap;
}
.pill.fail {
    border-color: var(--fail-border);
    color: var(--fail-text);
    background: var(--fail-bg);
}

.block-head {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
    margin: 1.5rem 0 0.625rem;
}
.block-head h4 {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
}
.block-head .rule {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    margin-top: 1rem;
}
.note {
    display: flex;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
    color: var(--muted);
}
.note svg {
    width: 1.125rem;
    height: 1.125rem;
    flex: none;
    color: var(--royal);
    margin-top: 0.1rem;
}
.note b {
    color: var(--ink);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 1rem;
    align-items: center;
}
.btn-ghost {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    background: #fff;
    border: 1px solid #cfd6e6;
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    cursor: not-allowed;
    opacity: 0.75;
}
.actions small {
    font-size: 0.75rem;
    color: var(--muted);
}

.missing-help {
    margin-top: 1rem;
    padding: 1.125rem 1.25rem;
}
.missing-help ol {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    color: var(--ink);
    font-size: 0.875rem;
}
.missing-help li + li {
    margin-top: 0.25rem;
}
.missing-help h3 {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--navy);
}

footer {
    background: var(--navy-deep);
    color: #9aa6d8;
    font-size: 0.75rem;
    padding: 1.5rem 0 2rem;
}
footer .shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
}
footer img {
    height: 1.25rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
footer p {
    margin: 0;
    flex: 1;
    min-width: 16rem;
}

@media (prefers-reduced-motion: no-preference) {
    .result > * {
        animation: rise 0.4s ease both;
    }
    .result > *:nth-child(2) {
        animation-delay: 0.05s;
    }
    .result > *:nth-child(3) {
        animation-delay: 0.1s;
    }
}
@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@container (max-width: 60rem) {
    .certificate-heading {
        grid-template-columns: minmax(0, 1fr);
    }
    .certificate-heading-copy {
        grid-column: 1 / -1;
        grid-row: 2;
    }
    .certificate-logo {
        max-width: 15rem;
    }
}

/* phone */
@container (max-width: 40rem) {
    .appbar nav a:not([aria-current]) {
        display: none;
    }
    .appbar img.logo {
        height: 1.875rem;
    }
    .certificate-stage {
        padding: 0.625rem 0.625rem 0;
    }
    .certificate-panel {
        padding: 0.875rem;
        border-radius: 1rem;
    }
    .certificate-heading {
        gap: 0.625rem;
    }
    .certificate-logo {
        max-width: 9.5rem;
    }
    .certificate-heading-copy {
        padding-left: 0.8rem;
    }
    .certificate-heading h1 {
        font-size: clamp(1.875rem, 8cqw, 2.5rem);
    }
    .certificate-heading p {
        font-size: 0.6875rem;
        letter-spacing: 0.13em;
    }
    .verify-card {
        margin-top: 0.875rem;
        padding: 0.875rem;
    }
    .field-row {
        flex-direction: column;
    }
    .code-input {
        font-size: 1.125rem;
        text-align: center;
    }
    .btn-verify {
        justify-content: center;
        min-height: 2.75rem;
        padding: 0.7rem 1rem;
    }
    .auth:not(.missing) {
        display: grid;
        grid-template-columns: 2.5rem minmax(0, 1fr) 3.25rem;
    }
    .auth:not(.missing) .badge {
        grid-column: 1;
        grid-row: 1;
    }
    .auth:not(.missing) .said {
        grid-column: 2 / -1;
        grid-row: 1;
    }
    .auth:not(.missing) .code {
        grid-column: 1 / 3;
        grid-row: 2;
        min-width: 0;
        text-align: left;
        padding-left: 0;
        margin-top: 0;
    }
    .auth-seal {
        grid-column: 3;
        grid-row: 2;
        margin-left: auto;
    }
    .sample {
        padding: 1rem;
        border-width: 1px;
        background-size:
            30px 7px,
            30px 7px,
            7px 30px,
            7px 30px;
        background-position:
            left top,
            left bottom,
            left top,
            right top;
    }
    .sample-frame {
        inset: 0.5rem;
    }
    .sample h3 {
        font-size: 2rem;
    }
    .lenses {
        grid-template-columns: 1fr;
    }
    .lens {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        column-gap: 0.75rem;
    }
    .lens .l-label {
        grid-column: 1;
        padding-right: 0;
    }
    .lens .l-big {
        grid-column: 1;
    }
    .lens .l-sub {
        grid-column: 1;
    }
    .lens .pill {
        position: static;
        grid-column: 2;
        grid-row: 1 / span 3;
    }
    .notes {
        grid-template-columns: 1fr;
    }
    footer .shell {
        flex-direction: column;
        align-items: flex-start;
    }
    footer p {
        min-width: 0;
    }
}

/* The parent iframe supplies the full page width. */
:host {
    display: block;
    width: 100%;
    padding-bottom: 2.5rem;
    container-type: inline-size;
}
.pill.tested {
    border-color: var(--pass-border);
    color: var(--pass-text);
    background: var(--pass-bg);
}

:host(.one-screen) {
    display: block;
    width: 100%;
    padding-bottom: 0;
    background: #fff;
}
:host(.one-screen) .certificate-stage {
    padding: 0.45rem 0.6rem 0;
    background: linear-gradient(#0d3d74 0 0.7rem, #fff 0.7rem);
}
:host(.one-screen) .certificate-panel {
    padding: 0.62rem 0.75rem;
    border-radius: 0.8rem;
    box-shadow: none;
}
:host(.one-screen) .certificate-heading {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
:host(.one-screen) .certificate-logo {
    width: 6.5rem;
    max-width: 6.5rem;
    flex: none;
}
:host(.one-screen) .certificate-heading-copy {
    grid-column: auto;
    grid-row: auto;
    padding-left: 0.65rem;
    border-left: 2px solid #1d3f79;
}
:host(.one-screen) .certificate-heading h1 {
    font-size: 1.36rem;
    line-height: 1;
    white-space: nowrap;
}
:host(.one-screen) .certificate-heading p {
    margin-top: 0.2rem;
    font-size: 0.52rem;
    line-height: 1.1;
    letter-spacing: 0.14em;
}
:host(.one-screen) .verify-card {
    display: block;
    margin: 0.42rem 0 0;
    padding: 0.42rem 0.5rem;
    border-radius: 0.6rem;
}
:host(.one-screen) .verify-card .card-top {
    margin-bottom: 0.18rem;
}
:host(.one-screen) .verify-card label {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
}
:host(.one-screen) .field-row {
    display: flex;
    flex-direction: row;
    gap: 0.35rem;
}
:host(.one-screen) .code-input {
    min-height: 2.15rem;
    padding: 0.35rem 0.45rem;
    text-align: left;
    font-size: 0.81rem;
    letter-spacing: 0.025em;
}
:host(.one-screen) .btn-verify {
    flex: none;
    min-height: 2.15rem;
    padding: 0.3rem 0.55rem;
    font-size: 0.7rem;
}
:host(.one-screen) .btn-verify svg {
    width: 0.95rem;
    height: 0.95rem;
}
:host(.one-screen) .helper {
    display: none;
}
:host(.one-screen) .result-shell {
    padding: 0.45rem 0.6rem 0;
}
:host(.one-screen) .result {
    margin: 0;
}
:host(.one-screen) .auth:not(.missing) {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
}
:host(.one-screen) .auth .badge {
    width: 2rem;
    height: 2rem;
}
:host(.one-screen) .auth .badge svg {
    width: 1.1rem;
    height: 1.1rem;
}
:host(.one-screen) .auth .said {
    min-width: 0;
    flex: 1;
}
:host(.one-screen) .auth h2 {
    font-size: 0.91rem;
}
:host(.one-screen) .auth p {
    display: none;
}
:host(.one-screen) .auth .code {
    display: none;
}
:host(.one-screen) .auth-seal {
    width: 2rem;
    height: 2rem;
    margin: 0;
}
:host(.one-screen) .sample {
    display: flex;
    flex-direction: column;
    margin-top: 0.45rem;
    padding: 1rem 1rem 0.85rem;
}
:host(.one-screen) .sample h3 {
    font-size: 2.12rem;
    line-height: 0.98;
}
:host(.one-screen) .sample .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.15rem;
}
:host(.one-screen) .sample .meta {
    margin-top: 0.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem 0.45rem;
    font-size: 0.72rem;
    line-height: 1.3;
}
:host(.one-screen) .sample .meta span:nth-child(2) {
    display: none;
}
:host(.one-screen) .block-head {
    margin: 1rem 0 0.5rem;
}
:host(.one-screen) .block-head h4 {
    font-size: 0.72rem;
    letter-spacing: 0.13em;
}
:host(.one-screen) .lenses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}
:host(.one-screen) .lens {
    display: block;
    min-width: 0;
    min-height: 5.35rem;
    padding: 0.55rem 0.65rem;
    border-radius: 6px;
}
:host(.one-screen) .lens:first-child {
    grid-column: 1/-1;
    min-height: 5rem;
}
:host(.one-screen) .lens .l-label {
    display: block;
    padding: 0;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    line-height: 1.1;
    white-space: nowrap;
}
:host(.one-screen) .lens .l-label svg {
    display: none;
}
:host(.one-screen) .lens .l-big {
    font-size: 1.58rem;
    margin-top: 0.56rem;
    white-space: nowrap;
}
:host(.one-screen) .notes,
:host(.one-screen) .actions {
    display: none;
}

:host(.one-screen) .summary-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding-top: 0.6rem;
    border-top: 1px solid #d8e5dc;
}
:host(.one-screen) .summary-uid {
    font-family: var(--font-code);
    font-size: 0.69rem;
    color: var(--navy);
    white-space: nowrap;
}
:host(.one-screen) .summary-open {
    border: 0;
    background: #174f9f;
    color: #fff;
    border-radius: 6px;
    padding: 0.48rem 0.58rem;
    font: 700 0.68rem var(--font-body);
    cursor: pointer;
    white-space: nowrap;
}
:host(.one-screen) .full-record {
    width: min(92vw, 430px);
    max-height: 80vh;
    padding: 1rem;
    border: 1px solid #b8d0e8;
    border-radius: 12px;
    box-shadow: 0 20px 60px #11244845;
}
:host(.one-screen) .full-record::backdrop {
    background: #0e254dcc;
}
:host(.one-screen) .full-record h2 {
    margin: 0 0 0.75rem;
    color: var(--navy);
    font: 400 1.65rem var(--font-title);
}
:host(.one-screen) .full-record .lenses {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}
:host(.one-screen) .full-record .lens,
:host(.one-screen) .full-record .lens:nth-child(n + 4) {
    display: block;
    min-height: auto;
    padding: 0.7rem;
}
:host(.one-screen) .full-record .lens .l-label {
    display: flex;
    font-size: 0.68rem;
}
:host(.one-screen) .full-record .lens .l-label svg {
    display: block;
}
:host(.one-screen) .full-record .lens .l-big {
    font-size: 1.65rem;
    white-space: normal;
}
:host(.one-screen) .full-record .lens .l-sub {
    display: block;
}
:host(.one-screen) .full-record .lens .pill {
    display: inline-flex;
}
:host(.one-screen) .full-record .close-full {
    float: right;
    border: 0;
    background: #edf3fb;
    color: var(--navy);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font: 700 0.75rem var(--font-body);
    cursor: pointer;
}

/* Outline cleanup proposal. Original pattern image data and logo remain in the base mockup. */
:host(.one-screen) {
    color: #213453;
}
:host(.one-screen) .certificate-stage,
:host(.one-screen) .result-shell {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
}
:host(.one-screen) .certificate-stage {
    padding-top: 0.42rem;
    background: linear-gradient(#153f74 0 4px, #fff 4px 100%);
}
:host(.one-screen) .certificate-panel {
    padding: 0.45rem 0.45rem 0.72rem;
    border: 0;
    border-bottom: 1px solid #d8e3ef;
    border-radius: 0;
    overflow: visible;
}
:host(.one-screen) .certificate-heading {
    gap: 0.67rem;
}
:host(.one-screen) .certificate-logo {
    width: 6.45rem;
    max-width: 6.45rem;
}
:host(.one-screen) .certificate-heading-copy {
    padding-left: 0.6rem;
    border-left-width: 2px;
}
:host(.one-screen) .certificate-heading h1 {
    font-size: 1.31rem;
    letter-spacing: 0.025em;
}
:host(.one-screen) .certificate-heading p {
    margin-top: 0.18rem;
    font-size: 0.5rem;
    letter-spacing: 0.13em;
}
:host(.one-screen) .verify-card {
    margin: 0.56rem 0 0;
    padding: 0.47rem 0 0;
    border: 0;
    border-top: 1px solid #d8e3ef;
    border-radius: 0;
}
:host(.one-screen) .verify-card .card-top {
    margin-bottom: 0.18rem;
}
:host(.one-screen) .verify-card label {
    font-size: 0.58rem;
}
:host(.one-screen) .code-input {
    min-width: 0;
    min-height: 2.38rem;
    padding: 0.42rem 0.55rem;
    font-size: 0.85rem;
    border-radius: 0.46rem;
}
:host(.one-screen) .btn-verify {
    min-height: 2.38rem;
    padding: 0.38rem 0.7rem;
    border-radius: 0.46rem;
    font-size: 0.74rem;
}
:host(.one-screen) .result-shell {
    padding-top: 0.62rem;
}
:host(.one-screen) .auth:not(.missing) {
    padding: 0.56rem 0.7rem;
    gap: 0.62rem;
    border-radius: 0.58rem;
    background: #f5fcf8;
}
:host(.one-screen) .auth .badge {
    width: 1.85rem;
    height: 1.85rem;
}
:host(.one-screen) .auth h2 {
    font-size: 0.91rem;
    letter-spacing: -0.01em;
}
:host(.one-screen) .auth-seal {
    width: 1.95rem;
    height: 1.95rem;
}
:host(.one-screen) .sample {
    margin-top: 0.58rem;
    padding: 1.04rem 0.88rem 0.82rem;
}
:host(.one-screen) .sample-frame {
    inset: 0.52rem;
}
:host(.one-screen) .sample .eyebrow {
    font-size: 0.62rem;
    margin-bottom: 0.15rem;
}
:host(.one-screen) .sample h3 {
    font-size: 1.96rem;
    line-height: 1.02;
    letter-spacing: 0.008em;
}
:host(.one-screen) .sample .meta {
    margin-top: 0.32rem;
    font-size: 0.7rem;
    line-height: 1.28;
}
:host(.one-screen) .block-head {
    margin: 0.81rem 0 0.43rem;
}
:host(.one-screen) .lenses {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.38rem;
}
:host(.one-screen) .lens,
:host(.one-screen) .lens:first-child {
    grid-column: auto;
    min-height: 5.3rem;
    padding: 0.46rem 0.46rem 0.45rem;
    border-radius: 0.42rem;
}
:host(.one-screen) .lens .l-label {
    white-space: normal;
    font-size: 0.57rem;
    letter-spacing: 0.055em;
    line-height: 1.06;
}
:host(.one-screen) .lens .l-big {
    margin-top: 0.67rem;
    font-size: 1.24rem;
    line-height: 1.04;
    white-space: normal;
    overflow-wrap: normal;
}
:host(.one-screen) .lens:first-child .l-big {
    font-size: 1.18rem;
}

:host(.one-screen) .summary-footer {
    margin-top: 0.55rem;
    padding-top: 0.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.36rem;
}
:host(.one-screen) .summary-uid {
    font-size: 0.64rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
}
:host(.one-screen) .summary-open {
    display: block;
    width: 100%;
    min-height: 2.15rem;
    padding: 0.38rem 0.65rem;
    border-radius: 0.43rem;
    font-size: 0.73rem;
    text-align: center;
}
@container (max-width: 22rem) {
    :host(.one-screen) .sample h3 {
        font-size: 1.74rem;
    }
    :host(.one-screen) .lens .l-big {
        font-size: 1.08rem;
    }
    :host(.one-screen) .lens:first-child .l-big {
        font-size: 1rem;
    }
}

:host(.one-screen) .summary-footer {
    display: block;
    margin-top: 0.48rem;
    padding-top: 0.42rem;
    border-top: 1px solid #d8e5dc;
}
:host(.one-screen) .uid-line {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.4rem;
}
:host(.one-screen) .uid-caption {
    color: #577269;
    font: 700 0.54rem var(--font-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}
:host(.one-screen) .summary-uid {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    text-align: center;
}
:host(.one-screen) .uid-barcode {
    display: block;
    margin: 0.22rem 0 0;
    background: transparent;
    color: var(--navy);
    line-height: 0;
}
:host(.one-screen) .uid-barcode svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}
:host(.one-screen) .record-action {
    margin: 0.38rem 0 0;
}
:host(.one-screen) .record-action .summary-open {
    min-height: 2.1rem;
    background: #174f9f;
}
@container (max-width:22rem) {
    :host(.one-screen) .sample {
        padding-top: 0.85rem;
        padding-bottom: 0.68rem;
    }
    :host(.one-screen) .block-head {
        margin-top: 0.58rem;
    }
    :host(.one-screen) .lens,
    :host(.one-screen) .lens:first-child {
        min-height: 4.6rem;
    }
    :host(.one-screen) .summary-footer {
        margin-top: 0.38rem;
        padding-top: 0.32rem;
    }
}

@container (min-width: 50rem) {
    :host(.one-screen) .certificate-stage,
    :host(.one-screen) .result-shell {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    :host(.one-screen) .certificate-stage {
        padding-top: 1rem;
        background: linear-gradient(#153f74 0 7px, #fff 7px 100%);
    }
    :host(.one-screen) .certificate-panel {
        padding: 1rem 1.1rem 1.35rem;
    }
    :host(.one-screen) .certificate-heading {
        display: flex;
        align-items: center;
        gap: 2.1rem;
    }
    :host(.one-screen) .certificate-logo {
        width: 15rem;
        max-width: 15rem;
    }
    :host(.one-screen) .certificate-heading-copy {
        padding-left: 1.45rem;
    }
    :host(.one-screen) .certificate-heading h1 {
        font-size: 3.35rem;
        line-height: 0.95;
    }
    :host(.one-screen) .certificate-heading p {
        margin-top: 0.42rem;
        font-size: 0.82rem;
        letter-spacing: 0.18em;
    }
    :host(.one-screen) .verify-card {
        margin-top: 1.25rem;
        padding-top: 1.1rem;
    }
    :host(.one-screen) .verify-card .card-top {
        margin-bottom: 0.45rem;
    }
    :host(.one-screen) .verify-card label {
        font-size: 0.75rem;
        letter-spacing: 0.14em;
    }
    :host(.one-screen) .field-row {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
    }
    :host(.one-screen) .code-input {
        min-height: 3.2rem;
        padding: 0.6rem 0.85rem;
        text-align: left;
        font-size: 1.12rem;
    }
    :host(.one-screen) .btn-verify {
        min-width: 8.2rem;
        min-height: 3.2rem;
        font-size: 0.95rem;
    }
    :host(.one-screen) .result-shell {
        padding-top: 1.1rem;
    }
    :host(.one-screen) .auth:not(.missing) {
        padding: 0.8rem 1.1rem;
        gap: 0.9rem;
    }
    :host(.one-screen) .auth .badge {
        width: 2.5rem;
        height: 2.5rem;
    }
    :host(.one-screen) .auth h2 {
        font-size: 1.12rem;
    }
    :host(.one-screen) .auth p {
        display: block;
        font-size: 0.84rem;
    }
    :host(.one-screen) .auth-seal {
        width: 2.35rem;
        height: 2.35rem;
    }
    :host(.one-screen) .sample {
        margin-top: 1rem;
        padding: 1.75rem 1.7rem 1.25rem;
    }
    :host(.one-screen) .sample-frame {
        inset: 0.72rem;
    }
    :host(.one-screen) .sample .eyebrow {
        font-size: 0.81rem;
    }
    :host(.one-screen) .sample h3 {
        font-size: 2.8rem;
    }
    :host(.one-screen) .sample .meta {
        margin-top: 0.5rem;
        font-size: 0.9rem;
        gap: 0.4rem 1.25rem;
    }
    :host(.one-screen) .block-head {
        margin: 1.5rem 0 0.65rem;
    }
    :host(.one-screen) .block-head h4 {
        font-size: 0.85rem;
    }
    :host(.one-screen) .lenses {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.7rem;
    }
    :host(.one-screen) .lens,
    :host(.one-screen) .lens:first-child {
        min-height: 7.4rem;
        padding: 0.9rem 1rem;
    }
    :host(.one-screen) .lens .l-label {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }
    :host(.one-screen) .lens .l-big,
    :host(.one-screen) .lens:first-child .l-big {
        margin-top: 1.25rem;
        font-size: 1.9rem;
    }

    :host(.one-screen) .summary-footer {
        display: flex;
        flex-direction: row;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        margin: 0.95rem 0 0;
        padding-top: 0.6rem;
    }
    :host(.one-screen) .uid-line {
        order: 2;
        flex: 1;
        justify-content: flex-end;
    }
    :host(.one-screen) .uid-caption {
        font-size: 0.65rem;
    }
    :host(.one-screen) .summary-uid {
        font-size: 0.85rem;
        text-align: right;
    }
    :host(.one-screen) .uid-barcode {
        order: 1;
        flex: 0 0 21rem;
        width: 21rem;
        margin: 0;
    }
    :host(.one-screen) .record-action {
        display: flex;
        justify-content: flex-end;
        margin-top: 0.8rem;
    }
    :host(.one-screen) .record-action .summary-open {
        width: 16rem;
        min-height: 2.7rem;
        font-size: 0.85rem;
    }
    :host(.one-screen) .full-record {
        width: min(90vw, 760px);
        max-height: 82vh;
    }
    :host(.one-screen) .full-record .lenses {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

:host(.one-screen) .document-letterhead {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.5rem;
    padding: 0 0 0.42rem;
    border-bottom: 1px solid #9dbbab;
}
:host(.one-screen) .document-logo {
    display: block;
    width: 5.15rem;
    max-width: 31%;
    height: auto;
    flex: none;
}
:host(.one-screen) .document-title {
    min-width: 0;
    margin-left: auto;
    color: var(--navy);
    text-align: right;
}
:host(.one-screen) .document-kicker {
    display: block;
    font: 700 0.48rem/1.2 var(--font-heading);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}
:host(.one-screen) .document-name {
    display: block;
    margin-top: 0.13rem;
    font: 400 1.04rem/1 var(--font-title);
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
}
@container (max-width:22rem) {
    :host(.one-screen) .document-letterhead {
        margin-bottom: 0.32rem;
        padding-bottom: 0.3rem;
    }
    :host(.one-screen) .document-logo {
        width: 4.45rem;
    }
    :host(.one-screen) .document-kicker {
        font-size: 0.43rem;
        letter-spacing: 0.09em;
    }
    :host(.one-screen) .document-name {
        font-size: 0.91rem;
    }
    :host(.one-screen) .sample {
        padding-top: 0.65rem;
        padding-bottom: 0.5rem;
    }
    :host(.one-screen) .sample .eyebrow {
        margin-bottom: 0.08rem;
    }
    :host(.one-screen) .sample h3 {
        font-size: 1.6rem;
    }
    :host(.one-screen) .sample .meta {
        line-height: 1.15;
    }
    :host(.one-screen) .block-head {
        margin: 0.32rem 0 0.3rem;
    }
    :host(.one-screen) .lens,
    :host(.one-screen) .lens:first-child {
        min-height: 3.85rem;
    }

    :host(.one-screen) .summary-footer {
        margin-top: 0.25rem;
        padding-top: 0.22rem;
    }
    :host(.one-screen) .record-action {
        margin-top: 0.25rem;
    }
}
@container (min-width:50rem) {
    :host(.one-screen) .document-letterhead {
        gap: 1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    :host(.one-screen) .document-logo {
        width: 11rem;
        max-width: none;
    }
    :host(.one-screen) .document-kicker {
        font-size: 0.7rem;
        letter-spacing: 0.18em;
    }
    :host(.one-screen) .document-name {
        margin-top: 0.28rem;
        font-size: 2rem;
    }
}

:host(.one-screen) .footer-seal {
    display: none;
}
@container (min-width:50rem) {
    :host(.one-screen) .auth:not(.missing) .auth-seal {
        display: none;
    }
    :host(.one-screen) .auth .code {
        display: block;
        flex: none;
        white-space: nowrap;
    }
    :host(.one-screen) .uid-line {
        align-items: center;
        gap: 0.6rem;
    }
    :host(.one-screen) .footer-seal {
        display: block;
        flex: none;
        width: 2.35rem;
        height: 2.35rem;
        object-fit: contain;
    }
}

:host(.one-screen) .sample-photo {
    display: none;
}
@container (min-width:50rem) {
    :host(.one-screen) .sample-head {
        align-items: center;
        flex-wrap: nowrap;
        min-height: 7.3rem;
    }
    :host(.one-screen) .sample-head > div:first-child {
        flex: 1;
        min-width: 0;
    }
    :host(.one-screen) .sample .eyebrow {
        display: none;
    }
    :host(.one-screen) .sample-photo {
        display: flex;
        flex: none;
        align-items: center;
        justify-content: center;
        width: 7.8rem;
        height: 7.8rem;
        margin: 0;
        overflow: hidden;
        background: #fff;
        border: 1px solid #c9d8e6;
        border-radius: 4px;
        box-sizing: border-box;
    }
    :host(.one-screen) .sample-photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

@container (max-width:30rem) {
    :host(.one-screen) .sample .lenses {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@container (min-width:50rem) {
    :host(.one-screen) .document-name {
        font-size: 1.7rem;
        letter-spacing: 0;
    }
    :host(.one-screen) .document-kicker {
        font-size: 0.63rem;
        letter-spacing: 0.1em;
    }
    :host(.one-screen) .sample h3 {
        font-size: 2rem;
        line-height: 1.12;
        letter-spacing: 0;
    }
    :host(.one-screen) .lens .l-big,
    :host(.one-screen) .lens:first-child .l-big {
        font-size: 1.5rem;
    }
}

@container (min-width:50rem) {
    :host(.one-screen) .sample .lenses .lens .l-sub {
        display: block;
        margin-top: 0.42rem;
        color: #52677f;
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

:host(.one-screen) .summary-lens-icon {
    display: none;
}
@container (min-width:50rem) {
    :host(.one-screen) .sample .lenses .lens .l-label {
        display: flex;
        align-items: center;
        gap: 0.45rem;
    }
    :host(.one-screen) .sample .lenses .lens .l-label svg.summary-lens-icon {
        display: block;
        flex: none;
        width: 1.1rem;
        height: 1.1rem;
    }
}

@container (max-width:49.999rem) {
    :host(.one-screen) .sample .meta {
        display: block;
    }
    :host(.one-screen) .sample .meta > span:first-child,
    :host(.one-screen) .sample .meta > span:nth-child(3) {
        display: block;
    }
}
@container (min-width:50rem) {
    :host(.one-screen) .sample .meta {
        display: grid;
        grid-template-columns: max-content max-content;
        gap: 0.25rem 1.25rem;
        align-items: baseline;
    }
    :host(.one-screen) .sample .meta span:nth-child(1) {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    :host(.one-screen) .sample .meta span:nth-child(2) {
        display: block;
        grid-column: 1;
        grid-row: 2;
        white-space: nowrap;
    }
    :host(.one-screen) .sample .meta span:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }
}

@container (min-width:50rem) {
    :host(.one-screen) .sample .block-head h4 {
        letter-spacing: 0.17em;
    }
    :host(.one-screen) .sample .lenses .lens,
    :host(.one-screen) .sample .lenses .lens:nth-child(n + 4) {
        display: block;
        position: relative;
        min-height: 8.2rem;
        padding: 0.8rem 0.9rem 0.75rem;
    }
    :host(.one-screen) .sample .lenses .lens .l-label {
        display: flex;
        align-items: center;
        gap: 0.38rem;
        padding-right: 3.6rem;
        font-size: 0.68rem;
    }
    :host(.one-screen) .sample .lenses .lens .l-label svg {
        display: block;
        width: 1rem;
        height: 1rem;
        flex: none;
    }
    :host(.one-screen) .sample .lenses .lens .l-big {
        margin-top: 1rem;
        font-size: 1.55rem;
        line-height: 1.08;
    }
    :host(.one-screen) .sample .lenses .lens .l-sub {
        display: block;
        margin-top: 0.3rem;
        font-size: 0.74rem;
    }
    :host(.one-screen) .sample .lenses .lens .pill {
        display: inline-flex;
        position: absolute;
        top: 0.72rem;
        right: 0.72rem;
        margin: 0;
    }
    :host(.one-screen) .record-action {
        display: none;
    }
}
@container (min-width:50rem) {
    :host(.one-screen) .sample .lenses .lens .l-big.component-results {
        display: grid;
        gap: 0.24rem;
        margin-top: 0.58rem;
        font-family: var(--font-code);
    }
    :host(.one-screen) .sample .component-line {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 0.5rem;
        padding-bottom: 0.18rem;
        border-bottom: 1px solid #e5ecf4;
        line-height: 1.16;
    }
    :host(.one-screen) .sample .component-line:last-child {
        border-bottom: 0;
    }
    :host(.one-screen) .sample .component-name {
        font-size: 0.8rem;
        overflow-wrap: anywhere;
    }
    :host(.one-screen) .sample .component-value {
        font-size: 0.83rem;
        white-space: nowrap;
        text-align: right;
    }
}
:host(.one-screen) .full-record .l-big.component-results {
    display: grid;
    gap: 0.35rem;
    font-family: var(--font-code);
}
:host(.one-screen) .full-record .component-line {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    border-bottom: 1px solid #e5ecf4;
    font-size: 0.88rem;
}
:host(.one-screen) .full-record .component-line:last-child {
    border-bottom: 0;
}

:host(.one-screen) .sample .meta {
    display: block;
}
:host(.one-screen) .sample .meta > span:first-child,
:host(.one-screen) .sample .meta > span:nth-child(3) {
    display: block;
}
@container (min-width:50rem) {
    :host(.one-screen) .sample .meta > span:nth-child(2) {
        display: block;
    }
}
:host(.one-screen) .sample .summary-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.32rem;
    min-height: 0;
    width: calc(100% + 0.72rem);
    margin: 0.55rem -0.36rem 0;
    padding: 0.4rem 0.55rem;
    border-top: 2px solid #b48fc4;
    border-bottom: 2px solid #b48fc4;
    background: #f8fbf9;
}
:host(.one-screen) .sample .summary-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        112deg,
        #f5d8bc 0%,
        #f0dce9 18%,
        #d4dffa 37%,
        #d9f3ef 53%,
        #f5e6cb 71%,
        #f2dbea 87%,
        #d7e9f5 100%
    );
    -webkit-mask: url(./assets/8c41ea303deef19c.svg) center / auto 220% repeat-x;
    mask: url(./assets/8c41ea303deef19c.svg) center / auto 220% repeat-x;
    opacity: 1;
}
:host(.one-screen) .sample .summary-footer > * {
    position: relative;
    z-index: 1;
}
:host(.one-screen) .sample .summary-footer .uid-line {
    order: 1;
}
:host(.one-screen) .sample .summary-footer .uid-barcode {
    order: 2;
    margin: 0;
}
@container (min-width:50rem) {
    :host(.one-screen) .sample .summary-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.4rem;
        min-height: 5rem;
        width: calc(100% + 2rem);
        margin: 1.1rem -1rem 0;
        padding: 0.65rem 1rem 0.65rem 0.5rem;
    }
    :host(.one-screen) .sample .summary-footer .uid-barcode {
        order: 1;
        flex: 0 0 21rem;
        width: 21rem;
    }
    :host(.one-screen) .sample .summary-footer .uid-line {
        order: 2;
        flex: 1;
        justify-content: flex-end;
    }
}

:host(.one-screen) .sample .summary-footer .barcode-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.14rem;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    order: 2;
}
:host(.one-screen) .sample .summary-footer .barcode-stack .uid-barcode {
    display: block;
    flex: none;
    order: 1;
    width: 100%;
    margin: 0;
}
:host(.one-screen) .sample .summary-footer .barcode-stack .summary-uid {
    display: block;
    align-self: center;
    order: 2;
    width: auto;
    text-align: center;
    color: var(--navy);
    font-family: var(--font-code);
    font-size: 0.61rem;
    line-height: 1.15;
    white-space: nowrap;
}
:host(.one-screen) .sample .summary-footer .uid-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    order: 1;
    width: 100%;
}
:host(.one-screen) .sample .summary-footer .release-copy {
    display: flex;
    flex-direction: column;
    gap: 0.02rem;
    min-width: 0;
    color: var(--navy);
    font-family: var(--font-code);
    font-size: 0.52rem;
    line-height: 1.15;
    letter-spacing: 0.025em;
    white-space: nowrap;
}
:host(.one-screen) .sample .summary-footer .release-copy strong {
    font-weight: 900;
    -webkit-text-stroke: 0.34px currentColor;
}
@container (max-width:49.999rem) {
    :host(.one-screen) .auth:not(.missing) .auth-seal {
        display: none;
    }
    :host(.one-screen) .sample .summary-footer .uid-line {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    :host(.one-screen) .sample .summary-footer .release-copy {
        grid-column: 2;
        align-items: center;
        text-align: center;
    }
    :host(.one-screen) .sample .summary-footer .footer-seal {
        display: block;
        grid-column: 3;
        justify-self: end;
        width: 2.1rem;
        height: 2.1rem;
        object-fit: contain;
    }
}
@container (min-width:50rem) {
    :host(.one-screen) .sample .summary-footer .barcode-stack {
        order: 1;
        flex: 0 1 21rem;
        width: 21rem;
        gap: 0.2rem;
    }
    :host(.one-screen) .sample .summary-footer .barcode-stack .summary-uid {
        font-size: 0.7rem;
    }
    :host(.one-screen) .sample .summary-footer .uid-line {
        order: 2;
        flex: 1;
        width: auto;
        justify-content: flex-end;
        gap: 0.72rem;
    }
    :host(.one-screen) .sample .summary-footer .release-copy {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.22rem;
        font-size: 0.73rem;
        letter-spacing: 0.03em;
    }
}

:host(.one-screen) .sample .meta > span {
    line-height: 1.5;
}
:host(.one-screen) .sample .meta > span:nth-child(2),
:host(.one-screen) .sample .meta > span:nth-child(3) {
    margin-top: 0.22rem;
}

:host(.one-screen) .certificate-panel {
    border: 1px solid #c5d8eb;
    border-radius: 1rem;
    overflow: hidden;
    padding: clamp(1.15rem, 2.5vw, 1.65rem);
    box-shadow: 0 10px 30px rgba(17, 54, 99, 0.07);
}
:host(.one-screen) .certificate-heading {
    gap: 0;
}
:host(.one-screen) .certificate-heading .certificate-logo {
    display: none;
}
:host(.one-screen) .certificate-heading-copy {
    grid-column: 1 / -1;
    grid-row: auto;
    border: 0;
    padding: 0;
}
:host(.one-screen) .certificate-heading h1 {
    white-space: normal;
    font-size: clamp(2.35rem, 4vw, 3.25rem);
    line-height: 1;
    letter-spacing: 0.025em;
}
:host(.one-screen) .certificate-heading .lookup-intro {
    margin: 0.25rem 0 0;
    color: #5f718b;
    font: 500 0.9rem/1.45 var(--font-body);
    letter-spacing: 0;
    text-transform: none;
}
:host(.one-screen) .verify-card {
    margin-top: 1.1rem;
    border: 0;
    border-radius: 0;
    padding: 0;
}
:host(.one-screen) .verify-card .card-top {
    margin-bottom: 0.45rem;
}
:host(.one-screen) .demo-options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.38rem 0.48rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e2eaf2;
}
:host(.one-screen) .demo-options-label {
    margin-right: 0.2rem;
    color: #63748b;
    font: 700 0.67rem/1.4 var(--font-heading);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
:host(.one-screen) .demo-code {
    appearance: none;
    border: 1px solid #bfd5e8;
    border-radius: 999px;
    background: #f4f9fd;
    color: #174a75;
    cursor: pointer;
    padding: 0.31rem 0.6rem;
    font: 700 0.69rem/1.2 var(--font-body);
}
:host(.one-screen) .demo-code:hover,
:host(.one-screen) .demo-code:focus-visible {
    border-color: #317bea;
    background: #eaf4ff;
    outline: 2px solid transparent;
}
:host(.one-screen) .demo-code[aria-current='true'] {
    border-color: #1d5992;
    background: #e3f1fd;
    color: #113b69;
}
@container (max-width:49.999rem) {
    :host(.one-screen) .document-name {
        font-size: clamp(0.62rem, 3.9cqw, 0.91rem);
        letter-spacing: 0;
    }
    :host(.one-screen) .sample .eyebrow {
        display: none;
    }
    :host(.one-screen) .sample h3 {
        font-size: clamp(0.94rem, 5.3cqw, 1.55rem);
        line-height: 1.14;
    }
    :host(.one-screen) .sample .lenses {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.28rem;
    }
    :host(.one-screen) .sample .lenses .lens {
        display: flex;
        flex-direction: column;
        grid-column: auto;
        min-height: 6.7rem;
        padding: 0.35rem 0.28rem;
        padding-inline: clamp(0.17rem, 0.7cqw, 0.28rem);
        text-align: center;
    }
    :host(.one-screen) .sample .lenses .lens .l-label {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.18rem;
        font-size: 0.53rem;
        line-height: 1.15;
    }
    :host(.one-screen) .sample .lenses .lens .l-label svg.summary-lens-icon {
        display: block;
        flex: none;
        width: 0.72rem;
        height: 0.72rem;
    }
    :host(.one-screen) .sample .lenses .lens .l-big {
        margin-top: 0.42rem;
        font-size: 0.96rem;
        line-height: 1.12;
        overflow-wrap: anywhere;
        text-align: center;
    }
    :host(.one-screen) .sample .lenses .lens:nth-child(3) .l-big {
        margin-top: auto;
    }
    :host(.one-screen) .sample .lenses .lens:nth-child(-n + 2) .l-big.component-results {
        display: grid;
        gap: 0.2rem;
        font-family: var(--font-code);
    }
    :host(.one-screen) .sample .lenses .lens:nth-child(-n + 2) .component-line {
        display: grid;
        gap: 0.04rem;
        padding-bottom: 0.16rem;
        border-bottom: 1px solid #e5ecf4;
        line-height: 1.12;
        text-align: center;
    }
    :host(.one-screen) .sample .lenses .lens:nth-child(-n + 2) .component-line:last-child {
        border-bottom: 0;
    }
    :host(.one-screen) .sample .lenses .lens:nth-child(-n + 2) .component-name {
        font-size: clamp(0.42rem, 2.55cqw, 0.55rem);
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }
    :host(.one-screen) .sample .lenses .lens:nth-child(-n + 2) .component-value {
        font-size: clamp(0.48rem, 2.8cqw, 0.6rem);
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }
    :host(.one-screen) .sample .lenses .lens .l-sub {
        display: block;
        margin-top: auto;
        padding-top: 0.24rem;
        font-size: 0.55rem;
        line-height: 1.2;
        text-align: center;
    }
    :host(.one-screen) .sample .summary-footer .barcode-stack {
        width: min(100%, 15rem);
        max-width: 15rem;
        align-self: center;
    }
    :host(.one-screen) .sample .lenses .lens .pill {
        display: inline-flex;
        position: static;
        align-self: center;
        margin-top: 0.18rem;
        padding: 0.1rem 0.27rem;
        font-size: 0.53rem;
    }
}
@container (max-width:30rem) {
    :host(.one-screen) .sample h3 {
        font-size: clamp(0.94rem, 5.3cqw, 1.35rem);
    }
}
@container (max-width:22rem) {
    :host(.one-screen) .sample h3 {
        font-size: clamp(0.94rem, 5.3cqw, 1.2rem);
    }
    :host(.one-screen) .certificate-heading .lookup-intro {
        font-size: 0.78rem;
    }
    :host(.one-screen) .certificate-heading h1 {
        font-size: 2.1rem;
    }
    :host(.one-screen) .demo-options {
        gap: 0.32rem;
    }
    :host(.one-screen) .demo-code {
        font-size: 0.65rem;
    }
}

:host(.one-screen) .notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0.8rem 0 0;
}
:host(.one-screen) .note {
    align-items: flex-start;
    line-height: 1.45;
}
:host(.one-screen) .full-record {
    box-sizing: border-box;
    width: min(96vw, 55rem);
    max-width: 96vw;
    max-height: 92dvh;
    padding: 0.4rem;
    border: 0;
    border-radius: 1rem;
    background: #fff;
    overflow: auto;
}
:host(.one-screen) .full-record .close-full {
    position: sticky;
    top: 0.2rem;
    z-index: 10;
    float: none;
    display: block;
    margin: 0.15rem 0.2rem 0.45rem auto;
    padding: 0.45rem 0.7rem;
    border: 1px solid #b8d0e8;
    border-radius: 0.45rem;
    background: #fff;
    box-shadow: 0 2px 8px #11244822;
}
:host(.one-screen) .full-record .record-sheet {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
}
:host(.one-screen) .full-record .record-sheet .block-head {
    margin: 0.75rem 0 0.45rem;
}
:host(.one-screen) .full-record .record-sheet .lenses {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.45rem;
}
:host(.one-screen) .full-record .record-sheet .lenses .lens,
:host(.one-screen) .full-record .record-sheet .lenses .lens:nth-child(n + 4) {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    grid-column: auto;
    min-width: 0;
    min-height: 7rem;
    padding: 0.55rem 0.5rem;
    text-align: center;
}
:host(.one-screen) .full-record .record-sheet .lenses .lens .l-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    padding: 0;
    font-size: 0.62rem;
    line-height: 1.15;
    white-space: normal;
}
:host(.one-screen) .full-record .record-sheet .lenses .lens .l-label svg {
    display: block;
    flex: none;
    width: 0.85rem;
    height: 0.85rem;
}
:host(.one-screen) .full-record .record-sheet .lenses .lens .l-big {
    margin: 0.4rem 0 0.2rem;
    font-size: clamp(0.9rem, 2.4vw, 1.25rem);
    line-height: 1.18;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
}
:host(.one-screen) .full-record .record-sheet .component-line {
    display: grid;
    justify-content: stretch;
    gap: 0.05rem;
    padding-bottom: 0.18rem;
    text-align: center;
}
:host(.one-screen) .full-record .record-sheet .component-name,
:host(.one-screen) .full-record .record-sheet .component-value {
    font-size: 0.7rem;
    text-align: center;
    overflow-wrap: anywhere;
}
:host(.one-screen) .full-record .record-sheet .lenses .lens .l-sub {
    display: block;
    margin-top: auto;
    font-size: 0.66rem;
    text-align: center;
}
:host(.one-screen) .full-record .record-sheet .lenses .lens .pill {
    display: inline-flex;
    position: static;
    align-self: center;
    margin: 0.2rem 0 0;
}
:host(.one-screen) .full-record .record-sheet .summary-footer .barcode-stack {
    width: min(100%, 15rem);
    max-width: 15rem;
    align-self: center;
}
@container (max-width:49.999rem) {
    :host(.one-screen) .notes {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        margin-top: 0.6rem;
    }
    :host(.one-screen) .note {
        padding: 0.65rem 0.7rem;
        font-size: 0.7rem;
        line-height: 1.35;
    }
    :host(.one-screen) .note svg {
        width: 1rem;
        height: 1rem;
    }
    :host(.one-screen) .full-record {
        padding: 0.25rem;
    }
    :host(.one-screen) .full-record .record-sheet {
        padding: 0.7rem 0.6rem 0.55rem;
    }
    :host(.one-screen) .full-record .record-sheet .lenses {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.3rem;
    }
    :host(.one-screen) .full-record .record-sheet .lenses .lens,
    :host(.one-screen) .full-record .record-sheet .lenses .lens:nth-child(n + 4) {
        min-height: 6.6rem;
        padding: 0.4rem 0.25rem;
    }
    :host(.one-screen) .full-record .record-sheet .lenses .lens .l-label {
        font-size: 0.53rem;
    }
    :host(.one-screen) .full-record .record-sheet .lenses .lens .l-big {
        font-size: 0.88rem;
    }
    :host(.one-screen) .full-record .record-sheet .component-name,
    :host(.one-screen) .full-record .record-sheet .component-value {
        font-size: 0.55rem;
    }
    :host(.one-screen) .full-record .record-sheet .lenses .lens .l-sub {
        font-size: 0.55rem;
    }
}

:host(.one-screen) .sample .document-kicker {
    display: none;
}
:host(.one-screen) .sample .document-name {
    margin-top: 0;
}
:host(.one-screen) .sample .document-uid {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.4rem;
    margin-top: 0.28rem;
    color: var(--navy);
    font-family: var(--font-code);
    font-size: 0.7rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
}
:host(.one-screen) .sample .document-uid-label {
    margin-right: 0;
    color: #61718d;
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}
:host(.one-screen) .sample .document-uid-value {
    font-weight: 700;
}
@container (max-width:49.999rem) {
    :host(.one-screen) .sample .document-uid {
        gap: 0.2rem;
        margin-top: 0.14rem;
        font-size: 0.625rem;
    }
    :host(.one-screen) .sample .document-uid-label {
        margin-right: 0;
        font-size: 0.52rem;
    }
    :host(.one-screen) .sample .meta > span:nth-child(2) {
        display: block;
        overflow-wrap: anywhere;
    }
    :host(.one-screen) .sample .summary-footer .uid-line {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
    }
    :host(.one-screen) .sample .summary-footer .release-copy {
        align-items: center;
        text-align: center;
    }
}
:host(.one-screen) .sample .summary-footer .footer-foil-chip {
    position: relative;
    display: block;
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 21%;
    background: #fff;
    filter: saturate(1.8);
}
:host(.one-screen) .sample .summary-footer .footer-foil-chip .footer-seal {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 21%;
}
:host(.one-screen) .sample .summary-footer .footer-foil-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 21%;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.95),
        inset -1px -1px 0 rgba(38, 58, 108, 0.38),
        0 0 0 0.5px rgba(38, 58, 108, 0.22);
    pointer-events: none;
}
:host(.one-screen) .sample .summary-footer .footer-foil-chip::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 21%;
    background: linear-gradient(135deg, rgba(70, 95, 160, 0) 0 58%, rgba(70, 95, 160, 0.26) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
}
:host(.one-screen) .full-record .record-sheet .summary-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
:host(.one-screen) .full-record .record-sheet .summary-footer .uid-line {
    flex: none;
    order: 1;
    width: 100%;
    justify-content: center;
    gap: 0.45rem;
}
:host(.one-screen) .full-record .record-sheet .summary-footer .release-copy {
    align-items: center;
    text-align: center;
}
:host(.one-screen) .full-record .record-sheet .summary-footer .barcode-stack {
    flex: none;
    order: 2;
    width: min(100%, 15rem);
}
:host(.one-screen) .full-record .record-sheet .summary-footer .summary-uid {
    transform: none;
}
:host(.one-screen) .full-record .record-sheet .sample-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
}
:host(.one-screen) .full-record .record-sheet .sample-photo {
    display: flex;
    flex: none;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #c9d8e6;
    border-radius: 4px;
    box-sizing: border-box;
}
:host(.one-screen) .full-record .record-sheet .sample-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
:host(.one-screen) .demo-options {
    display: none !important;
}
:host(.one-screen) #result[hidden] {
    display: none !important;
}
:host(.one-screen) .lookup-guide {
    max-width: 64.5rem;
    margin: 1.1rem auto 0;
    padding: 0 1rem;
}
:host(.one-screen) .lookup-guide[hidden] {
    display: none !important;
}
:host(.one-screen) .lookup-guide-inner {
    padding: 1.15rem 1.25rem 1rem;
    border: 1px solid #d7e5f3;
    border-radius: 1rem;
    background: linear-gradient(125deg, #f5f9fe, #fff 72%);
    box-shadow: 0 8px 24px rgba(17, 52, 95, 0.05);
}
:host(.one-screen) .lookup-guide h2 {
    margin: 0;
    color: #18365d;
    font: 600 1.15rem/1.25 var(--font-body);
    letter-spacing: 0;
}
:host(.one-screen) .lookup-guide-intro {
    margin: 0.24rem 0 0.9rem;
    color: #61718b;
    font: 0.84rem/1.45 var(--font-body);
}
:host(.one-screen) .lookup-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
:host(.one-screen) .lookup-steps li {
    display: flex;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.75rem 0.8rem;
    border: 1px solid #e2eaf4;
    border-radius: 0.65rem;
    background: #fff;
}
:host(.one-screen) .lookup-number {
    display: grid;
    place-items: center;
    flex: none;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: #e8f1ff;
    color: #174e9a;
    font: 700 0.68rem var(--font-body);
}
:host(.one-screen) .lookup-steps strong {
    display: block;
    color: #18365d;
    font: 700 0.84rem/1.25 var(--font-body);
}
:host(.one-screen) .lookup-steps p {
    margin: 0.22rem 0 0;
    color: #65738b;
    font: 0.76rem/1.38 var(--font-body);
}
:host(.one-screen) .lookup-privacy {
    margin: 0.78rem 0 0;
    color: #60718b;
    font: 0.74rem/1.4 var(--font-body);
}
:host(.one-screen) .match-prompt {
    margin: 0.65rem 0 0.8rem;
    padding: 0.68rem 0.85rem;
    border: 1px solid #cbdff3;
    border-left: 3px solid #2166c9;
    border-radius: 0.5rem;
    background: #f5f9fe;
    color: #28466b;
    font: 600 0.79rem/1.4 var(--font-body);
}
@container (max-width:49.999rem) {
    :host(.one-screen) .lookup-guide {
        margin: 0.75rem auto 0;
        padding: 0 0.9rem;
    }
    :host(.one-screen) .lookup-guide-inner {
        padding: 0.85rem;
    }
    :host(.one-screen) .lookup-guide h2 {
        font-size: 1rem;
    }
    :host(.one-screen) .lookup-guide-intro {
        font-size: 0.78rem;
        margin-bottom: 0.65rem;
    }
    :host(.one-screen) .lookup-steps {
        grid-template-columns: 1fr;
        gap: 0.38rem;
    }
    :host(.one-screen) .lookup-steps li {
        padding: 0.55rem 0.6rem;
    }
    :host(.one-screen) .lookup-steps strong {
        font-size: 0.8rem;
    }
    :host(.one-screen) .lookup-steps p {
        font-size: 0.75rem;
    }
    :host(.one-screen) .lookup-privacy {
        font-size: 0.72rem;
    }
    :host(.one-screen) .match-prompt {
        font-size: 0.75rem;
        padding: 0.55rem 0.65rem;
    }
}

:host(.one-screen) .lookup-steps li {
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.7rem;
    min-height: 12.4rem;
}
:host(.one-screen) .lookup-step-copy {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    min-width: 0;
}
:host(.one-screen) .lookup-step-copy > div {
    min-width: 0;
}
:host(.one-screen) .lookup-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    width: 100%;
    min-height: 7.4rem;
    margin-top: auto;
    padding: 0.45rem;
    overflow: hidden;
    border: 1px solid #e3ebf5;
    border-radius: 0.5rem;
    background: linear-gradient(145deg, #f7faff, #f1f6fd);
}
:host(.one-screen) .mini-coa-page {
    display: flex;
    flex-direction: column;
    gap: 0.16rem;
    flex: none;
    width: 5.7rem;
    height: 6.7rem;
    padding: 0.32rem;
    border: 1px solid #9bb9df;
    border-radius: 0.16rem;
    background: #fff;
    box-shadow: 0 3px 7px #173d6c22;
}
:host(.one-screen) .mini-coa-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #174b96;
    font: 700 0.49rem/1 var(--font-body);
}
:host(.one-screen) .mini-coa-top span {
    font-size: 0.43rem;
    letter-spacing: 0.08em;
}
:host(.one-screen) .mini-coa-rule {
    height: 2px;
    background: #1f65cc;
}
:host(.one-screen) .mini-coa-lines {
    display: grid;
    gap: 0.15rem;
    padding: 0.2rem 0.05rem;
}
:host(.one-screen) .mini-coa-lines i {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: #d9e3f2;
}
:host(.one-screen) .mini-coa-lines i:nth-child(2) {
    width: 72%;
}
:host(.one-screen) .mini-coa-lines i:nth-child(3) {
    width: 86%;
}
:host(.one-screen) .mini-coa-cells {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.13rem;
}
:host(.one-screen) .mini-coa-cells i {
    display: block;
    height: 1.3rem;
    border: 1px solid #d8e3f1;
    border-radius: 0.12rem;
    background: linear-gradient(#dce6f4 0 0) center 35%/70% 3px no-repeat;
}
:host(.one-screen) .mini-coa-rows {
    display: grid;
    gap: 0.11rem;
    margin-top: 0.1rem;
}
:host(.one-screen) .mini-coa-rows i {
    display: block;
    height: 4px;
    background: #e3eaf4;
}
:host(.one-screen) .mini-coa-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.1rem;
    margin-top: auto;
    padding-top: 0.12rem;
    border-top: 1px solid #dce5f2;
    color: #8090a8;
    font: 700 0.36rem/1 var(--font-body);
}
:host(.one-screen) .mini-coa-footer b {
    padding: 0.11rem 0.17rem;
    border: 2px solid #1c65df;
    border-radius: 0.1rem;
    color: #184f9e;
    background: #edf5ff;
    font-size: 0.41rem;
}
:host(.one-screen) .mini-coa-callout {
    display: grid;
    gap: 0.1rem;
    align-content: center;
    color: #557199;
    font: 700 0.52rem/1.25 var(--font-body);
    letter-spacing: 0.03em;
}
:host(.one-screen) .mini-coa-callout b {
    color: #1556b2;
    font-size: 0.72rem;
}
:host(.one-screen) .mini-entry {
    width: min(100%, 15rem);
    padding: 0.6rem;
    border: 1px solid #a9c4e5;
    border-radius: 0.42rem;
    background: #fff;
    box-shadow: 0 2px 6px #173d6c12;
}
:host(.one-screen) .mini-entry > span {
    display: block;
    color: #19365e;
    font: 700 0.7rem/1.1 var(--font-heading);
    letter-spacing: 0.05em;
}
:host(.one-screen) .mini-entry small {
    display: block;
    margin: 0.6rem 0 0.2rem;
    color: #62748e;
    font: 700 0.46rem/1 var(--font-heading);
    letter-spacing: 0.08em;
}
:host(.one-screen) .mini-entry-row {
    display: flex;
    align-items: stretch;
    gap: 0.22rem;
}
:host(.one-screen) .mini-entry-row b {
    flex: 1;
    padding: 0.34rem 0.4rem;
    border: 2px solid #1e66d2;
    border-radius: 0.2rem;
    color: #6c7e9b;
    font: 500 0.56rem/1 var(--font-code);
}
:host(.one-screen) .mini-entry-row em {
    padding: 0.4rem 0.55rem;
    border-radius: 0.2rem;
    background: #235ed0;
    color: #fff;
    font: 700 0.5rem/1 var(--font-body);
    font-style: normal;
}
:host(.one-screen) .mini-record {
    width: min(100%, 15rem);
    padding: 0.38rem 0.5rem;
    border: 1px solid #a9c7b4;
    border-radius: 0.35rem;
    background: #fff;
    box-shadow: 0 2px 6px #173d6c12;
}
:host(.one-screen) .mini-record-status {
    margin: -0.38rem -0.5rem 0.32rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.35rem 0.35rem 0 0;
    background: #e8f7ed;
    color: #258349;
    font: 700 0.48rem/1 var(--font-body);
    letter-spacing: 0.04em;
}
:host(.one-screen) .mini-record-title {
    margin-bottom: 0.32rem;
    color: #18365d;
    font: 700 0.6rem/1 var(--font-heading);
    letter-spacing: 0.08em;
}
:host(.one-screen) .mini-record-line {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.22rem;
    padding: 0.13rem 0.23rem;
    border: 1px solid #aac9ef;
    border-radius: 0.16rem;
    color: #2059a8;
    font: 700 0.44rem/1 var(--font-body);
}
:host(.one-screen) .mini-record-line i {
    display: block;
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: #d9e5f4;
}
:host(.one-screen) .mini-record-cells {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.16rem;
}
:host(.one-screen) .mini-record-cells span {
    padding: 0.24rem 0.05rem;
    border: 1px solid #b5d0ed;
    border-radius: 0.17rem;
    color: #3864a0;
    text-align: center;
    font: 700 0.37rem/1 var(--font-body);
}
@container (max-width:49.999rem) {
    :host(.one-screen) .lookup-steps li {
        gap: 0.43rem;
        padding: 0.62rem;
        min-height: 0;
    }
    :host(.one-screen) .lookup-visual {
        min-height: 6.8rem;
    }
}

/* Real records may contain long labels and multiline values. */
:host(.one-screen) .sample .lens .l-big {
    white-space: pre-line;
    overflow-wrap: anywhere;
}
:host(.one-screen) .sample-photo {
    position: relative;
}

:host(.one-screen) .sample .lenses .lens .l-sub {
    display: block;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
:host(.one-screen) .sample .summary-footer .barcode-stack .summary-uid {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* All released analyses remain visible on phones; there is no truncated summary. */
:host(.one-screen) .sample .lenses .lens .l-label {
    white-space: normal;
    overflow-wrap: anywhere;
}
:host(.one-screen) .uid-barcode svg {
    height: 2rem;
}

/* Two columns keep real analysis names and values legible on narrow phones. */
@container (max-width:30rem) {
    :host(.one-screen) .sample .lenses {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

:host(.one-screen) .sample .lens .analysis-name {
    min-width: 0;
    overflow-wrap: anywhere;
}
@container (min-width:50rem) {
    :host(.one-screen) .sample .lenses .lens .l-label {
        padding-right: 6rem;
    }
}

@container (max-width:49.999rem) {
    :host(.one-screen) .sample .sample-head {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
    }
    :host(.one-screen) .sample .sample-head > div:first-child {
        flex: 1;
        min-width: 0;
    }
    :host(.one-screen) .sample .sample-photo {
        display: flex;
        flex: none;
        width: 5rem;
        height: 6rem;
        margin: 0;
    }
    :host(.one-screen) .sample .sample-photo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}
