.record-list {
    display: grid;
    gap: 12px;
}

.record-card {
    position: relative;
    padding: 18px;
    border: 1px solid #eaecf0;
    border-radius: 16px;
    background: #f9fafb;
}

.record-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.record-card-main {
    min-width: 0;
}

.record-title {
    margin: 0;
    overflow-wrap: anywhere;
    color: #101828;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.4;
}

.record-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 7px;
    color: #667085;
    font-size: 0.88rem;
    line-height: 1.5;
}

.record-meta-separator {
    color: #98a2b3;
}

.record-menu {
    position: relative;
    flex: 0 0 auto;
}

.record-menu summary {
    display: grid;
    width: 38px;
    height: 38px;
    cursor: pointer;
    list-style: none;
    place-items: center;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #fff;
    color: #475467;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    user-select: none;
}

.record-menu summary::-webkit-details-marker {
    display: none;
}

.record-menu summary:hover {
    border-color: #98a2b3;
    background: #f9fafb;
}

.record-menu[open] summary {
    border-color: #198754;
    color: #198754;
}

.record-menu-list {
    position: absolute;
    z-index: 20;
    top: 46px;
    right: 0;
    width: 190px;
    overflow: hidden;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.14);
}

.record-menu-link {
    display: block;
    padding: 11px 14px;
    color: #344054;
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.record-menu-link:hover {
    background: #f2f4f7;
    color: #101828;
}

.record-field-icon {
    display: inline-flex;
    width: 22px;
    flex: 0 0 22px;
    justify-content: center;
}

.occupation-position {
    margin: 6px 0 0;
    color: #344054;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
}

.occupation-organization {
    margin: 4px 0 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.5;
}

.occupation-place {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin: 13px 0 0;
    color: #344054;
    font-weight: 650;
    line-height: 1.5;
}

.occupation-period {
    align-items: flex-start;
    gap: 5px;
    margin-top: 10px;
}

.occupation-experience {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin: 9px 0 0;
    color: #475467;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.5;
}

.occupation-detail {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #eaecf0;
}

.occupation-detail-label {
    display: block;
    color: #344054;
    font-size: 0.82rem;
    font-weight: 750;
}

.occupation-text {
    margin: 6px 0 0;
    color: #475467;
    line-height: 1.65;
    white-space: pre-line;
}

.record-detail {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #eaecf0;
}

.record-detail-label {
    display: block;
    color: #344054;
    font-size: 0.82rem;
    font-weight: 750;
}

.record-detail-text {
    margin: 6px 0 0;
    color: #475467;
    line-height: 1.65;
    white-space: pre-line;
}

.travel-period,
.travel-duration {
    align-items: flex-start;
    gap: 5px;
}

.travel-duration {
    margin-top: 8px;
    font-weight: 650;
}

.travel-place,
.travel-residence {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin: 11px 0 0;
    color: #344054;
    line-height: 1.5;
}

.travel-place {
    font-weight: 650;
}

.travel-residence {
    color: #475467;
    font-size: 0.9rem;
}

.record-location {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin: 11px 0 0;
    color: #344054;
    font-weight: 650;
    line-height: 1.5;
}

.education-type,
.education-qualification,
.education-period {
    align-items: flex-start;
    gap: 5px;
}

.education-qualification {
    margin-top: 8px;
}

.education-period {
    margin-top: 11px;
}
/* Подтверждение архивирования записи */

.delete-confirm-card {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

.delete-confirm-text {
    margin: 18px 0 0;
    color: #344054;
    font-size: 1rem;
    line-height: 1.6;
}

.delete-record-preview {
    margin-top: 18px;
    padding: 15px 17px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    background: #f9fafb;
    color: #101828;
    font-weight: 750;
    line-height: 1.5;
}

.delete-confirm-note {
    margin: 14px 0 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.55;
}

.button-danger {
    border-color: #d92d20;
    background: #d92d20;
    color: #fff;
}

.button-danger:hover {
    border-color: #b42318;
    background: #b42318;
    color: #fff;
}
