/* Original user artwork; official emblem, live document data and modal actions retained. */
.card.credential-card.credential-card--art {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    container-type: inline-size;
    min-width: 0;
    border: 1px solid #fff;
    border-radius: 16px;
    background: #fffcfc;
    color: #202a39;
    box-shadow: 0 5px 16px rgb(68 45 51 / .08);
}
.credential-card--art .credential-card__head {
    position: relative;
    align-items: center;
    gap: 10px;
    padding: 14px 12px 12px;
    border-bottom: 0;
}
.credential-card--art .credential-card__emblem { width: 40px; height: 36px; }
.credential-card--art .credential-card__head > div { min-width: 0; padding-right: 14px; }
.credential-card--art .credential-card__head h2 {
    margin: 0;
    color: #202a39;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.02em;
    text-wrap: balance;
}
.credential-card--art .credential-card__head p { margin: 4px 0 0; color: #6b6b78; font-size: 12px; line-height: 1.4; }
.credential-card--art .cred-list {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 0 10px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.card.credential-card--art .cred-row,
.card.credential-card--art .cred-row + .cred-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    min-height: 82px;
    margin: 0;
    padding: 9px;
    border: 1px solid #efe2e6;
    border-radius: 12px;
    background: #fffdfd;
    color: #202a39;
    box-shadow: 0 2px 6px rgb(76 52 59 / .05);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
.card.credential-card--art .cred-row:hover { background: #fff5f5; border-color: #e6c6cc; }
.card.credential-card--art .cred-row:focus-visible { outline: 2px solid #6b7280; outline-offset: 2px; }
.credential-card--art .cred-row__body { display: grid; gap: 4px; min-width: 0; }
.credential-card--art .cred-row__title { color: #202a39; font-size: 13px; font-weight: 800; line-height: 1.3; white-space: normal; }
.credential-card--art .cred-row__num { color: #6b6b78; font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; white-space: normal; }
.credential-card--art .cred-row__meta {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 5px;
    max-width: 100%;
    padding: 3px 6px;
    border-radius: 8px;
    background: #f0eef0;
    color: #5b5560;
    font-size: 12px;
    line-height: 1.25;
}
.credential-card--art .cred-row__meta.is-valid { background: #edf6e9; color: #14591a; }
.credential-card--art .cred-row__dot { flex-shrink: 0; width: 6px; height: 6px; margin: 0; background: #88818c; }
.credential-card--art .cred-row__dot.is-valid { background: #1a751f; }
.credential-card--art .cred-row__arrow { display: grid; place-items: center; width: 22px; height: 26px; border-radius: 10px; background: #fff0f2; color: #b51a29; }
.credential-card--art .cred-row__chev,
.credential-card--art .cred-row:hover .cred-row__chev { width: 14px; height: 14px; margin: 0; color: inherit; transform: none; }
.credential-card--art .cred-row__art {
    position: relative;
    display: block;
    overflow: hidden;
    width: 44px;
    aspect-ratio: 170 / 190;
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
    mask-composite: intersect;
}
.cred-row__art img,
.credential-art-corner img { position: absolute; top: 0; left: 0; display: block; max-width: none; height: auto; pointer-events: none; }
.cred-row__art img { width: 1043.529411765%; }
.cred-row__art--accred img { transform: translate(-5.355129651635%, -54.114994363021%); }
.cred-row__art--license img { transform: translate(-52.705749718151%, -54.114994363021%); }
.credential-art-corner {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    overflow: hidden;
    width: 25%;
    max-width: 130px;
    aspect-ratio: 410 / 266;
    pointer-events: none;
    mask-image: linear-gradient(90deg, transparent, #000 25%), linear-gradient(0deg, transparent, #000 28%);
    mask-composite: intersect;
}
.credential-art-corner img { width: 432.682926829%; transform: translate(-75.817361894025%, -15.219842164600%); }
@container (min-width: 540px) {
    .credential-card--art .cred-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 14px 14px; }
    .credential-card--art .credential-card__head { padding: 16px 16px 14px; gap: 12px; }
    .credential-card--art .credential-card__head h2 { font-size: 18px; }
    .credential-card--art .cred-row__title { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .card.credential-card--art .cred-row { transition: none; } }
