/* Sign-in chooser: one person, member + staff account on one portal
   (theme_includes/identity_chooser.php, themes/shared/js/identity-switch.js). */
.qme-idc { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .55); box-sizing: border-box; overflow-y: auto; }
.qme-idc[hidden] { display: none; }
html.qme-idc-open, html.qme-idc-open body { overflow: hidden; }
.qme-idc__card { box-sizing: border-box; width: 100%; max-width: 560px; margin: auto; padding: 28px 28px 22px; border-radius: 16px; background: #fff; color: #1f2330; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); font-size: 16px; line-height: 1.5; text-align: left; }
.qme-idc__heading { margin: 0 0 6px; font-size: 22px; font-weight: 700; line-height: 1.3; color: inherit; }
.qme-idc__lead { margin: 0 0 18px; font-size: 16px; color: #4b5563; overflow-wrap: anywhere; }
.qme-idc__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qme-idc__form { margin: 0; }
.qme-idc__tile { position: relative; box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; height: 100%; min-height: 150px; padding: 18px 16px 16px; border: 2px solid #e5e7eb; border-radius: 14px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.qme-idc__tile:hover, .qme-idc__tile:focus { border-color: var(--site_color_g, #1f6feb); box-shadow: 0 8px 22px rgba(0, 0, 0, .12); outline: none; transform: translateY(-1px); }
.qme-idc__tile.is-last { border-color: var(--site_color_g, #1f6feb); }
.qme-idc__tile[disabled] { opacity: .6; cursor: wait; }
.qme-idc__role { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--site_color_g, #1f6feb); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; }
.qme-idc__tile--member .qme-idc__role { background: #e5e7eb; color: #1f2330; }
.qme-idc__title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.qme-idc__meta { font-size: 14px; color: #4b5563; overflow-wrap: anywhere; }
.qme-idc__last { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--site_color_g, #1f6feb); }
.qme-idc__note { margin: 16px 0 6px; font-size: 14px; color: #6b7280; }
.qme-idc__cancel { padding: 0; border: 0; background: none; color: var(--site_color_g, #1f6feb); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
@media (max-width: 575px) {
    .qme-idc__card { padding: 22px 16px 18px; }
    .qme-idc__tiles { grid-template-columns: 1fr; }
    .qme-idc__tile { min-height: 0; }
}
