.health-share-section {

    margin-top: 8px;

    padding-top: 14px;

    border-top: 1px solid #e8e2db;

}



.health-share-section .health-section-title {

    display: flex;

    align-items: center;

    gap: 8px;

}



.health-share-hint {

    font-size: var(--lapi-fs-12);

    color: #6b6560;

    margin: 0 0 14px;

    line-height: 1.45;

}



.health-share-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;

    align-items: stretch;

    justify-items: stretch;

}



@media (min-width: 520px) {

    .health-share-grid {

        grid-template-columns: repeat(4, minmax(0, 1fr));

    }

}



.care-summary-preview-item {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 8px;
}

.care-summary-preview-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: auto;
    height: auto;
}

.care-summary-preview-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(180deg, rgba(255, 249, 245, 0) 0%, rgba(255, 249, 245, 0.92) 55%, #f6f3ef 100%);
    pointer-events: none;
}

.care-summary-preview-wrap canvas {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.care-summary-preview-more {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 2;
    font-size: var(--lapi-fs-11);
    font-weight: 700;
    color: #6b6560;
    letter-spacing: 0.02em;
    pointer-events: none;
}

.care-summary-preview-hint {
    text-align: center;
    margin: 0 !important;
}

.health-share-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    gap: 8px;

    cursor: pointer;

    border: none;

    background: transparent;

    padding: 0;

    text-align: center;

    width: 100%;

    min-height: 0;

}



.health-share-item:focus-visible {

    outline: 2px solid #9dd4c4;

    outline-offset: 4px;

    border-radius: 14px;

}



.health-share-preview-wrap {

    position: relative;

    width: 100%;

    border-radius: 14px;

    overflow: hidden;

    box-shadow: 0 8px 24px rgba(60, 42, 33, 0.12);

    aspect-ratio: 4 / 5;

    background: #f6f3ef;

}



.health-share-preview-wrap:not(.care-summary-preview-wrap) {
    aspect-ratio: 4 / 5;
}

.health-share-preview-wrap:not(.care-summary-preview-wrap) canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.health-share-label {

    font-size: var(--lapi-fs-11);

    font-weight: 700;

    color: #3c2a21;

    text-align: center;

    letter-spacing: 0.02em;

    line-height: 1.3;

    width: 100%;

}



.health-share-item--muted .health-share-preview-wrap {

    opacity: 0.85;

}



.health-card-view-sheet {

    position: relative;

}



.health-card-view-share {

    position: absolute;

    top: 8px;

    right: 8px;

    z-index: 3;

    width: 44px;

    height: 44px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: #1abc9c;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    box-shadow: 0 4px 14px rgba(60, 42, 33, 0.2);

}



.health-card-view-share:active {

    transform: scale(0.94);

}



.health-card-view-share:disabled {

    opacity: 0.5;

    cursor: wait;

}



.health-card-view-share svg {

    width: 22px;

    height: 22px;

    display: block;

}


