.recover-records {
    max-width: 520px;
    margin: 0 auto 32px;
    padding: 20px;
    border: 1px solid #cce5e5;
    border-radius: 8px;
    background: #f2fafa;
    text-align: center;
}

.recover-records h2 {
    margin: 0;
    color: #223638;
    font-size: 20px;
    line-height: 1.35;
}

.recover-records p {
    margin: 8px 0 14px;
    color: #42575a;
    font-size: 15px;
    line-height: 1.5;
}

.records-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 18px;
    border: 0;
    border-radius: 8px;
    background: #087579;
    color: #fff;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.records-link:hover { background: #065d60; color: #fff; text-decoration: none; }
.records-link:focus-visible, .record-action:focus-visible, .records-footer a:focus-visible {
    outline: 2px solid #087579;
    outline-offset: 3px;
}

.records-page {
    margin: 0;
    background: #fff;
    color: #243638;
    font: 16px/1.5 system-ui, sans-serif;
}

.records-shell {
    width: min(100%, 540px);
    box-sizing: border-box;
    margin: 0 auto;
    padding: 36px 20px;
}

.records-shell h1 { margin: 0 0 20px; font-size: 28px; }
.records-list { margin: 0; padding: 0; list-style: none; }

.records-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 13px 0;
    border-block-end: 1px solid #dce6e6;
}

.record-date { display: block; font-size: 14px; color: #4b6163; overflow-wrap: anywhere; }
.record-action, .records-footer a { color: #08656a; }
a.record-action, .records-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.records-page [hidden], .recover-records[hidden] { display: none; }

.records-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

@media (max-width: 420px) {
    html[lang="en"] .recover-page .recover-search {
        grid-template-columns: minmax(0, 1fr);
    }

    html[lang="en"] .recover-page .recover-search input {
        padding-inline: 10px;
        font-size: 16px;
    }
}
