/* _content/Harmony.WebDesktop/Components/Pages/ContactDetail.razor.rz.scp.css */
/*
 * Contacts — detail.
 *
 * Two columns: an identity rail that stays narrow, and the data cards that take
 * the rest. The hero is a bare surface rather than an HdCard because it carries
 * no header, and a card's title row would only add chrome around an avatar.
 */

.cd-bar[b-0b9em919l1] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.cd-bar__spacer[b-0b9em919l1] {
    flex: 1 1 auto;
}

.cd-layout[b-0b9em919l1] {
    display: grid;
    grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.cd-side[b-0b9em919l1],
.cd-main[b-0b9em919l1] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* ── Identity ──────────────────────────────────────────────────────── */
.cd-hero[b-0b9em919l1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 26px 20px 22px;
    text-align: center;
    background: var(--c-bg-elev);
    border-radius: var(--radius-hd-lg);
    box-shadow: var(--shadow-hd-card), inset 0 0 0 1px var(--c-separator);
}

.cd-hero__name[b-0b9em919l1] {
    margin-top: 6px;
    font-size: 18px;
    font-weight: 680;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--c-text);
}

.cd-hero__company[b-0b9em919l1] {
    font-size: 13.5px;
    color: var(--c-text-ter);
}

.cd-hero__badge[b-0b9em919l1] {
    margin-top: 4px;
}

.cd-hero__note[b-0b9em919l1] {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--c-separator);
    width: 100%;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--c-text-ter);
}

/* ── Data rows ─────────────────────────────────────────────────────── */
.cd-rows[b-0b9em919l1] {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.cd-row[b-0b9em919l1] {
    display: grid;
    grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    padding-block: 10px;
    border-bottom: 1px solid var(--c-separator);
}

.cd-row:first-child[b-0b9em919l1] { padding-top: 0; }
.cd-row:last-child[b-0b9em919l1] { padding-bottom: 0; border-bottom: 0; }

.cd-rows--tight .cd-row[b-0b9em919l1] {
    padding-block: 7px;
}

.cd-row__label[b-0b9em919l1] {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 13px;
    color: var(--c-text-ter);
}

.cd-row__value[b-0b9em919l1] {
    margin: 0;
    min-width: 0;
    font-size: 14px;
    color: var(--c-text);
    overflow-wrap: anywhere;
}

.cd-row__value a[b-0b9em919l1] {
    color: var(--c-focus);
    text-decoration: none;
}

.cd-row__value a:hover[b-0b9em919l1] {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cd-iban[b-0b9em919l1] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cd-address[b-0b9em919l1] {
    font-style: normal;
    font-size: 14px;
    line-height: 1.55;
    color: var(--c-text);
}

.cd-none[b-0b9em919l1] {
    margin: 0;
    font-size: 13.5px;
    color: var(--c-text-ter);
}

/* ── Skeletons ─────────────────────────────────────────────────────── */
.cd-skel[b-0b9em919l1] { border-radius: var(--radius-hd-lg); }
.cd-skel--hero[b-0b9em919l1] { height: 22rem; }
.cd-skel--body[b-0b9em919l1] { height: 30rem; }

@media (max-width: 900px) {
    .cd-layout[b-0b9em919l1] {
        grid-template-columns: minmax(0, 1fr);
    }

    .cd-row[b-0b9em919l1] {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }
}
/* _content/Harmony.WebDesktop/Components/Pages/ContactEdit.razor.rz.scp.css */
/*
 * Contacts — create / edit.
 *
 * A desktop form earns its width: every section lays its fields out on an
 * auto-fitting grid, so a wide window shows three columns of inputs instead of
 * one stretched column, and the whole fiche stays on a single screen.
 */

.ce-bar[b-lmwqj4i18v] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.ce-bar__heading[b-lmwqj4i18v] {
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    font-weight: 690;
    letter-spacing: -0.03em;
    color: var(--c-text);
}

.ce-bar__spacer[b-lmwqj4i18v] {
    flex: 1 1 auto;
}

.ce-alert[b-lmwqj4i18v] {
    margin-bottom: 16px;
}

.ce-layout[b-lmwqj4i18v] {
    display: grid;
    grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.ce-side[b-lmwqj4i18v],
.ce-main[b-lmwqj4i18v] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* ── Field grid ────────────────────────────────────────────────────── */
.ce-fields[b-lmwqj4i18v] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 14px 16px;
}

.ce-fields__wide[b-lmwqj4i18v] {
    grid-column: 1 / -1;
}

/* Blazor stamps .invalid on a control whose field failed validation; the border
   makes the red message under it findable in a four-column grid. */
.ce-fields[b-lmwqj4i18v]  .hd-input.invalid {
    border-color: var(--color-ios-red);
}

.ce-fields[b-lmwqj4i18v]  .hd-input.invalid:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-ios-red) 20%, transparent);
}

/* ── Photo ─────────────────────────────────────────────────────────── */
.ce-photo[b-lmwqj4i18v] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.ce-photo__actions[b-lmwqj4i18v] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.ce-photo__hint[b-lmwqj4i18v] {
    font-size: 12px;
    color: var(--c-text-ter);
}

/* ── Visibility ────────────────────────────────────────────────────── */
.ce-seg[b-lmwqj4i18v] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 3px;
    background: var(--c-bg-sunken);
    border-radius: var(--radius-hd);
}

.ce-seg__btn[b-lmwqj4i18v] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 32px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--c-text-sec);
    font-size: 13.5px;
    font-weight: 550;
    cursor: pointer;
    transition: background-color 100ms ease, color 100ms ease;
}

.ce-seg__btn:hover[b-lmwqj4i18v] {
    color: var(--c-text);
}

.ce-seg__btn.is-active[b-lmwqj4i18v] {
    background: var(--c-bg-elev);
    color: var(--c-text);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .10);
}

.ce-seg__hint[b-lmwqj4i18v] {
    margin: 10px 0 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--c-text-ter);
}

.ce-skel[b-lmwqj4i18v] {
    height: 34rem;
    border-radius: var(--radius-hd-lg);
}

@media (max-width: 900px) {
    .ce-layout[b-lmwqj4i18v] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* _content/Harmony.WebDesktop/Components/Pages/Contacts.razor.rz.scp.css */
/*
 * Contacts — list.
 *
 * Only the toolbar and the table's own density live here; every surface is a
 * design-system class. Column visibility is driven by viewport width minus the
 * sidebar (~17rem), which is why the breakpoints look shifted upwards.
 */

.ct-toolbar[b-srm74pgjtg] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.ct-toolbar__spacer[b-srm74pgjtg] {
    flex: 1 1 auto;
}

/* ── Search ────────────────────────────────────────────────────────── */
.ct-search[b-srm74pgjtg] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 18rem;
    max-width: 26rem;
    min-height: 34px;
    padding-inline: 11px;
    background: var(--c-bg-elev);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-hd);
    color: var(--c-text-ter);
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.ct-search:focus-within[b-srm74pgjtg] {
    border-color: var(--c-focus);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-focus) 22%, transparent);
}

.ct-search__icon[b-srm74pgjtg] {
    display: inline-flex;
    flex: 0 0 auto;
}

.ct-search__input[b-srm74pgjtg] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--c-text);
    font-size: 14px;
    outline: none;
}

.ct-search__input[b-srm74pgjtg]::placeholder {
    color: var(--c-text-ter);
}

/* The native clear affordance of type="search" is unstyleable and differs per
   browser; ours is the only one shown. */
.ct-search__input[b-srm74pgjtg]::-webkit-search-cancel-button {
    display: none;
}

.ct-search__clear[b-srm74pgjtg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--c-text-ter);
    cursor: pointer;
}

.ct-search__clear:hover[b-srm74pgjtg] {
    background: var(--c-hover);
    color: var(--c-text);
}

/* ── Visibility filter ─────────────────────────────────────────────── */
.ct-seg[b-srm74pgjtg] {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 3px;
    gap: 2px;
    background: var(--c-bg-sunken);
    border-radius: var(--radius-hd);
}

.ct-seg__btn[b-srm74pgjtg] {
    min-height: 28px;
    padding-inline: 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--c-text-sec);
    font-size: 13.5px;
    font-weight: 550;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 100ms ease, color 100ms ease;
}

.ct-seg__btn:hover[b-srm74pgjtg] {
    color: var(--c-text);
}

.ct-seg__btn.is-active[b-srm74pgjtg] {
    background: var(--c-bg-elev);
    color: var(--c-text);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .10);
}

/* ── Table ─────────────────────────────────────────────────────────── */
.ct-th[b-srm74pgjtg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ct-name[b-srm74pgjtg] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ct-name__link[b-srm74pgjtg] {
    color: var(--c-text);
    font-weight: 550;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ct-name__link:hover[b-srm74pgjtg] {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ct-muted[b-srm74pgjtg] {
    color: var(--c-text-sec);
}

.ct-nowrap[b-srm74pgjtg] {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.ct-truncate[b-srm74pgjtg] {
    max-width: 18rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Skeletons ─────────────────────────────────────────────────────── */
.ct-skel--search[b-srm74pgjtg] { height: 34px; width: min(26rem, 100%); flex: 1 1 18rem; border-radius: var(--radius-hd); }
.ct-skel--seg[b-srm74pgjtg]    { height: 34px; width: 13rem; border-radius: var(--radius-hd); }
.ct-skel--table[b-srm74pgjtg]  { height: 22rem; border-radius: var(--radius-hd-lg); }

/* ── Column shedding ───────────────────────────────────────────────── */
@media (max-width: 1280px) {
    .ct-col-phone[b-srm74pgjtg] { display: none; }
}

@media (max-width: 1120px) {
    .ct-col-mail[b-srm74pgjtg] { display: none; }
}

@media (max-width: 940px) {
    .ct-col-company[b-srm74pgjtg] { display: none; }
}

@media (max-width: 760px) {
    .ct-col-vis[b-srm74pgjtg] { display: none; }

    .ct-search[b-srm74pgjtg] {
        max-width: none;
    }
}
/* _content/Harmony.WebDesktop/Components/Pages/Family.razor.rz.scp.css */
/* Family overview — identity band above the member table. */

.fam-hero[b-384qixh8re] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.fam-hero__id[b-384qixh8re] {
    min-width: 0;
    flex: 1 1 auto;
}

.fam-hero__name[b-384qixh8re] {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--c-text);
}

.fam-hero__meta[b-384qixh8re] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 13px;
    color: var(--c-text-ter);
}

.fam-hero__desc[b-384qixh8re] {
    margin-top: 6px;
    font-size: 13.5px;
    color: var(--c-text-sec);
    max-width: 52ch;
}

.fam-hero__desc.is-empty[b-384qixh8re] {
    color: var(--c-text-ter);
    font-style: italic;
}

.fam-hero__actions[b-384qixh8re] {
    flex: 0 0 auto;
    align-self: flex-start;
}

@media (max-width: 767px) {
    .fam-hero[b-384qixh8re] {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

.fam-member[b-384qixh8re] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.fam-member__id[b-384qixh8re] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.fam-member__name[b-384qixh8re] {
    font-weight: 550;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fam-member__alias[b-384qixh8re] {
    font-size: 12px;
    color: var(--c-text-ter);
}

.fam-badges[b-384qixh8re] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fam-badge--head[b-384qixh8re] {
    color: var(--color-ios-orange);
    background: color-mix(in srgb, var(--color-ios-orange) 14%, transparent);
}

.fam-badge--warn[b-384qixh8re] {
    color: var(--color-ios-red);
    background: color-mix(in srgb, var(--color-ios-red) 12%, transparent);
}

.fam-perm[b-384qixh8re] {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    font-size: 13.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.fam-perm__sub[b-384qixh8re] {
    font-size: 12px;
    color: var(--c-text-ter);
}

.fam-perm--all[b-384qixh8re] {
    color: var(--color-ios-orange);
    font-weight: 550;
}

.fam-perm--none[b-384qixh8re] {
    color: var(--c-text-ter);
}

.fam-col-action[b-384qixh8re] {
    text-align: end;
    width: 1%;
    white-space: nowrap;
}

.fam-form[b-384qixh8re] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
/* _content/Harmony.WebDesktop/Components/Pages/FamilyMemberDetail.razor.rz.scp.css */
/* Member fiche — identity band, paired forms, permission grid, sensitive zone. */

.member-page[b-dt5j47zlma] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.member-hero[b-dt5j47zlma] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.member-hero__id[b-dt5j47zlma] {
    flex: 1 1 auto;
    min-width: 0;
}

.member-hero__name[b-dt5j47zlma] {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--c-text);
}

.member-hero__badges[b-dt5j47zlma] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 13px;
    color: var(--c-text-ter);
}

.member-badge--head[b-dt5j47zlma] {
    color: var(--color-ios-orange);
    background: color-mix(in srgb, var(--color-ios-orange) 14%, transparent);
}

.member-badge--warn[b-dt5j47zlma] {
    color: var(--color-ios-red);
    background: color-mix(in srgb, var(--color-ios-red) 12%, transparent);
}

/* Identity and preferences sit side by side while the window is wide enough to
   read both without scanning back and forth; the permission grid below always
   spans the full width because it is the widest thing on the page. */
.member-grid[b-dt5j47zlma] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 1023px) {
    .member-grid[b-dt5j47zlma] {
        grid-template-columns: 1fr;
    }
}

.member-form[b-dt5j47zlma] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.member-form__grid[b-dt5j47zlma] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 14px;
}

.member-form__actions[b-dt5j47zlma] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.member-form__actions--inset[b-dt5j47zlma] {
    padding: 14px 18px;
    border-block-start: 1px solid var(--c-separator);
}

.member-dirty[b-dt5j47zlma] {
    margin-inline-end: auto;
    font-size: 12.5px;
    color: var(--color-ios-orange);
}

.member-hint[b-dt5j47zlma] {
    font-size: 12.5px;
    font-weight: 400;
    color: var(--c-text-ter);
}

.member-note[b-dt5j47zlma] {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--c-text-sec);
}

.member-notice[b-dt5j47zlma] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--c-text-sec);
}

.member-notice p[b-dt5j47zlma] {
    margin: 0;
}

.member-notice__signout[b-dt5j47zlma] {
    align-self: flex-start;
    text-decoration: none;
}

/* Sensitive zone: separated rows so the destructive control is never adjacent
   to an ordinary form action. */
.member-danger[b-dt5j47zlma] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.member-danger__row[b-dt5j47zlma] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-block-end: 1px solid var(--c-separator);
}

.member-danger__row:last-child[b-dt5j47zlma] {
    border-block-end: 0;
}

.member-danger__text[b-dt5j47zlma] {
    flex: 1 1 auto;
    min-width: 0;
}

.member-danger__title[b-dt5j47zlma] {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
}

.member-danger__desc[b-dt5j47zlma] {
    margin-top: 2px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--c-text-ter);
    max-width: 60ch;
}

@media (max-width: 767px) {
    .member-danger__row[b-dt5j47zlma] {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.member-confirm[b-dt5j47zlma] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--c-text-sec);
}

.member-confirm p[b-dt5j47zlma] {
    margin: 0;
}

.member-confirm__warn[b-dt5j47zlma] {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius-hd);
    background: color-mix(in srgb, var(--color-ios-orange) 12%, transparent);
    color: var(--c-text);
    font-size: 13px;
}

.member-confirm__ack[b-dt5j47zlma] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: var(--c-text);
    font-size: 13.5px;
}

.member-confirm__ack input[b-dt5j47zlma] {
    margin-top: 2px;
}
/* _content/Harmony.WebDesktop/Components/Pages/FamilyMemberNew.razor.rz.scp.css */
/* Member creation — identity form above the permission grid. */

.new-member[b-jr2jb40t24] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.new-member__grid[b-jr2jb40t24] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 16px;
}

.new-member__password[b-jr2jb40t24] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-member__password .hd-input[b-jr2jb40t24] {
    flex: 1 1 auto;
    min-width: 0;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

.new-member__hint[b-jr2jb40t24] {
    font-size: 12.5px;
    font-weight: 400;
    color: var(--c-text-ter);
}

/* Sticky footer for the commit action: the permission grid is tall enough that
   a button at the very bottom would be off-screen while the head is still
   deciding. */
.new-member__actions[b-jr2jb40t24] {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 0;
    background: linear-gradient(to top, var(--c-bg) 62%, transparent);
}
/* _content/Harmony.WebDesktop/Components/Pages/Inbox.razor.rz.scp.css */
/*
 * Inbox — page-scoped styles.
 *
 * Only selectors whose last element belongs to this page: Blazor's CSS
 * isolation appends the scope attribute to the *last* selector, so a rule
 * reaching into a child component's markup would never match.
 */

.inbox[b-urdw26qq89] {
    display: grid;
    grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 899px) {
    .inbox[b-urdw26qq89] { grid-template-columns: 1fr; }
}

/* Header controls wrap instead of squeezing the card title out of the row —
   there are four of them and the card header is a single flex line. */
.inbox-actions[b-urdw26qq89] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
    margin-inline-start: auto;
}

.inbox-group[b-urdw26qq89] { border-block-end: 1px solid var(--c-separator); }
.inbox-group:last-child[b-urdw26qq89] { border-block-end: 0; }

.inbox-day[b-urdw26qq89] {
    margin: 0;
    padding: 8px 18px 7px;
    background: var(--c-bg-sunken);
    color: var(--c-text-ter);
    font-size: 11px;
    font-weight: 640;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.inbox-row[b-urdw26qq89] {
    display: flex;
    align-items: stretch;
    border-block-end: 1px solid var(--c-separator);
}
.inbox-row:last-child[b-urdw26qq89] { border-block-end: 0; }
.inbox-row:hover[b-urdw26qq89] { background: var(--c-hover); }
.inbox-row.is-unread[b-urdw26qq89] { background: var(--c-selected); }
.inbox-row.is-unread:hover[b-urdw26qq89] { background: color-mix(in srgb, var(--c-selected) 70%, var(--c-hover)); }
.inbox-row.is-busy[b-urdw26qq89] { opacity: .5; }

.inbox-row__main[b-urdw26qq89] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 11px 8px 11px 18px;
    border: 0;
    background: transparent;
    color: var(--c-text);
    text-align: start;
    cursor: pointer;
}
.inbox-row__main:disabled[b-urdw26qq89] { cursor: default; }

/* The tint comes from the notification's own colour, set inline; the icon
   itself is drawn in currentColor and inherits the white set here. */
.inbox-row__icon[b-urdw26qq89] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: #fff;
}

.inbox-row__body[b-urdw26qq89] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1 1 auto;
    min-width: 0;
}

.inbox-row__head[b-urdw26qq89] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.inbox-row__dot[b-urdw26qq89] {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--color-ios-blue);
}

.inbox-row__title[b-urdw26qq89] {
    min-width: 0;
    font-size: 14px;
    font-weight: 520;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.inbox-row.is-unread .inbox-row__title[b-urdw26qq89] { font-weight: 650; }

.inbox-row__time[b-urdw26qq89] {
    flex: 0 0 auto;
    margin-inline-start: auto;
    color: var(--c-text-ter);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}

.inbox-row__msg[b-urdw26qq89] {
    color: var(--c-text-sec);
    font-size: 13px;
    line-height: 1.4;
    /* Two lines then ellipsis: a notification body can be a full paragraph, and
       the inbox is a scanning surface — the destination page carries the detail. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.inbox-row__meta[b-urdw26qq89] {
    color: var(--c-text-ter);
    font-size: 11.5px;
}

/* Row actions stay out of the way until the row is pointed at. :focus-within
   brings them back for keyboard users, and pointer-coarse devices — which have
   no hover — keep them permanently visible. */
.inbox-row__actions[b-urdw26qq89] {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
    padding-inline: 10px;
    opacity: 0;
    transition: opacity 90ms ease;
}
.inbox-row:hover .inbox-row__actions[b-urdw26qq89],
.inbox-row:focus-within .inbox-row__actions[b-urdw26qq89] { opacity: 1; }

@media (hover: none) {
    .inbox-row__actions[b-urdw26qq89] { opacity: 1; }
}
/* _content/Harmony.WebDesktop/Components/Pages/Profile.razor.rz.scp.css */
.pidentity[b-238mn1glv3] {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pidentity__id[b-238mn1glv3] { min-width: 0; }

.pidentity__name[b-238mn1glv3] {
    font-size: 21px;
    font-weight: 680;
    letter-spacing: -0.025em;
    color: var(--c-text);
}

.pidentity__mail[b-238mn1glv3] {
    margin-top: 3px;
    font-size: 13.5px;
    color: var(--c-text-ter);
    overflow-wrap: anywhere;
}

.pidentity__badges[b-238mn1glv3] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 11px;
}

/* Two columns of definition pairs: the values are short, and a single column
   would leave two thirds of a desktop card empty. */
.pfacts[b-238mn1glv3] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 0 28px;
    margin: 20px 0 0;
    padding-top: 6px;
    border-top: 1px solid var(--c-separator);
}

.pfacts__row[b-238mn1glv3] {
    display: flex;
    align-items: baseline;
    gap: 14px;
    min-width: 0;
    padding: 9px 0;
    border-bottom: 1px solid var(--c-separator);
}

.pfacts dt[b-238mn1glv3] {
    flex: 0 0 8.5rem;
    font-size: 12.5px;
    color: var(--c-text-ter);
}

.pfacts dd[b-238mn1glv3] {
    margin: 0;
    min-width: 0;
    font-size: 13.5px;
    color: var(--c-text);
    overflow-wrap: anywhere;
}

.pfacts dd.is-empty[b-238mn1glv3] { color: var(--c-text-ter); }

.pmetric[b-238mn1glv3] {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.pmetric__value[b-238mn1glv3] {
    font-size: 28px;
    font-weight: 690;
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    color: var(--c-text);
}

.pmetric__label[b-238mn1glv3] {
    font-size: 13px;
    color: var(--c-text-ter);
}

.pnote[b-238mn1glv3] {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--c-text-ter);
}

.pactions[b-238mn1glv3] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.pkv[b-238mn1glv3] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--c-separator);
    font-size: 13.5px;
}

.pkv__k[b-238mn1glv3] { color: var(--c-text-ter); flex: 0 0 auto; }

.pkv__v[b-238mn1glv3] {
    color: var(--c-text);
    font-weight: 550;
    text-align: end;
    min-width: 0;
    overflow-wrap: anywhere;
}
/* _content/Harmony.WebDesktop/Components/Pages/ProfileAccount.razor.rz.scp.css */
/* Main column for the form itself, side column for the photo and the read-only
   account facts — the two never compete for the same eye movement. */
.pform[b-u1od4rxg7g] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(17rem, 1fr);
    gap: 16px;
    align-items: start;
}

.pform__col[b-u1od4rxg7g] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

@media (max-width: 959px) {
    .pform[b-u1od4rxg7g] { grid-template-columns: 1fr; }
}

.pfields[b-u1od4rxg7g] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 15px 18px;
}

/* HdField renders its own wrapper, so the modifier can only be reached with
   ::deep — the scope attribute never lands on another component's markup. */
.pfields[b-u1od4rxg7g]  .pfields__wide { grid-column: 1 / -1; }

.pphoto[b-u1od4rxg7g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.pphoto__picker[b-u1od4rxg7g]  input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.pphoto__picker label[b-u1od4rxg7g] { cursor: pointer; }

.pphoto__note[b-u1od4rxg7g] {
    font-size: 12px;
    line-height: 1.45;
    color: var(--c-text-ter);
}

.pkv[b-u1od4rxg7g] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--c-separator);
    font-size: 13.5px;
}

.pkv__k[b-u1od4rxg7g] { color: var(--c-text-ter); flex: 0 0 auto; }

.pkv__v[b-u1od4rxg7g] {
    color: var(--c-text);
    font-weight: 550;
    text-align: end;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Sticks to the bottom of the scrollport so "Enregistrer" is reachable without
   scrolling back down a two-card form. */
.pbar[b-u1od4rxg7g] {
    position: sticky;
    bottom: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: var(--radius-hd-lg);
    background: var(--c-bg-elev);
    box-shadow: var(--shadow-hd-raised), inset 0 0 0 1px var(--c-separator);
}

.pbar__spacer[b-u1od4rxg7g] { flex: 1 1 auto; }

.pbar__state[b-u1od4rxg7g] {
    font-size: 12.5px;
    color: var(--c-text-ter);
}
/* _content/Harmony.WebDesktop/Components/Pages/ProfileNav.razor.rz.scp.css */
/* NavLink renders its own <a>, which never receives this component's scope
   attribute — the links are only reachable through ::deep. */
.pnav[b-0xmuc9n3gl] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--c-separator);
}

.pnav[b-0xmuc9n3gl]  a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: var(--radius-hd);
    font-size: 13.5px;
    font-weight: 550;
    color: var(--c-text-sec);
    text-decoration: none;
    white-space: nowrap;
}

.pnav[b-0xmuc9n3gl]  a:hover {
    background: var(--c-hover);
    color: var(--c-text);
}

.pnav[b-0xmuc9n3gl]  a.is-active {
    background: var(--c-selected);
    color: var(--c-focus);
}
/* _content/Harmony.WebDesktop/Components/Pages/ProfilePassword.razor.rz.scp.css */
.ppass[b-rvecj9ylif] {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(17rem, 1fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 959px) {
    .ppass[b-rvecj9ylif] { grid-template-columns: 1fr; }
}

.ppass__lead[b-rvecj9ylif] {
    margin: 0 0 16px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--c-text-sec);
}

.ppass__forced[b-rvecj9ylif] { margin-bottom: 16px; }

/* One column: the three boxes are a sequence, and side-by-side password fields
   read as alternatives rather than as steps. */
.ppass__fields[b-rvecj9ylif] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 26rem;
}

.prules[b-rvecj9ylif] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    font-size: 12.5px;
    color: var(--c-text-ter);
}

.prules li[b-rvecj9ylif] {
    display: flex;
    align-items: center;
    gap: 7px;
}

.prules li.is-ok[b-rvecj9ylif] { color: var(--color-ios-green); }

.ppass__actions[b-rvecj9ylif] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.pinfo[b-rvecj9ylif] {
    margin: 0;
    padding-inline-start: 18px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--c-text-sec);
}

.ppass__side[b-rvecj9ylif] {
    margin: 14px 0 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--c-text-ter);
}
/* _content/Harmony.WebDesktop/Components/Pages/ProfilePreferences.razor.rz.scp.css */
.ppref__intro[b-72duznyu10] {
    margin: 0 0 18px;
    max-width: 60ch;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--c-text-ter);
}

.ppref[b-72duznyu10] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 959px) {
    .ppref[b-72duznyu10] { grid-template-columns: 1fr; }
}

.ppref__list[b-72duznyu10] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
}

.ppref__note[b-72duznyu10] {
    margin: 0;
    padding: 0 18px 16px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--c-text-ter);
}

/* Two-line rows: the design system's row is single-line by default, and these
   selectors are scoped, so nothing outside this page is widened. */
.hd-selectrow[b-72duznyu10] { min-height: 3.1rem; }

.hd-selectrow__label[b-72duznyu10] { line-height: 1.3; }

.ppref__sub[b-72duznyu10] {
    display: block;
    font-size: 11.5px;
    font-weight: 450;
    color: var(--c-text-ter);
    overflow: hidden;
    text-overflow: ellipsis;
}

.hd-selectrow.is-active .ppref__sub[b-72duznyu10] { color: inherit; opacity: .8; }

.ptz__head[b-72duznyu10] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--c-separator);
}

.ptz__current[b-72duznyu10] { padding: 0; }

/* Capped height: forty-odd rows would push the save bar off the page, and the
   list is the one part of this screen meant to be scrolled. */
.ptz__list[b-72duznyu10] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    max-height: 27rem;
    overflow-y: auto;
}

.ptz__group[b-72duznyu10] {
    padding: 12px 12px 5px;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--c-text-ter);
}

.ptz__meta[b-72duznyu10] {
    flex: 0 0 auto;
    font-size: 11.5px;
    color: var(--c-text-ter);
    font-variant-numeric: tabular-nums;
}

.hd-selectrow.is-active .ptz__meta[b-72duznyu10] { color: inherit; opacity: .8; }

.pbar[b-72duznyu10] {
    position: sticky;
    bottom: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: var(--radius-hd-lg);
    background: var(--c-bg-elev);
    box-shadow: var(--shadow-hd-raised), inset 0 0 0 1px var(--c-separator);
}

.pbar__spacer[b-72duznyu10] { flex: 1 1 auto; }

.pbar__state[b-72duznyu10] {
    font-size: 12.5px;
    color: var(--c-text-ter);
}
/* _content/Harmony.WebDesktop/Components/Pages/ProfileSecurity.razor.rz.scp.css */
/* The card is unpadded so the table can reach its edges; the prose above it has
   to bring its own gutters back. */
.psec__intro[b-6zvu1esvhu] {
    margin: 0;
    padding: 14px 18px;
    border-bottom: 1px solid var(--c-separator);
    font-size: 13px;
    line-height: 1.5;
    color: var(--c-text-ter);
}

.psec__skeleton[b-6zvu1esvhu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 18px;
}

.psec__device[b-6zvu1esvhu] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.psec__icon[b-6zvu1esvhu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: var(--c-text-sec);
    background: var(--c-bg-sunken);
}

.psec__name[b-6zvu1esvhu] {
    font-weight: 550;
    color: var(--c-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.psec__current[b-6zvu1esvhu] {
    flex: 0 0 auto;
    color: var(--color-ios-green);
    background: color-mix(in srgb, var(--color-ios-green) 14%, transparent);
}

.psec__self[b-6zvu1esvhu] {
    font-size: 12.5px;
    color: var(--c-text-ter);
    white-space: nowrap;
}

.psec__foot[b-6zvu1esvhu] {
    margin-top: 16px;
    max-width: 32rem;
}

.psec__note[b-6zvu1esvhu] {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--c-text-sec);
}

.psec__note:last-child[b-6zvu1esvhu] { margin-bottom: 0; }
/* _content/Harmony.WebDesktop/Components/Shared/PermissionMatrix.razor.rz.scp.css */
/*
 * Permission matrix — modules in rows, actions in columns.
 *
 * These rules are unlayered while the design system lives in @layer components,
 * so they win over .hd-table without needing !important or a specificity war.
 */

.pm-loading[b-rdl07b75lw] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0;
}

.pm-table[b-rdl07b75lw] {
    /* Auto rather than fixed: the module column takes what its longest label
       needs and the action columns share the rest evenly. */
    min-width: 46rem;
}

.pm-th-module[b-rdl07b75lw] {
    min-width: 13rem;
}

/* Action headings wrap instead of forcing a 20rem column for
   "Confirmer et envoyer un paiement". */
.pm-th-action[b-rdl07b75lw] {
    white-space: normal;
    width: 6.5rem;
    min-width: 5.5rem;
    text-align: center;
    vertical-align: bottom;
    line-height: 1.25;
    text-transform: none;
    font-size: 11.5px;
    letter-spacing: 0;
}

.pm-th-bulk[b-rdl07b75lw] {
    text-align: end;
    white-space: nowrap;
    width: 1%;
}

/* The row header is a <th> for screen readers, but .hd-table th is the sticky
   column heading style — reset it, or every module label would stick to the top
   of the viewport and render as uppercase micro-type. */
.pm-table tbody th[b-rdl07b75lw] {
    position: static;
    z-index: auto;
    background: transparent;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 550;
    color: var(--c-text);
    border-block-end: 1px solid var(--c-separator);
}

.pm-table tbody tr:last-child th[b-rdl07b75lw] {
    border-block-end: 0;
}

.pm-module[b-rdl07b75lw] {
    display: flex;
    align-items: center;
    gap: 9px;
    height: var(--row-h);
}

.pm-module__icon[b-rdl07b75lw] {
    display: inline-flex;
    color: var(--c-text-ter);
    flex: 0 0 auto;
}

.pm-module__label[b-rdl07b75lw] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-module__count[b-rdl07b75lw] {
    flex: 0 0 auto;
    font-size: 11.5px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    color: var(--c-text-ter);
    background: var(--c-bg-sunken);
    border-radius: 999px;
    padding: 2px 7px;
}

.pm-module__count.is-on[b-rdl07b75lw] {
    color: var(--c-focus);
    background: color-mix(in srgb, var(--c-focus) 14%, transparent);
}

.pm-cell[b-rdl07b75lw] {
    text-align: center;
}

.pm-cell--bulk[b-rdl07b75lw] {
    text-align: end;
    white-space: nowrap;
}

.pm-na[b-rdl07b75lw] {
    color: var(--c-text-ter);
    opacity: .5;
}

/* The whole cell is the hit area: aiming at a 16px box in a 13-column grid is
   the kind of precision a mouse should not have to supply. */
.pm-box[b-rdl07b75lw] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    border-radius: var(--radius-hd);
    cursor: pointer;
}

.pm-box:hover[b-rdl07b75lw] {
    background: var(--c-hover);
}

.pm-check[b-rdl07b75lw] {
    appearance: none;
    width: 17px;
    height: 17px;
    margin: 0;
    border: 1.5px solid var(--c-text-ter);
    border-radius: 5px;
    background: var(--c-bg-elev);
    cursor: pointer;
    position: relative;
    flex: 0 0 auto;
    transition: background-color 100ms ease, border-color 100ms ease;
}

.pm-check:checked[b-rdl07b75lw] {
    background: var(--c-focus);
    border-color: var(--c-focus);
}

.pm-check:checked[b-rdl07b75lw]::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translateY(-1px) rotate(45deg);
}

.pm-check:focus-visible[b-rdl07b75lw] {
    outline: 2px solid var(--c-focus);
    outline-offset: 2px;
}

.pm-check:disabled[b-rdl07b75lw] {
    opacity: .45;
    cursor: not-allowed;
}

.pm-box:has(.pm-check:disabled)[b-rdl07b75lw] {
    cursor: not-allowed;
}

.pm-box:has(.pm-check:disabled):hover[b-rdl07b75lw] {
    background: transparent;
}

/* Each box carries its own name for assistive tech — "Finances · Confirmer et
   envoyer un paiement" — because a column heading alone loses the module. */
.pm-vh[b-rdl07b75lw] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
