/*  ★ 바깥을 부르지 않는다 — 사내망에서도 깨지지 않아야 하고, 이 도구를 여는 사람이
    누구인지가 CDN 에 남을 이유도 없다(콘솔의 작업 문서와 같은 판단). */

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.8rem 1.2rem;
    background: #b71c1c;
    color: #fff;
    font-size: 13px;
}

#blazor-error-ui .reload {
    color: #fff;
    text-decoration: underline;
    margin-left: 0.6rem;
}

.hg-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    word-break: break-all;
}

/*  ⚠ 본문 JSON 은 길다. 자기 칸 안에서만 스크롤하게 해 <표가 화면 밖으로 밀리지> 않게 한다. */
.hg-body {
    max-height: 220px;
    overflow: auto;
    background: rgba(0, 0, 0, 0.04);
    padding: 8px;
    border-radius: 4px;
    white-space: pre-wrap;
}

/*  ★ 열 너비를 머리의 width 대로 — 긴 설명 칸이 스위치 · 건수 칸을 밀어내지 않게(구매 지급 장애 흉내 표). */
.hg-table-fixed table {
    table-layout: fixed;
    width: 100%;
}

.hg-table-fixed td {
    overflow-wrap: anywhere;
}

/*  표 안의 칩 — 줄 높이를 늘리지 않는다(세션 칸 · 끊긴 세션 · 로그인 이력). */
.hg-chip-compact {
    height: 20px !important;
    font-size: 11px !important;
    margin: 0 !important;
}

/*  ★ 상태 화면 머리의 바로가기 줄(Status.razor, 운영 요청 2026-10-16) — 칩 하나가 구역 하나.
    칩은 작게: 이 줄은 안내가 아니라 길잡이라 구역 제목보다 눈에 띄면 안 된다.
    ⚠ 대상(tgs-jump-target)은 scroll-margin-top 을 갖는다 — 상단바가 고정이라, 없으면 스크롤한 구역의 제목이 상단바 밑에 숨는다. */
.tgs-jump-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: -4px 0 12px;
}

.tgs-jump-bar-label {
    margin-right: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.mud-chip.tgs-jump-chip {
    height: 22px;
    font-size: 11.5px;
    cursor: pointer;
}

.tgs-jump-target {
    scroll-margin-top: 60px;
}
