/* /Components/Components/AboutSystemModal.razor.rz.scp.css */
.about-sys[b-lplgjzejjp] {
    --about-ink: #0f172a;
    --about-muted: #64748b;
    --about-line: #e8eef5;
    --about-blue: #4d8fe8;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem 1.15rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    color: var(--about-ink);
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(77, 143, 232, 0.07), transparent 55%),
        #f8fafc;
}

.about-sys__state[b-lplgjzejjp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 10rem;
    margin: 0;
    color: var(--about-muted);
    font-size: 0.875rem;
}

.about-sys__state--err[b-lplgjzejjp] {
    color: #b91c1c;
}

.about-sys__state .ph[b-lplgjzejjp] {
    font-size: 1.6rem;
}

.about-sys__state p[b-lplgjzejjp] {
    margin: 0;
}

.about-sys__spinner[b-lplgjzejjp] {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    border: 2px solid rgba(77, 143, 232, 0.22);
    border-top-color: var(--about-blue);
    animation: about-sys-spin-b-lplgjzejjp 0.7s linear infinite;
}

@keyframes about-sys-spin-b-lplgjzejjp {
    to { transform: rotate(360deg); }
}

/* —— 授权 Hero —— */
.about-sys__hero[b-lplgjzejjp] {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    padding: 1.05rem 1.15rem 1.15rem;
    color: #1e3a5f;
    background: linear-gradient(145deg, #e8f2fc 0%, #d6e9fb 48%, #c5dff8 100%);
    border: 1px solid rgba(77, 143, 232, 0.28);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.about-sys__hero.is-bad[b-lplgjzejjp] {
    color: #7f1d1d;
    background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 55%, #fecaca 100%);
    border-color: rgba(185, 28, 28, 0.28);
    box-shadow: 0 1px 2px rgba(127, 29, 29, 0.06);
}

.about-sys__hero[b-lplgjzejjp]::after {
    content: "";
    position: absolute;
    right: -18%;
    top: -40%;
    width: 55%;
    height: 140%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 68%);
    pointer-events: none;
}

.about-sys__hero-top[b-lplgjzejjp] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.about-sys__hero-badge[b-lplgjzejjp] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #3b6ea8;
}

.about-sys__hero-badge .ph[b-lplgjzejjp] {
    font-size: 0.95rem;
    color: #4d8fe8;
}

.about-sys__hero-status[b-lplgjzejjp] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.5rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    color: #1d4ed8;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(77, 143, 232, 0.35);
}

.about-sys__hero.is-bad .about-sys__hero-badge[b-lplgjzejjp] {
    color: #991b1b;
}

.about-sys__hero.is-bad .about-sys__hero-badge .ph[b-lplgjzejjp] {
    color: #dc2626;
}

.about-sys__hero.is-bad .about-sys__hero-status[b-lplgjzejjp] {
    color: #b91c1c;
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(185, 28, 28, 0.35);
}

.about-sys__lic[b-lplgjzejjp] {
    position: relative;
    z-index: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.about-sys__lic-row[b-lplgjzejjp] {
    margin: 0;
}

.about-sys__lic-row dt[b-lplgjzejjp] {
    margin: 0 0 0.2rem;
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    opacity: 0.82;
}

.about-sys__lic-row dd[b-lplgjzejjp] {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    line-height: 1.25;
    word-break: break-word;
}

.about-sys__lic-row--org dd[b-lplgjzejjp] {
    font-size: 1.28rem;
}

.about-sys__lic-grid[b-lplgjzejjp] {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0.55rem;
}

.about-sys__lic-grid .about-sys__lic-row[b-lplgjzejjp] {
    padding: 0.55rem 0.7rem;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(77, 143, 232, 0.22);
}

.about-sys__lic-grid .about-sys__lic-row dt[b-lplgjzejjp] {
    color: #64748b;
    opacity: 1;
}

.about-sys__hero.is-bad .about-sys__lic-grid .about-sys__lic-row[b-lplgjzejjp] {
    border-color: rgba(185, 28, 28, 0.22);
}

.about-sys__lic-grid .about-sys__lic-row dd[b-lplgjzejjp] {
    font-size: 1.05rem;
}

/* —— 指标卡片 —— */
.about-sys__metrics[b-lplgjzejjp] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.about-sys__metric[b-lplgjzejjp] {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.55rem;
    row-gap: 0.1rem;
    align-items: center;
    padding: 0.75rem 0.8rem;
    border-radius: 0.85rem;
    background: #fff;
    border: 1px solid var(--about-line);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.about-sys__metric-ico[b-lplgjzejjp] {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.65rem;
    font-size: 1.05rem;
}

.about-sys__metric-ico.is-blue[b-lplgjzejjp] {
    color: #1d4ed8;
    background: #eff6ff;
}

.about-sys__metric-ico.is-violet[b-lplgjzejjp] {
    color: #6d28d9;
    background: #f5f3ff;
}

.about-sys__metric-ico.is-teal[b-lplgjzejjp] {
    color: #0f766e;
    background: #f0fdfa;
}

.about-sys__metric-ico.is-amber[b-lplgjzejjp] {
    color: #b45309;
    background: #fffbeb;
}

.about-sys__metric-label[b-lplgjzejjp] {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--about-muted);
    letter-spacing: 0.02em;
}

.about-sys__metric-val[b-lplgjzejjp] {
    font-size: 1.02rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--about-ink);
}

.about-sys__metric-unit[b-lplgjzejjp] {
    display: inline;
    margin-left: 0.15rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--about-muted);
}

/* —— 分区卡片 —— */
.about-sys__card[b-lplgjzejjp] {
    padding: 0.9rem 0.95rem 0.95rem;
    border-radius: 0.95rem;
    background: #fff;
    border: 1px solid var(--about-line);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.about-sys__card-title[b-lplgjzejjp] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
}

.about-sys__card-title .ph[b-lplgjzejjp] {
    color: var(--about-blue);
    font-size: 1rem;
}

.about-sys__rows[b-lplgjzejjp] {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.about-sys__row[b-lplgjzejjp] {
    display: grid;
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 0.45rem 0.75rem;
    padding: 0.55rem 0;
    border-top: 1px solid #f1f5f9;
    align-items: baseline;
}

.about-sys__row:first-child[b-lplgjzejjp] {
    border-top: 0;
    padding-top: 0;
}

.about-sys__row:last-child[b-lplgjzejjp] {
    padding-bottom: 0;
}

.about-sys__row dt[b-lplgjzejjp] {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--about-muted);
}

.about-sys__row dd[b-lplgjzejjp] {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--about-ink);
    word-break: break-word;
}

@media (min-width: 520px) {
    .about-sys__metrics[b-lplgjzejjp] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .about-sys__metric[b-lplgjzejjp] {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        justify-items: start;
        row-gap: 0.2rem;
        min-height: 6.2rem;
    }

    .about-sys__metric-ico[b-lplgjzejjp] {
        grid-row: auto;
        margin-bottom: 0.25rem;
    }

    .about-sys__metric-val[b-lplgjzejjp] {
        font-size: 1.08rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-sys__spinner[b-lplgjzejjp] {
        animation: none;
        border-top-color: var(--about-blue);
        opacity: 0.7;
    }
}
/* /Components/Components/ContactUserCardModal.razor.rz.scp.css */
.contact-user-card[b-rr7qz84s8u] {
    min-width: min(25rem, calc(100vw - 2rem));
    max-width: min(30rem, calc(100vw - 2rem));
    display: flex;
    flex-direction: column;
    background: #f7f8fa;
}

.contact-user-card--state[b-rr7qz84s8u] {
    padding: 1.15rem 1.2rem;
}

.contact-user-card__hint[b-rr7qz84s8u] {
    margin: 0;
    color: #64748b;
    font-size: 0.86rem;
}

.contact-user-card__hint--error[b-rr7qz84s8u] {
    color: #b91c1c;
}

.contact-user-card__head[b-rr7qz84s8u] {
    display: flex;
    align-items: flex-start;
    gap: 0.72rem;
    padding: 1rem 1.1rem;
    background: #ffffff;
    border-bottom: 1px solid #e6eaf0;
}

.contact-user-card__avatar-wrap[b-rr7qz84s8u] {
    width: 3.45rem;
    height: 3.45rem;
    border-radius: 0.55rem;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.contact-user-card__avatar[b-rr7qz84s8u] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-user-card__head-main[b-rr7qz84s8u] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.26rem;
}

.contact-user-card__name[b-rr7qz84s8u] {
    font-size: 1.1rem;
    line-height: 1.2;
    color: #0f172a;
    font-weight: 700;
}

.contact-user-card__account[b-rr7qz84s8u],
.contact-user-card__org[b-rr7qz84s8u] {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.3;
}

.contact-user-card__org[b-rr7qz84s8u] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-user-card__rows[b-rr7qz84s8u] {
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.contact-user-card__row[b-rr7qz84s8u] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.55rem;
    padding: 0.55rem 1.1rem;
    border-bottom: 1px solid #f1f5f9;
}

.contact-user-card__row:last-child[b-rr7qz84s8u] {
    border-bottom: none;
}

.contact-user-card__label[b-rr7qz84s8u] {
    width: 3.2rem;
    flex-shrink: 0;
    color: #94a3b8;
    font-size: 0.8rem;
}

.contact-user-card__value[b-rr7qz84s8u] {
    min-width: 0;
    color: #0f172a;
    font-size: 0.84rem;
    line-height: 1.35;
    word-break: break-all;
}

.contact-user-card__dial[b-rr7qz84s8u] {
    appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #2563eb;
    text-decoration: none;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    text-align: left;
}

.contact-user-card__dial:hover[b-rr7qz84s8u] {
    color: #1d4ed8;
    text-decoration: underline;
}

.contact-user-card__dial .ph[b-rr7qz84s8u] {
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}

.contact-user-card__footer[b-rr7qz84s8u] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.1rem 1rem;
    border-top: 1px solid #e6eaf0;
    background: #f8fafc;
}

.contact-user-card__call-btn[b-rr7qz84s8u] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
}

.contact-user-card__call-btn .ph[b-rr7qz84s8u] {
    font-size: 1rem;
    line-height: 1;
}
/* /Components/Components/EmLocateMap.razor.rz.scp.css */
.em-map-wrap[b-1gox5ti184] {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    background:
        radial-gradient(circle at 30% 20%, rgba(13, 154, 138, 0.14), transparent 55%),
        linear-gradient(165deg, #cfe4e7 0%, #e8f3f4 100%);
    border-radius: 0.28rem;
    overflow: hidden;
    border: 1px solid rgba(10, 31, 36, 0.08);
}

.em-map-canvas[b-1gox5ti184] {
    width: 100%;
    height: 100%;
    min-height: 220px;
    z-index: 0;
}

.em-map-canvas.is-dim[b-1gox5ti184] {
    filter: grayscale(0.35) brightness(0.97) saturate(0.9);
}

.em-map-empty[b-1gox5ti184] {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    text-align: center;
    pointer-events: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #2d4a52;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.35), transparent 55%),
        linear-gradient(180deg, rgba(230, 241, 242, 0.55), rgba(230, 241, 242, 0.22));
}

.em-map-empty.is-hidden[b-1gox5ti184] {
    display: none;
}

.em-map-empty span[b-1gox5ti184] {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #5a7380;
}
/* /Components/Components/ImMobileChatModal.razor.rz.scp.css */
.im-mobile-chat[b-39vleb30ms] {
    display: flex;
    justify-content: center;
    padding: 0.25rem 0;
    min-height: 0;
    height: min(72dvh, 760px);
    max-height: calc(100dvh - 220px);
}

.im-mobile-chat__phone[b-39vleb30ms] {
    width: min(100%, 375px);
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid color-mix(in oklab, var(--ox-border) 72%, #000 8%);
    background: linear-gradient(180deg, #f6f7f8 0%, #edf0f2 100%);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.im-mobile-chat__topbar[b-39vleb30ms] {
    height: 2.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.85rem;
    background: #131b26;
    color: #f8fafc;
    font-size: 0.72rem;
}

.im-mobile-chat__signal[b-39vleb30ms] {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.im-mobile-chat__tabs[b-39vleb30ms] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: #f1f3f5;
    border-bottom: 1px solid #e5e7eb;
}

.im-mobile-chat__tab[b-39vleb30ms] {
    height: 2rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 600;
    min-width: 0;
}

.im-mobile-chat__tab--active[b-39vleb30ms] {
    border-color: #1aad19;
    background: #1aad19;
    color: #ffffff;
}

.im-mobile-chat__body[b-39vleb30ms] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.im-mobile-chat__state[b-39vleb30ms] {
    margin: 0.65rem;
    padding: 0.6rem 0.7rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #dbe2ea;
    color: #475569;
    font-size: 0.74rem;
}

.im-mobile-chat__state--error[b-39vleb30ms] {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.im-mobile-chat__list[b-39vleb30ms] {
    min-height: 0;
    overflow-y: auto;
    padding: 0.35rem;
}

.im-mobile-chat__create[b-39vleb30ms] {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    padding: 0.35rem 0.35rem 0.55rem;
}

.im-mobile-chat__create-input[b-39vleb30ms] {
    min-width: 0;
    flex: 1;
}

.im-mobile-chat__conv[b-39vleb30ms] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: none;
    border-radius: 12px;
    padding: 0.6rem;
    text-align: left;
    background: transparent;
}

.im-mobile-chat__conv:hover[b-39vleb30ms] {
    background: #e9eef3;
}

.im-mobile-chat__conv--active[b-39vleb30ms] {
    background: #dde8d8;
}

.im-mobile-chat__avatar[b-39vleb30ms] {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1aad19;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
}

.im-mobile-chat__conv-main[b-39vleb30ms] {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.im-mobile-chat__conv-title[b-39vleb30ms] {
    font-size: 0.78rem;
    color: #0f172a;
    font-weight: 700;
}

.im-mobile-chat__conv-last[b-39vleb30ms] {
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.im-mobile-chat__badge[b-39vleb30ms] {
    min-width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    padding: 0 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
}

.im-mobile-chat__dialog[b-39vleb30ms] {
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.im-mobile-chat__dialog-head[b-39vleb30ms] {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.im-mobile-chat__dialog-name[b-39vleb30ms] {
    font-size: 0.8rem;
    color: #0f172a;
    font-weight: 700;
}

.im-mobile-chat__dialog-sub[b-39vleb30ms] {
    font-size: 0.68rem;
    color: #64748b;
}

.im-mobile-chat__messages[b-39vleb30ms] {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    padding: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.im-mobile-chat__msg[b-39vleb30ms] {
    display: flex;
    justify-content: flex-start;
}

.im-mobile-chat__msg--mine[b-39vleb30ms] {
    justify-content: flex-end;
}

.im-mobile-chat__bubble[b-39vleb30ms] {
    max-width: 78%;
    border-radius: 12px;
    padding: 0.46rem 0.6rem;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.74rem;
    line-height: 1.35;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.im-mobile-chat__msg--mine .im-mobile-chat__bubble[b-39vleb30ms] {
    background: #95ec69;
}

.im-mobile-chat__composer[b-39vleb30ms] {
    border-top: 1px solid #dbe2ea;
    background: #f8fafc;
    padding: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.im-mobile-chat__input[b-39vleb30ms] {
    min-width: 0;
    flex: 1;
    height: 2rem;
    background: #ffffff;
}

.im-mobile-chat__send[b-39vleb30ms] {
    min-width: 3.2rem;
}

@media (max-width: 640px) {
    .im-mobile-chat[b-39vleb30ms] {
        height: min(78dvh, 760px);
        max-height: calc(100dvh - 180px);
    }
}
/* /Components/Components/OxDateInput.razor.rz.scp.css */
.ox-date[b-ons96sao5f] {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    min-height: var(--ox-btn-size, 2rem);
    border: 1px solid var(--ox-border, #e4e4e7);
    border-radius: var(--ox-radius, 0.45rem);
    background: #fff;
    color: var(--ox-ink, #18181b);
    box-sizing: border-box;
    transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.ox-date:hover:not(.is-disabled)[b-ons96sao5f] {
    border-color: color-mix(in oklab, var(--ox-primary, #2563eb) 35%, var(--ox-border, #e4e4e7));
}

.ox-date:focus-within[b-ons96sao5f] {
    border-color: var(--ox-primary, #2563eb);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--ox-primary, #2563eb) 18%, transparent);
}

.ox-date.is-disabled[b-ons96sao5f] {
    opacity: 0.55;
    background: #f4f4f5;
    cursor: not-allowed;
}

.ox-date__face[b-ons96sao5f] {
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.25rem 0.55rem 0.25rem 0.65rem;
    box-sizing: border-box;
}

.ox-date__text[b-ons96sao5f] {
    flex: 1;
    min-width: 0;
    font-size: var(--ox-ui-fs, 0.8125rem);
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ox-date:not(.has-value) .ox-date__text[b-ons96sao5f] {
    color: #a1a1aa;
}

.ox-date__ico[b-ons96sao5f] {
    flex-shrink: 0;
    font-size: 0.95rem;
    color: #71717a;
    line-height: 1;
}

.ox-date:focus-within .ox-date__ico[b-ons96sao5f] {
    color: var(--ox-primary, #2563eb);
}

.ox-date__native[b-ons96sao5f] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
    font-size: 1rem; /* iOS 避免缩放 */
}

.ox-date.is-disabled .ox-date__native[b-ons96sao5f] {
    cursor: not-allowed;
}

.ox-date.is-dense[b-ons96sao5f] {
    min-height: 1.7rem;
    width: auto;
    min-width: 1.7rem;
}

.ox-date.is-dense .ox-date__face[b-ons96sao5f] {
    padding: 0.15rem 0.35rem;
    justify-content: center;
}

.ox-date.is-dense .ox-date__text[b-ons96sao5f] {
    display: none;
}

.ox-date.is-dense .ox-date__ico[b-ons96sao5f] {
    font-size: 0.9rem;
}

.ox-date.is-dense.has-value[b-ons96sao5f] {
    min-width: 6.5rem;
}

.ox-date.is-dense.has-value .ox-date__text[b-ons96sao5f] {
    display: block;
    font-size: 0.72rem;
}
/* /Components/Components/OxFieldHelp.razor.rz.scp.css */
.ox-field-help[b-feegjsqtvw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: 0.2rem;
    width: 1rem;
    height: 1rem;
    vertical-align: -0.12em;
    color: var(--ox-text-secondary, #71717a);
    cursor: help;
    flex-shrink: 0;
    border-radius: 2px;
    line-height: 1;
    pointer-events: auto;
}

.ox-field-help:hover[b-feegjsqtvw],
.ox-field-help:focus-visible[b-feegjsqtvw] {
    color: var(--ox-accent, #3b82f6);
    outline: none;
}

.ox-field-help .ph[b-feegjsqtvw] {
    font-size: 0.8125rem;
    line-height: 1;
}

/* 骑线 label 默认 pointer-events:none / overflow:hidden，需放开帮助图标 */
.ox-form-field-legend__text:has(.ox-field-help)[b-feegjsqtvw] {
    overflow: visible;
    text-overflow: clip;
}

.ox-stack-toolbar .ox-field-help[b-feegjsqtvw],
.ox-form-section-title .ox-field-help[b-feegjsqtvw] {
    vertical-align: middle;
}
/* /Components/Components/OxPickerShell.razor.rz.scp.css */
/* 统一选择器外壳（ox-picker 根类 + ox-user-picker BEM，兼容旧样式） */

.ox-user-picker[b-0vlwnw2ihj] {
    box-sizing: border-box;
}

/* 仅作弹窗锚点：不占布局（弹层仍 fixed 全窗） */
.ox-user-picker--headless:not(.ox-user-picker--inline)[b-0vlwnw2ihj] {
    display: contents;
}

/* 内嵌模式：不再使用第二层 fixed 弹窗，列表在父级模态内展开 */
.ox-user-picker--inline .ox-user-picker__field-row[b-0vlwnw2ihj] {
    margin-bottom: 8px;
}

.ox-user-picker__inline-surface[b-0vlwnw2ihj] {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    max-height: min(52vh, 420px);
    border: 1px solid var(--ox-border, #cbd5e1);
    border-radius: var(--ox-radius, 6px);
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ox-user-picker__inline-title[b-0vlwnw2ihj] {
    margin: 0;
    padding: 10px 14px 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ox-fg-muted, #334155);
}

.ox-user-picker__inline-hint[b-0vlwnw2ihj] {
    margin: 0;
    padding: 8px 14px 10px;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--ox-muted, #64748b);
    border-top: 1px solid var(--ox-border-light, #f1f5f9);
    flex-shrink: 0;
}

.ox-user-picker__inline-surface .ox-user-picker__user-list[b-0vlwnw2ihj] {
    min-height: 180px;
    max-height: min(36vh, 320px);
}

.ox-user-picker__inline-surface .ox-user-picker__pager[b-0vlwnw2ihj] {
    border-top: 1px solid var(--ox-border-light, #e2e8f0);
}

.ox-user-picker__field-label[b-0vlwnw2ihj] {
    display: block;
    margin-bottom: 6px;
    font-size: var(--ox-ui-fs-sm, 0.875rem);
    color: var(--ox-fg-muted, #334155);
}

.ox-user-picker__field-row[b-0vlwnw2ihj] {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
}

.ox-user-picker__chips[b-0vlwnw2ihj] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: var(--ox-btn-size, 2rem);
    padding: 4px 2.25rem 4px 0.625rem;
    border: 1px solid var(--ox-border, #e3e3e3);
    border-radius: var(--ox-radius, 4px);
    background: #fff;
    box-sizing: border-box;
}

.ox-user-picker__field-row.is-no-open .ox-user-picker__chips[b-0vlwnw2ihj] {
    padding-right: 0.625rem;
}

.ox-user-picker:focus-within .ox-user-picker__chips[b-0vlwnw2ihj] {
    border-color: var(--ox-accent, #3b82f6);
    box-shadow: 0 0 0 1px var(--ox-focus-ring, rgba(59, 130, 246, 0.35));
}

/* 打开选择器：右侧放大镜（对齐 lookup / select 箭头位） */
.ox-user-picker__open[b-0vlwnw2ihj] {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    min-height: 1.5rem;
    margin: 0;
    padding: 0 !important;
    gap: 0;
    border: none;
    border-radius: var(--ox-radius, 4px);
    background: transparent;
    box-shadow: none;
    color: var(--ox-text-secondary, #71717a);
    cursor: pointer;
    overflow: hidden;
}

.ox-user-picker__open:hover[b-0vlwnw2ihj] {
    background: var(--ox-state-hover-bg, #f4f4f5);
    color: var(--ox-accent-foreground, #1d4ed8);
}

.ox-user-picker__open-text[b-0vlwnw2ihj] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ox-user-picker__empty[b-0vlwnw2ihj] {
    font-size: var(--ox-fs-secondary, 0.75rem);
    color: var(--ox-text-secondary, #71717a);
}

.ox-user-picker__chip[b-0vlwnw2ihj] {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    max-width: 100%;
    /* 低于默认 input（--ox-btn-size）一截 */
    min-height: 1.25rem;
    padding: 0 0.15rem 0 0.4rem;
    border-radius: var(--ox-radius, 4px);
    background: var(--ox-chip-bg, #e0f2fe);
    color: var(--ox-chip-fg, #0c4a6e);
    font-size: var(--ox-fs-secondary, 0.75rem);
    line-height: 1.15;
    box-sizing: border-box;
}

.ox-user-picker__chip-text[b-0vlwnw2ihj] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
    padding-block: 0;
}

.ox-user-picker__chip-remove[b-0vlwnw2ihj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    padding: 0;
    border: none;
    border-radius: var(--ox-radius, 4px);
    background: transparent;
    color: inherit;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.75rem;
    line-height: 1;
}

.ox-user-picker__chip-remove:hover[b-0vlwnw2ihj] {
    background: rgba(0, 0, 0, 0.08);
}

.ox-user-picker__open-icon[b-0vlwnw2ihj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.9;
}

.ox-user-picker__backdrop[b-0vlwnw2ihj] {
    position: fixed;
    inset: 0;
    /* 高于「添加考评卷」等同级 fixed 弹层（1050），便于套娃选人 */
    z-index: 1060;
    background: rgba(15, 23, 42, 0.45);
}

.ox-user-picker__dialog[b-0vlwnw2ihj] {
    position: fixed;
    z-index: 1070;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(480px, calc(100vw - 32px));
    max-height: min(560px, calc(100vh - 48px));
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    outline: none;
}

/* 大尺寸：新建群聊、批量选人等场景 */
.ox-user-picker__dialog--large[b-0vlwnw2ihj] {
    width: min(52rem, calc(100vw - 1.5rem));
    max-height: min(92vh, 960px);
    border-radius: 10px;
    box-shadow: 0 28px 64px -16px rgba(15, 23, 42, 0.35);
}

.ox-user-picker__dialog--large .ox-user-picker__dialog-title[b-0vlwnw2ihj] {
    font-size: 1.1rem;
}

.ox-user-picker__dialog--large .ox-user-picker__dialog-search[b-0vlwnw2ihj] {
    padding: 14px 18px 10px;
}

.ox-user-picker__dialog--large .ox-user-picker__search-input[b-0vlwnw2ihj] {
    padding: 10px 12px;
    font-size: 0.9375rem;
}

.ox-user-picker__dialog--large .ox-user-picker__user-list[b-0vlwnw2ihj] {
    min-height: min(48vh, 480px);
    max-height: min(58vh, 560px);
    padding: 6px 14px;
}

.ox-user-picker__dialog--large .ox-user-picker__user-label[b-0vlwnw2ihj] {
    padding: 10px 6px;
}

.ox-user-picker__dialog--large .ox-user-picker__user-avatar-wrap[b-0vlwnw2ihj] {
    width: 2.5rem;
    height: 2.5rem;
}

.ox-user-picker__dialog--large .ox-user-picker__user-name[b-0vlwnw2ihj] {
    font-size: 0.9375rem;
}

.ox-user-picker__dialog--large .ox-user-picker__user-field-value[b-0vlwnw2ihj] {
    max-width: min(18rem, 48vw);
}

.ox-user-picker__dialog--large .ox-user-picker__dialog-footer[b-0vlwnw2ihj],
.ox-user-picker__dialog--large .ox-user-picker__pager[b-0vlwnw2ihj] {
    padding-left: 18px;
    padding-right: 18px;
}

.ox-user-picker__dialog-header[b-0vlwnw2ihj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--ox-border, #e2e8f0);
    flex-shrink: 0;
}

.ox-user-picker__dialog-title[b-0vlwnw2ihj] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ox-fg, #0f172a);
}

/* 对话框关闭使用全局 .manage-btn-icon */

.ox-user-picker__dialog-search[b-0vlwnw2ihj] {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem 0.5rem;
    flex-shrink: 0;
}

.ox-user-picker__search-field[b-0vlwnw2ihj] {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

.ox-user-picker__toolbar[b-0vlwnw2ihj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 0 16px 8px;
    flex-shrink: 0;
}

/* 弹窗搜索：放大镜在输入框内左侧 */
.ox-user-picker__search-icon[b-0vlwnw2ihj] {
    position: absolute;
    left: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9375rem;
    color: var(--ox-text-secondary, #71717a);
    pointer-events: none;
    z-index: 1;
    line-height: 1;
}

.ox-user-picker__search-input[b-0vlwnw2ihj] {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: var(--ox-btn-size, 2rem);
    padding: 0.375rem 0.625rem 0.375rem 2rem;
    border: 1px solid var(--ox-border, #e3e3e3);
    border-radius: var(--ox-radius, 4px);
    font-size: var(--ox-fs-body, 0.8125rem);
    background-color: var(--ox-surface, #fff);
    box-sizing: border-box;
}

.ox-user-picker__search-input:focus[b-0vlwnw2ihj] {
    outline: none;
    border-color: var(--ox-accent, #3b82f6);
    box-shadow: 0 0 0 1px var(--ox-focus-ring, rgba(59, 130, 246, 0.35));
}

.ox-user-picker__list-error[b-0vlwnw2ihj],
.ox-user-picker__list-loading[b-0vlwnw2ihj],
.ox-user-picker__list-empty[b-0vlwnw2ihj] {
    padding: 20px 16px;
    text-align: center;
    font-size: var(--ox-ui-fs-sm, 0.875rem);
    color: var(--ox-muted, #64748b);
}

.ox-user-picker__list-error[b-0vlwnw2ihj] {
    color: #b91c1c;
}

.ox-user-picker__user-list[b-0vlwnw2ihj] {
    list-style: none;
    margin: 0;
    padding: 4px 12px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 120px;
}

.ox-user-picker__user-row[b-0vlwnw2ihj] {
    margin: 0;
    border-bottom: 1px solid var(--ox-border-light, #f1f5f9);
}

.ox-user-picker__user-row:last-child[b-0vlwnw2ihj] {
    border-bottom: none;
}

.ox-user-picker__user-label[b-0vlwnw2ihj] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    cursor: pointer;
    margin: 0;
}

.ox-user-picker__user-check[b-0vlwnw2ihj] {
    align-self: center;
    flex-shrink: 0;
    margin: 0;
}

.ox-user-picker__user-avatar-wrap[b-0vlwnw2ihj] {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.35rem;
    overflow: hidden;
    border: 1px solid var(--ox-border-light, #e2e8f0);
    background: var(--ox-bg-subtle, #f1f5f9);
}

.ox-user-picker__user-avatar[b-0vlwnw2ihj] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ox-user-picker__user-main[b-0vlwnw2ihj] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1 1 auto;
}

.ox-user-picker__user-name[b-0vlwnw2ihj] {
    font-weight: 600;
    font-size: var(--ox-ui-fs-sm, 0.875rem);
    color: var(--ox-fg, #0f172a);
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 第二行：部门 + 账号，统一标签 */
.ox-user-picker__user-meta[b-0vlwnw2ihj] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.65rem 1rem;
    min-width: 0;
}

.ox-user-picker__user-field[b-0vlwnw2ihj] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.28rem;
    min-width: 0;
    max-width: 100%;
}

.ox-user-picker__user-field-label[b-0vlwnw2ihj] {
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--ox-muted, #64748b);
    letter-spacing: 0.02em;
}

.ox-user-picker__user-field-value[b-0vlwnw2ihj] {
    font-size: 0.75rem;
    color: var(--ox-fg-muted, #334155);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(14rem, 42vw);
}

.ox-user-picker__pager[b-0vlwnw2ihj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 16px;
    border-top: 1px solid var(--ox-border, #e2e8f0);
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* 分页使用全局 .manage-text-btn */

.ox-user-picker__pager-info[b-0vlwnw2ihj] {
    font-size: 0.75rem;
    color: var(--ox-muted, #64748b);
    flex: 1 1 auto;
    text-align: center;
}

.ox-user-picker__dialog-footer[b-0vlwnw2ihj] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--ox-border, #e2e8f0);
    flex-shrink: 0;
}

/* 底栏使用全局 .menu-btn / .menu-btn-primary */

.ox-org-picker__icon[b-0vlwnw2ihj] {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ox-muted, #64748b);
    font-size: 1.1rem;
}

.ox-org-picker__list[b-0vlwnw2ihj] {
    max-height: min(52vh, 28rem);
}
/* /Components/Components/OxTablePager.razor.rz.scp.css */
/*
 * 与 .manage-user-table / .ox-data-table 表头同一套尺寸令牌（tailwind :root），
 * 行高与左右内边距与 thead th 一致。
 */
.ox-table-pager[b-nrd763j2rr] {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    box-sizing: border-box;
    min-height: var(--ox-table-pager-row-h);
    padding: var(--ox-table-cell-py) var(--ox-table-cell-px);
    border-top: 1px solid var(--ox-header-border, #e5e7eb);
    background: var(--ox-header-bg, #f9fafb);
    font-size: var(--ox-ui-fs, 0.75rem);
    line-height: 1.5;
}

.ox-table-pager__meta[b-nrd763j2rr] {
    color: var(--ox-muted, #6b7280);
}

.ox-table-pager__nav[b-nrd763j2rr] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
}

/* 高度与表头文字行盒对齐，避免分页条整体高于 thead */
.ox-table-pager__icon-btn[b-nrd763j2rr] {
    width: var(--ox-table-head-line-box);
    height: var(--ox-table-head-line-box);
    min-width: var(--ox-table-head-line-box);
    font-size: 0.8125rem;
}
/* /Components/Components/ProfileSelfEditModal.razor.rz.scp.css */
/* 个人信息弹框：顶区头像+姓名与账号同行，其下部门/角色；下方可编辑邮箱手机与密码；底栏固定 */
.profile-modal[b-6apvwrrm4n] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    min-width: 0;
}

.profile-modal--empty[b-6apvwrrm4n] {
    padding: 10px 16px 14px;
    justify-content: center;
}

.profile-modal-scroll[b-6apvwrrm4n] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--ox-space, 0.5rem) 0.75rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: var(--ox-form-stack-gap, 1rem);
}

.profile-modal-footer[b-6apvwrrm4n] {
    /* 视觉由全局 .ox-edit-footer / .profile-modal-footer 统一 */
    flex-shrink: 0;
}

.profile-top[b-6apvwrrm4n] {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin: 0;
    padding-bottom: var(--ox-space, 0.5rem);
    border-bottom: 1px solid var(--ox-border, #e3e3e3);
}

.profile-avatar-wrap[b-6apvwrrm4n] {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    background: #e2e8f0;
}

.profile-avatar-img[b-6apvwrrm4n] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-top-main[b-6apvwrrm4n] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-name-row[b-6apvwrrm4n] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
}

.profile-name-label[b-6apvwrrm4n] {
    margin: 0;
    padding: 2px 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    color: #0f172a;
    word-break: break-word;
}

.profile-account-inline[b-6apvwrrm4n] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
}

.profile-account-text[b-6apvwrrm4n] {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-editable-block[b-6apvwrrm4n] {
    margin: 0;
    padding: 0;
}

.profile-contact[b-6apvwrrm4n] {
    display: flex;
    flex-direction: column;
    gap: var(--ox-form-stack-gap, 1rem);
}

.profile-ico[b-6apvwrrm4n] {
    font-size: 0.875rem;
    line-height: 1;
    flex-shrink: 0;
    color: #0ea5e9;
    opacity: 0.9;
}

.profile-ico--muted[b-6apvwrrm4n] {
    color: #64748b;
    opacity: 1;
}

.profile-ro-line[b-6apvwrrm4n] {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 0;
    line-height: 1.2;
    padding: 2px 0;
}

.profile-ro-text[b-6apvwrrm4n] {
    font-size: 0.6875rem;
    color: #475569;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.profile-pass[b-6apvwrrm4n] {
    display: flex;
    flex-direction: column;
    gap: var(--ox-form-stack-gap, 1rem);
    padding: 0;
}

.profile-muted[b-6apvwrrm4n] {
    font-size: 0.75rem;
    color: var(--ox-muted, #6b7280);
    margin: 0;
    line-height: 1.2;
}

.profile-error[b-6apvwrrm4n] {
    font-size: 0.75rem;
    color: #dc2626;
    margin: 0;
    line-height: 1.2;
}

.profile-error-banner[b-6apvwrrm4n] {
    margin-bottom: 6px;
    padding: 4px 6px;
    border-radius: 4px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

/* /Components/Components/ShellLayout.razor.rz.scp.css */
/* ============================================================
   Obsidian 式 Shell：扁平工作区、细边框、无厚卡片阴影。
   ============================================================ */

.shell-root.shell-root--surface[b-wbctkuawho] {
    background: var(--obs-bg);
    box-shadow: none;
    overflow: hidden;
}

/* 路由切换 / 首帧恢复布局：遮罩盖住抖动，绘制稳定后由 ShellLayout 关闭 */
.shell-root--prefs-pending[b-wbctkuawho] {
    visibility: hidden;
}

.shell-prefs-mask[b-wbctkuawho] {
    position: absolute;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: var(--obs-bg, #fff);
    color: var(--obs-muted, #6b7280);
    pointer-events: all;
}

.shell-prefs-mask__inner[b-wbctkuawho] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.shell-prefs-mask__spinner[b-wbctkuawho] {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid color-mix(in oklab, var(--ox-accent, #4d8fe8) 22%, var(--ox-border, #e3e3e3));
    border-top-color: var(--ox-accent, #4d8fe8);
    border-radius: 50%;
    animation: shell-prefs-spin-b-wbctkuawho 0.7s linear infinite;
}

.shell-prefs-mask__text[b-wbctkuawho] {
    margin: 0;
    font-size: var(--ox-fs-secondary, 0.75rem);
    font-weight: var(--ox-fw-regular, 400);
    line-height: 1.4;
}

@keyframes shell-prefs-spin-b-wbctkuawho {
    to {
        transform: rotate(360deg);
    }
}

.shell-viewport[b-wbctkuawho] {
    --obs-bg: #ffffff;
    --obs-sidebar: #f7f7f7;
    --obs-rail: #f0f0f0;
    --obs-border: #e3e3e3;
    --obs-text: #1f1f1f;
    --obs-muted: #6b7280;
    --obs-hover: rgba(0, 0, 0, 0.04);
    --obs-active: color-mix(in oklab, var(--ox-accent, #4d8fe8) 14%, transparent);
    --obs-focus: var(--ox-accent, #4d8fe8);
    /* 左侧图标轨统一尺寸 */
    --shell-rail-w: 3rem;
    --shell-rail-btn: 2.25rem;
    --shell-rail-face: 1.375rem;
    --shell-rail-glyph: 1.125rem;
    --shell-rail-gap: 0.25rem;
    --shell-rail-pad: 0.375rem;
    position: relative;
    background: var(--obs-bg);
    color: var(--obs-text);
    overflow-x: hidden;
}

.shell-left-rail[b-wbctkuawho] {
    width: var(--shell-rail-w) !important;
    min-width: var(--shell-rail-w) !important;
    max-width: var(--shell-rail-w) !important;
    background: var(--obs-rail) !important;
    border-right: 1px solid var(--obs-border) !important;
    padding: var(--shell-rail-pad) 0 !important;
    gap: var(--shell-rail-gap) !important;
    box-sizing: border-box;
}

.shell-left-middle[b-wbctkuawho],
.shell-left-rail-bottom[b-wbctkuawho] {
    gap: var(--shell-rail-gap) !important;
    width: 100%;
}

/* Tooltip 包裹层也占满同一格子，避免 logo/钮视觉错位 */
.shell-left-rail[b-wbctkuawho]  .mud-tooltip-root {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: var(--shell-rail-btn);
    height: var(--shell-rail-btn);
    min-width: var(--shell-rail-btn);
    min-height: var(--shell-rail-btn);
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    line-height: 0;
}

/* Logo / 头像 / 菜单钮 / Mud 钮：同一点击面 */
.shell-brand[b-wbctkuawho],
.shell-user-avatar-btn[b-wbctkuawho],
.shell-icon[b-wbctkuawho],
.shell-rail-panel-btn.manage-btn-icon[b-wbctkuawho],
[b-wbctkuawho] .shell-mud-rail-btn.mud-icon-button {
    box-sizing: border-box;
    width: var(--shell-rail-btn) !important;
    height: var(--shell-rail-btn) !important;
    min-width: var(--shell-rail-btn) !important;
    min-height: var(--shell-rail-btn) !important;
    max-width: var(--shell-rail-btn) !important;
    max-height: var(--shell-rail-btn) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 4px;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--obs-muted);
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.shell-brand[b-wbctkuawho] {
    cursor: default;
}

.shell-brand-mark[b-wbctkuawho] {
    width: var(--shell-rail-face) !important;
    height: var(--shell-rail-face) !important;
    border-radius: 4px;
    object-fit: contain;
    display: block;
}

.shell-user-avatar-btn:disabled[b-wbctkuawho] {
    opacity: 0.55;
    cursor: not-allowed;
}

.shell-user-avatar-btn:hover:not(:disabled)[b-wbctkuawho] {
    background: var(--obs-hover);
}

[b-wbctkuawho] .shell-mud-avatar.mud-avatar,
.shell-mud-avatar[b-wbctkuawho],
.shell-user-avatar[b-wbctkuawho] {
    width: var(--shell-rail-face) !important;
    height: var(--shell-rail-face) !important;
    min-width: var(--shell-rail-face) !important;
    min-height: var(--shell-rail-face) !important;
    max-width: var(--shell-rail-face) !important;
    max-height: var(--shell-rail-face) !important;
    font-size: 0.65rem !important;
}

[b-wbctkuawho] .shell-mud-avatar .mud-image,
[b-wbctkuawho] .shell-mud-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.shell-icon:hover[b-wbctkuawho],
.shell-icon.active[b-wbctkuawho],
a.shell-icon.active[b-wbctkuawho],
.shell-rail-panel-btn.manage-btn-icon:hover[b-wbctkuawho],
[b-wbctkuawho] .shell-mud-rail-btn.mud-icon-button:hover {
    background: var(--obs-hover);
    color: var(--obs-text);
}

.shell-icon.active[b-wbctkuawho],
a.shell-icon.active[b-wbctkuawho] {
    background: var(--obs-active);
    color: var(--obs-focus);
}

.shell-icon span[class*="ph"][b-wbctkuawho],
.shell-rail-panel-btn.manage-btn-icon span[class*="ph"][b-wbctkuawho],
[b-wbctkuawho] .shell-mud-rail-btn .mud-icon,
[b-wbctkuawho] .shell-mud-rail-btn .mud-icon-button-label {
    font-size: var(--shell-rail-glyph) !important;
    line-height: 1 !important;
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

[b-wbctkuawho] .shell-rail-loading.mud-progress-circular {
    width: var(--shell-rail-face) !important;
    height: var(--shell-rail-face) !important;
    margin: calc((var(--shell-rail-btn) - var(--shell-rail-face)) / 2) 0;
}

.shell-left-column[b-wbctkuawho],
.shell-left.shell-left-column[b-wbctkuawho] {
    background: var(--obs-sidebar) !important;
    /* 右边线由 .shell-left-splitter 承担，避免双线形成空隙感 */
    border-right: none !important;
}

/* 子菜单列固定宽：由 --shell-left-w 驱动（拖拽 / 默认 264） */
.shell-left-sized[b-wbctkuawho] {
    width: var(--shell-left-w, 264px);
    flex: 0 0 var(--shell-left-w, 264px);
    max-width: min(40vw, 420px);
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.shell-left-column--dim[b-wbctkuawho],
.shell-left-rail--dim[b-wbctkuawho] {
    background: var(--obs-sidebar) !important;
}

.shell-subpanel[b-wbctkuawho] {
    background: transparent;
    width: 100%;
    min-width: 0;
}

.shell-subpanel-detail-header.manage-detail-header[b-wbctkuawho],
.shell-left .manage-detail-header[b-wbctkuawho] {
    min-height: 2.25rem;
    height: 2.25rem;
    padding: 0 var(--ox-space, 0.5rem);
    border-bottom: 1px solid var(--obs-border);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
}

.shell-subpanel-detail-header .manage-detail-title[b-wbctkuawho],
.shell-left .manage-detail-title[b-wbctkuawho] {
    font-size: var(--ox-fs-title, 0.875rem);
    font-weight: var(--ox-fw-semibold, 600);
    letter-spacing: normal;
    text-transform: none;
    color: var(--ox-text-primary, var(--obs-text, #18181b));
    line-height: 1.25;
}

.shell-subnav-list[b-wbctkuawho] {
    padding: 0.25rem var(--ox-space, 0.5rem) var(--ox-space, 0.5rem);
}

.shell-main-area[b-wbctkuawho],
.shell-middle.shell-main-pane[b-wbctkuawho],
.shell-middle--content-dim[b-wbctkuawho] {
    background: var(--obs-bg) !important;
}

.shell-middle.shell-main-pane[b-wbctkuawho] {
    box-sizing: border-box;
    /* 四边贴齐：勿留 padding，否则面板右/底边框外会露一条底色空隙 */
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    min-width: 0;
}

.shell-middle.shell-main-pane > *[b-wbctkuawho] {
    margin: 0;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
}

.shell-middle.shell-main-pane > .manage-middle[b-wbctkuawho] {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    width: auto;
    align-self: stretch;
    margin: 0;
}

.shell-main-area[b-wbctkuawho] {
    min-width: 0;
    overflow: hidden;
}

/* 工作区面板：细边、无阴影（替代厚 MudPaper） */
.ox-workspace[b-wbctkuawho],
[b-wbctkuawho] .ox-workspace.mud-paper {
    background: var(--obs-bg);
    border: 1px solid var(--obs-border);
    border-radius: 4px;
    box-shadow: none !important;
}

[b-wbctkuawho] .ox-workspace.mud-paper {
    padding: var(--ox-space, 0.5rem) !important;
}

.ox-workspace-title[b-wbctkuawho] {
    font-size: var(--ox-fs-title, 0.875rem);
    font-weight: var(--ox-fw-semibold, 600);
    color: var(--ox-text-primary, var(--obs-text));
    margin: 0;
}

.ox-workspace-lead[b-wbctkuawho] {
    font-size: var(--ox-fs-secondary, 0.75rem);
    font-weight: var(--ox-fw-regular, 400);
    color: var(--ox-text-secondary, var(--obs-muted));
    margin: 0;
}

/* 管理面板去卡片感 */
[b-wbctkuawho] .manage-panel {
    box-shadow: none !important;
    border-radius: 4px;
    border-color: var(--obs-border);
}

[b-wbctkuawho] .manage-panel-header {
    background: transparent;
    border-bottom: 1px solid var(--obs-border);
    min-height: var(--ox-panel-header-h, 2.25rem);
    height: var(--ox-panel-header-h, 2.25rem);
    box-shadow: none;
}

/* 右侧抽屉：像 Obsidian 侧栏，非 Material 浮层 */
[b-wbctkuawho] .shell-right-drawer.mud-drawer {
    height: 100%;
    border-left: 1px solid var(--obs-border);
    box-shadow: none !important;
}

[b-wbctkuawho] .shell-right-drawer .mud-drawer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    background: var(--obs-sidebar);
}

.shell-right-drawer-pane[b-wbctkuawho] {
    height: 100%;
    min-height: 0;
    background: var(--obs-sidebar);
}

[b-wbctkuawho] .shell-right-drawer .shell-right-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    /* 底无 padding：与全局一致，避免 sticky 底栏负 margin 裁切 */
    padding: 0 var(--ox-space, 0.5rem);
    display: flex;
    flex-direction: column;
    gap: 0;
}

[b-wbctkuawho] .shell-right-drawer .shell-right-scroll > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 右栏顶栏：拉满/背景/高度走 ox-ui-system .manage-detail-header，勿再 transparent 或自造高度 */

[b-wbctkuawho] .shell-right-drawer .manage-detail-header + .ox-form-stack,
[b-wbctkuawho] .shell-right-drawer .manage-detail-header + .tasks-manage-right-body,
[b-wbctkuawho] .shell-right-drawer .manage-detail-header + .ox-form-field-legend {
    margin-top: 0.75rem !important;
}

[b-wbctkuawho] .shell-right-drawer .ox-form-stack,
[b-wbctkuawho] .shell-right-drawer .tasks-manage-right-body {
    flex: 1 1 auto;
    min-height: 0;
}

/* 右栏底栏：样式统一走 ox-ui-system .ox-form-actions.shell-right-sticky-actions，勿在此覆盖 padding/背景 */

/* 勿用 background 简写：会清空 select 的 background-image（下拉箭头） */
[b-wbctkuawho] .shell-right-drawer .ox-form-control:not(:disabled):not([readonly]),
[b-wbctkuawho] .shell-right-drawer select.ox-form-control:not(:disabled),
[b-wbctkuawho] .shell-right-drawer textarea.ox-form-control:not(:disabled):not([readonly]) {
    background-color: #fff;
}

[b-wbctkuawho] .shell-right-drawer .ox-form-field-legend__text {
    background: var(--obs-sidebar);
}

[b-wbctkuawho] .mud-overlay {
    backdrop-filter: none;
    background-color: rgba(15, 15, 15, 0.22) !important;
}

/* 堆叠：无重合边距 */
[b-wbctkuawho] .ox-space-stack {
    display: flex;
    flex-direction: column;
    gap: var(--ox-space, 0.5rem);
}

[b-wbctkuawho] .ox-space-stack > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Mud 表格贴近 Obsidian：紧凑、细线 */
[b-wbctkuawho] .mud-table {
    background: transparent;
}

[b-wbctkuawho] .mud-table .mud-table-cell {
    border-color: var(--obs-border);
}

[b-wbctkuawho] .mud-button-root {
    text-transform: none;
    letter-spacing: normal;
}

.shell-left-splitter[b-wbctkuawho] {
    /* 通顶实线由全局 .shell-left-splitter background 承担；勿再 border / 渐变顶段留白 */
    border-right: none !important;
    margin: 0;
    padding: 0;
}
/* /Components/Components/ShellModalHost.razor.rz.scp.css */
/* 全局模态：前缀 ox-modal（Obsidian 扁平） */

.ox-modal-scrim[b-uvr8r42e3l] {
    position: fixed;
    inset: 0;
    z-index: 10800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px))
        max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
    pointer-events: none;
}

.ox-modal-backdrop[b-uvr8r42e3l] {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.28);
    pointer-events: auto;
}

.ox-modal-panel[b-uvr8r42e3l] {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    max-height: min(85vh, 640px);
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--ox-border, #e3e3e3);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    pointer-events: auto;
    outline: none;
    overflow: hidden;
}

/* 顶栏视觉：ox-ui-system .ox-modal-header / .ox-modal-title（与面板顶栏同令牌） */
.ox-modal-header[b-uvr8r42e3l] {
    width: 100%;
}

.ox-modal-header .manage-btn-icon[b-uvr8r42e3l] {
    align-self: center;
    margin: 0;
}

.ox-modal-body[b-uvr8r42e3l] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    font-size: var(--ox-ui-fs, 0.8125rem);
    box-sizing: border-box;
}

.ox-modal-panel.ox-modal-panel--form[b-uvr8r42e3l] {
    width: min(560px, calc(100vw - 24px));
    max-height: min(88vh, 720px);
}

.ox-modal-panel.ox-modal-panel--about[b-uvr8r42e3l] {
    width: min(560px, calc(100vw - 24px));
    max-height: min(90vh, 760px);
}

.ox-modal-panel.ox-modal-panel--form-wide[b-uvr8r42e3l] {
    width: min(720px, calc(100vw - 24px));
    max-height: min(90vh, 840px);
}

.ox-modal-panel.ox-modal-panel--phone-preview[b-uvr8r42e3l] {
    --phone-preview-h: min(90vh, 90dvh);
    width: min(calc(var(--phone-preview-h) * 390 / 844), calc(100vw - 24px));
    height: var(--phone-preview-h);
    max-height: var(--phone-preview-h);
    max-width: calc(100vw - 24px);
    border-radius: 12px;
}

.ox-modal-panel.ox-modal-panel--contact-sheet[b-uvr8r42e3l] {
    width: min(100%, 28rem);
    max-height: min(88vh, 88dvh);
    border-radius: 12px 12px 0 0;
    align-self: flex-end;
    margin-top: auto;
}

.ppm-mob-studio .ox-modal-scrim:has(.ox-modal-panel--contact-sheet)[b-uvr8r42e3l] {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.ppm-mob-studio .ox-modal-panel--contact-sheet[b-uvr8r42e3l] {
    width: 100%;
    max-width: 100%;
    border-radius: 12px 12px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
}
/* /Components/Components/ShellNavMenu.razor.rz.scp.css */
/* ============================================================
   子菜单列（shell-subpanel）：统一宽度内的字号 / 行高 / 图标 / 按钮
   ============================================================ */

.shell-subpanel[b-xnwahy64m5] {
    --shell-subnav-fs: var(--ox-ui-fs, 0.8125rem);
    --shell-subnav-row-h: 2rem;
    --shell-subnav-icon: 1rem;
    --shell-subnav-pad-x: 0.5rem;
    --shell-subnav-indent: 0.75rem;
    background: transparent;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 顶栏：与主区 manage-panel-header 同高，折叠钮尺寸固定 */
.shell-subpanel > .manage-detail-header.shell-subpanel-detail-header[b-xnwahy64m5] {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: var(--ox-panel-header-h, 2.25rem);
    height: var(--ox-panel-header-h, 2.25rem);
    padding: 0 var(--ox-space, 0.5rem);
    margin: 0;
    background: transparent;
    border-bottom: 1px solid var(--obs-border, var(--ox-border, #e3e3e3));
    border-radius: 0;
    box-shadow: none;
    gap: var(--ox-space-xs, 0.25rem);
    box-sizing: border-box;
}

.shell-subpanel-detail-header .manage-detail-title[b-xnwahy64m5] {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: var(--ox-fs-title, 0.875rem);
    font-weight: var(--ox-fw-semibold, 600);
    line-height: 1.25;
    letter-spacing: normal;
    text-transform: none;
    color: var(--ox-text-primary, var(--ox-title, #18181b));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shell-subpanel-detail-header .manage-btn-icon[b-xnwahy64m5] {
    width: var(--ox-icon-btn, 1.75rem);
    height: var(--ox-icon-btn, 1.75rem);
    min-width: var(--ox-icon-btn, 1.75rem);
    min-height: var(--ox-icon-btn, 1.75rem);
    color: var(--ox-text-secondary, var(--obs-muted, #6b7280));
    flex-shrink: 0;
}

.shell-subpanel .shell-subpanel-detail-header + .shell-subnav-list[b-xnwahy64m5] {
    margin-top: 0;
}

.shell-subnav-list[b-xnwahy64m5] {
    margin: 0;
    padding: 0.25rem var(--ox-space, 0.5rem) var(--ox-space, 0.5rem);
    display: flex;
    flex-direction: column;
    gap: 1px;
    box-sizing: border-box;
    scrollbar-gutter: auto;
    scrollbar-width: thin;
}

/* 菜单项：统一行高 / 字号 / 图标格 */
.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: var(--shell-subnav-row-h);
    height: var(--shell-subnav-row-h);
    padding: 0 var(--shell-subnav-pad-x);
    margin: 0;
    color: var(--obs-text, #1f1f1f);
    text-decoration: none;
    font-size: var(--shell-subnav-fs);
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    background: transparent;
    box-shadow: none;
    transition: background-color 0.12s ease, color 0.12s ease;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-item:focus {
    outline: none;
}

.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-item:focus-visible {
    outline: 2px solid var(--ox-focus-ring, rgba(77, 143, 232, 0.45));
    outline-offset: 1px;
}

.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-item:hover {
    background: var(--obs-hover, rgba(0, 0, 0, 0.04));
    color: var(--obs-text, #1f1f1f);
}

.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-item.active {
    background: var(--obs-active, color-mix(in oklab, var(--ox-accent, #4d8fe8) 14%, transparent));
    color: var(--ox-accent-foreground, #1d4ed8);
}

.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-item.active:hover {
    background: color-mix(in oklab, var(--ox-accent, #4d8fe8) 18%, transparent);
    color: var(--ox-accent-foreground-strong, #1e3a8a);
}

/* 图标：固定格宽，无灰底方块，避免有/无图标、不同字形时视觉跳动 */
.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-icon-wrap {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent !important;
    border: none;
    box-shadow: none;
    color: inherit;
}

.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-icon {
    font-size: var(--shell-subnav-icon) !important;
    line-height: 1 !important;
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-item:hover .shell-subnav-icon,
.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-item.active .shell-subnav-icon {
    opacity: 1;
}

.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-label {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* 分组标题 */
.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-group-title {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--obs-muted, #6b7280);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.25;
    min-height: 1.5rem;
    padding: 0.375rem var(--shell-subnav-pad-x) 0.125rem;
    margin: 0.25rem 0 0;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-group-title:first-child {
    margin-top: 0;
}

.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-children {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

/* 层级缩进：统一用 CSS 变量，避免内联 style 与 padding 打架 */
.shell-subnav-list[b-xnwahy64m5]  .shell-subnav-children-indented {
    padding-left: var(--shell-subnav-indent);
    margin: 0;
    border-left: 1px solid var(--obs-border, var(--ox-border, #e3e3e3));
    margin-left: calc(var(--shell-subnav-pad-x) + 0.375rem);
}
/* /Components/Components/UiConfirmHost.razor.rz.scp.css */
/* 确认/提示弹窗：对齐 ox-ui-system（扁平、统一字号与底栏） */

.ox-confirm-scrim[b-mb6slujgcb] {
    position: fixed;
    inset: 0;
    z-index: 10950;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px))
        max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
    pointer-events: none;
}

.ox-confirm-backdrop[b-mb6slujgcb] {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(15, 15, 15, 0.28);
    cursor: pointer;
    pointer-events: auto;
}

.ox-confirm-panel[b-mb6slujgcb] {
    position: relative;
    z-index: 1;
    width: min(400px, 100%);
    display: flex;
    flex-direction: column;
    border-radius: var(--ox-radius, 4px);
    background: var(--ox-surface, #fff);
    border: 1px solid var(--ox-border, #e3e3e3);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    pointer-events: auto;
    outline: none;
    overflow: hidden;
}

.ox-confirm-panel.has-input[b-mb6slujgcb] {
    width: min(440px, 100%);
}

.ox-confirm-head[b-mb6slujgcb] {
    display: flex;
    align-items: center;
    min-height: var(--ox-panel-header-h, 2.25rem);
    padding: 0 0.75rem;
    border-bottom: 1px solid var(--ox-border, #e3e3e3);
    box-sizing: border-box;
}

.ox-confirm-title[b-mb6slujgcb] {
    margin: 0;
    font-size: var(--ox-fs-title, 0.875rem);
    font-weight: var(--ox-fw-semibold, 600);
    color: var(--ox-text-primary, #18181b);
    line-height: 1.25;
}

.ox-confirm-body[b-mb6slujgcb] {
    padding: var(--ox-space, 0.5rem) 0.75rem;
    display: flex;
    flex-direction: column;
    gap: var(--ox-space, 0.5rem);
}

.ox-confirm-message[b-mb6slujgcb] {
    margin: 0;
    font-size: var(--ox-fs-body, 0.8125rem);
    font-weight: var(--ox-fw-regular, 400);
    line-height: 1.45;
    color: var(--ox-text-body, #27272a);
    white-space: pre-wrap;
    word-break: break-word;
}

.ox-confirm-input-label[b-mb6slujgcb] {
    display: block;
    margin: 0;
    font-size: var(--ox-fs-secondary, 0.75rem);
    font-weight: var(--ox-fw-medium, 500);
    color: var(--ox-text-secondary, #71717a);
}

.ox-confirm-input[b-mb6slujgcb] {
    display: block;
    width: 100%;
    margin: 0;
    /* 尺寸/边框由 ox-ui-system .ox-confirm-input 统一 */
    resize: vertical;
    min-height: 4.5rem;
}

.ox-confirm-input:focus[b-mb6slujgcb],
.ox-confirm-input:focus-visible[b-mb6slujgcb] {
    outline: none;
    border-color: var(--ox-accent, #3b82f6);
    box-shadow: 0 0 0 1px var(--ox-focus-ring);
    background: #fff;
}

.ox-confirm-input--single[b-mb6slujgcb] {
    min-height: var(--ox-btn-size, 2rem);
    resize: none;
}

.ox-confirm-input[b-mb6slujgcb]::placeholder {
    color: var(--ox-text-disabled, #a1a1aa);
}

.ox-confirm-attach[b-mb6slujgcb] {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ox-space, 0.5rem);
}

.ox-confirm-attach__list[b-mb6slujgcb] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ox-space-xs, 0.25rem);
}

.ox-confirm-attach__item[b-mb6slujgcb] {
    display: flex;
    align-items: center;
    gap: var(--ox-space, 0.5rem);
    padding: var(--ox-space-xs, 0.25rem) var(--ox-space, 0.5rem);
    border: 1px solid var(--ox-border, #e3e3e3);
    border-radius: var(--ox-radius, 4px);
    background: var(--ox-footer-bg, #fafafa);
    min-width: 0;
}

.ox-confirm-attach__thumb[b-mb6slujgcb] {
    width: 2rem;
    height: 2rem;
    object-fit: cover;
    border-radius: var(--ox-radius-sm, 3px);
    flex-shrink: 0;
}

.ox-confirm-attach__fileico[b-mb6slujgcb] {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    color: var(--ox-text-secondary);
    flex-shrink: 0;
    font-size: 1rem;
}

.ox-confirm-attach__name[b-mb6slujgcb] {
    flex: 1;
    min-width: 0;
    font-size: var(--ox-fs-secondary);
    color: var(--ox-text-body);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ox-confirm-attach__remove[b-mb6slujgcb] {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--ox-text-disabled);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 4px;
    flex-shrink: 0;
}

.ox-confirm-attach__remove:hover[b-mb6slujgcb] {
    color: var(--ox-text-danger);
}

.ox-confirm-attach__add[b-mb6slujgcb] {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ox-space-xs) var(--ox-space);
    padding: var(--ox-space);
    border: 1px dashed var(--ox-border);
    border-radius: var(--ox-radius);
    background: #fff;
    color: var(--ox-text-body);
    font-size: var(--ox-fs-secondary);
    font-weight: var(--ox-fw-medium);
    cursor: pointer;
}

.ox-confirm-attach__add:hover[b-mb6slujgcb] {
    border-color: var(--ox-text-disabled);
    background: var(--ox-footer-bg);
}

.ox-confirm-attach__input[b-mb6slujgcb] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.ox-confirm-attach__hint[b-mb6slujgcb] {
    width: 100%;
    font-size: var(--ox-fs-caption);
    font-weight: var(--ox-fw-regular);
    color: var(--ox-text-disabled);
}

.ox-confirm-attach__err[b-mb6slujgcb] {
    margin: 0;
    font-size: var(--ox-fs-secondary);
    color: var(--ox-text-danger);
}

/* 底栏样式由 ox-ui-system .ox-confirm-foot 统一 */

.ox-confirm-panel.is-danger .ox-confirm-title[b-mb6slujgcb] {
    color: var(--ox-text-danger);
}
/* /Components/Components/UiMessageStack.razor.rz.scp.css */
/* 全局轻提示栈，前缀 ox-msg__ */
/* 边距：在 app.css 的 :root 中覆盖 --ox-msg-inset（默认 16px） */

.ox-msg-stack[b-8dbq667xph] {
    position: fixed;
    z-index: 11000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(380px, calc(100vw - 32px * 2));
    pointer-events: none;
    --ox-msg-inset-pad: var(--ox-msg-inset, 16px);
}

/* 视口正中：水平 + 垂直居中 */
.ox-msg-stack--center[b-8dbq667xph] {
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    max-width: min(420px, calc(100vw - 2 * var(--ox-msg-inset-pad)));
    align-items: stretch;
}

.ox-msg-stack--bottom-right[b-8dbq667xph] {
    right: var(--ox-msg-inset-pad);
    bottom: var(--ox-msg-inset-pad);
    left: auto;
    top: auto;
}

.ox-msg-stack--top-right[b-8dbq667xph] {
    top: var(--ox-msg-inset-pad);
    right: var(--ox-msg-inset-pad);
    left: auto;
    bottom: auto;
}

.ox-msg-stack--bottom-left[b-8dbq667xph] {
    left: var(--ox-msg-inset-pad);
    bottom: var(--ox-msg-inset-pad);
    right: auto;
    top: auto;
}

.ox-msg-stack--top-left[b-8dbq667xph] {
    left: var(--ox-msg-inset-pad);
    top: var(--ox-msg-inset-pad);
    right: auto;
    bottom: auto;
}

.ox-msg[b-8dbq667xph] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--ox-msg-border, #e2e8f0);
    background: var(--ox-msg-bg, #fff);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 6px 10px -6px rgba(15, 23, 42, 0.08);
    pointer-events: auto;
    font-size: var(--ox-ui-fs-sm, 0.875rem);
    line-height: 1.45;
}

.ox-msg--success[b-8dbq667xph] {
    border-color: #6ee7b7;
    background: #ecfdf5;
    color: #065f46;
}

.ox-msg--error[b-8dbq667xph] {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #991b1b;
}

.ox-msg--warning[b-8dbq667xph] {
    border-color: #fcd34d;
    background: #fffbeb;
    color: #92400e;
}

.ox-msg--info[b-8dbq667xph] {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1e3a8a;
}

.ox-msg__icon[b-8dbq667xph] {
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 1.125rem;
    opacity: 0.9;
}

.ox-msg__text[b-8dbq667xph] {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}

/* 关闭：基础样式为全局 .manage-btn-icon；此处仅做轻提示条内的紧凑尺寸与继承色 */
.ox-msg .manage-btn-icon.ox-msg__close[b-8dbq667xph] {
    width: 28px;
    height: 28px;
    min-width: 28px;
    margin: -4px -6px -4px 0;
    color: inherit;
    opacity: 0.65;
}

.ox-msg .manage-btn-icon.ox-msg__close:hover:not(:disabled)[b-8dbq667xph] {
    opacity: 1;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
}
/* /Components/Components/UserCombobox.razor.rz.scp.css */
.ox-user-combo[b-zyh6zo2swj] {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

.ox-user-combo.is-disabled[b-zyh6zo2swj] {
    opacity: 0.55;
    pointer-events: none;
}

.ox-user-combo__field[b-zyh6zo2swj] {
    position: relative;
    display: flex;
    align-items: center;
}

.ox-user-combo__input[b-zyh6zo2swj] {
    width: 100%;
    min-width: 0;
    min-height: 1.85rem;
    padding: 0.2rem 1.55rem 0.2rem 0.45rem;
    border: 1px solid var(--ox-border, #d1d5db);
    border-radius: var(--ox-radius, 6px);
    background: #fff;
    font-size: 0.75rem;
    line-height: 1.3;
    color: var(--ox-fg, #0f172a);
    box-sizing: border-box;
}

.ox-user-combo__input:focus[b-zyh6zo2swj] {
    outline: none;
    border-color: color-mix(in oklab, var(--ox-btn-primary-bg, #2563eb) 55%, var(--ox-border, #d1d5db));
    box-shadow: 0 0 0 2px color-mix(in oklab, var(--ox-btn-primary-bg, #2563eb) 18%, transparent);
}

.ox-user-combo__clear[b-zyh6zo2swj] {
    position: absolute;
    right: 0.15rem;
    appearance: none;
    border: 0;
    background: transparent;
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ox-muted, #64748b);
    cursor: pointer;
    border-radius: 4px;
    padding: 0;
}

.ox-user-combo__clear:hover[b-zyh6zo2swj] {
    color: var(--ox-fg, #0f172a);
    background: color-mix(in oklab, var(--ox-border, #e2e8f0) 70%, transparent);
}

.ox-user-combo__list[b-zyh6zo2swj] {
    margin: 0;
    padding: 0.25rem 0;
    list-style: none;
    max-height: 14rem;
    overflow: auto;
    border: 1px solid var(--ox-border, #cbd5e1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.ox-user-combo__list--fixed[b-zyh6zo2swj] {
    position: fixed;
    z-index: 12000;
}

.ox-user-combo__empty[b-zyh6zo2swj] {
    padding: 0.55rem 0.65rem;
    font-size: 0.75rem;
    color: var(--ox-muted, #64748b);
}

.ox-user-combo__option[b-zyh6zo2swj] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.4rem 0.65rem;
    cursor: pointer;
    min-width: 0;
}

.ox-user-combo__option:hover[b-zyh6zo2swj],
.ox-user-combo__option.is-active[b-zyh6zo2swj] {
    background: color-mix(in oklab, var(--ox-btn-primary-bg, #2563eb) 10%, transparent);
}

.ox-user-combo__option.is-selected .ox-user-combo__name[b-zyh6zo2swj] {
    font-weight: 700;
}

.ox-user-combo__name[b-zyh6zo2swj] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ox-fg, #0f172a);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ox-user-combo__dept[b-zyh6zo2swj] {
    font-size: 0.68rem;
    color: var(--ox-muted, #64748b);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* 全局布局样式交由各页面控制 */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* 导航样式已迁移至 Tailwind 工具类 */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* 断线重连弹层：类名与 #id 与框架协议绑定，仅改色与圆角等视觉；勿删状态类。 */

.components-reconnect-first-attempt-visible[b-fc6zlgni3l],
.components-reconnect-repeated-attempt-visible[b-fc6zlgni3l],
.components-reconnect-failed-visible[b-fc6zlgni3l],
.components-pause-visible[b-fc6zlgni3l],
.components-resume-failed-visible[b-fc6zlgni3l],
.components-rejoining-animation[b-fc6zlgni3l] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-fc6zlgni3l],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-fc6zlgni3l],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-fc6zlgni3l],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-fc6zlgni3l],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-fc6zlgni3l],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-fc6zlgni3l],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-fc6zlgni3l] {
    display: block;
}

/* 未打开时 <dialog> 须保持隐藏；勿对 #components-reconnect-modal 本体加 display:block（会顶掉浏览器关闭态，导致首屏/重连时闪一帧白模态） */
#components-reconnect-modal:not([open])[b-fc6zlgni3l] {
    display: none !important;
    animation: none;
    opacity: 0;
    box-shadow: none;
}

#components-reconnect-modal[open][b-fc6zlgni3l] {
    display: block;
    background: var(--ox-surface, #fff);
    color: #0f172a;
    width: min(20rem, 92vw);
    margin: 20vh auto;
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--ox-border, #e2e8f0);
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
    opacity: 1;
    animation: components-reconnect-modal-slideUp-b-fc6zlgni3l 1.5s cubic-bezier(0.05, 0.89, 0.25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-fc6zlgni3l 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
}

#components-reconnect-modal[open][b-fc6zlgni3l]::backdrop {
    background-color: rgba(15, 23, 42, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-fc6zlgni3l 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-fc6zlgni3l {
    0% {
        transform: translateY(20px) scale(0.98);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-fc6zlgni3l {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.components-reconnect-container[b-fc6zlgni3l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

#components-reconnect-modal p[b-fc6zlgni3l] {
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #334155;
}

#components-reconnect-modal button[b-fc6zlgni3l] {
    border: 0;
    background: var(--ox-accent, #0067c0);
    color: #fff;
    font-size: 0.88rem;
    padding: 0.4rem 1.4rem;
    border-radius: 0.4rem;
    cursor: pointer;
    font-weight: 600;
}

#components-reconnect-modal button:hover[b-fc6zlgni3l] {
    filter: brightness(1.06);
}

#components-reconnect-modal button:active[b-fc6zlgni3l] {
    filter: brightness(0.96);
}

.components-rejoining-animation[b-fc6zlgni3l] {
    position: relative;
    width: 72px;
    height: 72px;
}

.components-rejoining-animation div[b-fc6zlgni3l] {
    position: absolute;
    border: 3px solid var(--ox-accent, #0067c0);
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-ripple-b-fc6zlgni3l 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-fc6zlgni3l] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-ripple-b-fc6zlgni3l {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    4.9% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    5% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0;
        left: 0;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}
/* /Components/Pages/AiModels.razor.rz.scp.css */
/* 大模型配置：复用 ox-list-body / ox-data-table / 右栏表单，无额外 invent 样式。 */
/* /Components/Pages/AiSkills.razor.rz.scp.css */
.ox-ai-scroll[b-ebdi42navf] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: var(--ox-space, 0.5rem);
    box-sizing: border-box;
}

.ox-ai-footer[b-ebdi42navf] {
    flex: 0 0 auto;
    padding: var(--ox-space, 0.5rem);
    border-top: 1px solid color-mix(in srgb, var(--ox-border, #ccc) 70%, transparent);
    background: var(--shell-surface-bg, #fff);
}

.ox-settings-ai[b-ebdi42navf] {
    max-width: 42rem;
    width: 100%;
}

.ox-ai-skill-row[b-ebdi42navf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 40rem;
}

.ox-ai-skill-toggle[b-ebdi42navf] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    font-size: 0.875rem;
}
/* /Components/Pages/ApiSources.razor.rz.scp.css */
/* API 源目录：与全站 manage-panel / --ox-space 对齐 */

.api-sources-subtitle[b-w0382pn581] {
    font-size: var(--ox-fs-secondary, 0.75rem);
    color: var(--ox-text-secondary, var(--ox-muted, #71717a));
}

#api-sources-split.manage-middle.manage-split.dx-style[b-w0382pn581] {
    gap: var(--ox-space, 0.5rem);
}

#api-sources-split .manage-panel[b-w0382pn581] {
    border: 1px solid var(--ox-border, #e3e3e3);
    border-radius: var(--ox-radius, 4px);
    overflow: hidden;
    background: var(--ox-surface, #fff);
    box-shadow: none;
}

.api-sources-split-body[b-w0382pn581] {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
    gap: var(--ox-space, 0.5rem);
    box-sizing: border-box;
}

.api-sources-source-pane[b-w0382pn581] {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.api-sources-op-pane[b-w0382pn581] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* 列表 / 空态 / 加载：与边框留 --ox-space */
.api-sources-source-pane .manage-list[b-w0382pn581],
.api-sources-source-pane .manage-loading[b-w0382pn581],
.api-sources-source-pane .manage-empty[b-w0382pn581],
.api-sources-op-pane .manage-loading[b-w0382pn581],
.api-sources-op-pane .manage-empty[b-w0382pn581] {
    padding: var(--ox-space, 0.5rem) !important;
    box-sizing: border-box;
}

.api-sources-source-pane .manage-list[b-w0382pn581] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    width: 100%;
}

.api-sources-list-item[b-w0382pn581] {
    width: 100%;
    padding-inline: var(--ox-space, 0.5rem) !important;
    border-radius: var(--ox-radius, 4px);
    box-sizing: border-box;
}

.api-sources-remark-input[b-w0382pn581] {
    min-height: 96px;
    resize: vertical;
}

.api-sources-op-head-sub[b-w0382pn581] {
    font-size: var(--ox-fs-secondary, 0.75rem);
    color: var(--ox-text-secondary, var(--ox-muted, #71717a));
    font-weight: 400;
}

.api-sources-op-sync-btn[b-w0382pn581] {
    display: inline-flex;
    align-items: center;
    gap: var(--ox-space-xs, 0.25rem);
    padding-inline: 0.625rem;
    font-size: var(--ox-fs-body, 0.8125rem);
}

.api-sources-op-sync-btn .ph[b-w0382pn581] {
    font-size: 1rem;
    line-height: 1;
}

.api-sources-op-toolbar[b-w0382pn581] {
    flex-shrink: 0;
    padding: var(--ox-space, 0.5rem);
    border-bottom: 1px solid var(--ox-border, #e3e3e3);
    background: transparent;
    box-sizing: border-box;
}

.api-sources-op-table-wrap[b-w0382pn581] {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: var(--ox-space, 0.5rem);
    overflow: auto;
    box-sizing: border-box;
}

.api-sources-op-table-wrap .ox-data-table[b-w0382pn581] {
    width: 100%;
}

@media (max-width: 1200px) {
    .api-sources-source-pane[b-w0382pn581] {
        min-width: 160px;
    }
}
/* /Components/Pages/Contacts.razor.rz.scp.css */
/* 通讯录：左联系人 / 中会话 / 右对话（微信式浅色条带） */

.contacts-dir__gate[b-h3cujxtn8q] {
    padding: 1.5rem;
    color: #475569;
    font-size: 0.9rem;
}

.contacts-dir[b-h3cujxtn8q] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    width: 100%;
    height: 100%;
    background: color-mix(in oklab, #f8fafc 92%, transparent);
}

/* 左右栏贴边；顶栏复用 manage-panel-header（--ox-panel-header-h），勿自造高度 */
.contacts-dir--left[b-h3cujxtn8q] {
    padding: 0;
    background: var(--ox-surface, #fff);
}

.contacts-dir--mid[b-h3cujxtn8q] {
    padding: 0;
    /* 左边线由 .shell-left-splitter 承担，勿再 border-left 叠双线 */
    background: var(--ox-surface, #fff);
}

.contacts-dir--right[b-h3cujxtn8q] {
    padding: 0;
    background: #f6f7f8;
    /* ShellLayout 的 .shell-right-scroll 默认有 inline padding，这里抵消确保对话区贴边填满 */
    margin-inline: calc(-1 * var(--ox-panel-header-px, 1rem));
    width: calc(100% + 2 * var(--ox-panel-header-px, 1rem));
    max-width: none;
    box-sizing: border-box;
}

/* Contacts 右栏需要贴底：覆盖全局 .shell-right-scroll 的默认 padding-bottom */
.contacts-page[b-h3cujxtn8q]  .shell-right-scroll {
    padding-bottom: 0 !important;
}

.contacts-dir--left .manage-panel-header[b-h3cujxtn8q],
.contacts-dir--mid .manage-panel-header[b-h3cujxtn8q] {
    /* 高度/字号/边距一律走全局 manage-panel-header */
    flex-shrink: 0;
}

.contacts-dir__search-wrap[b-h3cujxtn8q] {
    padding: var(--ox-space, 0.5rem);
    border-bottom: 1px solid var(--ox-border, #e3e3e3);
}

/* 搜索框内嵌左侧图标 */
.contacts-dir__search-field[b-h3cujxtn8q] {
    position: relative;
    width: 100%;
}

.contacts-dir__search-icon[b-h3cujxtn8q] {
    position: absolute;
    left: 0.55rem;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 0;
    pointer-events: none;
}

.contacts-dir__search[b-h3cujxtn8q] {
    width: 100%;
    font-size: var(--ox-fs-body, 0.8125rem);
    min-height: var(--ox-btn-size, 2rem);
    /* 左侧为搜索图标让位 */
    padding: 0.375rem 0.625rem 0.375rem 2.05rem;
}

.contacts-dir__scroll[b-h3cujxtn8q] {
    flex: 1;
    min-height: 0;
    min-width: 0;
    width: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-inline: var(--ox-space, 0.5rem);
}

.contacts-dir__pager[b-h3cujxtn8q] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ox-space-xs, 0.25rem);
    margin: 0;
    padding: var(--ox-space-xs, 0.25rem) var(--ox-space, 0.5rem);
    border-top: 1px solid var(--ox-border, #e3e3e3);
    background: var(--ox-footer-bg, #fafafa);
}

.contacts-dir__pager-count[b-h3cujxtn8q] {
    font-size: 0.75rem;
    color: #64748b;
}

.contacts-dir__pager-btn[b-h3cujxtn8q] {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
    line-height: 1.3;
}

.contacts-dir__pager-btn:disabled[b-h3cujxtn8q] {
    opacity: 0.65;
    cursor: default;
}

.contacts-dir__pager-end[b-h3cujxtn8q] {
    font-size: 0.75rem;
    color: #94a3b8;
}

.contacts-dir__hint[b-h3cujxtn8q] {
    margin: 0.5rem 0.45rem;
    padding: 0.5rem 0.55rem;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.76rem;
}

.contacts-dir__hint--error[b-h3cujxtn8q] {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.contacts-dir__hint--tail[b-h3cujxtn8q] {
    text-align: center;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 0.75rem;
}

.contacts-dir__card-grid[b-h3cujxtn8q] {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0.12rem 0.5rem;
    min-width: 0;
    width: 100%;
}

.contacts-dir__card[b-h3cujxtn8q] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    text-align: left;
    border: none;
    border-bottom: 1px solid #e9edf3;
    border-radius: 10px;
    padding: 0.44rem 0.45rem;
    background: transparent;
    cursor: pointer;
    transition: background 0.12s ease;
}

.contacts-dir__card:hover[b-h3cujxtn8q] {
    background: #edf2f7;
}

.contacts-dir__card--active[b-h3cujxtn8q] {
    background: #e6edf8;
    box-shadow: inset 0 0 0 1px #cfddf2;
}

.contacts-dir__avatar[b-h3cujxtn8q] {
    width: 2.16rem;
    height: 2.16rem;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.contacts-dir__avatar img[b-h3cujxtn8q] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contacts-dir__card-main[b-h3cujxtn8q] {
    display: flex;
    flex-direction: column;
    gap: 0.11rem;
    min-width: 0;
    flex: 1;
}

.contacts-dir__online-dot[b-h3cujxtn8q] {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    margin-left: auto;
    margin-top: 0;
    box-shadow: 0 0 0 2px #fff;
    flex-shrink: 0;
}

.contacts-dir__online-dot--on[b-h3cujxtn8q] {
    background: #22c55e;
    box-shadow: 0 0 0 2px #fff, 0 0 8px rgba(34, 197, 94, 0.55);
}

.contacts-dir__online-dot--off[b-h3cujxtn8q] {
    background: #94a3b8;
}

.contacts-dir__card-name[b-h3cujxtn8q] {
    font-size: 0.79rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contacts-dir__card-name-btn[b-h3cujxtn8q] {
    display: inline-block;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.contacts-dir__card-name-btn:hover[b-h3cujxtn8q] {
    text-decoration: underline;
}

.contacts-dir__card-sub[b-h3cujxtn8q] {
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 会话列表：顶留 --ox-space，避免首条选中底与顶栏底边重合 */
.contacts-dir__conv-list[b-h3cujxtn8q] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: var(--ox-space, 0.5rem);
}

.contacts-dir__conv[b-h3cujxtn8q] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.52rem;
    border: none;
    border-radius: 10px;
    padding: 0.46rem 0.45rem;
    text-align: left;
    background: transparent;
    cursor: pointer;
    border-bottom: 1px solid #e9edf3;
}

.contacts-dir__conv:hover[b-h3cujxtn8q] {
    background: #edf2f7;
}

.contacts-dir__conv--active[b-h3cujxtn8q] {
    background: #e6edf8;
    box-shadow: inset 0 0 0 1px #cfddf2;
}

.contacts-dir__conv-avatar[b-h3cujxtn8q] {
    width: 2.18rem;
    height: 2.18rem;
    border-radius: 6px;
    background: #16a34a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
}

.contacts-dir__conv-avatar img[b-h3cujxtn8q] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contacts-dir__conv-main[b-h3cujxtn8q] {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
    flex: 1;
}

.contacts-dir__conv-title[b-h3cujxtn8q] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contacts-dir__conv-last[b-h3cujxtn8q] {
    font-size: 0.75rem;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contacts-dir__badge[b-h3cujxtn8q] {
    min-width: 1.02rem;
    height: 1.02rem;
    padding: 0 0.24rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

/* 叠在 manage-detail-header 上：仅 z-index，供群「更多」下拉盖过 scrim */
.contacts-dir__dialog-head[b-h3cujxtn8q] {
    position: relative;
    z-index: 100;
    flex-wrap: nowrap;
    width: 100%;
}

.contacts-dir__dialog-head-actions[b-h3cujxtn8q] {
    /* 操作组布局由 .manage-panel-header-actions 承担 */
    flex-shrink: 0;
}

.contacts-dir__dialog-name[b-h3cujxtn8q] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    margin: 0;
}

/* 姓名为首，机构紧挨其后（不撑满整段以免看似贴 header 最右） */
.contacts-dir__dialog-title-glue[b-h3cujxtn8q] {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.3rem;
    min-width: 0;
    flex: 1 1 0;
    width: 100%;
}

.contacts-dir__dialog-title-text[b-h3cujxtn8q] {
    min-width: 0;
    flex: 0 1 auto;
    /* 不让标题 flex 撑满：姓名与机构、人数挨在一起，右侧留白自然留给操作按钮区 */
    max-width: min(13rem, 52%);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
}

.contacts-dir__dialog-group-count[b-h3cujxtn8q] {
    flex-shrink: 0;
    font-weight: var(--ox-fw-medium, 500);
    font-size: var(--ox-fs-secondary, 0.75rem);
    color: var(--ox-text-secondary, #71717a);
}

/* 单聊对端机构：在姓名后紧跟，略小、略浅，与姓名底边对齐，过长再省略 */
.contacts-dir__dialog-org[b-h3cujxtn8q] {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(10rem, 40%);
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contacts-dir__messages[b-h3cujxtn8q] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.65rem 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.contacts-dir__history-tip[b-h3cujxtn8q] {
    align-self: center;
    margin-bottom: 0.2rem;
    padding: 0.16rem 0.56rem;
    border-radius: 999px;
    font-size: 0.75rem;
    color: #94a3b8;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.contacts-dir__day-divider[b-h3cujxtn8q] {
    display: flex;
    justify-content: center;
    margin: 0.15rem 0 0.1rem;
}

.contacts-dir__day-divider-text[b-h3cujxtn8q] {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1;
    padding: 0.16rem 0.52rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid #e2e8f0;
}

.contacts-dir__msg[b-h3cujxtn8q] {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.42rem;
}

.contacts-dir__msg--mine[b-h3cujxtn8q] {
    justify-content: flex-end;
}

.contacts-dir__msg--mine .contacts-dir__bubble-wrap[b-h3cujxtn8q] {
    order: 1;
    margin-left: auto;
}

.contacts-dir__msg--mine .contacts-dir__msg-avatar[b-h3cujxtn8q] {
    order: 2;
}

.contacts-dir__msg-avatar[b-h3cujxtn8q] {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contacts-dir__msg-avatar img[b-h3cujxtn8q] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contacts-dir__bubble-wrap[b-h3cujxtn8q] {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.16rem;
    max-width: min(92%, 28rem);
}

.contacts-dir__msg--mine .contacts-dir__bubble-wrap[b-h3cujxtn8q] {
    align-items: flex-end;
}

.contacts-dir__msg-meta[b-h3cujxtn8q] {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
}

.contacts-dir__sender[b-h3cujxtn8q] {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1;
}

.contacts-dir__msg-time[b-h3cujxtn8q] {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1;
}

.contacts-dir__bubble[b-h3cujxtn8q] {
    max-width: 100%;
    padding: 0.46rem 0.68rem;
    border-radius: 4px 12px 12px 12px;
    background: #ffffff;
    border: 1px solid #dfe4ea;
    font-size: 0.82rem;
    color: #111827;
    line-height: 1.45;
    word-break: break-word;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.contacts-dir__bubble-title[b-h3cujxtn8q] {
    display: block;
    margin-bottom: 0.24rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
}

.contacts-dir__bubble-text[b-h3cujxtn8q] {
    white-space: pre-wrap;
}

.contacts-dir__bubble-code[b-h3cujxtn8q] {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.75rem;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word;
}

.contacts-dir__bubble--json[b-h3cujxtn8q],
.contacts-dir__bubble--html[b-h3cujxtn8q] {
    background: #f8fafc;
}

.contacts-dir__bubble--streaming[b-h3cujxtn8q] {
    background: #f8fafc;
    border-style: dashed;
    border-color: #bfdbfe;
}

/* Markdown 气泡（AI 代码块、列表等） */
.contacts-dir__bubble-md[b-h3cujxtn8q] {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    min-width: 0;
}

.contacts-dir__bubble-md-inner.ox-im-md[b-h3cujxtn8q] {
    min-width: 0;
    font-size: 0.82rem;
    line-height: 1.5;
}

.contacts-dir__bubble-md-inner.ox-im-md :first-child[b-h3cujxtn8q] {
    margin-top: 0 !important;
}

.contacts-dir__bubble-md-inner.ox-im-md :last-child[b-h3cujxtn8q] {
    margin-bottom: 0 !important;
}

.contacts-dir__bubble-md-inner.ox-im-md p[b-h3cujxtn8q] {
    margin: 0.35rem 0;
}

.contacts-dir__bubble-md-inner.ox-im-md h1[b-h3cujxtn8q],
.contacts-dir__bubble-md-inner.ox-im-md h2[b-h3cujxtn8q],
.contacts-dir__bubble-md-inner.ox-im-md h3[b-h3cujxtn8q],
.contacts-dir__bubble-md-inner.ox-im-md h4[b-h3cujxtn8q] {
    margin: 0.45rem 0 0.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.contacts-dir__bubble-md-inner.ox-im-md h1[b-h3cujxtn8q] {
    font-size: 1rem;
}

.contacts-dir__bubble-md-inner.ox-im-md h2[b-h3cujxtn8q] {
    font-size: 0.92rem;
}

.contacts-dir__bubble-md-inner.ox-im-md h3[b-h3cujxtn8q],
.contacts-dir__bubble-md-inner.ox-im-md h4[b-h3cujxtn8q] {
    font-size: 0.86rem;
}

.contacts-dir__bubble-md-inner.ox-im-md ul[b-h3cujxtn8q],
.contacts-dir__bubble-md-inner.ox-im-md ol[b-h3cujxtn8q] {
    margin: 0.25rem 0;
    padding-left: 1.15rem;
}

.contacts-dir__bubble-md-inner.ox-im-md blockquote[b-h3cujxtn8q] {
    margin: 0.35rem 0;
    padding-left: 0.55rem;
    border-left: 3px solid #cbd5e1;
    color: #475569;
}

.contacts-dir__bubble-md-inner.ox-im-md pre[b-h3cujxtn8q] {
    margin: 0.35rem 0;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.75rem;
    line-height: 1.4;
}

.contacts-dir__bubble-md-inner.ox-im-md code[b-h3cujxtn8q] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.78em;
    padding: 0.06rem 0.2rem;
    border-radius: 4px;
    background: #f1f5f9;
}

.contacts-dir__bubble-md-inner.ox-im-md pre code[b-h3cujxtn8q] {
    padding: 0;
    font-size: inherit;
    background: transparent;
    border-radius: 0;
}

.contacts-dir__bubble-md-inner.ox-im-md table[b-h3cujxtn8q] {
    border-collapse: collapse;
    width: 100%;
    margin: 0.35rem 0;
    font-size: 0.76rem;
}

.contacts-dir__bubble-md-inner.ox-im-md th[b-h3cujxtn8q],
.contacts-dir__bubble-md-inner.ox-im-md td[b-h3cujxtn8q] {
    border: 1px solid #e2e8f0;
    padding: 0.22rem 0.4rem;
}

.contacts-dir__bubble-md-inner.ox-im-md th[b-h3cujxtn8q] {
    background: #f8fafc;
}

.contacts-dir__bubble-md-actions[b-h3cujxtn8q] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    justify-content: flex-end;
    align-items: center;
}

.contacts-dir__bubble-icon-btn[b-h3cujxtn8q] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.72rem;
    height: 1.72rem;
    padding: 0;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1;
}

.contacts-dir__bubble-icon-btn .ph[b-h3cujxtn8q] {
    font-size: 0.95rem;
}

.contacts-dir__bubble-icon-btn:hover[b-h3cujxtn8q] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.contacts-dir__msg--mine .contacts-dir__bubble-icon-btn[b-h3cujxtn8q] {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(34, 100, 45, 0.35);
    color: #14532a;
}

.contacts-dir__msg--mine .contacts-dir__bubble-icon-btn:hover[b-h3cujxtn8q] {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(34, 100, 45, 0.5);
}

.contacts-dir__msg--mine .contacts-dir__bubble-md-inner.ox-im-md pre[b-h3cujxtn8q] {
    background: rgba(255, 255, 255, 0.42);
    border-color: rgba(34, 100, 45, 0.22);
}

.contacts-dir__msg--mine .contacts-dir__bubble-md-inner.ox-im-md code[b-h3cujxtn8q] {
    background: rgba(255, 255, 255, 0.45);
}

.contacts-dir__md-preview-scrim[b-h3cujxtn8q] {
    position: fixed;
    inset: 0;
    z-index: 6000;
    background: rgba(15, 23, 42, 0.45);
}

.contacts-dir__md-preview-panel[b-h3cujxtn8q] {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 6001;
    display: flex;
    flex-direction: column;
    width: min(720px, 92vw);
    max-height: min(82vh, 880px);
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.contacts-dir__md-preview-head[b-h3cujxtn8q] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.contacts-dir__md-preview-title[b-h3cujxtn8q] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

.contacts-dir__md-preview-body[b-h3cujxtn8q] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 0.85rem 1rem 1rem;
    font-size: 0.88rem;
    line-height: 1.55;
}

.contacts-dir__md-preview-body.ox-im-md :first-child[b-h3cujxtn8q] {
    margin-top: 0 !important;
}

.contacts-dir__md-preview-body.ox-im-md pre[b-h3cujxtn8q] {
    margin: 0.5rem 0;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.78rem;
}

.contacts-dir__msg--mine .contacts-dir__bubble[b-h3cujxtn8q] {
    border-radius: 12px 4px 12px 12px;
    background: #95ec69;
    border-color: #8adf60;
    box-shadow: 0 1px 2px rgba(67, 160, 71, 0.22);
}

.contacts-dir__composer[b-h3cujxtn8q] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.45rem 0.62rem 0.5rem;
    border-top: 1px solid #dde3ea;
    background: #f0f2f5;
}

.contacts-dir__pending-attach[b-h3cujxtn8q] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
    padding: 0.35rem 0.45rem;
    border-radius: 8px;
    border: 1px solid #d7dde5;
    background: #ffffff;
    box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.03);
}

.contacts-dir__pending-attach-thumb[b-h3cujxtn8q] {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.contacts-dir__pending-attach-fileicon[b-h3cujxtn8q] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    font-size: 1.35rem;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.contacts-dir__pending-attach-meta[b-h3cujxtn8q] {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    min-width: 0;
    flex: 1;
}

.contacts-dir__pending-attach-name[b-h3cujxtn8q] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contacts-dir__pending-attach-size[b-h3cujxtn8q] {
    font-size: 0.75rem;
    color: #94a3b8;
}

.contacts-dir__pending-attach-remove[b-h3cujxtn8q] {
    margin-left: auto;
}

.contacts-dir__composer-stack[b-h3cujxtn8q] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
    min-width: 0;
}

.contacts-dir__composer-toolbar[b-h3cujxtn8q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 2rem;
}

.contacts-dir__composer-toolbar-left[b-h3cujxtn8q] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.contacts-dir__composer-toolbar-right[b-h3cujxtn8q] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

/* 与右侧「AI托管」同款 contacts-dir__host；透明 InputFile 叠层可点整钮 */
.contacts-dir__composer-attach[b-h3cujxtn8q] {
    margin: 0;
    padding: 0 0.5rem;
    min-width: 2rem;
    justify-content: center;
}

.contacts-dir__composer-attach .ph[b-h3cujxtn8q] {
    line-height: 1;
    font-size: 1.05rem;
}

.contacts-dir__composer-attach-input-hidden[b-h3cujxtn8q] {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    left: 0;
    top: 0;
    z-index: -1;
}

.contacts-dir__new-msg-tip[b-h3cujxtn8q] {
    align-self: center;
    margin: 0.2rem 0 0.15rem;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 0.22rem 0.62rem;
    font-size: 0.75rem;
    line-height: 1.2;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.contacts-dir__composer-input[b-h3cujxtn8q] {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: 0.82rem;
    line-height: 1.45;
    border: 1px solid #d7dde5;
    border-radius: 10px;
    background: #ffffff;
    min-height: 2.35rem;
    padding: 0.45rem 0.62rem;
    resize: none;
    overflow-x: hidden;
    box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.03);
}

.contacts-dir__ai-reply-tip[b-h3cujxtn8q] {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 8px;
    padding: 0.28rem 0.55rem;
    font-size: 0.75rem;
    line-height: 1.35;
}

.contacts-dir__bubble--image .contacts-dir__bubble-media[b-h3cujxtn8q],
.contacts-dir__bubble--file .contacts-dir__bubble-file[b-h3cujxtn8q] {
    display: block;
}

.contacts-dir__bubble-img[b-h3cujxtn8q] {
    display: block;
    max-width: min(100%, 18rem);
    max-height: 14rem;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

.contacts-dir__bubble-file[b-h3cujxtn8q] {
    font-size: 0.86rem;
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-all;
}

.contacts-dir__bubble-file:hover[b-h3cujxtn8q] {
    color: #1e40af;
}

.contacts-dir__host[b-h3cujxtn8q] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0 0.45rem;
    min-height: 2rem;
    border-radius: 8px;
    border: 1px solid #c5cdd9;
    background: #ffffff;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.contacts-dir__host:hover:not(:disabled)[b-h3cujxtn8q] {
    border-color: #93c5fd;
    color: #1d4ed8;
}

.contacts-dir__host:disabled[b-h3cujxtn8q] {
    opacity: 0.45;
    cursor: not-allowed;
}

.contacts-dir__host--on[b-h3cujxtn8q] {
    border-color: #60a5fa;
    background: #eff6ff;
    color: #1d4ed8;
}

.contacts-dir__host-label[b-h3cujxtn8q] {
    white-space: nowrap;
}

.contacts-dir__send[b-h3cujxtn8q] {
    flex-shrink: 0;
    min-width: 3.1rem;
    min-height: 2rem;
    padding: 0 0.72rem;
    border-radius: 8px;
    border: 1px solid #07c160;
    background: #07c160;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
}

.contacts-dir__send:disabled[b-h3cujxtn8q] {
    border-color: #9ca3af;
    background: #9ca3af;
    color: #f8fafc;
}

.contacts-dir__send--stop[b-h3cujxtn8q] {
    border-color: #fca5a5;
    background: #fff1f2;
    color: #b91c1c;
}

.contacts-dir__send--stop:hover[b-h3cujxtn8q] {
    border-color: #f87171;
    background: #ffe4e6;
}

/* 三栏统一滚动条（更接近微信桌面端） */
.contacts-dir__scroll[b-h3cujxtn8q],
.contacts-dir__conv-list[b-h3cujxtn8q],
.contacts-dir__messages[b-h3cujxtn8q] {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.contacts-dir__scroll[b-h3cujxtn8q]::-webkit-scrollbar,
.contacts-dir__conv-list[b-h3cujxtn8q]::-webkit-scrollbar,
.contacts-dir__messages[b-h3cujxtn8q]::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

.contacts-dir__scroll[b-h3cujxtn8q]::-webkit-scrollbar-track,
.contacts-dir__conv-list[b-h3cujxtn8q]::-webkit-scrollbar-track,
.contacts-dir__messages[b-h3cujxtn8q]::-webkit-scrollbar-track {
    background: transparent;
}

.contacts-dir__scroll[b-h3cujxtn8q]::-webkit-scrollbar-thumb,
.contacts-dir__conv-list[b-h3cujxtn8q]::-webkit-scrollbar-thumb,
.contacts-dir__messages[b-h3cujxtn8q]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.contacts-dir__scroll[b-h3cujxtn8q]::-webkit-scrollbar-thumb:hover,
.contacts-dir__conv-list[b-h3cujxtn8q]::-webkit-scrollbar-thumb:hover,
.contacts-dir__messages[b-h3cujxtn8q]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
    background-clip: content-box;
}

/* 窄屏：仅收窄栏宽。折叠须走 ShellLayout 折叠态（轨道显示展开钮），禁止 CSS display:none 藏左栏 */
@media (max-width: 1280px) {
    .contacts-page[b-h3cujxtn8q]  .shell-left-sized {
        flex-basis: 220px !important;
        width: 220px !important;
    }

    .contacts-page[b-h3cujxtn8q]  .shell-right-sized {
        flex-basis: 360px !important;
        width: 360px !important;
    }
}

/* —— 群聊：更多菜单、九宫格头像、新建群弹窗 —— */
.contacts-dir--right[b-h3cujxtn8q] {
    position: relative;
}

.contacts-dir__more-wrap[b-h3cujxtn8q] {
    position: relative;
}

.contacts-dir__more-scrim[b-h3cujxtn8q] {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: transparent;
}

.contacts-dir__more-dropdown[b-h3cujxtn8q] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 90;
    width: min(18.5rem, calc(100vw - 2rem));
    max-height: min(70vh, 26rem);
    overflow: auto;
    padding: var(--ox-space, 0.5rem);
    border-radius: 6px;
    border: 1px solid var(--ox-border, #e3e3e3);
    background: var(--ox-surface, #fff);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 12px 28px rgba(15, 23, 42, 0.12);
    animation: contacts-dir-more-in-b-h3cujxtn8q 0.14s ease-out;
}

@keyframes contacts-dir-more-in-b-h3cujxtn8q {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contacts-dir__more-row[b-h3cujxtn8q] {
    display: flex;
    align-items: center;
    gap: var(--ox-space-xs, 0.25rem);
    margin-bottom: var(--ox-space, 0.5rem);
}

.contacts-dir__more-row--label[b-h3cujxtn8q] {
    font-size: var(--ox-fs-caption, 0.6875rem);
    font-weight: var(--ox-fw-semibold, 600);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ox-text-secondary, #71717a);
    margin-bottom: 0.15rem;
}

.contacts-dir__more-search-icon[b-h3cujxtn8q] {
    color: var(--ox-text-secondary, #71717a);
    font-size: var(--ox-fs-secondary, 0.75rem);
    flex-shrink: 0;
}

.contacts-dir__more-search-input[b-h3cujxtn8q] {
    flex: 1;
    min-width: 0;
    min-height: calc(var(--ox-btn-size, 2rem) - 4px);
    font-size: var(--ox-fs-secondary, 0.75rem) !important;
}

.contacts-dir__more-members[b-h3cujxtn8q] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(3.6rem, 1fr));
    gap: 0.55rem 0.4rem;
    align-items: start;
    justify-items: center;
    margin-bottom: var(--ox-space, 0.5rem);
    padding: 0.15rem 0 0.55rem;
    border-bottom: 1px solid var(--ox-border, #e3e3e3);
}

.contacts-dir__member-cell[b-h3cujxtn8q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 0.2rem;
}

.contacts-dir__member-avatar-stack[b-h3cujxtn8q] {
    position: relative;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
}

.contacts-dir__member-avatar[b-h3cujxtn8q] {
    display: block;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--ox-radius, 4px);
    overflow: hidden;
    border: 1px solid var(--ox-border, #e3e3e3);
    background: var(--ox-state-hover-bg, #f4f4f5);
}

.contacts-dir__member-avatar img[b-h3cujxtn8q] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 群主移出成员：头像右上角减号角标 */
.contacts-dir__member-remove-badge[b-h3cujxtn8q] {
    position: absolute;
    right: -0.18rem;
    top: -0.18rem;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    padding: 0;
    border: 1.5px solid #fff;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.28);
    -webkit-tap-highlight-color: transparent;
}

.contacts-dir__member-remove-badge:hover[b-h3cujxtn8q] {
    background: #dc2626;
}

.contacts-dir__member-remove-badge .ph[b-h3cujxtn8q] {
    font-size: 0.75rem;
    line-height: 1;
}

.contacts-dir__member-name[b-h3cujxtn8q] {
    font-size: var(--ox-fs-secondary, 0.75rem);
    font-weight: var(--ox-fw-medium, 500);
    color: var(--ox-text-body, #27272a);
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 与成员格子一致：上方虚线框内仅加号，「添加」在框下 */
.contacts-dir__member-add[b-h3cujxtn8q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--ox-text-secondary, #71717a);
    cursor: pointer;
    gap: 0.2rem;
    -webkit-tap-highlight-color: transparent;
}

.contacts-dir__member-add-box[b-h3cujxtn8q] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    border: 1px dashed var(--ox-text-secondary, #71717a);
    border-radius: var(--ox-radius, 4px);
    background: var(--ox-footer-bg, #fafafa);
    box-sizing: border-box;
    transition:
        border-color 0.12s ease,
        background-color 0.12s ease,
        color 0.12s ease;
}

.contacts-dir__member-add-box .ph[b-h3cujxtn8q] {
    font-size: 1rem;
    line-height: 1;
}

.contacts-dir__member-add:hover .contacts-dir__member-add-box[b-h3cujxtn8q] {
    border-color: var(--ox-accent, #3b82f6);
    background: color-mix(in oklab, var(--ox-accent, #3b82f6) 8%, transparent);
    color: var(--ox-accent-foreground, #1d4ed8);
}

.contacts-dir__member-add:hover[b-h3cujxtn8q] {
    color: var(--ox-accent-foreground, #1d4ed8);
}

.contacts-dir__member-add-label[b-h3cujxtn8q] {
    font-size: var(--ox-fs-secondary, 0.75rem);
    font-weight: var(--ox-fw-medium, 500);
    color: var(--ox-text-secondary, #71717a);
    line-height: 1.2;
    text-align: center;
    max-width: 100%;
}

.contacts-dir__more-pin[b-h3cujxtn8q] {
    display: flex;
    align-items: center;
    gap: var(--ox-space-xs, 0.25rem);
    font-size: var(--ox-fs-body, 0.8125rem);
    color: var(--ox-text-body, #27272a);
    margin: 0.15rem 0 var(--ox-space, 0.5rem);
    cursor: pointer;
    user-select: none;
}

.contacts-dir__more-pin input[b-h3cujxtn8q] {
    accent-color: var(--ox-accent, #3b82f6);
}

.contacts-dir__more-leave-wrap[b-h3cujxtn8q] {
    display: flex;
    justify-content: stretch;
    padding-top: var(--ox-space-xs, 0.25rem);
    border-top: 1px solid var(--ox-border, #e3e3e3);
}

.contacts-dir__more-leave[b-h3cujxtn8q] {
    width: 100%;
    border: none;
    border-radius: var(--ox-radius, 4px);
    background: transparent;
    color: var(--ox-text-danger, #b91c1c);
    font-size: var(--ox-fs-body, 0.8125rem);
    font-weight: var(--ox-fw-medium, 500);
    cursor: pointer;
    padding: 0.4rem 0.5rem;
    transition: background-color 0.12s ease;
}

.contacts-dir__more-leave:hover:not(:disabled)[b-h3cujxtn8q] {
    background: color-mix(in oklab, var(--ox-text-danger, #b91c1c) 8%, transparent);
    text-decoration: none;
}

.contacts-dir__more-leave:disabled[b-h3cujxtn8q] {
    color: var(--ox-text-disabled, #a1a1aa);
    cursor: not-allowed;
    text-decoration: none;
}

.contacts-dir__conv-avatar-grid[b-h3cujxtn8q] {
    display: grid;
    gap: 1px;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.38rem;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
}

.contacts-dir__conv-avatar-grid img[b-h3cujxtn8q] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contacts-dir__conv-avatar-grid--n1[b-h3cujxtn8q] {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.contacts-dir__conv-avatar-grid--n2[b-h3cujxtn8q] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.contacts-dir__conv-avatar-grid--n3[b-h3cujxtn8q],
.contacts-dir__conv-avatar-grid--n4[b-h3cujxtn8q] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.contacts-dir__conv-avatar-grid--n5[b-h3cujxtn8q],
.contacts-dir__conv-avatar-grid--n6[b-h3cujxtn8q],
.contacts-dir__conv-avatar-grid--n7[b-h3cujxtn8q],
.contacts-dir__conv-avatar-grid--n8[b-h3cujxtn8q],
.contacts-dir__conv-avatar-grid--n9[b-h3cujxtn8q] {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

/*
 * 添加群成员 UserPicker：挂在 ShellLayout ViewportOverlay（shell-root 外），此处仅隐藏自带「打开」行。
 * 宿主不占交互；弹层 pointer-events 见下。
 */
.contacts-dir__group-member-picker-host[b-h3cujxtn8q] {
    position: static;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
}

.contacts-im-picker-portal[b-h3cujxtn8q] {
    pointer-events: none;
}

.contacts-dir__group-member-picker-host[b-h3cujxtn8q]  .ox-user-picker__field-label,
.contacts-dir__group-member-picker-host[b-h3cujxtn8q]  .ox-user-picker__field-row {
    display: none !important;
}

.contacts-im-picker-portal[b-h3cujxtn8q]  .ox-user-picker__backdrop,
.contacts-im-picker-portal[b-h3cujxtn8q]  .ox-user-picker__dialog {
    pointer-events: auto;
}

.contacts-dir__modal-scrim[b-h3cujxtn8q] {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.35);
}

.contacts-dir__modal-panel[b-h3cujxtn8q] {
    position: fixed;
    z-index: 110;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(26rem, calc(100vw - 1.5rem));
    max-height: min(85vh, 32rem);
    overflow: auto;
    border-radius: 0.65rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

/* 新建群聊：与放大后的选人弹窗配套，避免外层面板过窄 */
.contacts-dir__modal-panel--wide[b-h3cujxtn8q] {
    width: min(42rem, calc(100vw - 1.5rem));
    max-height: min(90vh, 48rem);
}

.contacts-dir__modal-head[b-h3cujxtn8q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid #e5e7eb;
}

.contacts-dir__modal-title[b-h3cujxtn8q] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.contacts-dir__modal-body[b-h3cujxtn8q] {
    padding: 0.65rem 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.contacts-dir__modal-label[b-h3cujxtn8q] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.contacts-dir__modal-field[b-h3cujxtn8q] {
    font-size: 0.82rem;
}

.contacts-dir__modal-actions[b-h3cujxtn8q] {
    display: flex;
    justify-content: flex-end;
    gap: 0.45rem;
    margin-top: 0.35rem;
}
/* /Components/Pages/EmergencyLive.razor.rz.scp.css */
/* AI接警作战大屏 — 蓝绿（teal）指挥台，轻 HUD */
.em-board-host[b-6jkc3emhy4] {
    --em-ink: #0a1f24;
    --em-ink-soft: #2d4a52;
    --em-muted: #5a7380;
    --em-paper: #e6f1f2;
    --em-panel: rgba(246, 252, 252, 0.8);
    --em-panel-solid: #eef6f7;
    --em-line: rgba(10, 31, 36, 0.1);
    --em-line-strong: rgba(10, 31, 36, 0.15);
    --em-signal: #0d9a8a;
    --em-signal-deep: #087a6e;
    --em-live: #c11f18;
    --em-ok: #1a9b6c;
    --em-ai: #0b7a8c;
    --em-cyan: #14a3b8;
    --em-hud: rgba(13, 154, 138, 0.5);
    --em-font: "IBM Plex Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
    --em-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
    --em-radius: 0.28rem;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
    gap: 0 !important;
}

.em-board-host > .manage-panel[b-6jkc3emhy4],
.em-board[b-6jkc3emhy4] {
    flex: 1;
    min-height: 0;
}

.em-board[b-6jkc3emhy4] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    font-family: var(--em-font);
    color: var(--em-ink);
    background:
        radial-gradient(900px 480px at 8% -8%, rgba(13, 154, 138, 0.16), transparent 58%),
        radial-gradient(800px 520px at 96% 4%, rgba(20, 163, 184, 0.18), transparent 52%),
        radial-gradient(600px 400px at 50% 110%, rgba(11, 122, 140, 0.1), transparent 55%),
        linear-gradient(168deg, #c5dce0 0%, #e8f3f4 38%, #d4e8eb 100%);
}

.em-board[b-6jkc3emhy4]::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(10, 31, 36, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 31, 36, 0.045) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}

.em-board[b-6jkc3emhy4]::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(13, 154, 138, 0.04) 48%,
        transparent 52%,
        transparent 100%
    );
    background-size: 100% 220%;
    animation: em-scan-b-6jkc3emhy4 9s linear infinite;
    opacity: 0.7;
    mix-blend-mode: multiply;
}

.em-board > *[b-6jkc3emhy4] {
    position: relative;
    z-index: 1;
}

/* —— 顶栏 —— */
.em-board__mast[b-6jkc3emhy4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1.15rem;
    border-bottom: 1px solid var(--em-line-strong);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42));
    backdrop-filter: blur(12px) saturate(1.15);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.em-board__brand[b-6jkc3emhy4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.em-board__brand-mark[b-6jkc3emhy4] {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: var(--em-radius);
    background:
        linear-gradient(145deg, var(--em-signal) 0%, var(--em-signal-deep) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.28),
        0 0 0 1px color-mix(in oklab, var(--em-signal) 25%, transparent);
    position: relative;
}

.em-board__brand-mark[b-6jkc3emhy4]::before {
    content: "";
    position: absolute;
    inset: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 2px;
}

.em-board__brand-mark[b-6jkc3emhy4]::after {
    content: "";
    position: absolute;
    inset: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    border-top-color: transparent;
    border-left-color: transparent;
    animation: em-spin-b-6jkc3emhy4 3.2s linear infinite;
}

.em-board__brand-title[b-6jkc3emhy4] {
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.15;
    background: linear-gradient(105deg, var(--em-ink) 40%, var(--em-ai) 140%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.em-board__brand-sub[b-6jkc3emhy4] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.15rem;
    font-size: 0.72rem;
    color: var(--em-muted);
    letter-spacing: 0.1em;
}

.em-board__sys[b-6jkc3emhy4] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--em-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--em-ok);
    padding: 0.12rem 0.4rem;
    border: 1px solid color-mix(in oklab, var(--em-ok) 35%, transparent);
    border-radius: 0.2rem;
    background: color-mix(in oklab, var(--em-ok) 8%, #fff);
}

.em-board__sys[b-6jkc3emhy4]::before {
    content: "";
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--em-ok);
    animation: em-blink-b-6jkc3emhy4 1.8s ease-in-out infinite;
}

.em-board__mast-meta[b-6jkc3emhy4] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.em-board__clock[b-6jkc3emhy4] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.15;
}

.em-board__clock-date[b-6jkc3emhy4] {
    font-size: 0.7rem;
    color: var(--em-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.em-board__clock-time[b-6jkc3emhy4] {
    font-family: var(--em-mono);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--em-ink);
    text-shadow: 0 0 24px color-mix(in oklab, var(--em-cyan) 18%, transparent);
}

.em-board__mast-actions[b-6jkc3emhy4] {
    display: flex;
    gap: 0.35rem;
}

.em-board__icon-btn[b-6jkc3emhy4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--em-line);
    border-radius: var(--em-radius);
    background: rgba(255, 255, 255, 0.65);
    color: var(--em-ink-soft);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.em-board__icon-btn:hover:not(:disabled)[b-6jkc3emhy4] {
    background: #fff;
    color: var(--em-ai);
    border-color: color-mix(in oklab, var(--em-cyan) 40%, var(--em-line));
    transform: translateY(-1px);
}

.em-board__icon-btn:disabled[b-6jkc3emhy4] {
    opacity: 0.5;
    cursor: not-allowed;
}

.em-board__mono[b-6jkc3emhy4] {
    font-family: var(--em-mono);
    font-variant-numeric: tabular-nums;
}

/* —— 待命英雄区 —— */
.em-board__hero[b-6jkc3emhy4] {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.1fr);
    gap: 2.5rem;
    align-items: center;
    padding: 2rem 3rem 3rem;
    min-height: 0;
}

.em-board__hero-orbit[b-6jkc3emhy4] {
    position: relative;
    width: min(340px, 100%);
    aspect-ratio: 1;
    margin: 0 auto;
    display: grid;
    place-items: center;
}

.em-board__hero-ring[b-6jkc3emhy4] {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1px solid color-mix(in oklab, var(--em-signal) 35%, transparent);
}

.em-board__hero-ring--a[b-6jkc3emhy4] {
    animation: em-pulse-ring-b-6jkc3emhy4 2.8s ease-out infinite;
}

.em-board__hero-ring--b[b-6jkc3emhy4] {
    inset: 18%;
    border-color: color-mix(in oklab, var(--em-ai) 40%, transparent);
    animation: em-pulse-ring-b-6jkc3emhy4 2.8s ease-out infinite 0.9s;
}

.em-board__hero-core[b-6jkc3emhy4] {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(160deg, var(--em-signal) 0%, var(--em-signal-deep) 100%);
    animation: em-breathe-b-6jkc3emhy4 2.4s ease-in-out infinite;
}

.em-board__hero-title[b-6jkc3emhy4] {
    margin: 0 0 0.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.1;
}

.em-board__hero-desc[b-6jkc3emhy4] {
    margin: 0 0 1.5rem;
    max-width: 36rem;
    color: var(--em-ink-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

.em-board__hero-form[b-6jkc3emhy4] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1.75rem;
}

.em-board__hero-steps[b-6jkc3emhy4] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--em-muted);
    font-size: 0.85rem;
}

.em-board__hero-steps strong[b-6jkc3emhy4] {
    display: block;
    color: var(--em-signal-deep);
    font-family: var(--em-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.15rem;
}

/* —— 通话态 —— */
.em-board__status-strip[b-6jkc3emhy4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.25rem;
    padding: 0.65rem 1.25rem;
    border-bottom: 1px solid var(--em-line);
    background: color-mix(in oklab, #fff 40%, transparent);
}

.em-board__live-pill[b-6jkc3emhy4] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.7rem;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--em-live);
    background: color-mix(in oklab, var(--em-live) 12%, #fff);
    border: 1px solid color-mix(in oklab, var(--em-live) 28%, transparent);
}

.em-board__live-dot[b-6jkc3emhy4] {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--em-live);
}

.em-board__live-pill.is-on .em-board__live-dot[b-6jkc3emhy4] {
    animation: em-blink-b-6jkc3emhy4 1.2s ease-in-out infinite;
}

.em-board__live-pill.is-off[b-6jkc3emhy4] {
    color: var(--em-ink-soft);
    background: color-mix(in oklab, var(--em-muted) 10%, #fff);
    border-color: var(--em-line);
}

.em-board__live-pill.is-off .em-board__live-dot[b-6jkc3emhy4] {
    background: var(--em-muted);
    animation: none;
}

.em-board__live-hint[b-6jkc3emhy4] {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    opacity: 0.75;
    margin-left: 0.15rem;
}

.em-board__status-item[b-6jkc3emhy4] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 4.5rem;
}

.em-board__status-k[b-6jkc3emhy4] {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--em-muted);
}

.em-board__status-v[b-6jkc3emhy4] {
    font-size: 0.9rem;
    font-weight: 600;
}

.em-board__fill[b-6jkc3emhy4] {
    margin-left: auto;
    min-width: 12rem;
    flex: 1 1 12rem;
    max-width: 22rem;
}

.em-board__fill-label[b-6jkc3emhy4] {
    font-size: 0.7rem;
    color: var(--em-muted);
    margin-bottom: 0.25rem;
    letter-spacing: 0.04em;
}

.em-board__fill-track[b-6jkc3emhy4] {
    height: 0.35rem;
    border-radius: 999px;
    background: rgba(20, 32, 43, 0.08);
    overflow: hidden;
}

.em-board__fill-bar[b-6jkc3emhy4] {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--em-ai), var(--em-signal));
    transition: width 0.45s ease;
}

.em-board__grid[b-6jkc3emhy4] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 0.75rem;
    padding: 0.75rem 1rem 0;
}

.em-board__stage[b-6jkc3emhy4],
.em-board__checklist[b-6jkc3emhy4],
.em-board__ticket[b-6jkc3emhy4] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--em-panel);
    border: 1px solid var(--em-line);
    border-radius: 0.45rem;
    /* 勿用 backdrop-filter：会与 overflow 一起裁切 OxSelect 的 fixed 下拉 */
}

.em-board__rail[b-6jkc3emhy4] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
    overflow: auto;
}

.em-board__panel-head[b-6jkc3emhy4] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid var(--em-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.15));
}

.em-board__panel-head h2[b-6jkc3emhy4] {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.em-board__panel-head span[b-6jkc3emhy4] {
    font-size: 0.72rem;
    font-family: var(--em-mono);
    color: var(--em-muted);
}

.em-board__turns[b-6jkc3emhy4] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 0.9rem 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.em-board__turns-empty[b-6jkc3emhy4] {
    margin: auto;
    color: var(--em-muted);
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

.em-board__turn[b-6jkc3emhy4] {
    max-width: 92%;
    padding: 0.7rem 0.85rem;
    border-radius: 0.4rem;
    border: 1px solid var(--em-line);
    background: rgba(255, 255, 255, 0.78);
    animation: em-turn-in-b-6jkc3emhy4 0.35s ease both;
}

.em-board__turn.is-caller[b-6jkc3emhy4] {
    align-self: flex-start;
    border-left: 3px solid var(--em-signal);
}

.em-board__turn.is-ai[b-6jkc3emhy4] {
    align-self: flex-end;
    border-left: 3px solid var(--em-ai);
    background: color-mix(in oklab, var(--em-ai) 6%, #fff);
}

.em-board__turn.is-sys[b-6jkc3emhy4] {
    align-self: center;
    max-width: 80%;
    text-align: center;
    background: transparent;
    color: var(--em-muted);
    font-size: 0.85rem;
}

.em-board__turn-meta[b-6jkc3emhy4] {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    color: var(--em-muted);
}

.em-board__turn-role[b-6jkc3emhy4] {
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--em-ink-soft);
}

.em-board__turn-text[b-6jkc3emhy4] {
    font-size: 0.95rem;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.em-board__checks[b-6jkc3emhy4] {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0.65rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.em-board__checks li[b-6jkc3emhy4] {
    display: grid;
    grid-template-columns: 1.1rem 4.5rem minmax(0, 1fr);
    gap: 0.4rem;
    align-items: center;
    padding: 0.4rem 0.45rem;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    color: var(--em-muted);
}

.em-board__checks li.is-done[b-6jkc3emhy4] {
    color: var(--em-ink);
    background: color-mix(in oklab, var(--em-ok) 8%, transparent);
}

.em-board__check-mark[b-6jkc3emhy4] {
    font-family: var(--em-mono);
    font-weight: 600;
    color: var(--em-ok);
}

.em-board__checks li:not(.is-done) .em-board__check-mark[b-6jkc3emhy4] {
    color: var(--em-muted);
}

.em-board__check-val[b-6jkc3emhy4] {
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--em-mono);
    font-size: 0.75rem;
}

.em-board__ticket[b-6jkc3emhy4] {
    flex: 1;
}

.em-board__ticket-grid[b-6jkc3emhy4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.75rem;
    padding: 0.75rem 0.9rem;
}

.em-board__field[b-6jkc3emhy4] {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    min-width: 0;
}

.em-board__field > span[b-6jkc3emhy4] {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--em-muted);
}

.em-board__field--span2[b-6jkc3emhy4] {
    grid-column: span 2;
}

.em-board__field--grow[b-6jkc3emhy4] {
    flex: 1;
    min-width: 0;
}

.em-board__input[b-6jkc3emhy4],
.em-board__textarea[b-6jkc3emhy4] {
    width: 100%;
    border: 1px solid var(--em-line);
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.88);
    color: var(--em-ink);
    padding: 0.45rem 0.6rem;
    font: inherit;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.em-board__input--lg[b-6jkc3emhy4] {
    min-width: 14rem;
    padding: 0.65rem 0.8rem;
    font-size: 1rem;
}

.em-board__input:focus[b-6jkc3emhy4],
.em-board__textarea:focus[b-6jkc3emhy4] {
    border-color: color-mix(in oklab, var(--em-signal) 55%, var(--em-line));
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--em-signal) 16%, transparent);
}

.em-board__input[readonly][b-6jkc3emhy4] {
    background: color-mix(in oklab, var(--em-panel-solid) 80%, #fff);
    color: var(--em-ink-soft);
}

.em-board__textarea[b-6jkc3emhy4] {
    resize: vertical;
    min-height: 2.75rem;
}

.em-board__ticket[b-6jkc3emhy4]  .ox-select,
.em-board__ticket[b-6jkc3emhy4]  .ox-select-trigger {
    width: 100%;
}

/* 出车单内下拉：确保列表浮在主控台之上（全局 ox-select 已 fixed） */
.em-board-host[b-6jkc3emhy4]  .ox-select.is-open {
    z-index: 5;
}

.em-board-host[b-6jkc3emhy4]  .ox-select__list {
    z-index: 13000;
}

.em-board-host[b-6jkc3emhy4]  .ox-select__scrim {
    z-index: 12990;
}

.em-board__locate[b-6jkc3emhy4] {
    margin: 0 0.9rem 0.5rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.75rem;
    color: var(--em-muted);
    border: 1px dashed var(--em-line);
    border-radius: 0.35rem;
    word-break: break-all;
}

.em-board__locate a[b-6jkc3emhy4] {
    color: var(--em-ai);
}

.em-board__ticket-actions[b-6jkc3emhy4] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem 0.85rem;
    border-top: 1px solid var(--em-line);
}

.em-board__btn[b-6jkc3emhy4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2rem;
    padding: 0.4rem 0.85rem;
    border-radius: 0.35rem;
    border: 1px solid var(--em-line);
    background: rgba(255, 255, 255, 0.85);
    color: var(--em-ink);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.em-board__btn:hover:not(:disabled)[b-6jkc3emhy4] {
    background: #fff;
    border-color: color-mix(in oklab, var(--em-ink) 22%, var(--em-line));
}

.em-board__btn:active:not(:disabled)[b-6jkc3emhy4] {
    transform: translateY(1px);
}

.em-board__btn:disabled[b-6jkc3emhy4] {
    opacity: 0.45;
    cursor: not-allowed;
}

.em-board__btn--primary[b-6jkc3emhy4] {
    background: linear-gradient(165deg, var(--em-signal) 0%, var(--em-signal-deep) 100%);
    border-color: transparent;
    color: #fff;
}

.em-board__btn--primary:hover:not(:disabled)[b-6jkc3emhy4] {
    background: linear-gradient(165deg, #12b3a0 0%, var(--em-signal) 100%);
    border-color: transparent;
}

.em-board__btn--danger[b-6jkc3emhy4] {
    color: var(--em-live);
    border-color: color-mix(in oklab, var(--em-live) 35%, var(--em-line));
    background: color-mix(in oklab, var(--em-live) 6%, #fff);
}

.em-board__btn--lg[b-6jkc3emhy4] {
    min-height: 2.5rem;
    padding-inline: 1.15rem;
}

.em-board__btn--xl[b-6jkc3emhy4] {
    min-height: 2.85rem;
    padding-inline: 1.35rem;
    font-size: 0.95rem;
}

/* —— 底部操作坞 —— */
.em-board__dock[b-6jkc3emhy4] {
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid var(--em-line);
    background: color-mix(in oklab, #fff 70%, transparent);
    backdrop-filter: blur(8px);
}

.em-board__dock-main[b-6jkc3emhy4] {
    display: flex;
    gap: 0.85rem;
    align-items: flex-end;
}

.em-board__dock-actions[b-6jkc3emhy4] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    flex-shrink: 0;
}

@keyframes em-spin-b-6jkc3emhy4 {
    to { transform: rotate(360deg); }
}

@keyframes em-breathe-b-6jkc3emhy4 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes em-pulse-ring-b-6jkc3emhy4 {
    0% { transform: scale(0.92); opacity: 0.7; }
    70% { transform: scale(1.08); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes em-blink-b-6jkc3emhy4 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

@keyframes em-turn-in-b-6jkc3emhy4 {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@keyframes em-scan-b-6jkc3emhy4 {
    0% { background-position: 0 -40%; }
    100% { background-position: 0 140%; }
}

@keyframes em-radar-b-6jkc3emhy4 {
    0% { transform: scale(0.72); opacity: 0.55; }
    70% { transform: scale(1.12); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes em-queue-in-b-6jkc3emhy4 {
    from { opacity: 0; transform: translateX(-6px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
    .em-board__hero[b-6jkc3emhy4] {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        overflow: auto;
    }

    .em-board__hero-orbit[b-6jkc3emhy4] {
        width: min(220px, 70vw);
    }

    .em-board__grid[b-6jkc3emhy4] {
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .em-board__stage[b-6jkc3emhy4] {
        min-height: 280px;
    }

    .em-board__dock-main[b-6jkc3emhy4] {
        flex-direction: column;
        align-items: stretch;
    }

    .em-board__fill[b-6jkc3emhy4] {
        margin-left: 0;
        width: 100%;
        max-width: none;
    }
}

/* —— 多路主控三栏 · HUD —— */
.em-board--console[b-6jkc3emhy4] {
    min-height: 0;
}

.em-board__newcall[b-6jkc3emhy4] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.25rem 0.2rem 0.45rem;
    border: 1px solid var(--em-line);
    border-radius: var(--em-radius);
    background: rgba(255, 255, 255, 0.55);
}

.em-board__newcall .em-board__input--sm[b-6jkc3emhy4] {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.em-board__newcall .em-board__input--sm:focus[b-6jkc3emhy4] {
    box-shadow: none;
}

.em-board__input--sm[b-6jkc3emhy4] {
    width: 9.5rem;
    min-height: 2rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.85rem;
    font-family: var(--em-mono);
}

.em-console[b-6jkc3emhy4] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 248px minmax(0, 1.2fr) minmax(280px, 0.85fr);
    gap: 0.7rem;
    padding: 0.7rem 0.9rem 0.9rem;
}

.em-console__queue[b-6jkc3emhy4],
.em-console__stage[b-6jkc3emhy4],
.em-console__map[b-6jkc3emhy4] {
    position: relative;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.88), rgba(241, 247, 250, 0.78));
    border: 1px solid var(--em-line-strong);
    border-radius: var(--em-radius);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.45) inset,
        0 10px 28px rgba(14, 26, 36, 0.05);
    /* 不用 backdrop-filter，避免 OxSelect fixed 列表被 overflow 裁切 */
    overflow: hidden;
}

.em-console__queue[b-6jkc3emhy4]::before,
.em-console__stage[b-6jkc3emhy4]::before,
.em-console__map[b-6jkc3emhy4]::before,
.em-console__queue[b-6jkc3emhy4]::after,
.em-console__stage[b-6jkc3emhy4]::after,
.em-console__map[b-6jkc3emhy4]::after {
    content: "";
    position: absolute;
    width: 0.55rem;
    height: 0.55rem;
    pointer-events: none;
    z-index: 2;
    border-color: var(--em-cyan);
    border-style: solid;
    opacity: 0.7;
}

.em-console__queue[b-6jkc3emhy4]::before,
.em-console__stage[b-6jkc3emhy4]::before,
.em-console__map[b-6jkc3emhy4]::before {
    top: 0.35rem;
    left: 0.35rem;
    border-width: 1.5px 0 0 1.5px;
}

.em-console__queue[b-6jkc3emhy4]::after,
.em-console__stage[b-6jkc3emhy4]::after,
.em-console__map[b-6jkc3emhy4]::after {
    right: 0.35rem;
    bottom: 0.35rem;
    border-width: 0 1.5px 1.5px 0;
}

.em-console__queue[b-6jkc3emhy4] {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-height: 0;
    overflow: auto;
    padding: 0.7rem 0.55rem 0.55rem;
}

.em-queue-section[b-6jkc3emhy4] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.em-queue-head[b-6jkc3emhy4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--em-muted);
    padding: 0.15rem 0.4rem;
    text-transform: uppercase;
}

.em-queue-head__label[b-6jkc3emhy4] {
    letter-spacing: 0.12em;
}

.em-queue-count[b-6jkc3emhy4] {
    font-family: var(--em-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    min-width: 1.35rem;
    text-align: center;
    padding: 0.08rem 0.3rem;
    border-radius: 0.18rem;
    color: var(--em-ai);
    background: color-mix(in oklab, var(--em-ai) 10%, #fff);
    border: 1px solid color-mix(in oklab, var(--em-ai) 22%, transparent);
}

.em-queue-empty[b-6jkc3emhy4] {
    font-size: 0.76rem;
    color: var(--em-muted);
    padding: 0.65rem 0.5rem;
    text-align: center;
    border: 1px dashed var(--em-line);
    border-radius: var(--em-radius);
    background: rgba(255, 255, 255, 0.28);
}

.em-queue-item[b-6jkc3emhy4] {
    text-align: left;
    border: 1px solid transparent;
    border-radius: var(--em-radius);
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 0.55rem;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: border-color 0.14s ease, background 0.14s ease, transform 0.14s ease;
    animation: em-queue-in-b-6jkc3emhy4 0.28s ease both;
}

.em-queue-item:hover[b-6jkc3emhy4] {
    background: #fff;
    border-color: color-mix(in oklab, var(--em-cyan) 28%, var(--em-line));
    transform: translateX(2px);
}

.em-queue-item.is-active[b-6jkc3emhy4] {
    border-color: color-mix(in oklab, var(--em-signal) 50%, var(--em-line));
    background:
        linear-gradient(90deg, color-mix(in oklab, var(--em-signal) 12%, #fff), #fff 42%);
    box-shadow: inset 3px 0 0 var(--em-signal);
}

.em-queue-item__top[b-6jkc3emhy4] {
    display: flex;
    justify-content: space-between;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.84rem;
    font-weight: 600;
}

.em-queue-item__sub[b-6jkc3emhy4],
.em-queue-item__addr[b-6jkc3emhy4] {
    font-size: 0.7rem;
    color: var(--em-muted);
    margin-top: 0.18rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.em-queue-badge[b-6jkc3emhy4] {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.12rem 0.38rem;
    border-radius: 0.15rem;
    border: 1px solid transparent;
}

.em-queue-badge.is-wait[b-6jkc3emhy4] {
    color: var(--em-signal-deep);
    background: color-mix(in oklab, var(--em-signal) 12%, #fff);
    border-color: color-mix(in oklab, var(--em-signal) 22%, transparent);
}

.em-queue-badge.is-live[b-6jkc3emhy4] {
    color: var(--em-live);
    background: color-mix(in oklab, var(--em-live) 10%, #fff);
    border-color: color-mix(in oklab, var(--em-live) 24%, transparent);
    animation: em-blink-b-6jkc3emhy4 2s ease-in-out infinite;
}

.em-queue-badge.is-done[b-6jkc3emhy4] {
    color: var(--em-ink-soft);
    background: color-mix(in oklab, var(--em-muted) 10%, #fff);
    border-color: var(--em-line);
}

.em-queue-head--toggle[b-6jkc3emhy4] {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    align-items: center;
    padding: 0.28rem 0.4rem;
    border-radius: var(--em-radius);
}

.em-queue-head--toggle:hover[b-6jkc3emhy4] {
    background: rgba(255, 255, 255, 0.6);
    color: var(--em-ink);
}

.em-queue-chevron[b-6jkc3emhy4] {
    width: 0.42rem;
    height: 0.42rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.15s ease;
    opacity: 0.7;
}

.em-queue-chevron.is-open[b-6jkc3emhy4] {
    transform: rotate(45deg);
}

.em-queue-item--history[b-6jkc3emhy4] {
    opacity: 0.9;
}

.em-queue-section--history[b-6jkc3emhy4] {
    border-top: 1px solid var(--em-line);
    padding-top: 0.5rem;
    margin-top: 0.1rem;
}

.em-queue-more[b-6jkc3emhy4] {
    display: block;
    margin-top: 0.3rem;
    padding: 0.4rem 0.45rem;
    font-size: 0.72rem;
    font-family: var(--em-mono);
    letter-spacing: 0.04em;
    color: var(--em-ai);
    text-decoration: none;
    border-radius: var(--em-radius);
}

.em-queue-more:hover[b-6jkc3emhy4] {
    background: color-mix(in oklab, var(--em-ai) 8%, #fff);
}

.em-queue-loc[b-6jkc3emhy4] {
    color: var(--em-ai);
    font-weight: 600;
    margin-inline: 0.15rem;
}

.em-console__stage[b-6jkc3emhy4] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}

.em-console-empty[b-6jkc3emhy4] {
    margin: auto;
    text-align: center;
    padding: 2.25rem 1.5rem;
    color: var(--em-ink-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.em-console-empty__radar[b-6jkc3emhy4] {
    position: relative;
    width: 5.5rem;
    height: 5.5rem;
    margin-bottom: 0.35rem;
    display: grid;
    place-items: center;
}

.em-console-empty__ring[b-6jkc3emhy4] {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1px solid color-mix(in oklab, var(--em-cyan) 45%, transparent);
    animation: em-radar-b-6jkc3emhy4 2.6s ease-out infinite;
}

.em-console-empty__ring:nth-child(2)[b-6jkc3emhy4] {
    inset: 22%;
    border-color: color-mix(in oklab, var(--em-signal) 40%, transparent);
    animation-delay: 0.85s;
}

.em-console-empty__core[b-6jkc3emhy4] {
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--em-cyan), var(--em-ai));
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--em-cyan) 16%, transparent);
    animation: em-breathe-b-6jkc3emhy4 2.2s ease-in-out infinite;
}

.em-console-empty h2[b-6jkc3emhy4] {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--em-ink);
}

.em-console-empty p[b-6jkc3emhy4] {
    margin: 0;
    max-width: 22rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--em-muted);
}

.em-stage-body[b-6jkc3emhy4] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
    gap: 0.55rem;
    padding: 0.55rem;
    overflow: hidden;
    background:
        radial-gradient(520px 180px at 0% 0%, rgba(13, 154, 138, 0.07), transparent 60%);
}

.em-stage-turns[b-6jkc3emhy4] {
    min-height: 0;
    height: 100%;
}

.em-console__stage .em-board__stage[b-6jkc3emhy4],
.em-console__stage .em-board__checklist[b-6jkc3emhy4],
.em-console__stage .em-board__ticket[b-6jkc3emhy4] {
    border-radius: var(--em-radius);
    background: rgba(255, 255, 255, 0.62);
    border-color: var(--em-line);
    box-shadow: none;
}

.em-stage-form[b-6jkc3emhy4] {
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.em-console__map[b-6jkc3emhy4] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.em-console__map-body[b-6jkc3emhy4] {
    flex: 1;
    min-height: 0;
    padding: 0.55rem;
}

.em-console__stage .em-board__status-strip[b-6jkc3emhy4] {
    border-radius: 0;
    border-bottom: 1px solid var(--em-line);
    background:
        linear-gradient(90deg, color-mix(in oklab, var(--em-ai) 6%, #fff), rgba(255, 255, 255, 0.35));
}

.em-console__stage .em-board__dock[b-6jkc3emhy4] {
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(241, 247, 250, 0.85));
}

.em-console__stage .em-board__fill-bar[b-6jkc3emhy4] {
    background: linear-gradient(90deg, var(--em-cyan), var(--em-signal));
    box-shadow: 0 0 10px color-mix(in oklab, var(--em-cyan) 28%, transparent);
}

.em-console__stage .em-board__turn.is-ai[b-6jkc3emhy4] {
    background: color-mix(in oklab, var(--em-ai) 7%, #fff);
    border-color: color-mix(in oklab, var(--em-ai) 18%, var(--em-line));
}

.em-console__stage .em-board__turn.is-caller[b-6jkc3emhy4] {
    border-color: color-mix(in oklab, var(--em-signal) 22%, var(--em-line));
}

@media (max-width: 1200px) {
    .em-console[b-6jkc3emhy4] {
        grid-template-columns: 200px minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) 260px;
    }

    .em-console__map[b-6jkc3emhy4] {
        grid-column: 1 / -1;
        min-height: 240px;
    }

    .em-stage-body[b-6jkc3emhy4] {
        grid-template-columns: 1fr;
        overflow: auto;
    }
}

@media (max-width: 820px) {
    .em-console[b-6jkc3emhy4] {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(320px, 1fr) 220px;
    }

    .em-console__queue[b-6jkc3emhy4] {
        max-height: 180px;
    }

    .em-board__newcall[b-6jkc3emhy4] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .em-board[b-6jkc3emhy4]::after,
    .em-console-empty__ring[b-6jkc3emhy4],
    .em-console-empty__core[b-6jkc3emhy4],
    .em-queue-badge.is-live[b-6jkc3emhy4],
    .em-board__sys[b-6jkc3emhy4]::before,
    .em-board__brand-mark[b-6jkc3emhy4]::after {
        animation: none !important;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* 登录页：风光底 + 扁平紧凑面板（对齐管理端 ox 令牌，避免进系统后风格突变） */
.login-page[b-jwe8tgwryn] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #2a4a6e;
    font-family: var(--ox-font-sans);
}

.login-page[b-jwe8tgwryn]::before {
    content: "";
    position: absolute;
    inset: -24px;
    z-index: 0;
    background-image: var(--login-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(18px) saturate(1.05);
    transform: scale(1.04);
    pointer-events: none;
}

.login-page[b-jwe8tgwryn]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(248, 250, 252, 0.42);
    pointer-events: none;
}

.login-page > *[b-jwe8tgwryn] {
    position: relative;
    z-index: 1;
}

.login-shell[b-jwe8tgwryn] {
    width: 100%;
    max-width: 22rem;
}

.login-title[b-jwe8tgwryn] {
    margin: 0 0 var(--ox-form-stack-gap);
    text-align: center;
    font-size: var(--ox-fs-title);
    font-weight: var(--ox-fw-semibold);
    line-height: 1.25;
    color: var(--ox-text-primary);
}

/* 扁平面板：实底 + 单层边框，无大阴影/厚圆角 */
.login-panel[b-jwe8tgwryn] {
    box-sizing: border-box;
    padding: var(--ox-form-stack-gap);
    background: var(--ox-surface);
    border: 1px solid var(--ox-border);
    border-radius: var(--ox-radius);
    box-shadow: none;
}

.login-error[b-jwe8tgwryn] {
    display: flex;
    align-items: flex-start;
    gap: var(--ox-space-xs);
    margin: 0 0 var(--ox-form-stack-gap);
    padding: 0.5rem 0.625rem;
    border-radius: var(--ox-radius);
    border: 1px solid #fca5a5;
    background: #fef2f2;
    color: var(--ox-text-danger);
}

.login-error__ico[b-jwe8tgwryn] {
    flex-shrink: 0;
    margin-top: 0.05rem;
    font-size: 1rem;
    color: var(--ox-text-danger);
}

.login-error__text[b-jwe8tgwryn] {
    margin: 0;
    font-size: var(--ox-fs-body);
    font-weight: var(--ox-fw-medium);
    line-height: 1.4;
}

/* 标签在上：紧凑字段，控件复用 ox-form-control 尺寸 */
.login-form[b-jwe8tgwryn] {
    display: flex;
    flex-direction: column;
    gap: var(--ox-form-stack-gap);
}

.login-field[b-jwe8tgwryn] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--ox-space-xs);
    margin: 0;
}

.login-field__label[b-jwe8tgwryn] {
    font-size: var(--ox-fs-secondary);
    font-weight: var(--ox-fw-medium);
    line-height: 1.3;
    color: var(--ox-text-secondary);
}

.login-field__input.ox-form-control[b-jwe8tgwryn] {
    background-color: var(--ox-surface);
}

.login-field__input.ox-form-control:hover[b-jwe8tgwryn] {
    border-color: color-mix(in oklab, var(--ox-border) 55%, #71717a 45%);
}

.login-field__input.ox-form-control:focus[b-jwe8tgwryn],
.login-field__input.ox-form-control:focus-visible[b-jwe8tgwryn] {
    border-color: var(--ox-accent, #4d8fe8);
    box-shadow: none;
    outline: none;
}

.login-field:focus-within .login-field__label[b-jwe8tgwryn] {
    color: var(--ox-text-body);
}

.login-field__input.ox-form-control:-webkit-autofill[b-jwe8tgwryn],
.login-field__input.ox-form-control:-webkit-autofill:hover[b-jwe8tgwryn],
.login-field__input.ox-form-control:-webkit-autofill:focus[b-jwe8tgwryn] {
    -webkit-text-fill-color: var(--ox-text-body);
    caret-color: var(--ox-text-body);
    transition: background-color 99999s ease-out;
    box-shadow: 0 0 0 1000px var(--ox-surface) inset;
}

.login-submit[b-jwe8tgwryn] {
    width: 100%;
    justify-content: center;
    margin-top: 0;
}

/* 品牌：小 logo，无涟漪/光晕 */
.login-brand[b-jwe8tgwryn] {
    position: relative;
    width: 56px;
    height: 56px;
    margin: 0 auto var(--ox-space);
}

.login-logo-disc[b-jwe8tgwryn] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--ox-surface);
    border: 1px solid var(--ox-border);
    box-shadow: none;
}

.login-logo-base[b-jwe8tgwryn] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* PWA 安装 */
.login-a2hs[b-jwe8tgwryn] {
    margin-top: var(--ox-form-stack-gap);
    padding-top: var(--ox-space);
    border-top: 1px solid var(--ox-border);
    text-align: center;
}

.login-a2hs__btn[b-jwe8tgwryn] {
    width: 100%;
    justify-content: center;
}

.login-a2hs__btn .ph[b-jwe8tgwryn] {
    font-size: 1rem;
    color: var(--ox-accent, #4d8fe8);
}

.login-a2hs__hint[b-jwe8tgwryn] {
    margin: var(--ox-space-xs) 0 0;
    font-size: var(--ox-fs-caption);
    font-weight: var(--ox-fw-regular);
    line-height: 1.4;
    color: var(--ox-text-secondary);
}
/* /Components/Pages/Manage.razor.rz.scp.css */
/* 组织与用户：顶栏合并 + 下方双栏（其余面板/按钮见全局 tailwind components） */

.manage-readonly-id[b-s57egrhtj6] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: var(--ox-ui-fs-sm, 0.6875rem);
    color: var(--ox-muted, #6b7280);
    cursor: default;
}

.manage-middle.manage-split.dx-style[b-s57egrhtj6] {
    flex-direction: column;
    gap: 0;
    box-sizing: border-box;
    flex: 1 1 auto;
    align-self: stretch;
    width: 100%;
    min-height: 0;
    height: 100%;
    /* 左缘由 shell-left-splitter / rail 承担，勿再 border-left 叠双线 */
    border: 1px solid var(--ox-border, #d1d5db);
    border-left: none;
    /* 与 shell-middle 四边贴齐，勿底圆角（底圆角会在贴底时露空隙感） */
    border-radius: 0;
    background: #fff;
    /* 纵向可滚动且顶栏 sticky；勿用 overflow:hidden，否则标题条无法相对外层滚动区固定 */
    overflow-x: hidden;
    overflow-y: auto;
}

.manage-split-toolbar[b-s57egrhtj6] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    width: 100%;
}

.manage-split-toolbar-left[b-s57egrhtj6] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.manage-split-toolbar-right[b-s57egrhtj6] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
    flex-shrink: 0;
}

.manage-split-body[b-s57egrhtj6] {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    align-self: stretch;
    width: 100%;
    min-height: 0;
    gap: 0;
}

.manage-middle.manage-split .manage-panel[b-s57egrhtj6] {
    border: none;
    border-radius: 0;
}

.manage-middle.manage-split .manage-split-pane-org[b-s57egrhtj6] {
    min-width: 0;
}

.manage-middle.manage-split .manage-split-pane-user[b-s57egrhtj6] {
    flex: 1 1 auto;
    min-width: 0;
}

/* .manage-splitter 见 tailwind.css：--ox-split-hit 布局宽、--ox-split-target-w 拖拽命中宽 */

.manage-user-toolbar[b-s57egrhtj6] {
    flex-shrink: 0;
    padding: 0.5rem var(--ox-panel-header-px, 0.75rem);
    border-bottom: 1px solid var(--ox-header-border, #e5e7eb);
    box-sizing: border-box;
    background: var(--ox-header-bg, #f9fafb);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.manage-user-toolbar .manage-user-role-filter[b-s57egrhtj6] {
    flex: 0 1 9.5rem;
    min-width: 7.5rem;
    max-width: 12rem;
    /* 工具条内筛选：略收紧箭头区，与搜索框视觉对齐 */
    --ox-select-pad-end: 1.75rem;
    --ox-select-chevron-inset: 0.45rem;
    --ox-select-chevron-size: 0.85rem;
}

.manage-user-toolbar .manage-user-role-filter[b-s57egrhtj6]  .ox-select__trigger {
    font-weight: var(--ox-fw-medium, 500);
}

.manage-user-toolbar .manage-user-search[b-s57egrhtj6] {
    flex: 1 1 160px;
    min-width: 0;
    box-sizing: border-box;
}

/* 用户编辑：顶部圆形头像（点击上传） */
.manage-user-avatar-hero[b-s57egrhtj6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ox-space-xs, 0.25rem);
    padding: 0 0 var(--ox-space, 0.5rem);
    margin: 0;
}

.manage-user-avatar-ring[b-s57egrhtj6] {
    position: relative;
    display: block;
    width: 3.5rem; /* 56px，右栏表单内不宜过大 */
    height: 3.5rem;
    flex-shrink: 0;
    margin: 0 auto;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid var(--ox-border, #e3e3e3);
    background: var(--ox-state-hover-bg, #f4f4f5);
    overflow: hidden;
    box-sizing: border-box;
}

.manage-user-avatar-ring:hover[b-s57egrhtj6] {
    border-color: color-mix(in oklab, var(--ox-accent, #3b82f6) 45%, var(--ox-border, #e3e3e3));
}

.manage-user-avatar-input[b-s57egrhtj6] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    font-size: 0;
}

.manage-user-avatar-face[b-s57egrhtj6] {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: 50%;
    overflow: hidden;
}

.manage-user-avatar-img[b-s57egrhtj6] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.manage-user-avatar-placeholder[b-s57egrhtj6] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #e5e7eb, #d1d5db);
    color: #9ca3af;
    font-size: 1.5rem;
    line-height: 1;
}

.manage-user-avatar-hint[b-s57egrhtj6] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px 1px;
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
    z-index: 1;
}

.manage-user-avatar-ring:hover .manage-user-avatar-hint[b-s57egrhtj6] {
    opacity: 1;
}

.manage-user-avatar-error[b-s57egrhtj6] {
    font-size: var(--ox-fs-secondary, 0.75rem);
    color: #dc2626;
    text-align: center;
    max-width: 240px;
}

.manage-tree[b-s57egrhtj6] {
    flex: 1;
    overflow-y: auto;
}

/*
 * 组织树：选中/悬停与 shell-subnav-item 同套令牌（obs-active / accent-foreground）
 */
.manage-tree-org-win11[b-s57egrhtj6] {
    padding: 0.25rem var(--ox-space, 0.5rem) var(--ox-space, 0.5rem);
    font-size: var(--ox-ui-fs, 0.8125rem);
    line-height: 1.25;
    color: var(--obs-text, #1f1f1f);
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-item {
    margin: 0;
}

/* 与 shell-subnav-item 同套：行高 / 字重 / 悬停 / 选中色 */
.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.5rem 0 0.25rem;
    margin: 0;
    cursor: pointer;
    border-radius: 4px;
    min-height: 2rem;
    box-sizing: border-box;
    border: none;
    background: transparent;
    color: var(--obs-text, #1f1f1f);
    font-size: var(--ox-ui-fs, 0.8125rem);
    font-weight: 500;
    line-height: 1.25;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-row:hover {
    background: var(--obs-hover, rgba(0, 0, 0, 0.04));
    color: var(--obs-text, #1f1f1f);
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-row.active {
    background: var(--obs-active, color-mix(in oklab, var(--ox-accent, #4d8fe8) 14%, transparent));
    color: var(--ox-accent-foreground, #1d4ed8);
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-row.active:hover {
    background: color-mix(in oklab, var(--ox-accent, #4d8fe8) 18%, transparent);
    color: var(--ox-accent-foreground-strong, #1e3a8a);
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-toggle {
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    color: var(--obs-muted, #6b7280);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 4px;
    font-size: 0.625rem;
    line-height: 1;
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-toggle:hover,
.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-toggle:focus {
    color: var(--obs-text, #1f1f1f);
    background: rgba(0, 0, 0, 0.06);
    outline: none;
    box-shadow: none;
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-toggle:focus-visible {
    outline: 2px solid var(--ox-focus-ring);
    outline-offset: 1px;
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-row.active .org-tree-toggle {
    color: inherit;
    opacity: 0.75;
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-spacer {
    width: 1.25rem;
    flex-shrink: 0;
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-icon {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1rem;
    line-height: 1;
    color: inherit;
    flex-shrink: 0;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-row:hover .org-tree-icon,
.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-row.active .org-tree-icon {
    opacity: 1;
    color: inherit;
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    letter-spacing: normal;
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-actions {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
    gap: 0;
    opacity: 0.45;
    pointer-events: auto;
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-row:hover .org-tree-actions,
.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-row.active .org-tree-actions,
.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-actions:focus-within {
    opacity: 1;
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-add,
.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-edit {
    flex-shrink: 0;
    width: 1.5rem !important;
    height: 1.5rem !important;
    min-width: 1.5rem !important;
    min-height: 1.5rem !important;
    color: var(--ox-text-secondary, #71717a);
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-row.active .org-tree-add,
.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-row.active .org-tree-edit {
    color: inherit;
    opacity: 0.85;
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-add .ph,
.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-edit .ph {
    font-size: 0.875rem;
}

.manage-tree-org-win11[b-s57egrhtj6]  .org-tree-children {
    margin: 0;
}

/* .manage-list / .manage-list-item / .manage-item-* 已迁至 styles/tailwind.css @layer components，供所有管理页复用 */

.manage-item-org[b-s57egrhtj6] {
    margin-top: 2px;
    font-size: var(--ox-ui-fs-sm, 0.6875rem);
    color: #4b5563;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manage-detail-avatar-row[b-s57egrhtj6] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.manage-detail-avatar[b-s57egrhtj6] {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #e5e7eb;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.manage-detail-name[b-s57egrhtj6] {
    font-weight: 600;
    font-size: 14px;
}

.manage-detail-sub[b-s57egrhtj6] {
    font-size: var(--ox-ui-fs, 0.75rem);
    color: #6b7280;
}

.manage-detail-dl[b-s57egrhtj6] {
    font-size: var(--ox-ui-fs, 0.75rem);
    margin: 0;
}

.manage-detail-dl dt[b-s57egrhtj6] {
    display: inline-block;
    width: 80px;
    color: #6b7280;
    margin: 0 0 4px 0;
}

.manage-detail-dl dd[b-s57egrhtj6] {
    display: inline;
    margin: 0 0 4px 0;
}

.manage-detail-dl dd[b-s57egrhtj6]::after {
    content: "";
    display: block;
}
/* /Components/Pages/Menus.razor.rz.scp.css */
/* 菜单列表：名称列按层级缩进（与角色授权菜单树同档 8px） */
.menus-table-name[b-xlfu3a1b49] {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-inline-start: calc(var(--menu-depth, 0) * 8px);
    vertical-align: middle;
}
/* /Components/Pages/OnlineUsers.razor.rz.scp.css */
.online-users-page[b-qqo0alhrke] {
    min-height: 0;
}

.online-users-panel[b-qqo0alhrke] {
    flex: 1 1 auto;
    min-height: 0;
}

.online-users-lead[b-qqo0alhrke] {
    margin: 0;
    padding: 0.45rem 0.85rem 0.55rem;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #64748b;
    border-bottom: 1px solid var(--ox-border, #e2e8f0);
}

.online-users-list[b-qqo0alhrke] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.online-users-card[b-qqo0alhrke] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--ox-border, #e2e8f0);
    border-radius: 0.5rem;
    background: #fff;
}

.online-users-card__main[b-qqo0alhrke] {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.online-users-card__who[b-qqo0alhrke] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.online-users-card__dot[b-qqo0alhrke] {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #cbd5e1;
    flex-shrink: 0;
}

.online-users-card__dot.is-on[b-qqo0alhrke] {
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.18);
}

.online-users-card__names[b-qqo0alhrke] {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.45rem;
}

.online-users-card__name[b-qqo0alhrke] {
    font-size: 0.8125rem;
    font-weight: 650;
    color: #0f172a;
    line-height: 1.2;
}

.online-users-card__user[b-qqo0alhrke] {
    margin-top: 0;
    font-size: 0.6875rem;
    color: #64748b;
    line-height: 1.2;
}

.online-users-card__badge[b-qqo0alhrke] {
    flex-shrink: 0;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 650;
    line-height: 1.35;
    color: #64748b;
    background: #f1f5f9;
}

.online-users-card__badge.is-on[b-qqo0alhrke] {
    color: #047857;
    background: #ecfdf5;
}

.online-users-card__meta[b-qqo0alhrke] {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
    gap: 0.15rem 0.65rem;
}

.online-users-card__meta > div[b-qqo0alhrke] {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.online-users-card__meta dt[b-qqo0alhrke] {
    margin: 0;
    font-size: 0.625rem;
    color: #94a3b8;
    line-height: 1.2;
    flex-shrink: 0;
}

.online-users-card__meta dt[b-qqo0alhrke]::after {
    content: "";
}

.online-users-card__meta dd[b-qqo0alhrke] {
    margin: 0;
    font-size: 0.75rem;
    color: #334155;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.online-users-card__key[b-qqo0alhrke] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.01em;
}

.online-users-card__actions[b-qqo0alhrke] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    min-width: 5.5rem;
}

.online-users-card__actions .menu-btn[b-qqo0alhrke] {
    min-height: 1.6rem;
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
}

@media (max-width: 720px) {
    .online-users-card[b-qqo0alhrke] {
        flex-direction: column;
        align-items: stretch;
    }

    .online-users-card__actions[b-qqo0alhrke] {
        flex-direction: row;
        min-width: 0;
    }

    .online-users-card__actions .menu-btn[b-qqo0alhrke] {
        flex: 1 1 auto;
    }
}
/* /Components/Pages/PersonnelManage.razor.rz.scp.css */
/* 列表上方：关键词搜索 */
.personnel-list-toolbar[b-nmk2k8jhdq] {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ox-space, 0.5rem);
    padding: var(--ox-space, 0.5rem) var(--ox-panel-header-px, 0.5rem);
    border-bottom: 1px solid var(--ox-border, #e3e3e3);
    box-sizing: border-box;
    background: transparent;
}

.personnel-list-toolbar__search[b-nmk2k8jhdq] {
    flex: 1 1 180px;
    min-width: 0;
    max-width: 320px;
    box-sizing: border-box;
}

/* 人员档案右侧：扁平编辑区（无厚卡片 / 渐变） */
.personnel-editor[b-nmk2k8jhdq] {
    border: 1px solid var(--ox-border, #e3e3e3);
    border-radius: var(--ox-radius, 4px);
    background: var(--ox-surface, #fff);
    box-shadow: none;
    overflow: hidden;
    box-sizing: border-box;
}

.personnel-editor .ox-tab-bar--underline[b-nmk2k8jhdq] {
    margin: 0;
    padding: 4px var(--ox-space, 0.5rem) 0;
    border-bottom: 1px solid var(--ox-border, #e3e3e3);
    background: transparent;
    gap: 4px 8px;
}

.personnel-editor .ox-tab-bar--underline .ox-tab[b-nmk2k8jhdq] {
    padding-top: 6px;
    padding-bottom: 6px;
}

.personnel-editor .ox-tab-panel.ox-stack-panel[b-nmk2k8jhdq] {
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
    padding: var(--ox-form-stack-gap, 1rem) var(--ox-space, 0.5rem);
}

.personnel-editor .ox-stack-toolbar[b-nmk2k8jhdq] {
    margin-bottom: var(--ox-space, 0.5rem);
    padding-bottom: var(--ox-space, 0.5rem);
    border-bottom: 1px solid var(--ox-border, #e3e3e3);
}

.personnel-editor .ox-stack-empty[b-nmk2k8jhdq] {
    background: #fafafa;
    border-color: var(--ox-border, #e3e3e3);
}

.personnel-editor .ox-stack-item[b-nmk2k8jhdq] {
    border-color: var(--ox-border, #e3e3e3);
    box-shadow: none;
}

.personnel-editor .ox-stack-item__head[b-nmk2k8jhdq] {
    background: #fafafa;
}
/* /Components/Pages/Roles.razor.rz.scp.css */
/* 角色页：菜单操作权列表布局由 ox-ui-system / tailwind 统一；此处仅作页内微调 */
[b-fines5k2xr] .role-menu-mask-list {
    max-height: min(52vh, 28rem);
    overflow: auto;
}

[b-fines5k2xr] .role-menu-mask-ops {
    gap: 0.25rem 0.75rem;
}
/* /Components/Pages/Settings.razor.rz.scp.css */
.ox-settings-body[b-qsb6jumvqu] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: var(--ox-space, 0.5rem);
}

.ox-settings-form[b-qsb6jumvqu] {
    max-width: 28rem;
    width: 100%;
}

.ox-settings-form .ox-type-caption[b-qsb6jumvqu] {
    margin: 0 0 calc(var(--ox-form-stack-gap, 1rem) * 0.5);
}

.ox-settings-actions[b-qsb6jumvqu] {
    margin-top: auto;
    max-width: 28rem;
}

