/* /Components/Admin/Pages/Assistant/AssistantPage.razor.rz.scp.css */
/* Full Roomzy AI page. Tokens only. The chat fills the viewport below the topbar so only its message list scrolls. */

.assistant-page[b-sr8buz8ekv] {
    max-width: 900px;
    margin-inline: auto;
}

.assistant-page-header[b-sr8buz8ekv] {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-3);
}

.assistant-page-header h1[b-sr8buz8ekv] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

/* viewport - topbar - .app-content padding (top + bottom) - header row */
.assistant-page-chat[b-sr8buz8ekv] {
    height: calc(100dvh - var(--topbar-height) - 2 * var(--space-5) - 3rem);
    min-height: 20rem;
}

.assistant-page-chat[b-sr8buz8ekv]  .assistant-chat {
    height: 100%;
}

/* Phones: also clear the fixed 60px bottom nav and the home-indicator inset. */
@media (max-width: 767.98px) {
    .assistant-page-chat[b-sr8buz8ekv] {
        height: calc(100dvh - var(--topbar-height) - 2 * var(--space-5) - 3rem - 60px - env(safe-area-inset-bottom, 0px));
    }
}
/* /Components/Admin/Pages/Help/HelpPage.razor.rz.scp.css */
/* Full help page. Same look as the panel's article presentation (rules mirrored from HelpPanel.razor.css). */
.help-page-back[b-e9898qcsju] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--text-link);
    text-decoration: none;
}

.help-item[b-e9898qcsju] {
    text-decoration: none;
}

.help-item:focus-visible[b-e9898qcsju],
.help-page-back:focus-visible[b-e9898qcsju] {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}
.help-section-title[b-e9898qcsju] {
    margin: var(--space-2) 0;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.help-list[b-e9898qcsju] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin: 0 0 var(--space-4);
    padding: 0;
    list-style: none;
}

.help-item[b-e9898qcsju] {
    display: block;
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    color: var(--text-primary);
    text-align: start;
}

.help-item:hover[b-e9898qcsju] {
    background: var(--surface-hover);
}

.help-item-title[b-e9898qcsju] {
    display: block;
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
    color: var(--text-link);
}

.help-item-snippet[b-e9898qcsju] {
    display: block;
    margin-top: var(--space-1);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.help-empty[b-e9898qcsju],
.help-notice[b-e9898qcsju] {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.help-notice[b-e9898qcsju] {
    margin: 0 0 var(--space-3);
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--surface-sunken);
}

/* Article HTML is injected as markup, so it carries no scope attribute: reach it with ::deep. */
.help-article[b-e9898qcsju]  h1 {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    margin: 0 0 var(--space-3);
}

.help-article[b-e9898qcsju]  h2 {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    margin: var(--space-4) 0 var(--space-2);
}

.help-article[b-e9898qcsju]  h3 {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    margin: var(--space-3) 0 var(--space-2);
}

.help-article[b-e9898qcsju]  p,
.help-article[b-e9898qcsju]  li {
    font-size: var(--fs-md);
    line-height: 1.5;
}

.help-article[b-e9898qcsju]  a {
    color: var(--text-link);
}

.help-article[b-e9898qcsju]  img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.help-article[b-e9898qcsju]  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}

.help-article[b-e9898qcsju]  th,
.help-article[b-e9898qcsju]  td {
    padding: var(--space-1) var(--space-2);
    border: 1px solid var(--border-subtle);
}

.help-article[b-e9898qcsju]  code {
    font-size: var(--fs-sm);
}


/* /Components/Admin/Pages/Inbox/Inbox.razor.rz.scp.css */
/* ============================================================
   Unified Inbox page: card shell + responsive column grid (phase 2 step 3).
   Phones/tablets (<992px): one column, list OR thread. 992px+: list + thread. 1400px+: + reservation aside.
   The list rows, thread and context panel are styled in their own component files. Tokens only (light + dark).
   ============================================================ */

.inbox-subtitle[b-z6ji5033cf] {
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    line-height: var(--lh-snug);
    color: var(--text-secondary);
}

.inbox-shell[b-z6ji5033cf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    background: var(--bento-surface);
    border: 1px solid var(--bento-border);
    border-radius: var(--bento-radius);
    box-shadow: var(--bento-shadow);
}

.inbox-list-col[b-z6ji5033cf] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.inbox-thread-col[b-z6ji5033cf] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.inbox-empty[b-z6ji5033cf] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-8) var(--space-4);
    text-align: center;
    font-size: var(--fs-md);
    color: var(--text-secondary);
}

.inbox-empty > i[b-z6ji5033cf] {
    font-size: var(--fs-3xl);
    color: var(--text-muted);
}

/* ---- No thread open (992px+): summary of the chip counts with filter shortcuts ---- */
.inbox-welcome[b-z6ji5033cf] {
    gap: var(--space-3);
}

.inbox-welcome-bubble[b-z6ji5033cf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--icon-tint-brand-bg);
    color: var(--icon-tint-brand-fg);
    font-size: var(--fs-2xl);
}

.inbox-welcome-summary[b-z6ji5033cf] {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.inbox-welcome-actions[b-z6ji5033cf] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
}

.inbox-welcome-hint[b-z6ji5033cf] {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* ---- Below 992px: one column; the thread replaces the list ---- */
@media (max-width: 991.98px) {
    .no-thread .inbox-thread-col[b-z6ji5033cf] {
        display: none;
    }

    .has-thread .inbox-list-col[b-z6ji5033cf],
    .has-thread .inbox-header[b-z6ji5033cf] {
        display: none;
    }

    /* Bounded so the message list scrolls: viewport - topbar - 60px bottom nav - content padding top/bottom. */
    .inbox-thread-col[b-z6ji5033cf] {
        height: calc(100dvh - var(--topbar-height) - 60px - (var(--space-3) * 2));
        min-height: 420px;
    }
}

/* ---- 992px and up: list + thread, each scrolling internally ---- */
@media (min-width: 992px) {
    .inbox-shell[b-z6ji5033cf] {
        grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
        height: calc(100dvh - var(--topbar-height) - (var(--space-5) * 2) - 4rem);
        min-height: 520px;
    }

    .inbox-list-col[b-z6ji5033cf] {
        border-right: 1px solid var(--border-default);
    }
}

/* ---- 1400px and up: reservation aside as a third column once a thread is open ---- */
@media (min-width: 1400px) {
    .has-thread .inbox-shell[b-z6ji5033cf] {
        grid-template-columns: minmax(300px, 360px) minmax(0, 1fr) minmax(260px, 320px);
    }

    .inbox-context-col[b-z6ji5033cf] {
        min-width: 0;
        min-height: 0;
        overflow: auto;
        border-left: 1px solid var(--border-default);
    }
}
/* /Components/Admin/Pages/Inbox/InboxContextPanel.razor.rz.scp.css */
/* ============================================================
   Inbox reservation context (phase 2 step 3): Aside (1400px+ third column) and Strip (collapsed, in the thread).
   The balance is plain text, never red (P2-D26). Tokens only: correct in light and dark.
   ============================================================ */

.inbox-context[b-km7hary0c0] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
}

.inbox-context-head[b-km7hary0c0] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.inbox-context-head .inbox-context-label[b-km7hary0c0] {
    flex: 1 1 auto;
}

.inbox-context-label[b-km7hary0c0] {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--text-secondary);
}

.inbox-context-code[b-km7hary0c0] {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.01em;
    text-decoration: none;
    overflow-wrap: anywhere;
    color: var(--text-link);
}

.inbox-context-code:hover[b-km7hary0c0] {
    color: var(--text-link-hover);
    text-decoration: underline;
}

.inbox-mini-grid[b-km7hary0c0] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2);
}

.inbox-mini[b-km7hary0c0] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    background: var(--surface-sunken);
}

.inbox-mini-label[b-km7hary0c0] {
    font-size: var(--fs-xs);
    color: var(--text-secondary);
}

.inbox-mini-value[b-km7hary0c0] {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    overflow-wrap: anywhere;
    color: var(--text-primary);
}

.inbox-context-list[b-km7hary0c0] {
    margin: 0;
}

.inbox-context-list > div[b-km7hary0c0] {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: var(--fs-md);
}

.inbox-context-list > div:last-child[b-km7hary0c0] {
    border-bottom: 0;
}

.inbox-context-list dt[b-km7hary0c0] {
    flex: none;
    font-weight: var(--fw-regular);
    color: var(--text-secondary);
}

.inbox-context-list dd[b-km7hary0c0] {
    min-width: 0;
    margin: 0;
    font-weight: var(--fw-medium);
    text-align: end;
    overflow-wrap: anywhere;
    color: var(--text-primary);
}

.inbox-context-list dd.inbox-ok[b-km7hary0c0] {
    font-weight: var(--fw-semibold);
    color: var(--color-success);
}

.inbox-context-list dd.inbox-strong[b-km7hary0c0] {
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.inbox-open-reservation[b-km7hary0c0] {
    align-self: flex-start;
}

.inbox-context-note[b-km7hary0c0] {
    margin: 0;
    font-size: var(--fs-sm);
    line-height: var(--lh-normal);
    color: var(--text-secondary);
}

/* ---- Strip (below 1400px, above the messages) ---- */
.inbox-strip[b-km7hary0c0] {
    flex: none;
    border-bottom: 1px solid var(--border-default);
    background: var(--surface-raised);
}

.inbox-strip-toggle[b-km7hary0c0] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    width: 100%;
    padding: var(--space-2) var(--space-4);
    border: 0;
    background: transparent;
    color: inherit;
    text-align: start;
    cursor: pointer;
    transition: background var(--transition-base);
}

.inbox-strip-toggle:hover[b-km7hary0c0] {
    background: var(--surface-hover);
}

.inbox-strip-toggle:focus-visible[b-km7hary0c0] {
    outline: 2px solid var(--border-focus);
    outline-offset: -2px;
}

.inbox-strip-code[b-km7hary0c0] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

/* :not([hidden]) so the hidden attribute keeps collapsing the details */
.inbox-strip-details:not([hidden])[b-km7hary0c0] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: 0 var(--space-4) var(--space-4);
}
/* /Components/Admin/Pages/Inbox/InboxConversationList.razor.rz.scp.css */
/* ============================================================
   Inbox conversation list: chips, search, filters, rows (phase 2 step 3).
   Tokens only: correct in light and dark. The channel pill colours stay in channel-badges.css.
   ============================================================ */

.inbox-tools[b-1k1rj4xoul] {
    flex: none;
    padding: var(--space-3);
    border-bottom: 1px solid var(--border-default);
}

.inbox-chips[b-1k1rj4xoul] {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: var(--space-2);
    min-width: 0;
}

.inbox-chip[b-1k1rj4xoul] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    line-height: var(--lh-normal);
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base);
}

.inbox-chip:hover:not(:disabled)[b-1k1rj4xoul] {
    background: var(--surface-hover);
}

.inbox-chip.active[b-1k1rj4xoul] {
    background: var(--icon-tint-brand-bg);
    border-color: var(--brand-alpha-25);
    color: var(--icon-tint-brand-fg);
}

.inbox-chip:focus-visible[b-1k1rj4xoul],
.inbox-tool-btn:focus-visible[b-1k1rj4xoul],
.inbox-row:focus-visible[b-1k1rj4xoul] {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.inbox-chip:disabled[b-1k1rj4xoul] {
    opacity: 0.6;
    cursor: default;
}

.inbox-chip-count[b-1k1rj4xoul] {
    min-width: 1.25rem;
    padding: 0 var(--space-1);
    border-radius: var(--radius-pill);
    background: var(--badge-neutral-bg);
    color: var(--badge-neutral-fg);
    font-size: var(--fs-xs);
    line-height: 1.25rem;
    text-align: center;
}

.inbox-chip.active .inbox-chip-count[b-1k1rj4xoul] {
    background: var(--brand-alpha-18);
    color: inherit;
}

.inbox-tool-btn[b-1k1rj4xoul] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
}

.inbox-tool-btn.active[b-1k1rj4xoul] {
    background: var(--icon-tint-brand-bg);
    border-color: var(--brand-alpha-25);
    color: var(--icon-tint-brand-fg);
}

.inbox-search[b-1k1rj4xoul] {
    display: flex;
    margin-top: var(--space-2);
}

.inbox-search .input-group[b-1k1rj4xoul] {
    flex: 1 1 auto;
    min-width: 0;
}

.inbox-selects[b-1k1rj4xoul] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-2);
}

.inbox-select[b-1k1rj4xoul] {
    flex: 1 1 140px;
    min-width: 0;
}

.inbox-select .form-label[b-1k1rj4xoul] {
    margin-bottom: var(--space-1);
    font-size: var(--fs-xs);
    color: var(--text-secondary);
}

/* ---- Rows ---- */
.inbox-rows[b-1k1rj4xoul] {
    flex: 1 1 auto;
    min-height: 0;
}

@media (min-width: 992px) {
    .inbox-rows[b-1k1rj4xoul] {
        overflow: auto;
    }
}

.inbox-row-list[b-1k1rj4xoul] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.inbox-row[b-1k1rj4xoul] {
    position: relative;
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3);
    border-bottom: 1px solid var(--border-subtle);
    color: inherit;
    text-decoration: none;
    transition: background var(--transition-base);
}

/* A row scrolled into view (back to the list) must stop clear of the sticky topbar and, on phones, of the fixed
   bottom nav (60px, admin-mobile.css .mobile-bottom-nav) instead of half under them. */
@media (max-width: 991.98px) {
    .inbox-row[b-1k1rj4xoul] {
        scroll-margin-top: calc(var(--topbar-height) + var(--space-3));
    }
}

@media (max-width: 767.98px) {
    .inbox-row[b-1k1rj4xoul] {
        scroll-margin-bottom: calc(60px + env(safe-area-inset-bottom) + var(--space-3));
    }
}

.inbox-row:hover[b-1k1rj4xoul] {
    background: var(--surface-hover);
    color: inherit;
}

.inbox-row.current[b-1k1rj4xoul],
.inbox-row.current:hover[b-1k1rj4xoul] {
    background: var(--icon-tint-brand-bg);
}

.inbox-row.current[b-1k1rj4xoul]::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 3px;
    background: var(--icon-tint-brand-fg);
}

.inbox-avatar[b-1k1rj4xoul] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--chrome-avatar-gradient);
    color: var(--text-inverse);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    line-height: 1;
}

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

.inbox-row-top[b-1k1rj4xoul],
.inbox-row-bottom[b-1k1rj4xoul] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
}

.inbox-row-name[b-1k1rj4xoul] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
    color: var(--text-primary);
}

.inbox-row-time[b-1k1rj4xoul] {
    flex: none;
    margin-left: auto;
    font-size: var(--fs-xs);
    color: var(--text-secondary);
}

.inbox-row-meta[b-1k1rj4xoul] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.inbox-row-meta .badge[b-1k1rj4xoul] {
    padding: 2px var(--space-2);
    border-radius: var(--radius-pill);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    line-height: 1.5;
}

.inbox-tag[b-1k1rj4xoul] {
    display: inline-flex;
    align-items: center;
    padding: 2px var(--space-2);
    border-radius: var(--radius-pill);
    background: var(--badge-neutral-bg);
    color: var(--badge-neutral-fg);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    line-height: 1.5;
    white-space: nowrap;
}

.inbox-row-stay[b-1k1rj4xoul] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-xs);
    color: var(--text-secondary);
}

.inbox-row-preview[b-1k1rj4xoul] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    color: var(--text-secondary);
}

.inbox-unread-dot[b-1k1rj4xoul] {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--icon-tint-brand-fg);
}

.inbox-row.unread .inbox-row-name[b-1k1rj4xoul] {
    font-weight: var(--fw-semibold);
}

.inbox-row.unread .inbox-row-preview[b-1k1rj4xoul] {
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.inbox-load-more[b-1k1rj4xoul] {
    padding: var(--space-3);
    text-align: center;
}

.inbox-empty[b-1k1rj4xoul] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-8) var(--space-4);
    text-align: center;
    font-size: var(--fs-md);
    color: var(--text-secondary);
}

.inbox-empty > i[b-1k1rj4xoul] {
    font-size: var(--fs-3xl);
    color: var(--text-muted);
}
/* /Components/Admin/Pages/Inbox/InboxThread.razor.rz.scp.css */
/* ============================================================
   Inbox thread: header, messages, footer (phase 2 step 3). The footer is the reply box when the user may reply
   (step 7, P2-D45), otherwise the "reply via the channel" info line.
   The messages scroller is column-reverse so it opens at the newest message without JS.
   Tokens only: correct in light and dark.
   ============================================================ */

.inbox-thread[b-n93mta1uwi] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    min-height: 0;
}

.inbox-back[b-n93mta1uwi] {
    flex: none;
    padding: var(--space-1) var(--space-3);
    border-bottom: 1px solid var(--border-default);
}

.inbox-thread-header[b-n93mta1uwi] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-default);
}

.inbox-avatar[b-n93mta1uwi] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--chrome-avatar-gradient);
    color: var(--text-inverse);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    line-height: 1;
}

.inbox-avatar.inbox-avatar-lg[b-n93mta1uwi] {
    width: 40px;
    height: 40px;
    font-size: var(--fs-md);
}

.inbox-thread-title[b-n93mta1uwi] {
    display: flex;
    flex: 1 1 160px;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.inbox-thread-name[b-n93mta1uwi] {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-snug);
    color: var(--text-primary);
}

.inbox-row-meta[b-n93mta1uwi] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.inbox-row-meta .badge[b-n93mta1uwi] {
    padding: 2px var(--space-2);
    border-radius: var(--radius-pill);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    line-height: 1.5;
}

.inbox-tag[b-n93mta1uwi] {
    display: inline-flex;
    align-items: center;
    padding: 2px var(--space-2);
    border-radius: var(--radius-pill);
    background: var(--badge-neutral-bg);
    color: var(--badge-neutral-fg);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    line-height: 1.5;
    white-space: nowrap;
}

.inbox-row-stay[b-n93mta1uwi] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-xs);
    color: var(--text-secondary);
}

/* ---- Messages ---- */
.inbox-messages[b-n93mta1uwi] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column-reverse;
    min-height: 0;
    padding: var(--space-4);
    overflow-y: auto;
    background: var(--surface-sunken);
}

.inbox-messages:focus-visible[b-n93mta1uwi] {
    outline: 2px solid var(--border-focus);
    outline-offset: -2px;
}

.inbox-messages-inner[b-n93mta1uwi] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    min-width: 0;
}

.inbox-day-separator[b-n93mta1uwi] {
    align-self: center;
    padding: 2px var(--space-3);
    border-radius: var(--radius-pill);
    background: var(--badge-neutral-bg);
    color: var(--text-secondary);
    font-size: var(--fs-xs);
}

.inbox-message[b-n93mta1uwi] {
    display: flex;
    flex-direction: column;
    max-width: min(75%, 560px);
    min-width: 0;
}

.inbox-message.in[b-n93mta1uwi] {
    align-self: flex-start;
    align-items: flex-start;
}

.inbox-message.out[b-n93mta1uwi] {
    align-self: flex-end;
    align-items: flex-end;
}

.inbox-bubble[b-n93mta1uwi] {
    max-width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    font-size: var(--fs-md);
    line-height: 1.45;
    color: var(--text-primary);
}

.inbox-message.in .inbox-bubble[b-n93mta1uwi] {
    background: var(--surface-overlay);
    border-end-start-radius: var(--radius-xs);
}

.inbox-message.out .inbox-bubble[b-n93mta1uwi] {
    background: var(--brand-alpha-18);
    border-color: var(--brand-alpha-25);
    border-end-end-radius: var(--radius-xs);
}

.inbox-message-text[b-n93mta1uwi] {
    display: block;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.inbox-attachments[b-n93mta1uwi] {
    margin: var(--space-2) 0 0;
    padding: 0;
    list-style: none;
}

.inbox-attachments li[b-n93mta1uwi] {
    display: flex;
    gap: var(--space-1);
    min-width: 0;
}

.inbox-attachments a[b-n93mta1uwi],
.inbox-attachments span[b-n93mta1uwi] {
    overflow-wrap: anywhere;
}

.inbox-attachments a[b-n93mta1uwi] {
    color: var(--text-link);
}

.inbox-message-meta[b-n93mta1uwi] {
    margin-top: 2px;
    font-size: var(--fs-xs);
    color: var(--text-secondary);
}

/* ---- Reply delivery (step 7) ---- */
.inbox-message.out.failed .inbox-bubble[b-n93mta1uwi] {
    border-color: var(--color-danger);
    border-style: dashed;
}

.inbox-delivery-pending[b-n93mta1uwi] {
    font-style: italic;
}

.inbox-delivery-sent[b-n93mta1uwi] {
    color: var(--color-success);
}

.inbox-delivery-failed[b-n93mta1uwi] {
    color: var(--color-danger);
    font-weight: var(--fw-medium);
}

.inbox-retry[b-n93mta1uwi] {
    padding: 0 0 0 var(--space-2);
    font-size: var(--fs-xs);
    vertical-align: baseline;
}

.inbox-system-note[b-n93mta1uwi] {
    align-self: center;
    max-width: 80%;
    margin: 0;
    text-align: center;
    font-size: var(--fs-xs);
    font-style: italic;
    color: var(--text-secondary);
}

.inbox-system-note .inbox-message-text[b-n93mta1uwi] {
    display: inline;
}

.inbox-system-note .inbox-message-meta[b-n93mta1uwi] {
    display: inline;
    margin-top: 0;
    margin-inline-start: var(--space-1);
}

.inbox-thread-footer[b-n93mta1uwi] {
    display: flex;
    flex: none;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border-top: 1px solid var(--border-default);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

/* ---- Reply box (step 7) ---- */
.inbox-composer[b-n93mta1uwi] {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border-top: 1px solid var(--border-default);
}

.inbox-composer-input[b-n93mta1uwi] {
    min-height: 4.5rem;
    max-height: 40vh;
    resize: vertical;
    font-size: var(--fs-md);
}

.inbox-composer-actions[b-n93mta1uwi] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-3);
}

.inbox-composer-count[b-n93mta1uwi] {
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
    .inbox-composer[b-n93mta1uwi] {
        padding: var(--space-2) var(--space-3);
    }

    .inbox-composer-input[b-n93mta1uwi] {
        max-height: 30vh;
    }
}

.inbox-empty[b-n93mta1uwi] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-8) var(--space-4);
    text-align: center;
    font-size: var(--fs-md);
    color: var(--text-secondary);
}

.inbox-empty > i[b-n93mta1uwi] {
    font-size: var(--fs-3xl);
    color: var(--text-muted);
}
/* /Components/Admin/Pages/Inbox/InboxUpgradeCard.razor.rz.scp.css */
/* ============================================================
   Inbox upgrade card (phase 2 step 3): shown instead of the inbox when the feature is off.
   Same card look as the inbox shell. Tokens only: correct in light and dark.
   ============================================================ */

.inbox-upgrade[b-zkuwozfn3i] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    max-width: 560px;
    padding: var(--space-5);
    background: var(--bento-surface);
    border: 1px solid var(--bento-border);
    border-radius: var(--bento-radius);
    box-shadow: var(--bento-shadow);
}

.inbox-upgrade-icon[b-zkuwozfn3i] {
    width: 48px;
    height: 48px;
    font-size: var(--fs-2xl);
}

.inbox-upgrade-title[b-zkuwozfn3i] {
    margin: 0;
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.inbox-upgrade-text[b-zkuwozfn3i] {
    margin: 0;
    color: var(--text-secondary);
}

.inbox-upgrade-benefits[b-zkuwozfn3i] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.inbox-upgrade-benefits li[b-zkuwozfn3i] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    min-width: 0;
}

.inbox-upgrade-benefits li > i[b-zkuwozfn3i] {
    color: var(--icon-tint-brand-fg);
}

.inbox-upgrade-owner[b-zkuwozfn3i] {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}
/* /Components/Admin/Pages/Listings/ListingMedia.razor.rz.scp.css */
.listing-media-thumb[b-15kl4rpqlz] {
    position: relative;
    border-top-left-radius: var(--radius-md, 0.5rem);
    border-top-right-radius: var(--radius-md, 0.5rem);
}

.listing-media-cover-badge[b-15kl4rpqlz] {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    background-color: var(--bs-primary, #0d6efd);
    border-radius: var(--radius-pill, 50rem);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.listing-media-cover-badge i[b-15kl4rpqlz] {
    font-size: 0.9375rem;
}
/* /Components/Admin/Shared/AssistantChat.razor.rz.scp.css */
/* Roomzy AI chat. Tokens only (brand/theme light+dark); no hardcoded colours.
   Fills its host (help panel body or full AI page): only .assistant-log scrolls, the composer stays pinned. */

.assistant-chat[b-024o4o7y33] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    color: var(--text-primary);
    overflow-wrap: anywhere;
}

.assistant-chat.is-full-page[b-024o4o7y33] {
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    background: var(--surface-base);
    overflow: hidden;
}

.assistant-log[b-024o4o7y33] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
}

.assistant-empty[b-024o4o7y33] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.assistant-intro[b-024o4o7y33] {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--fs-md);
    line-height: var(--lh-normal);
}

.assistant-examples-title[b-024o4o7y33] {
    margin: var(--space-2) 0 0;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.assistant-examples[b-024o4o7y33] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.assistant-example[b-024o4o7y33] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    color: var(--text-primary);
    font-size: var(--fs-md);
    text-align: start;
    cursor: pointer;
}

.assistant-example i[b-024o4o7y33] {
    flex: 0 0 auto;
    color: var(--text-link);
}

.assistant-example:hover[b-024o4o7y33] {
    background: var(--surface-hover);
    border-color: var(--border-strong);
}

.assistant-example:focus-visible[b-024o4o7y33],
.assistant-source:focus-visible[b-024o4o7y33],
.assistant-new:focus-visible[b-024o4o7y33] {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.assistant-msg[b-024o4o7y33] {
    display: flex;
}

.assistant-msg.is-user[b-024o4o7y33] {
    justify-content: flex-end;
}

.assistant-msg.is-assistant[b-024o4o7y33] {
    justify-content: flex-start;
}

.assistant-bubble[b-024o4o7y33] {
    max-width: 85%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    background: var(--surface-raised);
    color: var(--text-primary);
    font-size: var(--fs-md);
    line-height: var(--lh-normal);
}

.assistant-msg.is-user .assistant-bubble[b-024o4o7y33] {
    border-color: var(--brand-alpha-25);
    background: var(--brand-alpha-12);
    white-space: pre-wrap;
}

.assistant-bubble.is-notice[b-024o4o7y33] {
    border-inline-start: 3px solid var(--badge-warning-fg);
    background: var(--badge-warning-bg);
}

.assistant-answer[b-024o4o7y33]  > :last-child {
    margin-bottom: 0;
}

.assistant-answer[b-024o4o7y33]  p,
.assistant-answer[b-024o4o7y33]  ul,
.assistant-answer[b-024o4o7y33]  ol {
    margin: 0 0 var(--space-2);
}

.assistant-answer[b-024o4o7y33]  ul,
.assistant-answer[b-024o4o7y33]  ol {
    padding-inline-start: var(--space-5);
}

.assistant-answer[b-024o4o7y33]  li {
    margin-bottom: var(--space-1);
}

.assistant-answer[b-024o4o7y33]  strong {
    font-weight: var(--fw-semibold);
}

.assistant-answer[b-024o4o7y33]  code {
    padding: 0 var(--space-1);
    border-radius: var(--radius-xs);
    background: var(--surface-sunken);
    color: var(--text-primary);
    font-size: var(--fs-sm);
}

.assistant-answer[b-024o4o7y33]  h3,
.assistant-answer[b-024o4o7y33]  h4 {
    margin: var(--space-2) 0 var(--space-1);
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
}

.assistant-sources[b-024o4o7y33] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-1) var(--space-2);
    margin-top: var(--space-2);
    padding-top: var(--space-2);
    border-top: 1px solid var(--border-subtle);
}

.assistant-sources-label[b-024o4o7y33] {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
}

.assistant-source[b-024o4o7y33] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    max-width: 100%;
    padding: var(--space-1) var(--space-2);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-pill);
    background: var(--surface-base);
    color: var(--text-link);
    font-size: var(--fs-sm);
    text-align: start;
    cursor: pointer;
}

.assistant-source:hover[b-024o4o7y33] {
    background: var(--surface-hover);
    color: var(--text-link-hover);
}

a.assistant-source[b-024o4o7y33],
a.assistant-source:hover[b-024o4o7y33] {
    text-decoration: none;
}

.assistant-thinking[b-024o4o7y33] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-secondary);
}

.assistant-composer[b-024o4o7y33] {
    flex: 0 0 auto;
    padding: var(--space-3) var(--space-4);
    border-top: 1px solid var(--border-default);
    background: var(--surface-raised);
}

.assistant-new[b-024o4o7y33] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    margin-bottom: var(--space-2);
    padding: 0;
    border: 0;
    background: none;
    color: var(--text-link);
    font-size: var(--fs-sm);
    cursor: pointer;
}

.assistant-new:hover[b-024o4o7y33] {
    color: var(--text-link-hover);
    text-decoration: underline;
}

.assistant-form[b-024o4o7y33] {
    display: flex;
    align-items: flex-end;
    gap: var(--space-2);
}

.assistant-input[b-024o4o7y33] {
    flex: 1 1 auto;
    min-width: 0;
    resize: none;
}

.assistant-action[b-024o4o7y33] {
    flex: 0 0 auto;
}

.assistant-disclaimer[b-024o4o7y33] {
    margin: var(--space-2) 0 0;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

@media (max-width: 575.98px) {
    .assistant-log[b-024o4o7y33],
    .assistant-composer[b-024o4o7y33] {
        padding-inline: var(--space-3);
    }

    .assistant-bubble[b-024o4o7y33] {
        max-width: 92%;
    }
}
/* /Components/Admin/Shared/HelpPanel.razor.rz.scp.css */
/* Help panel island. Tokens only (brand/theme light+dark); no hardcoded colours.
   Desktop: fixed overlay at the right edge, 420px wide, content is NOT reflowed. < lg: full-width bottom sheet.
   The launchers live in the admin topbar (AdminLayout); this island only renders the panel. */

.help-close:focus-visible[b-o0ikdiflqk],
.help-action:focus-visible[b-o0ikdiflqk],
.help-back:focus-visible[b-o0ikdiflqk],
.help-item:focus-visible[b-o0ikdiflqk] {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.help-panel[b-o0ikdiflqk] {
    --help-width: 420px;
}

.help-panel[b-o0ikdiflqk] {
    position: fixed;
    z-index: var(--z-modal);
    display: flex;
    flex-direction: column;
    background: var(--surface-overlay);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-lg);
    inset-inline: 0;
    inset-block-end: 0;
    width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.help-panel[hidden][b-o0ikdiflqk] {
    display: none;
}

/* The AI chat needs a definite height to pin its composer: below lg the sheet is otherwise only as tall as its content. */
@media (max-width: 991.98px) {
    .help-panel.is-ai[b-o0ikdiflqk] {
        height: 85vh;
    }
}

@media (min-width: 992px) {
    .help-panel[b-o0ikdiflqk] {
        inset-block: 0;
        inset-inline-start: auto;
        inset-inline-end: 0;
        width: var(--help-width);
        max-height: none;
        border-radius: 0;
    }

    .help-panel.is-expanded[b-o0ikdiflqk] {
        --help-width: min(720px, calc(100vw - var(--space-5)));
    }
}

.help-header[b-o0ikdiflqk] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
}

.help-title[b-o0ikdiflqk] {
    flex: 1 1 auto;
    margin: 0;
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
}

.help-modes[b-o0ikdiflqk] {
    flex: 0 0 auto;
}

.help-close[b-o0ikdiflqk],
.help-action[b-o0ikdiflqk],
.help-back[b-o0ikdiflqk] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    border: 0;
    border-radius: var(--radius-md);
    background: none;
    color: var(--text-secondary);
    font-size: var(--fs-md);
}

.help-close:hover[b-o0ikdiflqk],
.help-action:hover[b-o0ikdiflqk],
.help-back:hover[b-o0ikdiflqk] {
    background: var(--surface-hover);
    color: var(--text-primary);
}

/* Below lg the panel is already full width: the expand toggle has no purpose. */
.help-expand[b-o0ikdiflqk] {
    display: none;
}

@media (min-width: 992px) {
    .help-expand[b-o0ikdiflqk] {
        display: inline-flex;
    }
}

.help-action[b-o0ikdiflqk] {
    text-decoration: none;
    cursor: pointer;
}

.help-search[b-o0ikdiflqk] {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
}

.help-body[b-o0ikdiflqk] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: var(--space-3) var(--space-4) var(--space-5);
    overflow-wrap: anywhere;
}

/* AI mode: the chat owns the scrolling (message list) and pins its composer. */
.help-body.is-ai[b-o0ikdiflqk] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.help-body.is-ai[b-o0ikdiflqk]  .assistant-chat {
    flex: 1 1 auto;
    min-height: 0;
}

.help-section-title[b-o0ikdiflqk] {
    margin: var(--space-2) 0;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.help-list[b-o0ikdiflqk] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin: 0 0 var(--space-4);
    padding: 0;
    list-style: none;
}

.help-item[b-o0ikdiflqk] {
    display: block;
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    color: var(--text-primary);
    text-align: start;
}

.help-item:hover[b-o0ikdiflqk] {
    background: var(--surface-hover);
}

.help-item-title[b-o0ikdiflqk] {
    display: block;
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
    color: var(--text-link);
}

.help-item-snippet[b-o0ikdiflqk] {
    display: block;
    margin-top: var(--space-1);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.help-empty[b-o0ikdiflqk],
.help-notice[b-o0ikdiflqk] {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.help-notice[b-o0ikdiflqk] {
    margin: 0 0 var(--space-3);
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--surface-sunken);
}

/* Article HTML is injected as markup, so it carries no scope attribute: reach it with ::deep. */
.help-article[b-o0ikdiflqk]  h1 {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    margin: 0 0 var(--space-3);
}

.help-article[b-o0ikdiflqk]  h2 {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    margin: var(--space-4) 0 var(--space-2);
}

.help-article[b-o0ikdiflqk]  h3 {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    margin: var(--space-3) 0 var(--space-2);
}

.help-article[b-o0ikdiflqk]  p,
.help-article[b-o0ikdiflqk]  li {
    font-size: var(--fs-md);
    line-height: 1.5;
}

.help-article[b-o0ikdiflqk]  a {
    color: var(--text-link);
}

.help-article[b-o0ikdiflqk]  img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.help-article[b-o0ikdiflqk]  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}

.help-article[b-o0ikdiflqk]  th,
.help-article[b-o0ikdiflqk]  td {
    padding: var(--space-1) var(--space-2);
    border: 1px solid var(--border-subtle);
}

.help-article[b-o0ikdiflqk]  code {
    font-size: var(--fs-sm);
}

@media print {
    .help-panel[b-o0ikdiflqk] {
        display: none !important;
    }
}
/* /Components/Admin/Shared/InboxTopbarIcon.razor.rz.scp.css */
/* ============================================================
   Top-bar inbox icon (P2-D18). The badge mirrors .notif-badge (NotificationBell.razor.css) in this island's own
   scoped CSS, so NotificationBell stays untouched. Tokens only: correct in light and dark.
   ============================================================ */

.inbox-topbar-icon[b-dvr9dxkbcf] {
    position: relative;
    text-decoration: none;
}

.inbox-topbar-badge[b-dvr9dxkbcf] {
    position: absolute;
    top: 0.15rem;
    inset-inline-end: 0.15rem;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.25rem;
    border-radius: var(--radius-pill);
    background: var(--badge-danger-bg);
    color: var(--badge-danger-fg);
    font-size: 0.6rem;
    font-weight: var(--fw-medium);
    line-height: 1.05rem;
    text-align: center;
    pointer-events: none;
}
/* /Components/Admin/Shared/NotificationBell.razor.rz.scp.css */
/* ============================================================
   Notification bell — topbar island
   Tokens only (brand/theme/light/dark). No hardcoded colours: a literal here would look correct in one
   theme and unreadable in the other, which is exactly the bug the token system exists to prevent.
   ============================================================ */

.notif-bell[b-1z1scypmst] {
    position: relative;
}

/* Badge: compact pill pinned to the icon corner. Sized in rem so it tracks the user's font scaling
   instead of drifting off the glyph. */
.notif-badge[b-1z1scypmst] {
    position: absolute;
    top: 0.15rem;
    inset-inline-end: 0.15rem;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.25rem;
    border-radius: var(--radius-pill);
    background: var(--badge-danger-bg);
    color: var(--badge-danger-fg);
    font-size: 0.6rem;
    font-weight: var(--fw-medium);
    line-height: 1.05rem;
    text-align: center;
    pointer-events: none;
}

.notif-menu[b-1z1scypmst] {
    width: min(360px, calc(100vw - var(--space-4) * 2));
    padding: 0;
    overflow: hidden;
    background: var(--surface-overlay);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.notif-header[b-1z1scypmst] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    border-bottom: 1px solid var(--border-subtle);
}

.notif-title[b-1z1scypmst] {
    flex: 1 1 auto;
    color: var(--text-primary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
}

.notif-action[b-1z1scypmst] {
    padding: 0;
    background: none;
    border: 0;
    color: var(--text-link);
    font-size: var(--fs-xs);
    cursor: pointer;
}

    .notif-action:hover:not(:disabled)[b-1z1scypmst] {
        color: var(--text-link-hover);
    }

    .notif-action:disabled[b-1z1scypmst] {
        color: var(--text-muted);
        cursor: default;
    }

/* The scroll lives on the list, not the menu, so the header and footer stay pinned while the items move. */
.notif-list[b-1z1scypmst] {
    max-height: min(420px, 60vh);
    overflow-y: auto;
}

.notif-item[b-1z1scypmst] {
    display: flex;
    gap: var(--space-2);
    width: 100%;
    padding: var(--space-3);
    background: none;
    border: 0;
    border-bottom: 1px solid var(--border-subtle);
    text-align: start;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

    .notif-item:last-child[b-1z1scypmst] {
        border-bottom: 0;
    }

    .notif-item:hover[b-1z1scypmst],
    .notif-item:focus-visible[b-1z1scypmst] {
        background: var(--surface-hover);
    }

.notif-icon[b-1z1scypmst] {
    flex: 0 0 auto;
    margin-top: 0.1rem;
    font-size: var(--fs-md);
}

.sev-info[b-1z1scypmst] {
    color: var(--icon-tint-info-fg);
}

.sev-success[b-1z1scypmst] {
    color: var(--color-success);
}

.sev-warning[b-1z1scypmst] {
    color: var(--color-warning);
}

.sev-error[b-1z1scypmst] {
    color: var(--color-danger);
}

.notif-body[b-1z1scypmst] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0; /* lets the truncation below actually apply inside a flex child */
    flex: 1 1 auto;
}

.notif-item-title[b-1z1scypmst] {
    color: var(--text-primary);
    font-size: var(--fs-sm);
    line-height: var(--lh-tight);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notif-item-message[b-1z1scypmst] {
    color: var(--text-secondary);
    font-size: var(--fs-xs);
    line-height: var(--lh-normal);
    /* Two lines, then ellipsis: enough for a useful message without one verbose notification pushing the
       rest of the list out of view. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-item-time[b-1z1scypmst] {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

/* Unread is carried by weight AND the dot, never by colour alone — colour-only would be invisible to a
   colour-blind user and washes out in dark mode. */
.is-unread .notif-item-title[b-1z1scypmst] {
    font-weight: var(--fw-medium);
}

.is-read .notif-item-title[b-1z1scypmst],
.is-read .notif-item-message[b-1z1scypmst] {
    color: var(--text-muted);
}

.notif-dot[b-1z1scypmst] {
    flex: 0 0 auto;
    align-self: center;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: var(--radius-pill);
    background: var(--brand-500);
}

.notif-empty[b-1z1scypmst] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-5) var(--space-3);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

    .notif-empty .bi[b-1z1scypmst] {
        font-size: var(--fs-xl);
    }

.notif-footer[b-1z1scypmst] {
    padding: var(--space-2) var(--space-3);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

    .notif-footer a[b-1z1scypmst] {
        color: var(--text-link);
        font-size: var(--fs-xs);
        text-decoration: none;
    }

        .notif-footer a:hover[b-1z1scypmst] {
            color: var(--text-link-hover);
            text-decoration: underline;
        }

/* Phones: the dropdown becomes a near-full-width sheet anchored to the topbar, because a 360px menu
   anchored to the right edge of a 360px viewport would hang off the screen. */
@media (max-width: 575.98px) {
    .notif-menu[b-1z1scypmst] {
        position: fixed;
        inset-inline: var(--space-2);
        width: auto;
    }
}
/* /Components/Admin/Shared/SupportSessionBanner.razor.rz.scp.css */
.support-banner[b-xe94xi6u6h] {
    border-left: 0;
    border-right: 0;
    border-top: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* btn-outline-dark has a fixed dark colour: invisible on the dark-theme banner, so flip it to the body colour. */
[data-bs-theme="dark"] .support-banner .btn-outline-dark[b-xe94xi6u6h] {
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-border-color: var(--bs-body-color);
    --bs-btn-hover-color: var(--bs-body-bg);
    --bs-btn-hover-bg: var(--bs-body-color);
    --bs-btn-hover-border-color: var(--bs-body-color);
    --bs-btn-active-color: var(--bs-body-bg);
    --bs-btn-active-bg: var(--bs-body-color);
    --bs-btn-active-border-color: var(--bs-body-color);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-5qaf3pdozn] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-5qaf3pdozn] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-nvpvn0lnjv],
.components-reconnect-repeated-attempt-visible[b-nvpvn0lnjv],
.components-reconnect-failed-visible[b-nvpvn0lnjv],
.components-pause-visible[b-nvpvn0lnjv],
.components-resume-failed-visible[b-nvpvn0lnjv],
.components-rejoining-animation[b-nvpvn0lnjv] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-nvpvn0lnjv],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-nvpvn0lnjv],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-nvpvn0lnjv],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-nvpvn0lnjv],
#components-reconnect-modal.components-reconnect-retrying[b-nvpvn0lnjv],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-nvpvn0lnjv],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-nvpvn0lnjv],
#components-reconnect-modal.components-reconnect-failed[b-nvpvn0lnjv],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-nvpvn0lnjv] {
    display: block;
}


#components-reconnect-modal[b-nvpvn0lnjv] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-nvpvn0lnjv 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-nvpvn0lnjv 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-nvpvn0lnjv 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-nvpvn0lnjv]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-nvpvn0lnjv 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-nvpvn0lnjv {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-nvpvn0lnjv {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-nvpvn0lnjv {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-nvpvn0lnjv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-nvpvn0lnjv] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-nvpvn0lnjv] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-nvpvn0lnjv] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-nvpvn0lnjv] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-nvpvn0lnjv] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-nvpvn0lnjv] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-nvpvn0lnjv 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-nvpvn0lnjv] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-nvpvn0lnjv {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Storefront/Pay/PayIsland.razor.rz.scp.css */
/* Same scoped contrast bump and card elevation as the signup island (SignupIsland.razor.css): the storefront's
   global --bs-border-color reads too faint for form fields on a white card. Neutral gray only; the storefront is
   light-only, so there is no dark variant. ::deep reaches the inputs/selects rendered inside this component. */

[b-u74a82bswd] .form-control,
[b-u74a82bswd] .form-select {
    border-color: rgba(0, 0, 0, 0.42);
}

[b-u74a82bswd] .form-control:hover,
[b-u74a82bswd] .form-select:hover {
    border-color: rgba(0, 0, 0, 0.55);
}

[b-u74a82bswd] .form-check-input:not(:checked) {
    border-color: rgba(0, 0, 0, 0.42);
}

.pay-card[b-u74a82bswd] {
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.14);
}
/* /Components/Storefront/Signup/SignupIsland.razor.rz.scp.css */
/* Scoped contrast bump for the self-serve signup form only.
   The storefront's global --bs-border-color (#bdbdbd) reads too faint for form fields on the white
   signup card (owner, 2026-09). The storefront-wide token pass is a separate owner-flagged Deferred item
   (Receiving: Storefront - contrast); this rule is deliberately scoped to the signup island so it does
   not silently restyle every other storefront form. Neutral gray only (no brand hue), storefront is
   light-only so there is no dark variant to keep in step.

   ::deep is REQUIRED here: the fields are rendered by <InputText>/<InputSelect>/<InputNumber> child
   components, so the plain-element scope attribute never lands on the <input>/<select> itself. ::deep
   matches on the scoped ANCESTOR (the form card in this component's own markup) instead, which does carry
   the scope attribute, so the descendant controls are reached across the component boundary. */

[b-jazlm6zuuk] .form-control,
[b-jazlm6zuuk] .form-select {
    border-color: rgba(0, 0, 0, 0.42);
}

[b-jazlm6zuuk] .form-control:hover,
[b-jazlm6zuuk] .form-select:hover {
    border-color: rgba(0, 0, 0, 0.55);
}

[b-jazlm6zuuk] .input-group-text {
    border-color: rgba(0, 0, 0, 0.42);
}

/* The unchecked checkbox ("I need an invoice") uses the same faint global border and almost disappears on the
   white card; give it the field border. The checked state keeps Bootstrap's primary fill. */
[b-jazlm6zuuk] .form-check-input:not(:checked) {
    border-color: rgba(0, 0, 0, 0.42);
}

/* The card carried `border-0 shadow-sm`, which reads as a floating white block with no edge on the white
   page (owner, 2026-09). Give it a real (but neutral) border and a fuller elevation. The card is a plain
   element in THIS component's markup, so it already carries the scope attribute - no ::deep needed here. */
.signup-card[b-jazlm6zuuk] {
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.14);
}
