/* Shared recognition and colleague discovery surfaces. */
[hidden] {
    display: none !important;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.props-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 650px) minmax(230px, 1fr);
    gap: 28px;
    align-items: start;
}
.props-form label {
    display: block;
    margin-bottom: 18px;
    font-weight: 600;
}
.props-form label .form-control,
.props-form label .form-select {
    margin-top: 8px;
}
.props-fields {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}
.props-wallet {
    background: #eff6ff;
    border: 1px solid #dceaff;
    border-radius: 18px;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #143874;
}
.props-wallet strong {
    font-size: 30px;
    color: var(--brand);
}
.props-mode {
    display: flex;
    padding: 5px;
    border-radius: 14px;
    background: #f1f5fc;
    gap: 5px;
    margin-bottom: 20px;
}
.props-mode button {
    flex: 1;
    border: 0;
    padding: 11px 8px;
    background: transparent;
    color: #48618b;
    border-radius: 10px;
    font-weight: 600;
}
.props-mode button.selected {
    background: white;
    color: var(--brand);
    box-shadow: 0 2px 7px #1b3a6c12;
}
.props-amounts {
    display: flex;
    gap: 8px;
    margin: -4px 0 20px;
}
.props-amounts button {
    flex: 1;
    border-radius: 10px;
    padding: 8px;
    background: white;
    border: 1px solid #dfe8f5;
    color: #173567;
}
.props-amounts button.selected {
    border-color: var(--brand);
    color: var(--brand);
    background: #eff6ff;
}
.props-note {
    font-size: 13px;
    line-height: 1.6;
}
.props-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.props-buttons .btn {
    min-height: 46px;
}
.props-aside {
    padding: 36px 20px;
    max-width: 380px;
}
.props-aside h2 {
    font-size: 25px;
    line-height: 1.4;
    margin: 20px 0 14px;
}
.props-aside p {
    color: #6c80a0;
    line-height: 1.8;
}
.props-heart {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    background: #e7eeff;
    color: var(--brand);
    border-radius: 26px;
    font-size: 65px;
}
.props-dialog {
    width: min(600px, calc(100% - 32px));
    max-height: calc(100dvh - 48px);
    padding: 28px;
    border: 1px solid #e0e9f8;
    border-radius: 24px;
    color: #173567;
    box-shadow: 0 30px 100px #122c6755;
    overflow: auto;
}
.props-dialog::backdrop {
    background: #172f5c88;
    backdrop-filter: blur(4px);
}
.props-dialog-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    margin-bottom: 24px;
}
.props-dialog-heading h2 {
    font-size: 26px;
    margin: 5px 0 0;
}
.props-dialog .eyebrow {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #768bb0;
}
.props-close {
    border: 0;
    background: #f2f6fc;
    color: #62799e;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.props-modal-open {
    overflow: hidden;
}
.props-review {
    background: #f7faff;
    border: 1px solid #dfebff;
    padding: 22px;
    border-radius: 18px;
}
.props-review h3 {
    font-size: 20px;
    margin: 0 0 10px;
}
.props-review-message {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: #597195;
}
.props-review dl {
    margin: 20px 0 0;
}
.props-review dl > div {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 9px 0;
}
.props-review dt {
    font-weight: 400;
}
.props-review dd {
    margin: 0;
    font-weight: 700;
}
.props-review .props-total {
    border-top: 1px solid #dbe6f7;
    font-size: 17px;
}
.props-feedback {
    background: #fff3ec;
    color: #924517;
    padding: 16px;
    border-radius: 12px;
    line-height: 1.6;
}
.props-feedback.success {
    background: #eaf8f2;
    color: #176546;
}
.props-feed-summary {
    font-size: 12px;
    color: #6480a6;
}
.props-toast {
    position: fixed;
    z-index: 2000;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff3ec;
    box-shadow: 0 5px 24px #14274924;
    padding: 18px;
    border-radius: 12px;
    max-width: 90vw;
}
.favorites-section {
    margin-bottom: 34px;
}
.favorites-section .panel-heading {
    padding: 0 0 14px;
}
.favorites-section .panel-heading p {
    margin: 5px 0 0;
    color: #7288ab;
    font-size: 13px;
}
.favorites-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x proximity;
}
.person-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
}
.person-card h2 {
    margin: 0;
    font-size: 17px;
    overflow-wrap: anywhere;
}
.person-card p {
    margin: 5px 0 0;
    color: #7185a6;
    font-size: 13px;
}
.person-card .props-launch {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.person-card .favorite-toggle {
    position: absolute;
    right: 15px;
    top: 15px;
    border: 0;
    background: #f5f8fd;
    color: #8095b7;
    width: 38px;
    height: 38px;
    font-size: 25px;
    border-radius: 12px;
}
.person-card .favorite-toggle.is-favorite {
    color: #bc8105;
    background: #fff6db;
}
.favorites-row .person-card {
    flex: 0 0 230px;
    scroll-snap-align: start;
    padding: 18px;
    border-color: #d9e7ff;
    background: linear-gradient(140deg, white, #f6faff);
    gap: 10px;
}
.favorites-row .avatar-large {
    width: 42px;
    height: 42px;
    font-size: 15px;
}
.favorites-row .person-card h2 {
    font-size: 15px;
    padding-right: 5px;
}
.directory-section .panel-heading {
    padding: 0 0 20px;
    gap: 20px;
}
.directory-search {
    width: min(100%, 360px);
}
.directory-section > .people-grid {
    margin-top: 10px;
}
.props-group-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.group-main {
    color: inherit;
    display: block;
    padding: 24px;
    flex: 1;
    text-decoration: none;
}
.group-main:hover {
    background: #f8fbff;
    color: inherit;
}
.group-main h2 {
    margin-top: 16px;
}
.group-main p {
    overflow-wrap: anywhere;
}
.group-members-link {
    display: block;
    color: var(--brand);
    margin-top: 20px;
    font-weight: 600;
    font-size: 13px;
}
.group-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 0 24px 24px;
}
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}
.props-form button:focus-visible,
.favorite-toggle:focus-visible,
.props-close:focus-visible,
.group-main:focus-visible {
    outline: 3px solid #91baff;
    outline-offset: 3px;
}
@media (max-width: 800px) {
    .props-page-grid {
        grid-template-columns: 1fr;
    }
    .props-aside {
        display: none;
    }
    .directory-section .panel-heading {
        flex-wrap: wrap;
    }
    .directory-search {
        width: 100%;
    }
}
@media (max-width: 540px) {
    .props-dialog {
        width: 100%;
        max-width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
        padding: 22px 18px;
    }
    .props-buttons .btn {
        flex: 1 1 auto;
    }
    .props-review {
        padding: 18px;
    }
    .favorites-row .person-card {
        flex-basis: 200px;
    }
}
.person-card {
    text-align: left;
}
.person-card .avatar {
    flex: none;
    width: 58px;
    height: 58px;
    margin: 0 0 4px;
    object-fit: cover;
}
.favorites-row .person-card .avatar {
    width: 42px;
    height: 42px;
    font-size: 15px;
}
.props-group-card > .group-main {
    margin-top: 0;
    font-size: inherit;
}
