#registry-reassignment-page { min-width: 0; }
.cm-noting { padding: 1rem; border-top: 1px solid var(--egujhc-border); background: var(--egujhc-surface-muted); }
.cm-noting-feedback { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-top: .4rem; font-size: .8rem; }
.cm-mentioning-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.cm-mentioning-toolbar { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 1rem; margin: 1rem 0; }
.cm-mentioning-search { flex: 1 1 14rem; max-width: 24rem; font-size: .85rem; }
.cm-mentioning-search input { margin-top: .4rem; }
.cm-mentioning-toolbar .serial-jump { grid-template-columns: minmax(4rem, 6rem) max-content; }
.cm-mentioning-toolbar .serial-jump label { grid-column: 1 / -1; }
.cm-mentioning-toolbar > button { margin-top: 1.7rem; }
.court-master-service-page:has(.cm-mentioning-toolbar) .workspace-page-heading > div { flex: 1 1 auto; min-width: 0; }
@media (max-width: 575.98px) {
    .cm-mentioning-toolbar .serial-jump { flex: 1 1 100%; }
    .cm-mentioning-toolbar > button { margin-top: 0; }
}
.cm-mentioning-pagination { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin: 1rem 0; }
.cm-mentioning-pagination .badge { padding: .55rem .7rem; }
.cm-mentioning-pagination .btn, .cm-mentioning-toolbar > button { display: inline-flex; align-items: center; gap: .35rem; }
.cm-mentioning-card [data-cm-mentioning-status] .badge { white-space: normal; text-align: left; }
.cm-mentioning-card .egujhc-pro-date-field { min-width: 0; width: 100%; }
.cm-mentioning-card { min-width: 0; scroll-margin-top: 6rem; }
.cm-mentioning-card.is-jump-target { outline: 3px solid var(--egujhc-indigo, #4d46c9); outline-offset: 2px; }
.cm-mentioning-card .card-body { display: flex; flex-direction: column; overflow-wrap: anywhere; }
.cm-mentioning-card .card-body > div:last-child { margin-top: auto; }
.cm-mentioning-cue { display: inline-block; white-space: normal; margin: .35rem; }
.cm-mentioning-cue[hidden] { display: none; }
.cm-serial-status { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; min-width: 0; }
.cm-serial-status > .page-kicker { margin-bottom: 0 !important; }
.cm-serial-status > .cm-mentioning-cue { margin: 0; font-size: .75rem; line-height: 1.25; }
.court-cause-additional-details { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .35rem; margin: 0; padding: 0; list-style: none; min-width: 0; }
.court-cause-info-badge { max-width: 100%; padding: .24rem .45rem; border-radius: .45rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .72rem; font-weight: 700; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.court-cause-info-badge.is-objection { background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.court-cause-related-cases { grid-column: 1 / -1; min-width: 0; font-size: .85rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.court-cause-related-record + .court-cause-related-record { margin-top: .4rem; }
.court-cause-related-disposed { color: var(--egujhc-success-text); }
.court-cause-related-pending { color: var(--egujhc-danger-text); }
@media (max-width: 1199px) { .cm-mentioning-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .cm-mentioning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .cm-mentioning-grid { grid-template-columns: 1fr; } }
.submission-declaration-confirmation { max-height: 55vh; overflow-y: auto; overflow-wrap: anywhere; }
.common-case-summary-panel { max-height: 35vh; overflow: auto; margin-bottom: .75rem; }
.common-case-summary-panel[hidden] { display: none; }
@media (min-width: 1200px) {
    .common-case-reading-surface { display: flex; gap: .75rem; height: calc(100dvh - 12rem); min-height: 20rem; }
    .common-case-reading-surface > .common-case-summary-panel { flex: 0 0 32%; min-width: 0; max-height: none; margin: 0; }
    .common-case-reading-surface > .common-case-pdf-viewer { flex: 1 1 0; min-width: 0; height: 100%; }
    .common-case-reading-surface .main-case-pdf-stage { min-height: 0; }
}
#registry-reassignment-page > .workspace-page-heading { display: block; }
#registry-reassignment-page > .workspace-page-heading p { white-space: normal; overflow-wrap: anywhere; }
#registry-reassignment-table { min-width: 1050px; }
.pdf-input-preference-choices { display: flex; flex-direction: column; gap: .5rem; }
.pdf-input-preference-choices .btn { min-height: 2.75rem; white-space: normal; text-align: left; }
.pdf-input-preference-choices .bi-check2 { visibility: hidden; }
.pdf-input-preference-choices [aria-pressed="true"] .bi-check2 { visibility: visible; }
.pdf-input-settings { position: relative; display: inline-flex; }
.pdf-input-settings-panel { position: absolute; top: calc(100% + .4rem); right: 0; z-index: 40; display: flex; flex-direction: column; gap: .5rem; width: min(20rem, calc(100vw - 2rem)); max-height: min(24rem, 65vh); overflow-y: auto; padding: .75rem; border: 1px solid var(--egujhc-border); border-radius: .5rem; background: var(--egujhc-surface); color: var(--egujhc-ink); box-shadow: 0 .3rem 1rem #10244726; white-space: normal; font-size: .8rem; }
.pdf-input-settings-panel[hidden] { display: none; }
.main-case-pdf-toolbar .pdf-input-settings-panel .btn { min-height: 2.5rem; white-space: normal; }
.main-case-pdf-toolbar .pdf-input-settings-panel [aria-pressed="true"] { background: #4d46c9; color: white; }
.pdf-input-settings-panel [aria-pressed="true"]::before { content: '\2713'; margin-right: .35rem; }
.pdf-input-settings-panel [data-pdf-input-storage] { color: var(--egujhc-muted); }
.is-mac-pen-touch [data-document-analysis-board-shell]:not(:has(.is-case-details)) { touch-action: none; overscroll-behavior: contain; }
/* The opted-in profile also makes at least one viewport available for swiping.
   The common canvas below retains a definite 72rem minimum in both engines. */
.is-mac-pen-touch [data-document-analysis-canvas] { min-height: max(72rem, 100svh); }
.pdf-windows-link-status { position: fixed; z-index: 1050; display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: .35rem .5rem; border: 1px solid var(--cui-border-color); border-radius: .375rem; background: var(--cui-body-bg, #fff); font-size: .8rem; box-shadow: 0 2px 8px #10234518; }
.pdf-windows-link-status[hidden] { display: none; }
.pdf-windows-pending-outline { position: absolute; pointer-events: none; border: 1px solid #4d46c9; background: transparent; z-index: 5; }
.main-case-pdf-workspace:has(> .handwriting-feedback), .private-ink-drawing-area { position: relative; }
.handwriting-feedback { position: absolute; z-index: 13; width: 24px; height: 24px; border-radius: 50%; background: #f5f4fff2; color: #4d46c9; box-shadow: 0 1px 4px #10244720; pointer-events: none; user-select: none; }
.handwriting-feedback-symbol { position: absolute; inset: 3px; border-radius: 50%; background: conic-gradient(currentColor calc(var(--handwriting-progress, 1) * 1turn), #d6d4ee 0); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0); }
.handwriting-feedback[data-feedback-state="pending"] .handwriting-feedback-symbol { background: conic-gradient(currentColor 90deg, #d6d4ee 0); animation: handwriting-pending .8s linear infinite; }
.handwriting-feedback[data-feedback-state="saved"] .handwriting-feedback-symbol { background: none; mask: none; border-radius: 0; inset: 4px; color: #16804a; }
.handwriting-feedback[data-feedback-state="saved"] .handwriting-feedback-symbol::after { content: ''; position: absolute; left: 2px; top: 6px; width: 5px; height: 10px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); transform-origin: center; animation: handwriting-tick .3s ease-out both; }
@keyframes handwriting-pending { to { transform: rotate(1turn); } }
@keyframes handwriting-tick { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
.handwriting-feedback[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .handwriting-feedback, .handwriting-feedback-symbol, .handwriting-feedback-symbol::after { animation: none !important; transition: none !important; } }
.main-case-pdf-workspace:has(> .main-case-pdf-unsaved-ink) { position: relative; }
.main-case-pdf-unsaved-ink { position: absolute; bottom: .5rem; left: .5rem; right: .5rem; z-index: 14; padding: .5rem .75rem; border: 1px solid #f46e4b; border-radius: .4rem; background: var(--egujhc-surface-muted); color: var(--egujhc-ink); font-size: .8rem; pointer-events: none; }
.main-case-pdf-unsaved-ink[hidden] { display: none; }
.private-ink-tools { display: flex; flex-wrap: wrap; gap: .25rem; padding: .25rem 0; }
.judge-document-analysis-item.judge-document-analysis-note-editor { display: flex; flex-direction: column; height: auto; min-height: 12rem; padding-top: 2rem; }
.judge-document-analysis-item.judge-document-analysis-note-editor [contenteditable="true"] { height: auto; min-height: 4rem; flex: 1; }
.judge-document-analysis-note-editor > .private-ink-tools { flex: 0 0 auto; }
.private-ink-tools [aria-pressed="true"] { background: var(--egujhc-accent-bg); border-color: #4d46c9; }
.private-note-ink { display: block; width: 100%; aspect-ratio: var(--ink-width, 600) / var(--ink-height, 320); color: #2563eb; background: transparent; }
.is-expandable-ink .private-ink-drawing-area { overflow: auto; max-height: min(60vh, 32rem); min-height: 10rem; resize: vertical; padding-top: 2rem; }
.is-expandable-ink .private-note-ink { max-width: none; flex: none; }
.judge-document-analysis-item.is-note:not(.judge-document-analysis-note-editor) .judge-document-analysis-note-text { display: block; overflow: auto; max-height: 32rem; }
.judge-document-analysis-item.is-note:not(.judge-document-analysis-note-editor) .private-note-ink { width: max(calc(var(--ink-width, 600) * .4px), calc(var(--ink-width, 600) * 100% / 600)); max-width: none; }
.judge-document-analysis-item.is-note { background: rgb(245 247 255 / .36); }
.judge-document-analysis-note-editor [contenteditable="true"] { background: transparent; }
.judge-document-analysis-note-editor:has(.handwriting-feedback) { overflow: visible; }
[data-note-autosave-recovery] { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .75rem; color: #9d2234; }
[data-note-autosave-recovery][hidden] { display: none; }
[data-note-autosave-error] { flex-basis: 100%; }
[data-note-saved-review] { max-height: 15rem; overflow: auto; }
[data-private-ink-surface] { touch-action: none; user-select: none; border: 1px solid var(--egujhc-border); border-radius: .3rem; cursor: crosshair; }
[data-private-ink-surface]:focus-visible { outline: 2px solid #4d46c9; outline-offset: 2px; }
.judge-document-analysis-note-editor:has([data-private-ink-editor]) { min-height: 240px; height: auto; }
.main-case-pdf-workspace:has(> .private-pdf-bookmarks) { position: relative; }
.private-pdf-bookmarks { position: absolute; top: .4rem; right: .4rem; max-height: calc(100% - .8rem); width: max-content; max-width: 4.8rem; display: flex; flex-direction: column; align-items: end; gap: .35rem; overflow-y: auto; overscroll-behavior: contain; z-index: 12; pointer-events: auto; }
.private-pdf-bookmarks[hidden], .private-bookmark-panel[hidden] { display: none; }
.private-bookmark-flag { border: 1px solid #64718a; border-radius: .2rem 0 0 .2rem; color: #102447; padding: .25rem .4rem; font-size: .7rem; display: inline-flex; align-items: center; gap: .25rem; flex-shrink: 0; }
[data-bookmark-colour="YELLOW"] { background: #f7ff32; }
[data-bookmark-colour="LIME"] { background: #a3ff35; }
[data-bookmark-colour="PINK"] { background: #ff72d2; }
[data-bookmark-colour="CYAN"] { background: #49f3ff; }
.private-bookmark-flag:focus-visible { outline: 3px solid #4d46c9; outline-offset: 1px; }
.private-pdf-bookmarks > .private-bookmark-flag { width: 2rem; min-height: 2rem; justify-content: center; touch-action: pan-y; user-select: none; -webkit-touch-callout: none; }
.private-bookmark-panel { position: absolute; right: 5.5rem; top: .5rem; width: min(360px, calc(100% - 6rem)); max-height: calc(100% - 1rem); overflow-y: auto; background: var(--egujhc-surface); border: 1px solid var(--egujhc-border); border-radius: .5rem; box-shadow: 0 .3rem 1rem #10244733; padding: .6rem; z-index: 15; }
.private-bookmark-panel header, .private-bookmark-panel footer { display: flex; align-items: center; gap: .4rem; justify-content: space-between; }
.private-bookmark-note { white-space: pre-wrap; overflow-wrap: anywhere; }
.private-bookmark-panel { padding: .85rem; }
.private-bookmark-panel header { padding-bottom: .6rem; border-bottom: 1px solid var(--egujhc-border); }
.private-bookmark-panel footer { justify-content: flex-end; flex-wrap: wrap; padding-top: .75rem; }
.private-bookmark-choice-label { margin-top: .65rem; font-size: .75rem; font-weight: 600; color: var(--egujhc-muted); }
.private-bookmark-panel .private-ink-tools { gap: .4rem; }
.private-bookmark-panel [data-colour-choice] { min-width: 2.5rem; min-height: 2.5rem; justify-content: center; border-radius: .4rem; }
.private-bookmark-panel [data-colour-choice][aria-pressed="true"] { outline: 2px solid #102447; outline-offset: 2px; }
.private-bookmark-panel [data-bookmark-colour="YELLOW"] { background: #f7ff32; }
.private-bookmark-panel [data-bookmark-colour="LIME"] { background: #a3ff35; }
.private-bookmark-panel [data-bookmark-colour="PINK"] { background: #ff72d2; }
.private-bookmark-panel [data-bookmark-colour="CYAN"] { background: #49f3ff; }
.private-bookmark-panel header { position: sticky; top: -.85rem; padding-top: .5rem; background: var(--egujhc-surface); z-index: 1; }
.private-bookmark-panel footer { position: sticky; bottom: -.85rem; padding-bottom: .5rem; background: var(--egujhc-surface); z-index: 1; }
.private-bookmark-panel [data-bookmark-action] { min-height: 2.5rem; }
.private-bookmark-panel [data-bookmark-action][aria-pressed="true"] { background: var(--egujhc-accent-bg); border-color: #4d46c9; }
.private-bookmark-recovery { display: grid; gap: .5rem; margin-top: .5rem; }
.private-bookmark-review { padding: .5rem; background: var(--egujhc-canvas); border: 1px solid var(--egujhc-border); border-radius: .35rem; overflow-wrap: anywhere; }
.private-bookmark-review p { white-space: pre-wrap; margin-bottom: 0; }
.private-bookmark-panel [data-bookmark-status] { display: block; font-size: .8rem; color: #9b2635; }
@media (max-width: 575.98px) { .private-bookmark-panel { right: .25rem; width: calc(100% - .5rem); } }
.private-bookmark-panel.is-bookmark-actions { top: var(--bookmark-actions-top, .5rem); right: 2.8rem; width: max-content; max-width: calc(100% - 3rem); padding: .25rem; }
.private-bookmark-panel.is-bookmark-actions [role="group"] { display: flex; gap: .25rem; }
.private-bookmark-panel.is-bookmark-actions [data-bookmark-action] { display: inline-grid; place-items: center; min-width: 2.5rem; }
.private-bookmark-panel.is-bookmark-actions [data-bookmark-status]:empty,
.private-bookmark-panel.is-bookmark-actions [data-bookmark-recovery]:empty { display: none; }

.judge-adjournment-picker {
    position: fixed;
    z-index: 1055;
    width: min(320px, calc(100vw - 16px));
    padding: 1rem;
    background: var(--egujhc-surface);
    border: 1px solid var(--egujhc-border);
    border-radius: .6rem;
    box-shadow: 0 .5rem 1.5rem #10244726;
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
}

.judge-adjournment-picker .judge-adjournment-calendar {
    position: static !important;
    transform: none !important;
    width: 100%;
    min-width: 0;
    box-shadow: none;
}

.judge-adjournment-picker .calendar {
    --cui-calendar-table-cell-size: 2.25rem;
    --cui-calendar-table-margin: .25rem;
    font-size: .875rem;
}

/* A held pointer must not make an unselected hover date look committed. */
.judge-adjournment-picker .date-picker-input-preview { display: none !important; }

@font-face {
    font-family: "Atkinson Hyperlegible";
    src: url("vendor/fonts/atkinson-hyperlegible-regular.d64ba838ef54.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.duplicate-source-diagnostic {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    max-height: 40vh;
    overflow-y: auto;
    scrollbar-gutter: stable;
}
.caveat-workflow .workspace-page-heading > div:first-child {
    min-width: 0;
    max-width: 100%;
}
.caveat-workflow [data-caveat-discard-rejection] {
    max-width: 100%;
    white-space: normal;
}

@media (min-width: 992px) {
    .duplicate-source-rejection {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .duplicate-source-rejection > * { flex-shrink: 0; }
    .duplicate-source-rejection > .duplicate-source-diagnostic {
        flex: 1 1 auto;
        min-height: 3rem;
        max-height: none;
    }
}
@font-face {
    font-family: "Atkinson Hyperlegible";
    src: url("vendor/fonts/atkinson-hyperlegible-bold.140e2bd25a73.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --egujhc-navy: #102447;
    --egujhc-indigo: #4d46c9;
    --egujhc-coral: #f46e4b;
    --egujhc-sky: #4bc9d3;
    --egujhc-ink: #18233a;
    --egujhc-muted: #64718a;
    --egujhc-heading: #102447;
    --egujhc-accent-text: #4d46c9;
    --egujhc-canvas: #f5f7fc;
    --egujhc-surface: #fff;
    --egujhc-surface-soft: #fbfcff;
    --egujhc-surface-muted: #edf1f6;
    --egujhc-border: #e0e5f0;
    --egujhc-success-bg: #e8f7ee;
    --egujhc-success-text: #176b3a;
    --egujhc-warning-bg: #fff6df;
    --egujhc-warning-text: #855a00;
    --egujhc-danger-bg: #fff0ed;
    --egujhc-danger-text: #b3261e;
    --egujhc-accent-bg: #ecebff;
    --main-case-pdf-a4-height: 52.625rem;
    --app-header-height: 68px;
}

[data-coreui-theme="dark"] {
    --egujhc-ink: #edf2fb;
    --egujhc-muted: #b3bfd3;
    --egujhc-heading: #eef2ff;
    --egujhc-accent-text: #bab6ff;
    --egujhc-canvas: #151d2c;
    --egujhc-surface: #222e41;
    --egujhc-surface-soft: #29364b;
    --egujhc-surface-muted: #303e54;
    --egujhc-border: #45546c;
    --egujhc-success-bg: #193c32;
    --egujhc-success-text: #90e0ac;
    --egujhc-warning-bg: #443821;
    --egujhc-warning-text: #ffda8c;
    --egujhc-danger-bg: #4a2b32;
    --egujhc-danger-text: #ffaaaa;
    --egujhc-accent-bg: #39375a;
    --cui-link-color: #bab6ff;
    --cui-link-color-rgb: 186, 182, 255;
    --cui-link-hover-color: #dddaff;
    --cui-link-hover-color-rgb: 221, 218, 255;
}

body { color: var(--egujhc-ink); }

/* Source documents and printable document editors keep their original paper. */
.authenticator-qr-frame,
.pre-submission-cure-thumbnail-frame canvas,
.pre-submission-cure-page > canvas,
.document-file-preview,
.main-case-pdf-page,
.main-case-pdf-layers,
.judge-document-analysis-annotation-preview img,
.oj-editor-surface { background: #fff; }
.oj-editor-surface { color: #1d2939; }

.app-appearance-menu { min-width: 10.5rem; }
.app-appearance-heading { display: block; padding: .3rem .7rem; color: var(--egujhc-muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.app-appearance-choices { display: grid; gap: .12rem; }
.app-appearance-choice { display: flex; align-items: center; justify-content: space-between; gap: .7rem; border-radius: .35rem; }
.app-appearance-choice[aria-checked="true"] { color: var(--egujhc-accent-text); font-weight: 750; }
.app-appearance-choice[aria-checked="true"]::after { content: '✓'; font-weight: 800; }
.app-public-appearance { margin-left: auto; }
.app-public-appearance > .app-icon-button { color: #fff; }
.source-validation-diagnostic { white-space: pre-wrap; overflow-wrap: anywhere; }
.document-duplicate-confirmation .egujhc-modal-detail { max-height: 28dvh; overflow-y: auto; }
.document-duplicate-confirmation .egujhc-modal-detail code { white-space: pre-wrap; }
body.judge-document-analysis-active { overflow: hidden; }
body.judge-document-analysis-active .app-shell { height: 100dvh; min-height: 0; overflow: hidden; }
body.document-examiner-review-active { overflow: hidden; }
body.document-examiner-review-active .app-shell { height: 100dvh; min-height: 0; overflow: hidden; }
body.registry-mandatory-scrutiny-active { overflow: hidden; }
body.registry-mandatory-scrutiny-active .app-shell { height: 100dvh; min-height: 0; overflow: hidden; }
body.registry-full-review-active { overflow: hidden; }
body.registry-full-review-active .app-shell { height: 100dvh; min-height: 0; overflow: hidden; }
body.registry-registration-data-active,
body:has(.registry-registration-data-page) { overflow: hidden; }
body.registry-registration-data-active .app-shell,
body:has(.registry-registration-data-page) .app-shell { height: 100dvh; min-height: 0; overflow: hidden; }
body.defect-cure-workspace-active { overflow: hidden; }
body.defect-cure-workspace-active .app-shell { height: 100dvh; min-height: 0; overflow: hidden; }
body.filing-final-submit-active { overflow: hidden; }
body.filing-final-submit-active .app-shell { height: 100dvh; min-height: 0; overflow: hidden; }
/* At desktop widths the filing-user result remains a bounded reader. */
body.filing-ai-scrutiny-active { overflow: hidden; }
body.filing-ai-scrutiny-active .app-shell { height: 100dvh; min-height: 0; overflow: hidden; }
#main-content:focus { outline: 0; }
#main-content.judge-document-analysis-host { box-sizing: border-box; height: auto; min-height: 0; flex: 1 1 0; overflow: hidden; padding-block: .5rem !important; }
#main-content.document-examiner-review-host { box-sizing: border-box; height: auto; min-height: 0; flex: 1 1 0; overflow: hidden; padding-block: .75rem !important; }
#main-content.registry-mandatory-scrutiny-host { box-sizing: border-box; height: auto; min-height: 0; flex: 1 1 0; overflow: hidden; padding-block: .75rem !important; }
#main-content.registry-full-review-host { box-sizing: border-box; height: auto; min-height: 0; flex: 1 1 0; overflow: hidden; padding-block: .75rem !important; }
#main-content.registry-registration-data-host,
#main-content:has(.registry-registration-data-page) { box-sizing: border-box; height: auto; min-height: 0; flex: 1 1 0; overflow: hidden; padding-block: .75rem !important; }
#main-content.filing-ai-scrutiny-host { box-sizing: border-box; height: auto; min-height: 0; flex: 1 1 0; overflow: hidden; padding-block: .75rem !important; }
#main-content.defect-cure-workspace-host { box-sizing: border-box; height: auto; min-height: 0; flex: 1 1 0; overflow: hidden; padding-block: .75rem !important; }
#main-content.filing-final-submit-host { box-sizing: border-box; height: auto; min-height: 0; flex: 1 1 0; overflow: hidden; padding-block: .75rem !important; }
.app-shell { background: var(--egujhc-canvas); }
.app-header { min-height: 68px; background: var(--egujhc-navy); box-shadow: 0 .25rem 1rem rgb(16 36 71 / .14); }
.app-header-primary { display: flex; min-width: 0; align-items: center; gap: 1rem; }
.brand-lockup { display: inline-flex; align-items: center; gap: .7rem; color: #fff; min-width: 12rem; }
.brand-lockup:hover { color: #fff; }
.brand-logo { display: block; width: 2.35rem; height: 3rem; object-fit: contain; }
.brand-copy { display: grid; min-width: 0; line-height: 1.05; }
.brand-name-line { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .45rem; min-width: 0; }
.brand-copy strong { font-size: 1.2rem; letter-spacing: -.025em; }
.pilot-badge { display: inline-flex; align-items: center; justify-content: center; width: max-content; border: 1px solid #e8ab35; border-radius: 99rem; background: #ffd36e; color: #17233c; font-weight: 800; letter-spacing: .09em; line-height: 1; white-space: nowrap; }
.pilot-badge[hidden] { display: none !important; }
.pilot-badge-header { padding: .2rem .4rem; font-size: .58rem; }
.brand-copy small { display: inline-flex; align-items: center; gap: .38rem; margin-top: .18rem; color: rgb(255 255 255 / .68); font-size: .64rem; font-weight: 600; letter-spacing: .025em; white-space: nowrap; }
.brand-ai-highlight { display: inline-flex; align-items: center; justify-content: center; padding: .12rem .34rem .14rem; border: 1px solid rgb(255 255 255 / .25); border-radius: 99rem; background: rgb(75 201 211 / .17); color: #fff; font-size: .9em; font-weight: 800; letter-spacing: .055em; line-height: 1; text-transform: uppercase; }
.app-navigation-covered { display: none !important; }
.app-icon-button[data-navigation-pending] { position: relative; }
.app-icon-button[data-navigation-pending] > .spinner-border {
    position: absolute;
    inset: 0;
    margin: auto !important;
}
.app-icon-button[data-navigation-pending] > .bi,
.app-icon-button[data-navigation-pending] > .app-notification-badge { visibility: hidden; }
.app-navigation-feedback { padding-block: 1rem; }
.app-navigation-feedback .workspace-page-heading { display: block; }
.app-navigation-feedback [role="status"] { color: var(--egujhc-muted); }
.app-navigation-skeleton { display: grid; gap: 1rem; margin-block: 1.25rem; padding: 1.25rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface); }
.app-navigation-skeleton span { display: block; height: 2.5rem; border-radius: .35rem; background: var(--egujhc-surface-muted); }
.app-navigation-skeleton span:first-child { width: 65%; }
.app-navigation-skeleton span:last-child { width: 85%; }
.app-account-controls { display: inline-flex; align-items: center; gap: .3rem; }
#judge-header-listing-calendar.d-none { display: none !important; }
#filing-user-header-listing-calendar.d-none { display: none !important; }
#notification-bell.d-none { display: none !important; }
.app-icon-button { display: inline-grid; width: 2.25rem; height: 2.25rem; padding: 0; place-items: center; border: 1px solid transparent; border-radius: .6rem; background: transparent; color: rgb(255 255 255 / .82); font-size: 1.2rem; line-height: 1; }
.app-icon-button:hover, .app-icon-button:focus-visible { border-color: rgb(255 255 255 / .32); background: rgb(255 255 255 / .08); color: #fff; box-shadow: none; }
.app-icon-button:focus-visible { outline: 2px solid rgb(255 255 255 / .75); outline-offset: 2px; }
.app-icon-button:active,
.app-icon-button.show,
.app-icon-button[aria-expanded="true"],
.dropdown.show > .app-icon-button {
    --cui-btn-color: #fff;
    --cui-btn-hover-color: #fff;
    --cui-btn-active-color: #fff;
    border-color: rgb(255 255 255 / .42);
    background: rgb(255 255 255 / .14) !important;
    color: #fff !important;
    box-shadow: none;
}
.app-notification-button { position: relative; }
.app-notification-badge { position: absolute; top: -.23rem; right: -.31rem; min-width: 1.12rem; padding: .08rem .26rem; border: 2px solid var(--egujhc-navy); border-radius: 99rem; background: var(--egujhc-coral); color: #fff; font-size: .64rem; font-weight: 800; line-height: 1.1; }
.manage-notifications-page { min-width: 0; }
.notification-overview-actions { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.notification-overview-actions .btn { display: inline-flex; align-items: center; gap: .45rem; }
.notification-rule-toolbar { display: grid; grid-template-columns: minmax(14rem, 2fr) repeat(3, minmax(10rem, 1fr)) minmax(8rem, auto); gap: .85rem; align-items: end; }
.notification-rule-toolbar-field .form-label, .notification-rule-bulk-toolbar .form-label { margin-bottom: .3rem; color: var(--egujhc-muted); font-weight: 700; }
.notification-rule-toolbar-result { display: grid; align-content: end; justify-items: start; gap: .25rem; min-height: 3.1rem; color: var(--egujhc-ink); font-size: .82rem; font-weight: 700; }
.notification-rule-toolbar-result .btn-link { color: var(--egujhc-accent-text); font-weight: 700; text-decoration: none; }
.notification-rule-toolbar-result .btn-link:hover, .notification-rule-toolbar-result .btn-link:focus-visible { color: var(--egujhc-accent-text); text-decoration: underline; }
.notification-rule-bulk-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.notification-rule-bulk-toolbar > .d-flex > div { min-width: 10rem; }
.notification-rule-table { min-width: 58rem; }
.notification-rule-table > :not(caption) > * > * { padding-block: .8rem; }
.notification-rule-summary > td { border-bottom-color: #e6eaf2; }
.notification-rule-summary:hover > td { background: var(--egujhc-surface-soft); }
.notification-rule-select { width: 2.75rem; padding-inline: 1rem !important; }
.notification-rule-select .form-check-input { display: block; margin: 0; }
.notification-rule-channels, .notification-rule-safeguards { display: flex; gap: .32rem; flex-wrap: wrap; }
.notification-rule-channel, .notification-rule-safeguard { display: inline-flex; align-items: center; min-height: 1.45rem; padding: .14rem .42rem; border: 1px solid transparent; border-radius: 99rem; font-size: .7rem; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.notification-rule-channel.is-enabled { border-color: #b8dfc8; background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.notification-rule-channel.is-disabled { border-color: #e1e5ed; background: var(--egujhc-surface-muted); color: var(--egujhc-muted); }
.notification-rule-safeguard { border-color: #d7d1ff; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.notification-rule-detail > td { padding: 0 !important; border-top: 0; background: var(--egujhc-surface-soft); }
.notification-rule-editor { margin: .75rem; padding: 1rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface); box-shadow: inset .18rem 0 0 var(--egujhc-indigo); }
@media (max-width: 1199.98px) {
    .notification-rule-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .notification-rule-toolbar-result { min-height: auto; }
}
/* Inline selected-case dictation replaces the retired page-dialog presentation.
   The recorder remains part of the PDF toolbar; the editor is one shared board section. */
.main-case-pdf-toolbar-workspace { display: inline-flex; flex: 0 1 auto; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .32rem; max-width: 100%; min-width: 0; margin-left: auto; }
.main-case-pdf-toolbar-group-dictation { align-items: center; min-width: 2.05rem; padding: 0; }
.judge-dictation-toolbar-action, .judge-dictation-toolbar-root { align-items: center; display: inline-flex; flex: 0 0 auto; min-width: 0; }
.judge-dictation-toolbar-action > .btn, .judge-dictation-toolbar-root [data-dictation-idle-action] > .btn { min-width: 1.9rem; min-height: 1.9rem; }
.judge-dictation-toolbar-recorder { align-items: center; background: transparent; border: 1px solid var(--egujhc-indigo); border-radius: .46rem; color: var(--egujhc-accent-text); display: inline-flex; flex: 0 0 auto; flex-wrap: nowrap; gap: .28rem; max-width: 100%; min-width: 0; padding: .14rem .22rem; white-space: nowrap; }
.judge-dictation-toolbar-root .judge-dictation-mic { align-items: center; background: transparent; border: 0; color: var(--egujhc-accent-text); display: inline-flex; flex: 0 0 auto; font-size: .82rem; height: 1.55rem; justify-content: center; position: relative; top: auto; line-height: 1; width: 1.55rem; }
.judge-dictation-toolbar-root .judge-dictation-mic > .bi::before { display: block; }
.judge-dictation-toolbar-root[data-dictation-state="listening"] .judge-dictation-mic::after { animation: judge-dictation-pulse 1.45s ease-out infinite; border: 1px solid currentColor; border-radius: 50%; content: ""; inset: .12rem; opacity: .38; position: absolute; }
.judge-dictation-toolbar-root .judge-dictation-mic[data-voice-active="true"] { background: transparent; box-shadow: none; }
.judge-dictation-toolbar-root .judge-dictation-timer { color: inherit; font-size: .74rem; font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.judge-dictation-toolbar-root .judge-dictation-waveform { color: var(--egujhc-accent-text); display: block; flex: 0 1 4.8rem; height: 1.15rem; min-width: 2.9rem; opacity: .72; width: 4.8rem; }
.judge-dictation-toolbar-root .judge-dictation-recording-actions { display: inline-flex; flex: 0 0 auto; flex-wrap: nowrap; gap: .15rem; }
.judge-dictation-toolbar-root .judge-dictation-recording-actions .btn { min-width: 1.55rem; min-height: 1.55rem; padding: .1rem .22rem; }
.judge-dictation-toolbar-root[data-dictation-state="paused"] .judge-dictation-waveform,
.judge-dictation-toolbar-root[data-dictation-state="processing"] .judge-dictation-waveform,
.judge-dictation-toolbar-root[data-dictation-state="reconnecting"] .judge-dictation-waveform,
.judge-dictation-toolbar-root[data-dictation-state="finalizing"] .judge-dictation-waveform { opacity: .28; }
.judge-dictation-panel { background: var(--egujhc-surface-muted); display: grid; gap: .7rem; min-height: 0; padding: .8rem; }
.judge-dictation-recording-placeholder { align-content: center; color: var(--egujhc-muted); display: grid; gap: .65rem; justify-items: center; min-height: 14rem; padding: 2rem; text-align: center; }
.judge-dictation-recording-placeholder .bi { color: var(--egujhc-accent-text); font-size: 1.25rem; }
.judge-dictation-panel-heading { align-items: baseline; display: flex; flex-wrap: wrap; gap: .45rem 1rem; justify-content: space-between; }
.judge-dictation-panel-case { color: var(--egujhc-muted); font-size: .82rem; }
.judge-dictation-panel .judge-dictation-review-panel { margin: 0; max-width: none; }
.judge-dictation-panel .judge-dictation-command-help { margin: 0; max-width: none; }
.judge-dictation-panel .judge-dictation-document-shell { margin: 0 auto .85rem; min-width: 0; padding: 0; width: 100%; }
.judge-dictation-panel .judge-dictation-page { border-radius: 0 0 .65rem .65rem; min-height: min(42rem, 72vh); padding: 3.5rem 4.5rem; width: 100%; }
@media (max-width: 575.98px) { .judge-dictation-toolbar-root .judge-dictation-waveform { flex-basis: 3.4rem; min-width: 2.25rem; width: 3.4rem; } .judge-dictation-panel { padding: .55rem; } .judge-dictation-panel .judge-dictation-page { min-height: 58vh; padding: 2rem 1.2rem; } }
@media (prefers-reduced-motion: reduce) { .judge-dictation-toolbar-root[data-dictation-state="listening"] .judge-dictation-mic::after { animation: none; } }

@media (max-width: 767.98px) {
    .notification-overview-actions { align-items: stretch; }
    .notification-overview-actions .btn { justify-content: center; flex: 1 1 100%; }
    .notification-rule-toolbar { grid-template-columns: 1fr; gap: .65rem; }
    .notification-rule-toolbar-result { grid-template-columns: 1fr auto; align-items: center; }
    .notification-rule-bulk-toolbar > .d-flex { width: 100%; }
    .notification-rule-bulk-toolbar > .d-flex > div { min-width: calc(50% - .25rem); flex: 1 1 calc(50% - .25rem); }
    .notification-rule-bulk-toolbar > .d-flex > .btn-primary { flex: 1 1 100%; }
    .notification-rule-editor { margin: .5rem; padding: .8rem; }
    .notification-rule-table { min-width: 0; width: 100%; }
    .notification-rule-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .notification-rule-table tbody, .notification-rule-detail, .notification-rule-detail > td { display: block; width: 100%; }
    .notification-rule-summary { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); padding-block: .5rem; }
    .notification-rule-summary > td { grid-column: 2; min-width: 0; border: 0; padding-block: .3rem; }
    .notification-rule-summary > .notification-rule-select { grid-column: 1; grid-row: 1; }
    .notification-rule-summary > td:last-child { text-align: start !important; }
    .notification-rule-summary[hidden], .notification-rule-detail[hidden] { display: none !important; }
    .notification-rule-editor { overflow-wrap: anywhere; }
}
/* Applied only to Bootstrap buttons that contain both a visible label and icon. */
.btn.btn-icon-text { display: inline-flex; align-items: center; gap: .65rem; }
.egujhc-icon-only-control { display: inline-grid !important; align-items: center; justify-items: center; gap: 0 !important; line-height: 1; }
.egujhc-icon-only-control .bi { display: inline-grid; width: 1em; height: 1em; margin: 0 !important; place-items: center; flex: 0 0 auto; line-height: 1; }
.egujhc-icon-only-control .bi::before { display: block; line-height: 1; }
.egujhc-icon-help-tooltip { --cui-tooltip-bg: var(--egujhc-navy); pointer-events: none; }
.egujhc-icon-help-tooltip .tooltip-inner { max-width: 15rem; padding: .32rem .52rem; font-size: .72rem; font-weight: 700; line-height: 1.25; pointer-events: none; }
.egujhc-action-pending { position: relative; pointer-events: auto !important; cursor: wait !important; }
.egujhc-action-pending-spinner { flex: 0 0 auto; }
/* Keep Proceedings preview/read labels stable through the shared loading lifecycle. */
.btn:is([data-court-proceedings-submit], [data-court-proceedings-quick-save]) { display: inline-grid; grid-template-columns: 1em auto; align-items: center; justify-content: center; column-gap: .65rem; }
.btn:is([data-court-proceedings-submit], [data-court-proceedings-quick-save]) > .bi,
.btn:is([data-court-proceedings-submit], [data-court-proceedings-quick-save]) > .btn-loading-spinner,
.btn:is([data-court-proceedings-submit], [data-court-proceedings-quick-save]) > .egujhc-action-pending-spinner { grid-area: 1 / 1; width: 1em; height: 1em; margin: 0; justify-self: center; }
.btn:is([data-court-proceedings-submit], [data-court-proceedings-quick-save]) > .bi { display: inline-grid; place-items: center; line-height: 1; }
.btn:is([data-court-proceedings-submit], [data-court-proceedings-quick-save]) > .bi::before { display: block; line-height: 1; vertical-align: 0; }
.btn:is([data-court-proceedings-submit], [data-court-proceedings-quick-save]).egujhc-action-pending > .bi { visibility: hidden; }
/* An icon-only draft action must not grow beyond a scrolled table edge. */
[data-delete-main-case-draft].egujhc-icon-only-control > .bi,
[data-delete-main-case-draft].egujhc-icon-only-control > .btn-loading-spinner,
[data-delete-main-case-draft].egujhc-icon-only-control > .egujhc-action-pending-spinner { grid-area: 1 / 1; width: 1em; height: 1em; margin: 0 !important; }
[data-delete-main-case-draft].egujhc-icon-only-control.egujhc-action-pending > .bi { visibility: hidden; }
/* Retain the table action's width when its pending spinner appears. */
.table-responsive .btn[data-project-api-manual-execute] { display: inline-grid; grid-template-columns: 1em max-content; align-items: center; column-gap: .4rem; white-space: nowrap; }
[data-project-api-manual-execute] > i.bi,
[data-project-api-manual-execute] > .btn-loading-spinner,
[data-project-api-manual-execute] > .egujhc-action-pending-spinner { grid-area: 1 / 1; margin: 0 !important; justify-self: center; }
[data-project-api-manual-execute].egujhc-action-pending > i.bi { visibility: hidden; }
/* Registry row actions keep their label and table-edge position while pending. */
.table-responsive .btn:is([data-registry-stage-action], [data-registry-defect-cure-reassign]) { display: inline-grid; grid-template-columns: 1em max-content; align-items: center; column-gap: .4rem; white-space: nowrap; }
:is([data-registry-stage-action], [data-registry-defect-cure-reassign]) > i.bi,
:is([data-registry-stage-action], [data-registry-defect-cure-reassign]) > .btn-loading-spinner,
:is([data-registry-stage-action], [data-registry-defect-cure-reassign]) > .egujhc-action-pending-spinner { grid-area: 1 / 1; margin: 0 !important; justify-self: center; }
:is([data-registry-stage-action], [data-registry-defect-cure-reassign]).egujhc-action-pending > i.bi { visibility: hidden; }
.project-user-management-page > [aria-labelledby="project-api-configuration-manual-heading"] { margin-bottom: 3rem; }
.egujhc-pending-tooltip-trigger { position: fixed; z-index: 1040; display: block; margin: 0; padding: 0; cursor: wait; pointer-events: auto; }
.modal .egujhc-pending-tooltip-trigger { z-index: 1060; }
.profile-menu { min-width: 15rem; padding: .75rem 1rem; }
.profile-menu-name { color: var(--egujhc-ink); font-weight: 700; }
.profile-menu-role { margin-top: .15rem; color: var(--egujhc-muted); font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.profile-menu .dropdown-divider { margin-inline: -.25rem; }
.profile-menu-action { display: flex; align-items: center; gap: .55rem; padding-inline: .25rem; color: var(--egujhc-accent-text); font-weight: 700; }
.profile-menu-action:hover, .profile-menu-action:focus-visible { background: transparent; color: var(--egujhc-accent-text); }
.hero { background: radial-gradient(circle at 8% 0%, #edf0ff 0, #fff 48%); border: 1px solid var(--egujhc-border); border-radius: 1.1rem; }
.landing-logo-blue { display: block; width: 4.5rem; height: 5.8rem; margin: 0 auto .8rem; object-fit: contain; }
.landing-hero-title { display: grid; gap: .12rem; }
.landing-hero-title > span { display: block; }
.landing-hero-title > .landing-hero-brand-line { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .4rem .65rem; }
.landing-hero-brand { color: var(--egujhc-heading); }
.pilot-badge-hero { padding: .35rem .65rem; font-size: .31em; vertical-align: middle; }
.landing-tagline { white-space: nowrap; }
.landing-ai-badge { display: inline-flex; align-items: center; margin-left: .18rem; padding: .24rem .58rem; border-radius: 99rem; background: var(--egujhc-indigo); color: #fff; box-shadow: 0 .25rem .75rem rgb(77 70 201 / .2); font-size: .7em; font-weight: 800; letter-spacing: .055em; line-height: 1.2; text-transform: uppercase; vertical-align: .12em; }
.landing-entry-column { display: flex; flex: 1 1 auto; }
.entry-card { flex: 1 1 auto; min-height: 13.5rem; border: 1px solid var(--egujhc-border); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; color: inherit; }
.entry-card:hover { border-color: #c9c8f0; transform: translateY(-3px); box-shadow: 0 .8rem 1.5rem rgb(24 35 58 / .12); color: inherit; }
.entry-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: .9rem .9rem .9rem .25rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: 1.45rem; }
.account-claim-card { border: 1px solid var(--egujhc-border) !important; background: var(--egujhc-surface); }
.account-claim-actions { display: grid; gap: .5rem; }
.account-claim-action { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr) 1rem; align-items: center; gap: .65rem; min-height: 2.75rem; padding: .55rem .75rem; border: 1px solid var(--egujhc-border); border-radius: .55rem; background: var(--egujhc-surface-soft); color: var(--egujhc-ink); font-weight: 600; line-height: 1.3; text-decoration: none; }
.account-claim-action > .bi { color: var(--egujhc-accent-text); font-size: 1.05rem; line-height: 1; }
.account-claim-action > .bi:last-child { justify-self: end; font-size: .85rem; }
.account-claim-action:hover { border-color: var(--egujhc-accent-text); background: var(--egujhc-accent-bg); color: var(--egujhc-heading); }
.account-claim-action:focus-visible { outline: 3px solid var(--egujhc-accent-text); outline-offset: 2px; }
.page-kicker { color: var(--egujhc-accent-text); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.workspace-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .75rem;
    min-width: 0;
    margin-bottom: 1rem;
}
.workspace-page-heading-copy {
    display: grid;
    flex: 1 1 auto;
    gap: .18rem;
    min-width: 0;
}
.workspace-page-heading-copy > .page-kicker {
    margin: 0 !important;
    min-width: 0;
    overflow-wrap: anywhere;
}
.workspace-page-heading-main {
    display: grid;
    gap: .1rem;
    min-width: 0;
}
.workspace-page-heading-main > h1,
.workspace-page-heading-main > .text-body-secondary { margin: 0 !important; }
.workspace-page-heading-main > h1 {
    min-width: 0;
    font-size: clamp(1.2rem, 1.55vw, 1.65rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}
.workspace-page-heading-main > .text-body-secondary {
    min-width: 0;
    font-size: .86rem;
    overflow-wrap: anywhere;
}
.workspace-page-heading > :not(.workspace-page-heading-copy) { flex: 0 0 auto; }
.document-examiner-review-page > .workspace-page-heading { display: block; }
.document-examiner-review-page > .workspace-page-heading p { white-space: normal; overflow-wrap: anywhere; }
@media (min-width: 768px) {
    .workspace-page-heading-three-line { flex-wrap: nowrap !important; }
}
@media (max-width: 767.98px) {
    .workspace-page-heading {
        align-items: flex-start;
        gap: .45rem;
        flex-wrap: wrap !important;
    }
    .workspace-page-heading-copy {
        flex: 1 0 100%;
        gap: .12rem;
    }
    .workspace-page-heading-copy > .page-kicker {
        font-size: .66rem;
        letter-spacing: .06em;
    }
    .workspace-page-heading-main { gap: .08rem; }
    .workspace-page-heading-main > h1 {
        font-size: 1.08rem;
    }
    .workspace-page-heading-main > .text-body-secondary { font-size: .75rem; }
}
.auth-card { max-width: 31rem; margin-inline: auto; }
.auth-card-mfa { max-width: 32rem; }
.otp-delivery-choice .btn { min-height: 2.5rem; }
.otp-delivery-choice .btn-outline-primary {
    --cui-btn-color: var(--egujhc-accent-text);
    --cui-btn-border-color: var(--egujhc-accent-text);
    --cui-btn-hover-color: var(--egujhc-ink);
    --cui-btn-hover-bg: var(--egujhc-accent-bg);
    --cui-btn-hover-border-color: var(--egujhc-accent-text);
    --cui-btn-active-color: var(--egujhc-ink);
    --cui-btn-active-bg: var(--egujhc-accent-bg);
    --cui-btn-disabled-color: var(--egujhc-accent-text);
    --cui-btn-disabled-border-color: var(--egujhc-border);
}
.auth-card:has(.otp-delivery-choice) .btn-link { color: var(--egujhc-accent-text); }
.otp-delivery-choice [data-sms-result]:not(:empty) { margin-top: .75rem; }
.passkey-management-card { max-width: 36rem; }
.external-senior-auth .external-senior-invitation-summary,
.external-senior-contact-list { display: grid; gap: .65rem; margin: 1rem 0 1.25rem; }
.external-senior-auth .external-senior-invitation-summary > div,
.external-senior-contact-list > div { display: grid; grid-template-columns: minmax(7rem, .45fr) minmax(0, 1fr); gap: .75rem; padding-block: .55rem; border-bottom: 1px solid var(--egujhc-border); }
.external-senior-auth dt, .external-senior-contact-list dt { color: var(--egujhc-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.external-senior-auth dd, .external-senior-contact-list dd { margin: 0; overflow-wrap: anywhere; }
.external-case-share-fields { padding: 1rem; border: 1px solid var(--egujhc-border); border-radius: .75rem; background: var(--egujhc-surface-soft); }
.external-senior-dashboard { display: grid; gap: 1.25rem; }
.external-senior-dashboard-groups { display: grid; gap: 1.5rem; }
.external-senior-dashboard-group { padding: 1rem; border: 1px solid var(--egujhc-border); border-radius: .85rem; background: var(--egujhc-surface); box-shadow: 0 .25rem .8rem rgb(24 35 58 / .05); }
.external-senior-case-card { min-height: 12.5rem; border: 1px solid var(--egujhc-border); }
.external-senior-case-card .badge { flex: 0 0 auto; }
.external-senior-case-card.is-focused { border-color: var(--egujhc-primary); box-shadow: 0 0 0 .2rem rgb(21 65 120 / .14), 0 .35rem 1rem rgb(24 35 58 / .08) !important; }
.external-senior-case-card.is-focused:focus { outline: 3px solid rgb(21 65 120 / .28); outline-offset: 2px; }
.external-senior-preferences { border: 1px solid var(--egujhc-border); }
.mfa-trusted-device-choice { display: grid; gap: .25rem; margin-top: 1rem; padding: .8rem .9rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface-soft); }
.mfa-trusted-device-choice-heading { display: flex; align-items: flex-start; gap: .55rem; }
.mfa-trusted-device-choice .form-check-input { float: none; flex: 0 0 auto; width: 1rem; height: 1rem; margin: .2rem 0 0; }
.mfa-trusted-device-choice .form-check-label { margin: 0; color: var(--egujhc-ink); font-weight: 700; }
.mfa-passkey-choice { display: grid; gap: .65rem; margin-top: 1rem; }
.mfa-passkey-choice-or { display: flex; align-items: center; gap: .65rem; color: var(--egujhc-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.mfa-passkey-choice-or::before, .mfa-passkey-choice-or::after { flex: 1 1 auto; height: 1px; background: var(--egujhc-border); content: ""; }
.mfa-passkey-error { min-height: 0; }
.passkey-list { display: grid; gap: .65rem; }
.passkey-list li { display: flex; align-items: center; justify-content: space-between; gap: .9rem; padding: .75rem .8rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface-soft); }
.passkey-list strong, .passkey-list small { display: block; }
.passkey-list small { margin-top: .2rem; color: var(--egujhc-muted); font-size: .8rem; }
.mfa-device-status { border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface-soft); }
.password-visibility-control.input-group { position: relative; display: block; width: 100%; }
.password-visibility-control > .form-control { width: 100%; padding-right: 2.75rem; border-radius: var(--cui-border-radius) !important; }
.password-visibility-control > .form-control.is-valid,
.password-visibility-control > .form-control.is-invalid,
.was-validated .password-visibility-control > .form-control:valid,
.was-validated .password-visibility-control > .form-control:invalid { padding-right: 5rem; background-position: right 3rem center; }
.password-visibility-control > .password-visibility-toggle { position: absolute; z-index: 5; top: 50%; right: .25rem; left: auto; display: grid; box-sizing: border-box; width: 1.875rem; min-width: 1.875rem; height: 1.875rem; min-height: 1.875rem; margin: 0; padding: 0 !important; place-items: center; transform: translateY(-50%); border: 0; border-radius: .4rem !important; background: transparent; color: var(--egujhc-accent-text); line-height: 1; }
.password-visibility-toggle:hover, .password-visibility-toggle:focus-visible { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.password-visibility-toggle:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 1px; }
.mfa-code-inputs.form-otp { display: grid; grid-template-columns: repeat(var(--egujhc-code-length, 6), minmax(0, 1fr)); gap: .55rem; width: 100%; }
.mfa-code-inputs .form-otp-control.mfa-code-box {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 1;
    padding: 0 !important;
    border-color: #cbd5e5;
    border-radius: .55rem;
    background-image: none !important;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}
.mfa-code-inputs .form-otp-control.mfa-code-box:focus { border-color: var(--egujhc-accent-text); box-shadow: 0 0 0 .2rem rgb(77 70 201 / .14); }
#main-content > .egujhc-validation-summary:has(+ .auth-card) { max-width: 32rem; margin-inline: auto; }
.authenticator-setup-card { max-width: 62rem; margin-inline: auto; border-color: var(--egujhc-border); }
.authenticator-setup-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.authenticator-status-pill { flex: 0 0 auto; padding: .24rem .55rem; border: 1px solid #f3d575; border-radius: 999px; background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); font-size: .67rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.authenticator-status-pill.is-verified { border-color: #b9e4c6; background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.authenticator-setup-grid { display: grid; grid-template-columns: minmax(16rem, .8fr) minmax(0, 1.35fr); gap: 1rem; }
.authenticator-qr-panel, .authenticator-verify-panel, .authenticator-secret-box, .authenticator-uri-box { border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface-soft); }
.authenticator-qr-panel { display: grid; place-items: center; align-content: start; gap: .8rem; padding: 1.1rem; color: var(--egujhc-muted); font-size: .85rem; text-align: center; }
.authenticator-qr-panel > span, .authenticator-secret-box > span, .authenticator-uri-box > span { color: var(--egujhc-muted); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.authenticator-qr-frame { display: grid; place-items: center; width: min(100%, 18rem); padding: .75rem; border: 1px solid #cbd5e5; border-radius: .6rem; background: var(--egujhc-surface); }
.authenticator-qr-frame img { display: block; width: 100%; height: auto; max-width: 17rem; image-rendering: pixelated; }
.authenticator-verify-panel { display: flex; align-items: flex-start; padding: 1.25rem; }
.authenticator-verify-panel form { width: min(100%, 28rem); }
.authenticator-manual-setup { margin-top: 1rem; }
.authenticator-manual-setup > summary { color: var(--egujhc-accent-text); font-weight: 700; cursor: pointer; }
.authenticator-secret-box, .authenticator-uri-box { display: grid; gap: .35rem; margin-top: .55rem; padding: .8rem; }
.authenticator-secret-box strong { overflow-wrap: anywhere; color: var(--egujhc-ink); }
.authenticator-uri-box code { overflow-wrap: anywhere; color: #be2c72; font-size: .78rem; white-space: pre-wrap; }
.card-header.app-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    gap: .8rem;
    background: var(--egujhc-navy) !important;
    color: #fff !important;
}
.app-card-header-title { display: inline-flex; min-width: 0; align-items: center; gap: .6rem; }
.app-card-header-title > .bi { flex: 0 0 auto; color: #fff !important; font-size: 1.05rem; line-height: 1; }
.app-card-header-title > :is(h1, h2, h3, h4, h5, h6) { min-width: 0; margin-bottom: 0; color: #fff !important; }
.app-card-header .page-kicker { display: none !important; }
.app-card-header .text-body-secondary { color: rgb(255 255 255 / .72) !important; }
.dashboard-section .card-header { background: var(--egujhc-navy); color: #fff; }
.service-card, .stage-card { min-height: 132px; border: 1px solid var(--egujhc-border); }
.service-card[aria-disabled="true"], .stage-card[aria-disabled="true"], .disabled-card { opacity: .72; cursor: not-allowed; background: var(--egujhc-surface-muted); }
.service-card-active { color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.service-card-active:hover, .service-card-active:focus-visible { border-color: #c9c8f0; box-shadow: 0 .7rem 1.4rem rgb(24 35 58 / .12); color: inherit; transform: translateY(-2px); }
.service-card-icon { display: inline-grid; width: 3rem; height: 3rem; place-items: center; border-radius: .9rem .9rem .9rem .25rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: 1.45rem; }
.project-admin-dashboard-actions .card-body { padding: .9rem; }
.project-admin-featured-services { --cui-gutter-x: .55rem; --cui-gutter-y: .55rem; }
.project-admin-featured-services > [class*="col"] { flex: 1 1 12rem; min-width: 0; }
.project-admin-dashboard-actions .service-card { min-height: 0; height: 100%; }
.project-admin-dashboard-actions .service-card .card-body {
    display: grid;
    grid-template-areas: "title icon" "count count";
    grid-template-columns: minmax(0, 1fr) 2.2rem;
    align-items: center;
    gap: .6rem;
    padding: .72rem;
}
.project-admin-dashboard-actions .service-card-icon {
    grid-area: icon;
    justify-self: end;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: .65rem .65rem .65rem .2rem;
    font-size: 1rem;
}
.project-admin-dashboard-actions .service-card h2 {
    grid-area: title;
    min-width: 0;
    margin: 0;
    font-size: .88rem;
    line-height: 1.22;
    overflow-wrap: normal;
    word-break: normal;
}
.project-admin-dashboard-actions .service-card p { display: none; }
.project-admin-dashboard-actions .service-card .service-card-work-count { grid-area: count; position: static; justify-self: start; min-width: 1.55rem; min-height: 1.55rem; font-size: .68rem; }
.project-admin-more-services > summary { display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; list-style: none; }
.project-admin-more-services > summary::-webkit-details-marker { display: none; }
.project-admin-more-services-panel { padding: .85rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface-soft); }
.project-admin-more-services-panel .service-card { min-height: 7.25rem; }
.project-security-rule .form-label { margin-bottom: .2rem; color: var(--egujhc-muted); font-weight: 700; }
.project-security-rule .input-group .btn { white-space: nowrap; }
.filing-launch { margin-top: 1rem; border-color: #d8d6fa; }
.filing-launch-body { display: grid; justify-items: center; gap: .65rem; padding: 1.4rem; text-align: center; }
.filing-launch-cta { display: inline-flex; align-items: center; gap: .65rem; min-height: 3.25rem; padding: .7rem 1.3rem; font-size: 1.08rem; font-weight: 700; }
.filing-launch-cta .bi { font-size: 1.35rem; }
.filing-launch-caption { font-size: .9rem; }
.filing-entry-page { display: grid; gap: 1rem; }
.filing-entry-options { width: min(100%, 62rem); margin-inline: auto; padding: 1.1rem; border: 1px solid var(--egujhc-border); border-radius: .85rem; background: var(--egujhc-surface); box-shadow: 0 .125rem .25rem rgb(0 0 0 / .075); }
.filing-entry-options-heading { display: grid; grid-template-columns: minmax(5rem, 1fr) auto minmax(5rem, 1fr); align-items: center; gap: 1rem; margin-bottom: 1rem; text-align: center; }
.filing-entry-options-heading > div { max-width: 42rem; }
.filing-entry-back { justify-self: start; display: inline-flex; align-items: center; gap: .35rem; }
.filing-entry-heading-spacer { min-width: 5rem; }
.filing-entry-trail { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem; margin-bottom: .85rem; color: var(--egujhc-muted); font-size: .8rem; font-weight: 700; }
.filing-entry-trail span { display: inline-flex; align-items: center; gap: .35rem; }
.filing-entry-choice { position: relative; display: flex; min-height: 13.75rem; flex-direction: column; align-items: center; justify-content: center; gap: .85rem; padding: 1.25rem 2.8rem; color: var(--egujhc-ink); border-radius: .75rem; text-align: center; }
button.filing-entry-choice { cursor: pointer; font: inherit; }
.filing-entry-choice-copy { display: grid; justify-items: center; gap: .35rem; min-width: 0; }
.filing-entry-choice-copy strong { font-size: 1rem; }
.filing-entry-choice-copy small { color: var(--egujhc-muted); font-size: .82rem; line-height: 1.35; }
.filing-entry-choice-arrow { position: absolute; right: 1rem; bottom: 1rem; color: var(--egujhc-accent-text); font-size: 1.2rem; }
.filing-entry-choice-icon.is-petitioner { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.filing-entry-choice-icon.is-respondent { background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.filing-entry-choice.is-unavailable { align-items: flex-start; }
.filing-entry-unavailable { position: absolute; top: .7rem; right: .7rem; color: var(--egujhc-muted); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.stage-card { border-left: 5px solid var(--stage-colour, var(--egujhc-indigo)); }
.stage-card .card-body { position: relative; }
.stage-count { font-size: 2rem; font-weight: 700; line-height: 1; }
.stage-card.stage-card-empty { --stage-colour: #aeb7c7; color: var(--egujhc-muted); }
.stage-card.stage-card-empty .stage-count { color: var(--egujhc-muted); }
.registry-stage-new-dot { position: absolute; top: .85rem; right: .85rem; width: .65rem; height: .65rem; border: 2px solid #fff; border-radius: 50%; background: #dd3347; box-shadow: 0 0 0 1px rgb(122 27 41 / .22); }
.stage-card-active { color: inherit; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.stage-card-active:hover { border-color: #bcb8ff; box-shadow: 0 .55rem 1.15rem rgb(24 35 58 / .12); color: inherit; transform: translateY(-1px); }
.stage-card-active:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 3px; }
.stage-card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .85rem; color: var(--egujhc-accent-text); font-size: .76rem; font-weight: 700; text-transform: none; }
.theme-primary { --stage-colour: #4d46c9; }
.theme-success { --stage-colour: #25a84d; }
.theme-warning { --stage-colour: #e69b19; }
.theme-danger { --stage-colour: #dd3347; }
.theme-info { --stage-colour: #4bc9d3; }
.theme-purple { --stage-colour: #7a3dc4; }
.empty-state { color: #63738a; border: 1px dashed #bfcbd8; border-radius: .65rem; padding: 1.5rem; text-align: center; }
.registrar-judicial-dashboard { display: grid; gap: 1rem; }
.registrar-judicial-period-card { border-color: var(--egujhc-border); }
.registrar-judicial-period-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.registrar-judicial-period-controls { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; margin-top: 1rem; }
.registrar-judicial-quick-periods { display: flex; flex-wrap: wrap; gap: .5rem; }
.registrar-judicial-period-controls .btn { min-width: 5.25rem; }
.registrar-judicial-custom-period { display: flex; flex: 1 1 34rem; flex-wrap: wrap; align-items: end; gap: .5rem; margin: 0; }
.registrar-judicial-custom-period > div { flex: 1 1 9rem; max-width: 12rem; }
.registrar-judicial-custom-period .d-flex { flex: 0 0 auto; }
.registrar-judicial-period-help { flex: 1 1 12rem; align-self: center; }
.registrar-judicial-analytics { display: grid; gap: 1rem; }
.registrar-judicial-analytics[aria-busy="true"] { opacity: .65; }
.registrar-judicial-summary-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
.registrar-judicial-summary-card { display: flex; min-width: 0; gap: .65rem; padding: .9rem; border: 1px solid var(--egujhc-border); border-radius: .75rem; background: var(--egujhc-surface); box-shadow: 0 .125rem .25rem rgb(24 35 58 / .04); }
.registrar-judicial-summary-card > div { display: grid; min-width: 0; gap: .14rem; }
.registrar-judicial-summary-card p, .registrar-judicial-summary-card small { margin: 0; color: var(--egujhc-muted); font-size: .7rem; font-weight: 700; line-height: 1.25; }
.registrar-judicial-summary-card p { letter-spacing: .035em; text-transform: uppercase; }
.registrar-judicial-summary-card strong { color: var(--egujhc-ink); font-size: 1.42rem; line-height: 1.1; }
.registrar-judicial-summary-icon { display: grid; flex: 0 0 auto; width: 2.3rem; height: 2.3rem; place-items: center; border-radius: .7rem .7rem .7rem .2rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: 1.1rem; }
.registrar-judicial-summary-card.is-success .registrar-judicial-summary-icon { background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.registrar-judicial-summary-card.is-warning .registrar-judicial-summary-icon { background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.registrar-judicial-summary-card.is-danger .registrar-judicial-summary-icon, .registrar-judicial-summary-card.is-coral .registrar-judicial-summary-icon { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.registrar-judicial-section { border-color: var(--egujhc-border); }
.registrar-judicial-section .card-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--egujhc-navy); color: #fff; }
.registrar-judicial-section .card-header .page-kicker { color: #c9d8ff; }
.registrar-judicial-section table { min-width: 38rem; }
.registrar-judicial-section table caption { padding: .7rem 1rem; color: var(--egujhc-muted); caption-side: top; font-size: .8rem; }
.registrar-judicial-section thead th { color: var(--egujhc-muted); font-size: .72rem; letter-spacing: .045em; text-transform: uppercase; }
.registrar-judicial-flow-chart { display: grid; gap: .45rem; max-height: 26rem; overflow: auto; padding: .25rem .15rem; }
.registrar-judicial-flow-row { display: grid; grid-template-columns: minmax(8.5rem, .8fr) minmax(12rem, 2fr) 5.5rem; align-items: center; gap: .75rem; min-width: 0; padding: .45rem .55rem; border-radius: .45rem; }
.registrar-judicial-flow-row:nth-child(2n) { background: var(--egujhc-surface-soft); }
.registrar-judicial-flow-row > span { color: var(--egujhc-ink); font-size: .8rem; font-weight: 700; }
.registrar-judicial-flow-row small { display: block; color: var(--egujhc-muted); font-size: .68rem; font-weight: 600; }
.registrar-judicial-flow-row > strong { color: var(--egujhc-ink); font-size: .78rem; text-align: right; }
.registrar-judicial-flow-bars { display: grid; gap: .2rem; }
.registrar-judicial-flow-bars i { display: block; height: .5rem; min-width: .15rem; border-radius: 999px; }
.registrar-judicial-flow-bars .is-inflow { background: var(--egujhc-indigo); }
.registrar-judicial-flow-bars .is-outflow { background: #25a84d; }
.registrar-judicial-workforce-grid, .registrar-judicial-performance-grid { display: grid; grid-template-columns: minmax(16rem, .75fr) minmax(0, 1.5fr); gap: 1rem; }
.registrar-judicial-performance { display: inline-flex; align-items: center; padding: .2rem .45rem; border-radius: 999px; background: var(--egujhc-surface-muted); color: var(--egujhc-muted); font-size: .7rem; font-weight: 800; white-space: nowrap; }
.registrar-judicial-performance.is-efficient { background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.registrar-judicial-performance.is-slow { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.registrar-judicial-performance.is-at-peer-average { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.registrar-judicial-court-statistics { border-color: #d4dff2; }
.registrar-judicial-court-statistics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.registrar-judicial-court-statistic { display: grid; gap: .3rem; min-width: 0; padding: .85rem; border: 1px solid #dce4f2; border-radius: .65rem; background: var(--egujhc-surface-soft); }
.registrar-judicial-court-statistic span { color: var(--egujhc-muted); font-size: .72rem; font-weight: 700; letter-spacing: .035em; line-height: 1.25; text-transform: uppercase; }
.registrar-judicial-court-statistic strong { color: var(--egujhc-ink); font-size: 1.5rem; line-height: 1; }
.registrar-judicial-court-statistics-context { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; margin-bottom: .85rem; }
.registrar-judicial-court-statistics-status { display: inline-flex; align-items: center; gap: .4rem; max-width: 100%; padding: .35rem .55rem; border: 1px solid currentColor; border-radius: .45rem; font-size: .76rem; line-height: 1.3; }
.registrar-judicial-court-statistics-status > i { display: grid; flex: 0 0 auto; width: 1rem; height: 1rem; place-items: center; font-size: .85rem; }
.registrar-judicial-court-statistics-status.is-current { background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.registrar-judicial-court-statistics-status.is-stale { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.registrar-judicial-court-statistics-status.is-pending { background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.registrar-judicial-court-statistics-status.is-refreshing > i { animation: registrar-judicial-court-statistics-spin 1.4s linear infinite; }
.registrar-judicial-court-statistics-freshness strong { color: var(--egujhc-ink); }
@keyframes registrar-judicial-court-statistics-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .registrar-judicial-court-statistics-status.is-refreshing > i { animation: none; } }
@media (max-width: 1199px) { .registrar-judicial-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) { .registrar-judicial-quick-periods, .registrar-judicial-custom-period { flex-basis: 100%; } .registrar-judicial-custom-period { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } .registrar-judicial-custom-period > div { max-width: none; } .registrar-judicial-period-help { grid-column: 1 / -1; } .registrar-judicial-court-statistics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .registrar-judicial-court-statistics-context { align-items: flex-start; } }
@media (max-width: 767.98px) { .registrar-judicial-period-heading { display: grid; } .registrar-judicial-custom-period { grid-template-columns: repeat(2, minmax(0, 1fr)); } .registrar-judicial-summary-grid, .registrar-judicial-workforce-grid, .registrar-judicial-performance-grid { grid-template-columns: 1fr; } .registrar-judicial-flow-row { grid-template-columns: minmax(6.5rem, .85fr) minmax(8rem, 1.5fr) 4.5rem; gap: .45rem; padding-inline: .25rem; } }
@media (max-width: 575.98px) { .registrar-judicial-custom-period, .registrar-judicial-court-statistics-grid { grid-template-columns: 1fr; } .registrar-judicial-quick-periods .btn { flex: 1 1 calc(50% - .5rem); } .registrar-judicial-flow-row { grid-template-columns: 1fr; } .registrar-judicial-flow-row > strong { text-align: left; } }
.registry-worklist .card-header:not(.app-card-header) { background: var(--egujhc-surface); border-bottom-color: var(--egujhc-border); color: var(--egujhc-ink); }
.registry-worklist .card-header:not(.app-card-header) h2 { color: var(--egujhc-ink); }
:is(.registry-worklist, .filing-worklist) .dt-container { padding: 1.1rem 1.25rem 1.25rem; }
:is(.registry-worklist, .filing-worklist) .dt-layout-row { align-items: center; gap: .75rem; }
:is(.registry-worklist, .filing-worklist) .dt-layout-table { margin-top: .75rem; }
:is(.registry-worklist, .filing-worklist) .dt-input, :is(.registry-worklist, .filing-worklist) .dt-select { min-height: 2.25rem; border: 1px solid #ced4da; border-radius: .375rem; color: var(--egujhc-ink); }
:is(.registry-worklist, .filing-worklist) .dt-input:focus, :is(.registry-worklist, .filing-worklist) .dt-select:focus { border-color: var(--egujhc-accent-text); box-shadow: 0 0 0 .2rem rgb(77 70 201 / .14); outline: 0; }
:is(.registry-worklist, .filing-worklist) .dt-paging-button { border-radius: .4rem !important; color: var(--egujhc-accent-text) !important; }
div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.current:hover,
div.dt-container .dt-paging .dt-paging-button.current:focus-visible {
    border-color: var(--egujhc-indigo) !important;
    background: var(--egujhc-indigo) !important;
    color: #fff !important;
}
div.dt-container .dt-paging .dt-paging-button.current:focus-visible { outline: 3px solid var(--egujhc-accent-text); outline-offset: 2px; }
div.dt-container .dt-paging .dt-paging-button.disabled,
div.dt-container .dt-paging .dt-paging-button.disabled:hover,
div.dt-container .dt-paging .dt-paging-button.disabled:active { color: var(--egujhc-muted) !important; }
:is(.registry-worklist, .filing-worklist) table.dataTable thead > tr > th { color: var(--egujhc-muted); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
:is(.registry-worklist, .filing-worklist) table.dataTable tbody > tr > td { color: var(--egujhc-ink); font-size: .88rem; vertical-align: middle; }
.case-lifecycle-results .dt-container { padding: 1.1rem 1.25rem 1.25rem; }
.case-lifecycle-results .dt-layout-row { align-items: center; gap: .75rem; }
.case-lifecycle-results .dt-layout-table { margin-top: .75rem; }
.case-lifecycle-results .dt-input, .case-lifecycle-results .dt-select { min-height: 2.25rem; border: 1px solid #ced4da; border-radius: .375rem; color: var(--egujhc-ink); }
.case-lifecycle-results .dt-input:focus, .case-lifecycle-results .dt-select:focus { border-color: var(--egujhc-accent-text); box-shadow: 0 0 0 .2rem rgb(77 70 201 / .14); outline: 0; }
.case-lifecycle-results .dt-paging-button { border-radius: .4rem !important; color: var(--egujhc-accent-text) !important; }
.case-lifecycle-results table.dataTable { min-width: 58rem; }
.case-lifecycle-results table.dataTable thead > tr > th { color: var(--egujhc-muted); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.case-lifecycle-results table.dataTable tbody > tr > td { color: var(--egujhc-ink); font-size: .88rem; vertical-align: middle; }
.case-lifecycle-results table.dataTable tbody > tr > td.dt-empty { padding: 2.25rem 1.25rem; color: var(--egujhc-muted); font-weight: 600; text-align: center; }
@media (max-width: 767.98px) {
    .case-lifecycle-results table.dataTable { min-width: 38rem; }
}
@media (max-width: 575.98px) {
    .case-lifecycle-results .dt-container { padding: .9rem .75rem 1rem; }
    .case-lifecycle-results .dt-layout-row { gap: .6rem; }
    .case-lifecycle-results table.dataTable tbody > tr > td.dt-empty { padding: 1.8rem 1rem; }
}
.egujhc-developer-tools-detected { overflow: hidden; }
.egujhc-developer-tools-blocker { position: fixed; z-index: 2147483647; inset: 0; display: grid; padding: 1.5rem; place-items: center; background: rgb(20 25 45 / .96); color: #fff; }
.egujhc-developer-tools-blocker:focus { outline: 3px solid #fff; outline-offset: -6px; }
.egujhc-developer-tools-blocker-card { width: min(100%, 34rem); padding: 2rem; border: 1px solid rgb(255 255 255 / .3); border-radius: 1rem; background: #20264a; box-shadow: 0 1.5rem 4rem rgb(0 0 0 / .35); text-align: center; }
.egujhc-developer-tools-blocker-card .bi { display: block; margin-bottom: .75rem; color: #ffd166; font-size: 2.5rem; }
.egujhc-developer-tools-blocker-card h1 { margin-bottom: .75rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.egujhc-developer-tools-blocker-card p { margin: 0; color: #eef0ff; }
.filing-worklist table.dataTable { min-width: 58rem; }
.filing-worklist > .table-responsive { overflow: visible; }
.filing-worklist .dt-layout-table { display: block; max-width: 100%; overflow-x: auto; }
.filing-worklist .dt-layout-table > .dt-layout-cell { min-width: 0; }
.filing-worklist td { overflow-wrap: anywhere; }
.filing-worklist td:nth-child(2), .filing-worklist td:nth-child(3) { min-width: 10rem; max-width: 22rem; white-space: normal; }
.filing-worklist .badge { white-space: normal; text-align: left; }
.filing-worklist-details { max-width: 24rem; white-space: normal; }
.filing-worklist-details summary { font-size: .75rem; color: var(--egujhc-accent-text); cursor: pointer; }
.filing-worklist .filing-worklist-action .btn { white-space: normal; }

/* My eCase Files: one bounded collection, not an expanding detail/list stack. */
.my-files-page [hidden] { display: none !important; }
.my-files-collection > .card-body { padding: 1.25rem; min-width: 0; }
.my-files-search { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; }
.my-files-search-field { flex: 1 1 24rem; min-width: 0; }
.my-files-search > small { flex-basis: 100%; }
.my-files-search .input-group-text { color: var(--egujhc-primary, #4d46c9); background: var(--egujhc-canvas); }
.my-files-tabs { margin-top: 1.25rem; gap: .25rem; }
.my-files-tabs .nav-link { font-weight: 600; }
.my-files-summary { padding: 1rem 0 .75rem; font-weight: 600; color: var(--egujhc-ink); }
.my-files-results { max-height: max(12rem, calc(100dvh - 32rem)); overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; border: 1px solid var(--egujhc-border); border-radius: .5rem; }
.my-files-results:focus-visible { outline: 2px solid #4d46c9; outline-offset: 2px; }
.my-files-table { width: 100%; table-layout: fixed; margin: 0; font-size: .875rem; }
.my-files-table th { position: sticky; top: 0; z-index: 1; background: var(--egujhc-canvas); color: #475569; font-size: .75rem; }
.my-files-table th:first-child { width: 27%; }
.my-files-table th:nth-child(2) { width: 24%; }
.my-files-table th:nth-child(3) { width: 11%; }
.my-files-table th:nth-child(4) { width: 16%; }
.my-files-table th:last-child { width: 22%; }
.my-files-table :is(th, td) { padding: .85rem .75rem; vertical-align: top; overflow-wrap: anywhere; }
.my-files-table tbody tr:last-child td { border-bottom: 0; }
.my-files-table tbody tr:hover > td { background: var(--egujhc-surface-soft); }
.my-files-cino { display: block; color: var(--egujhc-muted); font-size: .8rem; margin-top: .15rem; }
.my-files-access { display: inline-flex; align-items: baseline; gap: .35rem; padding: .25rem .5rem; border-radius: .35rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .75rem; }
.my-files-access.is-private { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.my-files-actions { display: flex; flex-wrap: wrap; align-items: start; gap: .5rem; }
.my-files-actions .btn { white-space: normal; text-align: left; }
.my-files-actions .advanced-case-details-file-action { margin: 0; padding: 0; border: 0; }
.my-files-matches { margin-top: .5rem; font-size: .75rem; color: #526078; }
.my-files-match { margin-bottom: .25rem; }
.my-files-match mark { background: var(--egujhc-danger-bg); color: var(--egujhc-ink); padding: 0 .05em; }
.my-files-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-top: 1rem; font-size: .8rem; color: var(--egujhc-muted); }
.my-files-empty { padding: 2rem 1rem; text-align: center; color: var(--egujhc-muted); }
.my-files-empty > i { display: block; font-size: 1.75rem; margin-bottom: .5rem; }
.my-files-empty p { margin-bottom: 0; }
.my-files-detail-toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.my-files-detail-toolbar .advanced-case-details-file-action { margin: 0; padding: 0; border: 0; }
@media (max-width: 767.98px) {
    .my-files-collection > .card-body { padding: .85rem; }
    .my-files-search-field { flex-basis: 100%; }
    .my-files-search > .btn { flex: 1; }
    .my-files-results { max-height: none; overflow: visible; border: 0; }
    .my-files-table, .my-files-table tbody { display: block; }
    .my-files-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .my-files-table tr { display: block; border: 1px solid var(--egujhc-border); border-radius: .5rem; margin-bottom: .75rem; padding: .6rem; }
    .my-files-table td { display: block; border: 0; padding: .3rem; }
    .my-files-table td::before { content: attr(data-label); display: block; color: var(--egujhc-muted); font-size: .7rem; font-weight: 600; margin-bottom: .15rem; }
    .my-files-pagination > div { width: 100%; justify-content: space-between; }
}
.filing-worklist .badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; }
.api-analytics-exchange-row { cursor: pointer; }
.api-analytics-exchange-row:focus-visible { outline: .2rem solid rgb(77 70 201 / .45); outline-offset: -.2rem; }
.api-analytics-exchange-row:hover > * { background: var(--egujhc-surface-soft); }
.application-log-row { cursor: pointer; }
.application-log-row:focus-visible { outline: .2rem solid rgb(77 70 201 / .45); outline-offset: -.2rem; }
.application-log-row:hover > * { background: var(--egujhc-surface-soft); }
.diagnostic-record-id { display: inline-block; max-width: 22rem; overflow-wrap: anywhere; font-size: .78rem; }
.application-log-reference-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .75rem; }
.application-log-reference-grid > div { min-width: 0; padding: .7rem; border: 1px solid var(--egujhc-border); border-radius: .5rem; background: var(--egujhc-surface-soft); overflow-wrap: anywhere; }
.application-log-stack { max-height: 34rem; overflow: auto; margin: 0; padding: .9rem; border-radius: .5rem; background: #102447; color: #f5f7fc; font-size: .78rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.api-analytics-attempt { border-color: var(--egujhc-border); }
.api-analytics-attempt + .api-analytics-attempt { margin-top: 1rem; }
.api-analytics-attempt-error { margin-top: 1rem; padding: .85rem; border-left: .2rem solid #f46e4b; border-radius: .35rem; background: var(--egujhc-surface-muted); }
.api-analytics-attempt-error h3 { margin-bottom: .75rem; color: var(--egujhc-ink); }
.api-analytics-payload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.api-analytics-payload { display: grid; gap: .65rem; min-width: 0; padding: .9rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface-soft); }
.api-analytics-payload pre { max-height: 26rem; overflow: auto; margin: 0; padding: .8rem; border-radius: .45rem; background: #102447; color: #f5f7fc; font-size: .78rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 767.98px) { .api-analytics-payload-grid { grid-template-columns: 1fr; } }
.filing-worklist-state { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.filing-worklist-state > span { display: grid; }
.filing-worklist-state small { color: var(--egujhc-muted); font-size: .66rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.filing-worklist-state strong { color: var(--egujhc-ink); font-size: .78rem; }
.filing-worklist-action { min-width: 11rem; white-space: nowrap; }
.filing-worklist-empty-stage { min-width: 8rem; }
.token-output { word-break: break-all; font-family: var(--cui-font-monospace); font-size: .82rem; }
.container-xl.filing-content { max-width: none; }
#main-content.filing-content { padding-top: 1rem !important; }
.filing-page { max-width: none; }
.filing-section-tag { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .7rem; border: 1px solid #d8d6fa; border-radius: 99rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .82rem; font-weight: 700; }
.filing-stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; padding: 0; margin: 0 0 1.5rem; list-style: none; }
.filing-stepper-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.filing-stepper li { min-width: 0; }
.filing-stepper-button { display: flex; width: 100%; align-items: center; gap: .7rem; min-width: 0; padding: .8rem; border: 1px solid var(--egujhc-border); border-radius: .85rem; background: var(--egujhc-surface); color: var(--egujhc-muted); font: inherit; text-align: left; transition: border-color .15s ease, box-shadow .15s ease, color .15s ease; }
.filing-stepper-button:hover { border-color: #c9c8f0; color: var(--egujhc-accent-text); }
.filing-stepper-button:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 2px; }
.filing-stepper-button > span:first-child { display: flex; flex: 0 0 auto; width: 1.85rem; height: 1.85rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--egujhc-surface-muted); font-size: .85rem; font-weight: 700; line-height: 1; }
.filing-stepper-button > span:first-child > .bi { display: block; flex: 0 0 1em; width: 1em; height: 1em; line-height: 1; }
.filing-stepper-button > span:first-child > .bi::before { display: block; line-height: 1; vertical-align: 0; }
.filing-stepper .filing-stepper-button > .stepper-step-indicator > .stepper-step-indicator-icon { display: none; }
.filing-stepper-button > span:last-child { min-width: 0; }
.filing-stepper strong, .filing-stepper small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filing-stepper strong { color: inherit; font-size: .84rem; }
.filing-stepper small { margin-top: .1rem; font-size: .72rem; }
.filing-stepper-button.is-active { border-color: #c9c8f0; background: linear-gradient(120deg, #f4f3ff, #fff); color: var(--egujhc-accent-text); }
.filing-stepper-button.is-active > span:first-child { background: var(--egujhc-indigo); color: #fff; }
.filing-stepper-button.is-complete { border-color: #c8e8d1; color: #25894a; }
.filing-stepper-button.is-complete > span:first-child { background: #25a84d; color: #fff; }
.filing-stepper-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#ai-scrutiny-stepper .filing-stepper { margin-bottom: .5rem; }
#ai-scrutiny-notice:empty { display: none; }

.pre-submission-cure-status { margin-bottom: 1rem; border-color: #d8ddf0; }
.pre-submission-cure-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .42fr); gap: 1rem; align-items: start; }
.defect-cure-page-editor-layout { grid-template-columns: minmax(0, 1fr); }
.pre-submission-cure-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.25rem, 1fr)); grid-auto-rows: max-content; align-content: start; gap: .75rem; }
.pre-submission-cure-page { display: grid; position: relative; min-width: 0; gap: .45rem; overflow: hidden; padding: .6rem; border: 1px solid #dfe4f0; border-radius: .85rem; background: var(--egujhc-surface); color: var(--egujhc-ink); text-align: left; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.pre-submission-cure-page:hover { border-color: #a6a3ed; box-shadow: 0 .35rem .9rem rgb(22 36 66 / .08); transform: translateY(-1px); }
.pre-submission-cure-page:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 2px; }
.pre-submission-cure-page.is-selected { border-color: var(--egujhc-accent-text); box-shadow: inset 0 0 0 1px var(--egujhc-indigo), 0 .4rem 1rem rgb(77 70 201 / .12); }
.pre-submission-cure-thumbnail-frame { display: grid; min-width: 0; height: 11rem; place-items: center; overflow: hidden; border: 1px solid #e5e8f2; background: var(--egujhc-surface-soft); }
.pre-submission-cure-thumbnail-frame canvas { display: block; box-sizing: border-box; width: auto !important; max-width: 100%; height: auto !important; max-height: 100%; margin: 0; border: 0; background: var(--egujhc-surface); }
.pre-submission-cure-page > canvas { display: block; width: 100%; max-width: 9rem; height: auto; margin: 0 auto; border: 1px solid #e5e8f2; background: var(--egujhc-surface); }
.pre-submission-cure-page > span:last-child { overflow: hidden; color: var(--egujhc-muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.pre-submission-cure-page-number { position: absolute; top: .45rem; left: .45rem; display: grid; width: 1.65rem; height: 1.65rem; place-items: center; border-radius: 50%; background: var(--egujhc-indigo); color: #fff; font-size: .72rem; font-weight: 700; }
.pre-submission-cure-inspector { position: sticky; top: 1rem; border-color: #d8ddf0; }
.pre-submission-cure-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.manual-index-range { display: grid; grid-template-columns: minmax(4.75rem, 1fr) auto minmax(4.75rem, 1fr); align-items: center; gap: .35rem; max-width: 15rem; }
.manual-failure-index-page .table th { white-space: nowrap; }
.manual-failure-index-page > .filing-final-submit-row { flex-wrap: wrap; margin-top: 1.75rem; }
.manual-failure-index-page > .filing-final-submit-row .btn { max-width: 100%; white-space: normal; }
.defect-cure-page-editor-top-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.defect-cure-page-editor-top-row .pre-submission-cure-inspector { position: static; min-width: 0; flex: 1; }
.defect-cure-page-selected-summary { min-width: 0; }
.defect-cure-page-upload-tools { display: grid; max-width: 42rem; margin-top: .85rem; }
.defect-cure-page-gallery-heading { flex: 0 0 auto; margin-bottom: .85rem; }
@media (max-width: 991px) { .pre-submission-cure-layout { grid-template-columns: 1fr; } .pre-submission-cure-inspector { position: static; } }
.filing-case-name { color: var(--egujhc-accent-text); }
.filing-card { border: 1px solid var(--egujhc-border); }
.linked-main-case-selected { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; padding: .8rem 1rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface-soft); }
.linked-main-case-selected > span { flex-basis: 100%; }
.linked-main-case-selected > strong { color: var(--egujhc-ink); }
.existing-ia-picker { flex: 1 1 30rem; min-width: 0; max-width: 100%; }
.existing-ia-selected-description,
.existing-ia-picker .form-multi-select-option { white-space: normal; overflow-wrap: anywhere; }
.linked-main-case-fields { padding: 1rem; border: 1px solid #dcd9ff; border-radius: .65rem; background: var(--egujhc-surface-muted); }
.linked-main-case-fields legend { float: none; width: auto; padding: 0; }
.linked-main-case-result { padding: 1rem; border: 1px solid #cbd5ff; border-radius: .65rem; background: var(--egujhc-surface); }
.linked-main-case-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.2rem; }
.linked-main-case-result-grid div { min-width: 0; }
.linked-main-case-result-grid dt { color: var(--egujhc-muted); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.linked-main-case-result-grid dd { margin: .2rem 0 0; overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .linked-main-case-result-grid { grid-template-columns: 1fr; } }
.form-multi-select { width: 100%; min-width: 0; }
.form-multi-select.form-select { padding: 0; background-image: none; }
.form-multi-select-input-group { min-height: calc(2.25rem + 2px); border-color: #ced4da; border-radius: .375rem; }
.form-multi-select.show .form-multi-select-input-group,
.form-multi-select-input-group:focus-within { border-color: var(--egujhc-accent-text); box-shadow: 0 0 0 .2rem rgb(77 70 201 / .14); }
.form-multi-select.disabled .form-multi-select-input-group { background: var(--egujhc-surface-muted); color: var(--egujhc-muted); cursor: not-allowed; }
.form-multi-select.is-invalid .form-multi-select-input-group { border-color: #dc3545; box-shadow: 0 0 0 .2rem rgb(220 53 69 / .14); }
.form-multi-select-dropdown { border-color: var(--egujhc-border); box-shadow: 0 .75rem 1.5rem rgb(15 23 42 / .14); z-index: 1060; }
.form-multi-select-search { min-width: 3rem; }
.form-multi-select-option:focus,
.form-multi-select-option:hover { background-color: var(--egujhc-accent-text); color: #fff; outline: 0; }
.form-multi-select-option.egujhc-search-highlight { background-color: var(--egujhc-accent-text); color: #fff; }
.egujhc-pro-source-control,
.egujhc-pro-source-surface { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.egujhc-pro-date-field,
.egujhc-pro-date-range-field { width: 100%; min-width: 0; }
.egujhc-pro-date-portal { display: contents; }
.egujhc-pro-date-portal > .date-picker-dropdown { --cui-date-picker-zindex: 1060; }
.egujhc-pro-date-range-field { grid-column: 1 / -1; padding: 0; margin: 0; border: 0; }
.egujhc-pro-date-range-labels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-bottom: .25rem; color: var(--cui-body-color); font-size: .875rem; font-weight: 600; }
.egujhc-pro-date-range-labels span:last-child { text-align: left; }
.egujhc-pro-date-field.is-invalid .date-picker-input-group,
.egujhc-pro-date-range-field.is-invalid .date-picker-input-group { border-color: #dc3545; box-shadow: 0 0 0 .2rem rgb(220 53 69 / .14); }
.egujhc-pro-stepper { width: 100%; }
.filing-stepper-button.stepper-step-button.active { border-color: #c9c8f0; background: linear-gradient(120deg, #f4f3ff, #fff); color: var(--egujhc-accent-text); }
.filing-stepper-button.stepper-step-button.complete { border-color: #c8e8d1; color: #25894a; }
.oj-stepper > .egujhc-pro-stepper-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.oj-stepper .stepper-step { min-width: 0; }
.oj-stepper .oj-step { width: 100%; height: 100%; }
.advance-copy-wizard-steps .stepper-step-button { display: flex; width: 100%; align-items: center; gap: .4rem; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-align: left; }
.advance-copy-wizard-steps .stepper-step-indicator { display: grid; width: 1.35rem; height: 1.35rem; flex: 0 0 auto; place-items: center; border: 1px solid #cbd3e3; border-radius: 50%; background: var(--egujhc-surface); color: var(--egujhc-muted); }
.egujhc-validation-summary, .egujhc-error-notice { scroll-margin-top: 5rem; }
.egujhc-error-notice:focus { outline: .2rem solid rgb(77 70 201 / .45); outline-offset: .15rem; }
.egujhc-validation-summary-link { display: inline; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: .15em; }
.egujhc-validation-summary-link:hover, .egujhc-validation-summary-link:focus-visible { color: #701f2a; }
.egujhc-field-error { margin-top: .35rem; }
.egujhc-invalid-group.file-dropzone, .egujhc-invalid-group.registry-human-decision { border-color: #dc3545; box-shadow: 0 0 0 .2rem rgb(220 53 69 / .12); }
.egujhc-invalid-group.registry-human-decision { border-radius: .45rem; }
.filing-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.filing-card-heading > .bi { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; border-radius: .8rem .8rem .8rem .2rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: 1.25rem; }
.sick-leave-note-form { display: grid; width: 100%; gap: 1rem; max-width: none; }
.sick-leave-note-advocate, .sick-leave-note-type-fieldset, .sick-leave-note-date-section { margin: 0; padding: 1rem; border: 1px solid var(--egujhc-border); border-radius: .7rem; background: var(--egujhc-surface-soft); }
.sick-leave-note-type-fieldset { min-width: 0; }
.sick-leave-note-type-fieldset > legend { float: none; width: auto; margin: 0 0 .55rem; padding: 0; }
.sick-leave-note-type-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.sick-leave-note-type-choice { display: flex; align-items: center; gap: .7rem; min-width: 0; padding: .75rem; border: 1px solid var(--egujhc-border); border-radius: .6rem; background: var(--egujhc-surface); cursor: pointer; }
.sick-leave-note-type-choice:hover, .sick-leave-note-type-choice:focus-within, .sick-leave-note-type-choice.is-selected { border-color: #7067e8; box-shadow: 0 0 0 .18rem rgb(91 82 215 / .1); }
.sick-leave-note-type-choice .service-card-icon { flex: 0 0 auto; width: 2.45rem; height: 2.45rem; font-size: 1.15rem; }
.sick-leave-note-type-choice strong, .sick-leave-note-type-choice small { display: block; }
.sick-leave-note-type-choice small { margin-top: .12rem; color: var(--egujhc-muted); line-height: 1.3; }
.sick-leave-note-date-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, .82fr); gap: 1rem; align-items: end; }
.sick-leave-note-date-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.sick-leave-note-eligibility { display: flex; grid-column: 1 / -1; align-items: flex-start; gap: .42rem; margin: 0; padding: .55rem .65rem; border-radius: .45rem; background: var(--egujhc-success-bg); color: var(--egujhc-success-text); font-size: .82rem; }
.sick-leave-note-eligibility.is-unavailable { background: var(--egujhc-surface-muted); color: var(--egujhc-muted); }
.required-label, .optional-label { display: inline-flex; margin-left: .35rem; border-radius: .3rem; padding: .12rem .32rem; font-size: .68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; vertical-align: middle; }
.required-label { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.optional-label { background: var(--egujhc-surface-muted); color: var(--egujhc-muted); }
.document-upload-stack { display: grid; gap: .8rem; }
.document-upload-card { height: auto; padding: .85rem 1rem; border: 1px solid var(--egujhc-border); border-radius: .75rem; background: var(--egujhc-surface-soft); }
.document-upload-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.document-upload-heading .h5 { font-size: 1rem; }
.document-upload-icon { color: var(--egujhc-accent-text); font-size: 1.2rem; }
.file-dropzone { display: grid; min-width: 0; min-height: 14rem; place-content: center; justify-items: center; gap: .65rem; padding: 1.75rem 1.25rem; overflow-wrap: anywhere; border: 1.5px dashed #bfc9de; border-radius: .7rem; background: var(--egujhc-surface); color: var(--egujhc-ink); text-align: center; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.file-dropzone > .bi { margin-bottom: .45rem; color: var(--egujhc-sky); font-size: 1.7rem; }
.file-dropzone.is-dragging { border-color: var(--egujhc-accent-text); background: var(--egujhc-accent-bg); box-shadow: 0 0 0 .2rem rgb(77 70 201 / .12); }
.file-dropzone.compact { display: flex; min-height: 14rem; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; padding: 1.75rem 1.25rem; }
.file-dropzone.compact > .bi { margin: 0; font-size: 1.7rem; }
.file-dropzone.compact .btn { flex: 0 0 auto; margin-left: 0; }
.document-upload-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem); align-items: stretch; gap: .8rem; margin-top: .75rem; }
.document-upload-interface { min-width: 0; }
.document-preview-panel { display: flex; min-width: 0; min-height: 13.25rem; flex-direction: column; overflow: hidden; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface-soft); }
.document-preview-heading { display: flex; align-items: center; gap: .4rem; padding: .45rem .6rem; border-bottom: 1px solid var(--egujhc-border); background: var(--egujhc-surface); color: var(--egujhc-muted); font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.document-preview-heading .bi { color: var(--egujhc-accent-text); font-size: .95rem; }
.document-preview-gallery { display: grid; flex: 1; align-content: start; gap: .55rem; max-height: 19rem; overflow: auto; padding: .55rem; }
.document-preview-item { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: .4rem; margin: 0; padding: .4rem; border: 1px solid var(--egujhc-border); border-radius: .5rem; background: var(--egujhc-surface); }
.document-preview-item figcaption { width: 100%; overflow: hidden; color: var(--egujhc-muted); font-size: .72rem; line-height: 1.25; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.document-preview-empty { display: grid; flex: 1; place-content: center; justify-items: center; gap: .45rem; min-height: 10rem; padding: 1rem; color: var(--egujhc-muted); font-size: .78rem; text-align: center; }
.document-preview-empty .bi { color: #9c98ec; font-size: 1.55rem; }
.annexure-upload-controls { display: grid; grid-template-columns: minmax(11rem, .35fr) minmax(0, 1fr) auto; align-items: end; gap: .75rem; }
.selected-file-list { display: grid; gap: .4rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.selected-file-list li { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .42rem .55rem; border-radius: .45rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .8rem; }
.selected-file-list li.selected-file-list-item { padding: .4rem .55rem; }
.selected-file-details { display: flex; align-items: center; min-width: 0; gap: .55rem; }
.selected-file-name { display: inline-flex; align-items: center; min-width: 0; gap: .4rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-file-preview { display: grid; max-width: 100%; place-items: center; border: 1px solid #cfd8e8; border-radius: .3rem; background: var(--egujhc-surface); box-shadow: 0 .1rem .25rem rgb(24 35 58 / .08); }
.document-file-preview.is-medium { width: 100%; height: auto; }
.document-file-preview.is-medium.is-image { object-fit: contain; }
.document-file-preview.is-medium.is-unavailable { height: 12rem; color: var(--egujhc-muted); }
.document-file-preview.is-medium.is-unavailable .bi { font-size: 1.5rem; }
.document-filing-wizard .filing-stepper { margin-bottom: 1.25rem; }
.document-filing-upload-card { padding: 1rem; }
.document-filing-file-name { display: inline-flex; align-items: flex-start; gap: .55rem; min-width: 0; font-weight: 600; }
.document-filing-file-name > .bi { flex: 0 0 auto; margin-top: .15rem; color: var(--egujhc-accent-text); }
.document-filing-file-name > span { min-width: 0; overflow-wrap: anywhere; }
.document-filing-type-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .5rem; border-radius: 99rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .76rem; font-weight: 700; }
.document-filing-case-summary dt { color: var(--egujhc-muted); font-weight: 600; }
.document-filing-case-summary dd { overflow-wrap: anywhere; }
.document-filing-review-submit { padding: .75rem 0 1rem; border-top: 0; border-bottom: 1px solid var(--egujhc-border); }
.document-filing-review-grid .card { min-width: 0; }
.document-filing-review-grid .list-group-item:last-child, .document-filing-document-list .list-group-item:last-child { border-bottom: 0; }
.selected-file-list li .bi-file-earmark-check { color: #1c9d52; }
.selected-file-list .btn { padding: .1rem .2rem; color: var(--egujhc-muted); }
.selected-file-list .btn:hover, .selected-file-list .btn:focus-visible { color: #b3261e; }
.file-list-empty { justify-content: flex-start !important; color: var(--egujhc-muted) !important; font-style: italic; }
.annexure-upload-card { height: auto; }
.annexure-badge { flex: 0 0 auto; padding: .1rem .33rem; border-radius: .25rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .68rem; font-weight: 700; }
.declaration-list { display: grid; gap: .8rem; }
.declaration-item { display: flex; align-items: flex-start; gap: .7rem; padding: .85rem 1rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface-soft); color: var(--egujhc-ink); cursor: pointer; }
.declaration-item .form-check-input { flex: 0 0 auto; margin-top: .2rem; }
.filing-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--egujhc-border); }
.scrutiny-placeholder { max-width: 48rem; margin-inline: auto; text-align: center; }
.scrutiny-placeholder > p { max-width: 38rem; }
.scrutiny-placeholder-icon { display: grid; width: 4.5rem; height: 4.5rem; place-items: center; margin: 1.5rem auto 1rem; border-radius: 1.2rem 1.2rem 1.2rem .35rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: 2rem; }
.scrutiny-placeholder-note { display: flex; align-items: flex-start; gap: .6rem; padding: .85rem 1rem; border-radius: .65rem; background: var(--egujhc-canvas); color: var(--egujhc-muted); font-size: .875rem; text-align: left; }
.scrutiny-placeholder-note .bi { color: var(--egujhc-sky); }
.filing-review-layout { display: grid; grid-template-columns: minmax(24rem, 60fr) minmax(20rem, 40fr); align-items: start; gap: 1rem; min-height: 42rem; }
.filing-review-metadata { align-self: start; padding: 1.35rem; border: 1px solid var(--egujhc-border); border-radius: .85rem; background: var(--egujhc-surface); box-shadow: 0 .35rem .9rem rgb(24 35 58 / .06); }
.filing-metadata-list { display: grid; gap: .8rem; margin: 1.25rem 0 0; }
.filing-metadata-list div { padding-bottom: .8rem; border-bottom: 1px solid #edf0f6; }
.filing-metadata-list div:last-child { border-bottom: 0; }
.filing-metadata-list dt { margin-bottom: .16rem; color: var(--egujhc-muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.filing-metadata-list dd { margin: 0; color: var(--egujhc-ink); font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.filing-package-summary-panel { display: flex; height: clamp(42rem, 78vh, 64rem); flex-direction: column; overflow: hidden; }
.filing-final-submit-declarations-panel { display: flex; flex-direction: column; }
.filing-final-submit-declarations-panel .declaration-list { gap: .55rem; }
.filing-final-submit-declarations-panel .declaration-item { padding: .7rem .75rem; font-size: .875rem; }
.filing-final-submit-law-officer-declaration { margin-top: 1rem; padding: .9rem 1rem; border: 1px solid #9bcfe1; border-radius: .7rem; background: linear-gradient(135deg, #edf9fc 0%, #f2f2ff 100%); box-shadow: inset .22rem 0 0 var(--egujhc-sky); }
.filing-final-submit-law-officer-declaration h3 { color: var(--egujhc-heading); }
.filing-final-submit-workspace-panel { display: flex; flex-direction: column; gap: 1rem; }
.filing-final-submit-workspace-panel > .registry-review-tabs { flex: 0 0 auto; min-height: 0; }
.filing-final-submit-workspace-panel .registry-review-tabs > .tab-content { padding-top: .85rem; }
.filing-final-submit-workspace-panel .registration-document-index { padding: .75rem 0 0; }
.filing-final-submit-workspace-panel .registration-document-index > .d-flex:first-child { margin-bottom: .75rem !important; }
.filing-final-submit-workspace-panel .registration-document-index > .small { margin-bottom: .75rem; }
.filing-final-submit-workspace-panel .document-index-verify-action { max-width: 100%; white-space: normal; text-align: left; }
.filing-document-index-page-numbering-note { margin: .75rem 0 0; color: var(--egujhc-ink); font-size: .82rem; }
.filing-final-submit-declaration-stack { display: flex; min-height: 0; flex: 0 0 auto; flex-direction: column; gap: .9rem; padding: 1rem .35rem 1rem 0; border-top: 1px solid #e7eaf1; }
.filing-final-submit-declaration-stack .filing-final-submit-law-officer-declaration { margin-top: 0; }
.filing-final-submit-declaration-stack .filing-final-submit-declarations-panel { padding-top: 0; }
.filing-final-submit-workspace-panel .filing-final-submit-office-sharing { margin-top: 0; padding: .85rem 0 0; }
.filing-office-sharing-options { display: flex; align-items: flex-end; gap: .9rem; padding: .9rem; border: 1px solid #dce1ef; border-radius: .7rem; background: linear-gradient(135deg, #fbfcff 0%, #f6f6ff 100%); }
.filing-office-member-option { min-width: 0; flex: 1 1 22rem; }
.filing-office-member-option .form-label { margin-bottom: .4rem; color: var(--egujhc-heading); font-size: .78rem; font-weight: 700; }
.filing-office-all-members-option { display: flex; flex: 0 1 18rem; align-items: center; min-height: 2.55rem; padding: .6rem .7rem; border: 1px solid #e0e2f0; border-radius: .55rem; background: var(--egujhc-surface); }
.filing-office-all-members-option .form-check-label { color: var(--egujhc-ink); font-size: .84rem; font-weight: 600; }
.filing-share-unavailable { padding: 1rem; border: 1px solid #e7eaf1; border-radius: .65rem; background: var(--egujhc-surface-soft); }
.filing-context-list { flex: 0 0 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: .25rem 0 .85rem; }
.filing-context-list div { padding: .65rem; border: 1px solid #edf0f6; border-radius: .55rem; background: var(--egujhc-surface-soft); }
.filing-final-submit-page { display: grid; height: 100%; min-height: 0; grid-template-rows: auto auto auto minmax(0, 1fr); overflow: hidden; }
.filing-final-submit-page { grid-template-columns: minmax(0, 1fr); }
.filing-final-submit-page > * { min-width: 0; }
.filing-final-submit-heading-actions { margin-left: auto; max-width: 100%; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; min-width: 0; }
.filing-final-submit-heading-actions .filing-final-submit-row { min-width: 0; max-width: 100%; margin: 0; flex-wrap: wrap; gap: .75rem; }
.filing-final-submit-heading-actions .filing-final-submit-row .btn { max-width: 100%; white-space: normal; }

.filing-final-submit-page .filing-review-layout { height: 100%; min-height: 0; align-items: stretch; overflow: hidden; }
.filing-final-submit-page .filing-review-layout > * { min-height: 0; }
.filing-final-submit-page .filing-final-submit-workspace-panel { height: 100%; min-height: 0; overflow-y: scroll; overscroll-behavior: contain; padding-right: .35rem; scrollbar-color: #7065d6 #edf0f6; scrollbar-gutter: stable; scrollbar-width: thin; }
.filing-final-submit-page .filing-final-submit-workspace-panel::-webkit-scrollbar { width: .75rem; }
.filing-final-submit-page .filing-final-submit-workspace-panel::-webkit-scrollbar-track { border-radius: 1rem; background: var(--egujhc-surface-muted); }
.filing-final-submit-page .filing-final-submit-workspace-panel::-webkit-scrollbar-thumb { border: .18rem solid #edf0f6; border-radius: 1rem; background: #7065d6; }
.filing-final-submit-page .main-case-pdf-viewer { height: 100%; min-height: 0; }
.extracted-metadata-scroll { min-height: 0; flex: 1; overflow: auto; padding-right: .15rem; }
.extracted-metadata-entity + .extracted-metadata-entity { margin-top: 1.2rem; }
.extracted-metadata-entity > h3 { position: sticky; z-index: 1; top: 0; margin: 0; padding: .65rem .15rem .45rem; background: var(--egujhc-surface); color: var(--egujhc-heading); }
.extracted-metadata-field { margin-bottom: .5rem; border: 1px solid var(--egujhc-border); border-radius: .55rem; background: var(--egujhc-surface-soft); }
.extracted-metadata-field summary { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; padding: .7rem; cursor: pointer; list-style: none; }
.extracted-metadata-field summary::-webkit-details-marker { display: none; }
.extracted-metadata-field summary > span:first-child { display: grid; min-width: 0; gap: .18rem; }
.extracted-metadata-field summary strong { color: var(--egujhc-ink); font-size: .78rem; }
.extracted-metadata-field summary small { overflow-wrap: anywhere; color: #40516a; font-size: .75rem; font-weight: 600; }
.extracted-metadata-status { flex: 0 0 auto; padding: .24rem .42rem; border-radius: 999px; font-size: .63rem; font-weight: 700; white-space: nowrap; }
.extracted-metadata-status.is-extracted { background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.extracted-metadata-status.is-not-found { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.extracted-metadata-status.is-needs-review { background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.extracted-metadata-detail { padding: 0 .7rem .75rem; border-top: 1px solid #edf0f6; }
.extracted-metadata-detail p { margin: .65rem 0 .35rem; color: var(--egujhc-muted); font-size: .76rem; }
.extracted-metadata-empty { display: grid; place-items: center; gap: .65rem; padding: 2rem 1rem; border: 1px dashed #ccd3e2; border-radius: .65rem; color: var(--egujhc-muted); font-size: .8rem; text-align: center; }
.extracted-metadata-empty .bi { color: var(--egujhc-accent-text); font-size: 1.5rem; }
.main-case-pdf-workspace { display: flex; flex: 1; min-width: 0; min-height: 0; overflow: hidden; }
.main-case-index-panel { display: flex; flex: 0 0 auto; width: 18rem; min-width: 0; height: 100%; flex-direction: column; overflow: hidden; border-right: 1px solid var(--egujhc-border); background: var(--egujhc-surface); transition: width .18s ease; }
.main-case-index-panel.is-collapsed { width: 3.25rem; }
.main-case-index-panel:has(.case-navigation-rail) { overflow-y: auto; overscroll-behavior: contain; }
.case-navigation-rail { flex: 0 0 auto; min-height: 3.25rem; max-height: 55%; overflow-y: auto; overscroll-behavior: contain; }
.case-order-sheet { min-height: 0; border-bottom: 1px solid var(--egujhc-border); }
.case-navigation-file { display: flex; flex-direction: column; align-items: flex-start; width: 100%; overflow-wrap: anywhere; }
.case-navigation-file:disabled { opacity: 1; color: var(--egujhc-muted); border-color: var(--egujhc-border); }
.case-order-sheet > summary { display: flex; align-items: center; gap: .45rem; min-height: 3.25rem; padding: .7rem .8rem; cursor: pointer; color: var(--egujhc-ink); font-weight: 700; list-style: none; }
.case-order-sheet > summary .bi { color: var(--egujhc-accent-text); }
.case-order-sheet-chevron { margin-left: auto; }
.case-order-sheet[open] > summary .case-order-sheet-chevron { transform: rotate(180deg); }
.case-order-sheet summary:focus-visible { outline: 2px solid var(--egujhc-indigo); outline-offset: -3px; border-radius: .3rem; }
.case-order-sheet summary::-webkit-details-marker { display: none; }
.case-order-sheet-list { min-height: 0; padding: .25rem .6rem .65rem; }
.case-order-sheet:not([open]) > .case-order-sheet-list, .main-case-index-panel.is-collapsed .case-order-sheet-list { display: none; }
.main-case-index-panel.is-collapsed .case-order-sheet > summary { justify-content: center; padding-inline: 0; }
.main-case-index-panel.is-collapsed .case-order-sheet-label, .main-case-index-panel.is-collapsed .case-order-sheet-chevron { display: none; }
.case-order-sheet-date { border: 1px solid var(--egujhc-border); border-radius: .4rem; margin-top: .35rem; overflow-wrap: anywhere; }
.case-order-sheet-date > summary { display: grid; gap: .15rem; padding: .55rem; cursor: pointer; color: var(--egujhc-accent-text); font-size: .78rem; font-weight: 700; list-style: none; }
.case-order-sheet-date > summary small { font-weight: 400; color: var(--egujhc-muted); }
.case-order-sheet-date h3 { font-size: .72rem; margin: .4rem .55rem; color: var(--egujhc-muted); }
.case-order-sheet-record { padding: .5rem; border-top: 1px solid #edf0f6; font-size: .75rem; }
.case-order-sheet-record dl { margin: 0 0 .4rem; }
.case-order-sheet-record dt { color: var(--egujhc-muted); font-size: .67rem; font-weight: 500; }
.case-order-sheet-record dd { margin-bottom: .25rem; }
.case-order-sheet-record .btn { white-space: normal; text-align: left; }
.main-case-index-heading { flex: 0 0 auto; margin: 0; border-bottom: 1px solid #edf0f6; font-size: 1rem; }
.main-case-index-toggle { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; min-height: 3.25rem; padding: .7rem .8rem; border: 0; background: var(--egujhc-surface); color: var(--egujhc-ink); font: inherit; font-weight: 700; text-align: left; }
.main-case-index-toggle span { display: inline-flex; align-items: center; gap: .45rem; }
.main-case-index-toggle .bi { color: var(--egujhc-accent-text); }
.main-case-index-toggle:focus-visible { border-radius: .3rem; outline: 3px solid rgb(77 70 201 / .35); outline-offset: 2px; }
.main-case-index-panel.is-collapsed .main-case-index-toggle { justify-content: center; padding-inline: 0; }
.main-case-index-panel.is-collapsed .main-case-index-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.main-case-index-rail-actions { display: grid; gap: .35rem; padding: .45rem; border-bottom: 1px solid #edf0f6; }
.judge-listing-calendar-rail-control { display: inline-grid; width: 100%; min-height: 2.2rem; place-items: center; padding: .18rem; border-color: #d8d5ff; color: var(--egujhc-accent-text); background: #f4f3ff; }
.judge-listing-calendar-rail-control:hover { border-color: var(--egujhc-accent-text); color: var(--egujhc-accent-text); background: var(--egujhc-accent-bg); }
.judge-listing-calendar-rail-control:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 1px; }
.main-case-index-panel.is-collapsed .main-case-index-rail-actions { padding: .4rem .45rem; }
.main-case-document-index { display: grid; width: 100%; min-height: 0; flex: 1; align-content: start; gap: .35rem; overflow: auto; padding: .65rem .75rem .85rem; }
.main-case-index-item { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .25rem .5rem; width: 100%; padding: .45rem .5rem; border: 1px solid var(--egujhc-border); border-radius: .45rem; background: var(--egujhc-surface-soft); color: var(--egujhc-ink); font: inherit; text-align: left; }
.main-case-index-item:hover { border-color: #c9c8f0; color: var(--egujhc-accent-text); }
.main-case-index-item.is-active { border-color: #bcb8ff; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); box-shadow: inset .2rem 0 0 var(--egujhc-indigo); }
.main-case-index-item:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 2px; }
.main-case-index-item span { flex: 1 1 8rem; min-width: 0; font-size: .78rem; font-weight: 700; }
.main-case-index-item small { flex: 1 1 100%; min-width: 0; color: var(--egujhc-muted); font-size: .68rem; line-height: 1.35; overflow-wrap: anywhere; text-align: left; }
.main-case-index-entry { display: grid; gap: .3rem; }
.main-case-index-entries { display: grid; align-content: start; gap: .35rem; min-width: 0; }
.main-case-index-entry[hidden], .main-case-index-empty[hidden] { display: none; }
.main-case-index-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.5rem), 1fr)); gap: .25rem; align-items: stretch; padding-bottom: .4rem; }
.main-case-index-tabs .nav-link { display: flex; align-items: center; justify-content: space-between; gap: .25rem; width: 100%; min-height: 2.75rem; padding: .4rem; border-radius: .35rem; font-size: .72rem; line-height: 1.25; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.main-case-index-tabs .nav-link.active { color: #fff; background: var(--egujhc-indigo); border-color: var(--egujhc-accent-text); }
.main-case-index-tabs .nav-link:focus-visible, .main-case-index-entries:focus-visible { outline: 2px solid var(--egujhc-indigo); outline-offset: 1px; }
.main-case-index-count { flex: 0 0 auto; font-weight: 700; }
.main-case-index-entry[data-filing-side="PETITIONER"] { --index-side-colour: #4d46c9; }
.main-case-index-entry[data-filing-side="RESPONDENT"] { --index-side-colour: #f46e4b; }
.main-case-index-entry[data-filing-side="OTHER"] { --index-side-colour: #64718a; }
.main-case-index-entry[data-filing-side] .main-case-index-item { border-inline-start: .2rem solid var(--index-side-colour); }
.main-case-index-entry .main-case-index-category { display: flex; align-items: center; gap: .35rem; color: var(--egujhc-ink); }
.main-case-index-category::before { content: ''; width: .45rem; height: .45rem; flex: 0 0 auto; border-radius: 50%; background: var(--index-side-colour); }
.main-case-pdf-viewer { display: flex; min-width: 0; height: clamp(var(--main-case-pdf-a4-height), 78vh, 64rem); flex-direction: column; overflow: hidden; border: 1px solid var(--egujhc-border); border-radius: .85rem; background: var(--egujhc-surface-muted); box-shadow: 0 .35rem .9rem rgb(24 35 58 / .08); }
.main-case-pdf-viewer:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 2px; }
.judge-case-fullscreen-toolbar-slot { display: none; min-width: 0; }
.judge-case-fullscreen-toolbar-slot[hidden] { display: none !important; }
.main-case-pdf-toolbar { position: relative; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: .32rem; overflow: visible; padding: .32rem .42rem; border-bottom: 1px solid var(--egujhc-border); background: var(--egujhc-surface-soft); }
.main-case-pdf-toolbar .btn { display: inline-grid; min-width: 1.75rem; min-height: 1.75rem; padding: .18rem .3rem; place-items: center; font-size: .78rem; }
.main-case-pdf-toolbar-group { display: inline-flex; min-height: 2.05rem; align-items: center; gap: .05rem; padding: .12rem; border: 1px solid var(--egujhc-border); border-radius: .55rem; background: var(--egujhc-surface); box-shadow: 0 .08rem .18rem rgb(24 35 58 / .06); }
.main-case-pdf-toolbar-group > .btn, .main-case-pdf-toolbar-group .main-case-pdf-annotation-tool-menu > .btn { min-width: 1.7rem; min-height: 1.7rem; padding: .1rem; border: 0; border-radius: .36rem; color: var(--egujhc-ink); background: transparent; }
.main-case-pdf-toolbar-group > .btn:hover, .main-case-pdf-toolbar-group .main-case-pdf-annotation-tool-menu > .btn:hover { color: var(--egujhc-accent-text); background: var(--egujhc-accent-bg); }
.main-case-pdf-toolbar-group > .btn:focus-visible, .main-case-pdf-toolbar-group .main-case-pdf-annotation-tool-menu > .btn:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 1px; }
.main-case-pdf-toolbar-group > .btn[aria-pressed="true"], .main-case-pdf-toolbar-group .main-case-pdf-annotation-tool-menu > .btn[aria-pressed="true"] { color: var(--egujhc-accent-text); background: #e5e5ff; box-shadow: inset 0 0 0 1px #bcb8ff; }
.main-case-pdf-toolbar-group-search { position: relative; }
.main-case-pdf-search-panel { display: inline-flex; min-width: 0; align-items: center; gap: .12rem; }
.main-case-pdf-search-panel[hidden] { display: none; }
.main-case-pdf-search-panel > .form-control { width: clamp(8rem, 14vw, 13rem); min-height: 1.7rem; padding: .12rem .38rem; border-color: #cbd3e2; font-size: .72rem; }
.main-case-pdf-search-panel > .btn { min-width: 1.7rem; min-height: 1.7rem; padding: .1rem; border: 0; border-radius: .36rem; color: var(--egujhc-ink); background: transparent; }
.main-case-pdf-search-panel > .btn:hover { color: var(--egujhc-accent-text); background: var(--egujhc-accent-bg); }
.main-case-pdf-search-panel > .btn:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 1px; }
.main-case-pdf-search-status { min-width: 4.75rem; padding-inline: .22rem; color: var(--egujhc-muted); font-size: .66rem; font-weight: 750; text-align: center; white-space: nowrap; }
.main-case-pdf-search-warning { max-width: 12rem; padding-inline: .25rem; color: #7c4a03; font-size: .64rem; font-weight: 700; line-height: 1.18; }
.main-case-pdf-search-warning[hidden] { display: none; }
.main-case-pdf-search-results { position: absolute; z-index: 20; top: calc(100% + .42rem); right: 0; display: grid; width: min(24rem, calc(100vw - 2rem)); max-height: min(24rem, 62vh); gap: .18rem; overflow: auto; padding: .38rem; border: 1px solid #b9c6dc; border-radius: .5rem; background: var(--egujhc-surface); box-shadow: 0 .5rem 1.2rem rgb(16 36 71 / .24); }
.main-case-pdf-search-results[hidden] { display: none; }
.main-case-pdf-search-results-summary, .main-case-pdf-search-results-empty { padding: .25rem .35rem; color: var(--egujhc-muted); font-size: .67rem; font-weight: 700; }
.main-case-pdf-search-result { display: grid; gap: .1rem; width: 100%; padding: .35rem .4rem; border: 1px solid transparent; border-radius: .35rem; color: var(--egujhc-ink); background: var(--egujhc-surface-soft); font: inherit; text-align: left; }
.main-case-pdf-search-result:hover { border-color: #cbc9f2; background: var(--egujhc-accent-bg); }
.main-case-pdf-search-result[aria-current="true"] { border-color: #aaa5f0; background: var(--egujhc-accent-bg); box-shadow: inset .18rem 0 0 var(--egujhc-indigo); }
.main-case-pdf-search-result:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 1px; }
.main-case-pdf-search-result strong { color: var(--egujhc-accent-text); font-size: .69rem; }
.main-case-pdf-search-result small { display: block; color: #4c5a72; font-size: .68rem; line-height: 1.32; overflow-wrap: anywhere; }
@media (max-width: 575.98px) {
    .main-case-pdf-toolbar-group-search { max-width: 100%; }
    .main-case-pdf-search-panel { max-width: calc(100vw - 2rem); flex-wrap: wrap; }
    .main-case-pdf-search-panel > .form-control { width: auto; min-width: 7rem; flex: 1 1 8rem; }
    .main-case-pdf-search-status { min-width: 4.25rem; }
    .main-case-pdf-search-warning { max-width: none; flex: 1 0 100%; }
}
.main-case-pdf-toolbar-group-case-details { position: relative; flex: 0 1 auto; flex-wrap: wrap; max-width: 100%; gap: .16rem; }
.main-case-pdf-toolbar-group-case-details > .btn { display: inline-flex; width: auto; min-width: auto; min-height: 1.9rem; align-items: center; gap: .34rem; padding: .18rem .48rem; white-space: nowrap; }
.main-case-pdf-toolbar-group-case-details > .btn[aria-pressed="true"] { color: #fff; background: var(--egujhc-indigo); box-shadow: none; }
.main-case-pdf-viewer.is-split-view .main-case-pdf-toolbar-group-workspace-actions { display: none; }
.main-case-pdf-annotation-tool-menu { position: relative; display: inline-flex; align-self: stretch; }
.main-case-pdf-annotation-palette { position: absolute; top: calc(100% + .45rem); z-index: 8; display: grid; width: 11.5rem; gap: .4rem; padding: .55rem; border: 1px solid #b9c6dc; border-radius: .5rem; background: var(--egujhc-surface); box-shadow: 0 .35rem .8rem rgb(16 36 71 / .22); }
.main-case-pdf-annotation-palette[hidden] { display: none; }
.main-case-pdf-annotation-tool-menu.is-palette-start .main-case-pdf-annotation-palette { left: 0; }
.main-case-pdf-annotation-tool-menu.is-palette-centre .main-case-pdf-annotation-palette { left: 50%; transform: translateX(-50%); }
.main-case-pdf-annotation-tool-menu.is-palette-end .main-case-pdf-annotation-palette { right: 0; }
.main-case-pdf-annotation-palette-label { color: var(--egujhc-ink); font-size: .72rem; font-weight: 700; }
.main-case-pdf-annotation-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.main-case-pdf-annotation-swatch { width: 1.45rem; height: 1.45rem; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--annotation-colour); box-shadow: 0 0 0 1px #aebbd0; cursor: pointer; }
.main-case-pdf-annotation-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--egujhc-indigo); }
.main-case-pdf-annotation-swatch:focus-visible, .main-case-pdf-annotation-custom-colour:focus-within { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 2px; }
.main-case-pdf-annotation-custom-colour { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; margin-top: .15rem; padding: .28rem .35rem .28rem .5rem; border: 1px solid var(--egujhc-border); border-radius: .35rem; color: var(--egujhc-ink); background: var(--egujhc-surface-soft); font-size: .72rem; font-weight: 700; cursor: pointer; }
.main-case-pdf-annotation-colour { width: 1.65rem; min-width: 1.65rem; height: 1.45rem; padding: .08rem; border: 1px solid #b9c6dc; border-radius: .25rem; background: var(--egujhc-surface); cursor: pointer; }
.main-case-pdf-annotation-colour:focus-visible { outline: 0; }
.main-case-pdf-status { display: inline-flex; align-items: center; justify-content: center; gap: .24rem; min-width: 6.55rem; min-height: 1.7rem; padding: 0 .2rem; border: 1px solid var(--egujhc-border); border-radius: .36rem; color: var(--egujhc-muted); background: var(--egujhc-surface-soft); font-size: .72rem; font-weight: 600; text-align: center; white-space: nowrap; }
.main-case-pdf-status [data-pdf-page-control] { display: inline-flex; align-items: center; gap: .24rem; }
.main-case-pdf-status input { width: 2.7rem; min-height: 1.55rem; padding: .08rem .14rem; border: 1px solid #b9c6dc; border-radius: .25rem; color: var(--egujhc-ink); background: var(--egujhc-surface); font: inherit; font-weight: 700; text-align: center; }
.main-case-pdf-status input:focus { border-color: var(--egujhc-accent-text); outline: 0; box-shadow: 0 0 0 .15rem rgb(77 70 201 / .15); }
.main-case-pdf-status input:disabled { color: var(--egujhc-muted); background: #f3f5f9; }
.main-case-pdf-toolbar-spacer { min-width: .15rem; flex: 1; }
.main-case-pdf-zoom { min-width: 2.55rem; color: var(--egujhc-muted); font-size: .74rem; font-weight: 700; text-align: center; }
.main-case-pdf-stage { position: relative; flex: 1; min-width: 0; min-height: 0; overflow: auto; padding: 1.25rem; background: var(--egujhc-accent-bg); touch-action: none; }
.main-case-pdf-viewer.is-panning .main-case-pdf-stage { cursor: grab; }
.main-case-pdf-viewer.is-panning-dragging .main-case-pdf-stage { cursor: grabbing; user-select: none; }
.main-case-pdf-viewer.is-annotation-linking .main-case-pdf-stage { cursor: alias; user-select: none; }
.main-case-pdf-viewer.is-excerpt-linking .main-case-pdf-stage { cursor: alias; user-select: none; }
.main-case-pdf-pages { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; min-width: 0; gap: 1rem; justify-items: safe center; }
.main-case-pdf-page { position: relative; display: grid; max-width: none; flex: 0 0 auto; place-items: center; background: var(--egujhc-surface); box-shadow: 0 .4rem 1rem rgb(24 35 58 / .24); }
.main-case-pdf-viewer.is-page-stack-armed .main-case-pdf-page { cursor: cell; }
.main-case-pdf-viewer.is-page-stack-armed .main-case-pdf-page:hover,
.main-case-pdf-viewer.is-page-stack-armed .main-case-pdf-page:focus-visible { outline: 3px solid rgb(77 70 201 / .45); outline-offset: 2px; }
.main-case-pdf-viewer.is-page-stack-locked .main-case-pdf-stage { overflow: hidden; padding: 0; }
.main-case-pdf-viewer.is-page-stack-locked .main-case-pdf-pages { display: block; height: 100%; }
.main-case-pdf-page-stack-presentation { display: grid; grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr); width: 100%; height: 100%; min-height: 0; background: #cfd6e2; }
.main-case-pdf-page-stack-frozen { position: relative; display: flex; min-width: 0; min-height: 0; overflow: hidden; align-items: flex-end; justify-content: safe center; border-bottom: 1px solid #aab5c7; background: #c7d0de; cursor: pointer; }
.main-case-pdf-page-stack-frozen:focus-visible { outline: 3px solid rgb(77 70 201 / .55); outline-offset: -3px; }
.main-case-pdf-page-stack-lock-badge { position: absolute; z-index: 8; top: .4rem; left: 50%; display: inline-flex; align-items: center; gap: .3rem; max-width: calc(100% - 1rem); padding: .22rem .52rem; border-radius: 999px; color: #fff; background: #102447; box-shadow: 0 .2rem .55rem rgb(16 36 71 / .28); font-size: .7rem; font-weight: 800; transform: translateX(-50%); white-space: nowrap; }
.main-case-pdf-page-stack-summary { z-index: 6; min-height: 1.65rem; padding: .23rem .7rem; border-block: 1px solid #b6c1d2; color: #344560; background: linear-gradient(90deg, #eef2f8, #fbfcff); font-size: .7rem; font-weight: 800; text-align: center; }
.main-case-pdf-page-stack-browsing { min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; padding: .65rem; overscroll-behavior: contain; touch-action: none; scrollbar-gutter: stable; }
.main-case-pdf-page-stack-browsing-content { display: flex; min-width: 0; min-height: 100%; align-items: flex-start; justify-content: safe center; }
.main-case-pdf-page-stack-boundary { align-self: center; margin: auto; padding: .65rem 1rem; border: 1px solid #b9c6dc; border-radius: .42rem; color: var(--egujhc-ink); background: var(--egujhc-surface-soft); font-size: .8rem; font-weight: 800; }
.main-case-pdf-page-stack-parking[hidden] { display: none !important; }
.main-case-pdf-viewer.is-page-stack-locked .main-case-pdf-page { pointer-events: none; user-select: none; }
.main-case-pdf-page.is-scale-preview { overflow: hidden; }
.main-case-pdf-page.is-scale-preview > .main-case-pdf-layers { position: absolute; top: 0; left: 0; transform-origin: 0 0; will-change: transform; }
.main-case-pdf-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--egujhc-muted); background: var(--egujhc-surface); font-size: .8rem; font-weight: 700; }
.main-case-pdf-layers { position: relative; overflow: hidden; background: var(--egujhc-surface); }
.main-case-pdf-layers > canvas:first-child { position: absolute; inset: 0; }
.main-case-pdf-text-layer, .main-case-pdf-search-layer, .main-case-pdf-link-layer, .main-case-private-pencil-vectors, .main-case-private-annotations { position: absolute; inset: 0; width: 100%; height: 100%; }
.main-case-private-pencil-vectors { overflow: hidden; pointer-events: none; }
.main-case-pdf-workspace-anchor-highlight { position: absolute; z-index: 3; box-sizing: border-box; border: 2px solid rgb(30 58 138 / .46); border-radius: .18rem; background: rgb(30 58 138 / .10); box-shadow: 0 0 0 .2rem rgb(30 58 138 / .12); pointer-events: none; }
.main-case-pdf-workspace-annotation-relation { position: absolute; z-index: 3; box-sizing: border-box; border: 2px solid rgb(30 58 138 / .5); border-radius: .22rem; background: rgb(30 58 138 / .08); box-shadow: 0 0 0 .16rem rgb(30 58 138 / .1); pointer-events: none; }
@keyframes main-case-workspace-anchor-pulse { 50% { background: rgb(30 58 138 / .16); box-shadow: 0 0 0 .45rem rgb(30 58 138 / .18); } }
.main-case-pdf-text-layer { z-index: 1; overflow: hidden; color: transparent; line-height: 1; opacity: .2; pointer-events: none; text-size-adjust: none; transform-origin: 0 0; user-select: none; }
.main-case-pdf-text-layer span, .main-case-pdf-text-layer br { position: absolute; white-space: pre; transform-origin: 0 0; cursor: text; }
.main-case-pdf-viewer.is-selecting-text .main-case-pdf-text-layer { pointer-events: auto; user-select: text; }
.main-case-pdf-viewer.is-selecting-text .main-case-pdf-text-layer ::selection { background: rgb(250 204 21 / .7); color: transparent; }
.main-case-pdf-search-layer { z-index: 2; overflow: hidden; pointer-events: none; }
.main-case-pdf-search-highlight { position: absolute; box-sizing: border-box; border-radius: .12rem; background: rgb(77 70 201 / .16); box-shadow: inset 0 0 0 1px rgb(77 70 201 / .22); pointer-events: none; }
.main-case-pdf-search-highlight.is-active { background: rgb(244 110 75 / .2); box-shadow: inset 0 0 0 2px rgb(244 110 75 / .95), 0 0 0 1px rgb(255 255 255 / .8); }
.main-case-pdf-link-layer { z-index: 3; pointer-events: none; }
.main-case-pdf-link-layer .linkAnnotation { position: absolute; box-sizing: border-box; transform-origin: 0 0; pointer-events: auto; }
.main-case-pdf-link-layer .linkAnnotation > a { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border-radius: .15rem; cursor: pointer; }
.main-case-pdf-link-layer .linkAnnotation > a:hover { background: rgb(77 70 201 / .08); outline: 1px solid rgb(77 70 201 / .45); }
.main-case-pdf-link-layer .linkAnnotation > a:focus-visible { background: rgb(77 70 201 / .1); outline: 3px solid rgb(77 70 201 / .5); outline-offset: 1px; }
.main-case-private-pencil-vectors, .main-case-private-annotations { z-index: 4; }
.main-case-private-annotations { pointer-events: none; cursor: crosshair; touch-action: none; }
.main-case-pdf-viewer.is-annotating .main-case-private-annotations { pointer-events: auto; }
.main-case-pdf-viewer.is-touch-scrolling .main-case-private-annotations { cursor: grab !important; }
.main-case-pdf-viewer.is-erasing .main-case-private-annotations { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='m8 20 10-10 8 8-10 10H8z' fill='%23f6f7fb' stroke='%2318233a' stroke-width='2'/%3E%3Cpath d='m18 10 3-3 8 8-3 3z' fill='%23f46e4b' stroke='%2318233a' stroke-width='2'/%3E%3Cpath d='M7 27h13' stroke='%234d46c9' stroke-width='2'/%3E%3C/svg%3E") 8 25, cell; }
.main-case-pdf-viewer[data-pdf-active-tool="PENCIL"] .main-case-private-annotations { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='m5 27 5-1L25 11l-4-4L6 22z' fill='%23fff' stroke='%2318233a' stroke-width='2'/%3E%3Cpath d='m20 8 4 4' stroke='%234d46c9' stroke-width='3'/%3E%3C/svg%3E") 6 27, crosshair; }
.main-case-pdf-viewer[data-pdf-active-tool="HIGHLIGHT"] .main-case-private-annotations { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='m9 5 14 14-6 6L3 11z' fill='%23facc15' stroke='%2318233a' stroke-width='2'/%3E%3Cpath d='m4 25 10-10 4 4-10 10z' fill='%23fff' stroke='%2318233a' stroke-width='2'/%3E%3C/svg%3E") 4 29, crosshair; }
.main-case-pdf-viewer[data-pdf-active-tool="MARKER"] .main-case-private-annotations { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M5 5h22v22H5z' fill='none' stroke='%232563eb' stroke-width='2' stroke-dasharray='3 2'/%3E%3Cpath d='M16 9v14M9 16h14' stroke='%2318233a' stroke-width='2'/%3E%3C/svg%3E") 16 16, crosshair; }
.main-case-pdf-viewer .main-case-private-annotations.is-annotation-link-hover { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='m12.4 20.8-2.1 2.1a4.4 4.4 0 0 1-6.2-6.2l4.6-4.6a4.4 4.4 0 0 1 6.2 0' fill='none' stroke='%2318233a' stroke-width='2.35' stroke-linecap='round'/%3E%3Cpath d='m19.6 11.2 2.1-2.1a4.4 4.4 0 0 1 6.2 6.2l-4.6 4.6a4.4 4.4 0 0 1-6.2 0' fill='none' stroke='%2318233a' stroke-width='2.35' stroke-linecap='round'/%3E%3Cpath d='m11.2 20.8 9.6-9.6' fill='none' stroke='%234d46c9' stroke-width='2.65' stroke-linecap='round'/%3E%3C/svg%3E") 16 16, alias !important; }
.main-case-pdf-annotation-controls { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.main-case-pdf-annotation-link-handle { position: absolute; z-index: 3; display: inline-grid; width: 1.65rem; height: 1.65rem; place-items: center; padding: 0; border: 1px solid #4d46c9; border-radius: 999px; color: #fff; background: #4d46c9; box-shadow: 0 .12rem .35rem rgb(16 36 71 / .3); cursor: alias; font-size: .9rem; pointer-events: auto; }
.main-case-pdf-annotation-link-handle:active { cursor: grabbing; }
.main-case-pdf-annotation-link-handle:hover, .main-case-pdf-annotation-link-handle:focus-visible { background: #37319f; outline: 3px solid rgb(77 70 201 / .28); outline-offset: 2px; }
.main-case-pdf-annotation-editor, .main-case-pdf-note-editor { position: absolute; z-index: 2; display: grid; box-sizing: border-box; width: min(15rem, calc(100% - .75rem)); max-width: calc(100% - .75rem); max-height: calc(100% - .75rem); gap: .35rem; overflow: auto; padding: .45rem; border: 1px solid #b9c6dc; border-radius: .45rem; background: var(--egujhc-surface); box-shadow: 0 .35rem .8rem rgb(16 36 71 / .25); pointer-events: auto; }
.main-case-pdf-annotation-editor label, .main-case-pdf-note-editor label { display: grid; gap: .25rem; color: var(--egujhc-ink); font-size: .7rem; font-weight: 700; }
.main-case-pdf-annotation-editor textarea, .main-case-pdf-note-editor textarea { width: 100%; min-height: 3.5rem; resize: vertical; border: 1px solid #b9c6dc; border-radius: .3rem; padding: .35rem; color: var(--egujhc-ink); font: inherit; font-weight: 400; }
.main-case-pdf-annotation-editor textarea:focus, .main-case-pdf-note-editor textarea:focus { border-color: var(--egujhc-accent-text); outline: 0; box-shadow: 0 0 0 .18rem rgb(77 70 201 / .15); }
.main-case-pdf-annotation-editor-actions, .main-case-pdf-note-editor-actions { display: flex; justify-content: flex-end; gap: .25rem; }
.main-case-pdf-annotation-editor-actions .btn, .main-case-pdf-note-editor-actions .btn { display: inline-grid; width: 1.7rem; height: 1.7rem; place-items: center; padding: 0; }
.main-case-pdf-notice-layer { position: sticky; top: .5rem; left: .5rem; height: 0; z-index: 12; pointer-events: none; }
.main-case-pdf-state { position: absolute; top: .5rem; left: .5rem; width: max-content; max-width: calc(100% - 1rem); padding: .55rem .75rem; border-radius: .45rem; background: rgb(16 36 71 / .9); color: #fff; font-size: .82rem; overflow-wrap: anywhere; pointer-events: none; }
.main-case-pdf-state[hidden] { display: none; }
.filing-final-submit-row { justify-content: flex-end; margin: 0 0 1.25rem; padding-top: 0; border-top: 0; }
.defect-cure-layout { display: grid; grid-template-columns: minmax(20rem, 38fr) minmax(0, 62fr); align-items: start; gap: 1rem; min-height: 42rem; }
.defect-cure-findings-panel { display: flex; max-height: clamp(42rem, 78vh, 64rem); flex-direction: column; overflow: hidden; border: 1px solid var(--egujhc-border); border-radius: .85rem; background: var(--egujhc-surface); box-shadow: 0 .35rem .9rem rgb(24 35 58 / .06); }
.defect-cure-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: 1rem; border-bottom: 1px solid #e7eaf1; background: var(--egujhc-surface-soft); }
.defect-cure-findings-tabs { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.defect-cure-findings-tabs > .nav-tabs { flex: 0 0 auto; padding: 0 .7rem; }
.defect-cure-findings-tabs > .nav-tabs .nav-link { display: inline-flex; align-items: center; gap: .4rem; }
.defect-cure-finding-tab-content { display: flex; min-height: 0; flex: 1; }
.defect-cure-finding-tab-content > .tab-pane { min-width: 0; min-height: 0; flex: 1; }
.defect-cure-finding-tab-content > .tab-pane.active { display: flex; flex-direction: column; }
.defect-cure-finding-list { display: grid; min-height: 0; flex: 1; gap: .55rem; overflow: auto; padding: .7rem; }
.defect-cure-finding-empty { padding: 1rem; color: var(--egujhc-muted); }
.defect-cure-finding { display: grid; gap: .5rem; padding: .65rem .7rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface); }
.defect-cure-finding.is-not-complied { border-left: .25rem solid #dc3545; }
.defect-cure-finding.is-complied { border-left: .25rem solid #25a84d; }
.defect-cure-finding-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .65rem; }
.defect-cure-finding-heading > div { display: flex; align-items: flex-start; gap: .5rem; }
.defect-cure-registry-comment { padding: .55rem .65rem; border-left: 3px solid var(--egujhc-coral); border-radius: 0 .5rem .5rem 0; background: #fff5f2; color: #3f5069; font-size: .84rem; }
.defect-cure-related-information { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.defect-cure-related-information-item { display: grid; gap: .22rem; min-width: 0; padding: .42rem .5rem; border: 1px solid var(--egujhc-border); border-radius: .45rem; background: var(--egujhc-surface-soft); color: var(--egujhc-ink); font-size: .78rem; }
.defect-cure-related-information-item h4 { font-size: .76rem; font-weight: 700; line-height: 1.3; }
.defect-cure-related-information-item p { overflow-wrap: anywhere; }
.defect-cure-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .6rem; padding: .85rem 1rem; border-top: 1px solid #e7eaf1; }
.defect-cure-viewer { position: sticky; top: 1rem; min-width: 0; }
.defect-cure-documents-card { border-color: var(--egujhc-border); }
.defect-cure-add-document { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(10rem, .7fr) minmax(14rem, 1fr) auto; align-items: end; gap: .75rem; padding: .85rem; border: 1px solid var(--egujhc-border); border-radius: .7rem; background: var(--egujhc-surface-soft); }
.defect-cure-document-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.defect-cure-document-group { min-width: 0; padding: .85rem; border: 1px solid var(--egujhc-border); border-radius: .7rem; background: var(--egujhc-surface); }
.defect-cure-document-group h3 { color: var(--egujhc-heading); }
.defect-cure-document-row { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .55rem 0; border-top: 1px solid #edf0f6; }
.defect-cure-document-row:first-of-type { border-top: 0; }
.defect-cure-document-row > div { display: grid; min-width: 0; gap: .15rem; }
.defect-cure-document-row strong, .defect-cure-document-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.defect-cure-document-row strong { color: var(--egujhc-ink); font-size: .8rem; }
.defect-cure-document-row small { color: var(--egujhc-muted); font-size: .72rem; }

@media (min-width: 1200px) {
    .defect-cure-page.is-bounded-workspace { display: grid; height: 100%; min-height: 0; grid-template-rows: auto auto auto minmax(0, 1fr); gap: .75rem; overflow: hidden; }
    .defect-cure-page-editor.is-bounded-workspace { grid-template-rows: auto auto auto auto minmax(0, 1fr); }
    .defect-cure-page.is-bounded-workspace > .workspace-page-heading,
    .defect-cure-page.is-bounded-workspace > .filing-stepper-wrap,
    .defect-cure-page.is-bounded-workspace > .pre-submission-cure-status { margin-bottom: 0; }
    .defect-cure-page.is-bounded-workspace .filing-stepper { margin-bottom: 0; }
    .defect-cure-page.is-bounded-workspace .defect-cure-layout,
    .defect-cure-page.is-bounded-workspace .defect-cure-page-editor-layout { height: 100%; min-height: 0; align-items: stretch; overflow: hidden; }
    .defect-cure-page.is-bounded-workspace .defect-cure-findings-panel { height: 100%; min-height: 0; max-height: none; }
    .defect-cure-page.is-bounded-workspace .defect-cure-viewer { position: static; height: 100%; min-height: 0; overflow: hidden; }
    .defect-cure-page.is-bounded-workspace .defect-cure-viewer > .main-case-pdf-viewer { height: 100%; min-height: 0; }
    .defect-cure-page-editor-layout .pre-submission-cure-pages { height: 100%; min-height: 0; overflow: hidden; }
    .defect-cure-page-editor-layout .pre-submission-cure-pages > .card-body { display: flex; height: 100%; min-height: 0; flex-direction: column; overflow: hidden; }
    .defect-cure-page-editor-layout .pre-submission-cure-grid { grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); min-height: 0; flex: 1; align-content: start; overflow: auto; padding-right: .25rem; }
    .defect-cure-page-editor-top-row { flex: 0 0 auto; }
    .defect-cure-page-submit-row { flex: 0 0 auto; justify-content: flex-end; margin: 0; }
}
.egujhc-modal-dialog { max-width: 32rem; }
.egujhc-modal-dialog.delay-calculation-dialog { max-width: min(72rem, calc(100vw - 2rem)); }
.delay-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.delay-method-grid > label { height: 100%; padding: .8rem; }
@media (max-width: 767px) {
    .delay-method-grid { grid-template-columns: 1fr; }
}
.egujhc-api-endpoint-dialog { max-width: 52rem; }
.egujhc-api-endpoint-dialog .modal-body { overflow-x: hidden; }
.egujhc-modal .modal-content { overflow: hidden; border: 1px solid var(--egujhc-border); border-radius: .85rem; box-shadow: 0 1rem 2.5rem rgb(16 36 71 / .22); }
.egujhc-modal .modal-header, .egujhc-modal .modal-body, .egujhc-modal .modal-footer { padding-right: 1.5rem; padding-left: 1.5rem; }
.egujhc-modal .modal-header { padding-top: 1.5rem; }
.egujhc-modal .modal-footer { padding-bottom: 1.5rem; }
.egujhc-modal-heading { display: flex; min-width: 0; align-items: center; gap: .85rem; }
.egujhc-modal-icon { display: grid; width: 3rem; height: 3rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: 1.3rem; }
.egujhc-modal-icon.is-success { background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.egujhc-modal-icon.is-warning { background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.egujhc-modal-icon.is-danger { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.egujhc-modal-message { color: var(--egujhc-muted); white-space: pre-line; }
.egujhc-modal-detail { display: grid; gap: .4rem; padding: .75rem; border: 1px solid var(--egujhc-border); border-radius: .55rem; background: var(--egujhc-surface-soft); }
.egujhc-modal-detail-label { color: var(--egujhc-muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.egujhc-modal-detail code { overflow-wrap: anywhere; color: var(--egujhc-ink); font-size: .86rem; user-select: all; }
.advance-copy-wizard-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; padding: 0; margin: 0; list-style: none; }
.advance-copy-wizard-steps li { display: flex; min-width: 0; align-items: center; gap: .4rem; color: var(--egujhc-muted); font-size: .72rem; font-weight: 700; line-height: 1.2; }
.advance-copy-wizard-steps li > span { display: grid; width: 1.35rem; height: 1.35rem; flex: 0 0 auto; place-items: center; border: 1px solid #cbd3e3; border-radius: 50%; background: var(--egujhc-surface); color: var(--egujhc-muted); }
.advance-copy-wizard-steps li.is-current, .advance-copy-wizard-steps li.is-complete { color: var(--egujhc-accent-text); }
.advance-copy-wizard-steps li.is-current > span { border-color: var(--egujhc-accent-text); background: var(--egujhc-indigo); color: #fff; }
.advance-copy-wizard-steps li.is-complete > span { border-color: #c7c3fb; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.draft-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 25rem), 36rem)); justify-content: start; gap: .75rem; }
.draft-list-card { height: 100%; border: 1px solid var(--egujhc-border); }
.draft-list-card .card-body { display: flex; flex-direction: column; }
.draft-list-card .badge { display: inline-flex; align-items: center; gap: .3rem; padding: .38rem .55rem; font-size: .72rem; }
.draft-list-card-actions { margin-top: auto; padding-top: .75rem; }
.case-file-access-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.case-file-grant-card { min-width: 0; border: 1px solid var(--egujhc-border); }
.case-file-grant-list { display: grid; gap: .65rem; }
.case-file-grant { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem; border: 1px solid var(--egujhc-border); border-radius: .55rem; background: var(--egujhc-surface-soft); }
.case-file-grant strong { color: var(--egujhc-ink); font-size: .9rem; }
.ai-scrutiny-layout { display: grid; grid-template-columns: minmax(19rem, 32fr) minmax(0, 68fr); align-items: stretch; gap: 1rem; min-height: 42rem; }
.ai-scrutiny-results { display: flex; align-self: stretch; height: clamp(var(--main-case-pdf-a4-height), 78vh, 64rem); flex-direction: column; overflow: hidden; border: 1px solid var(--egujhc-border); border-radius: .85rem; background: var(--egujhc-surface); box-shadow: 0 .35rem .9rem rgb(24 35 58 / .06); }
.ai-scrutiny-status-card, .ai-scrutiny-result-header { padding: 1.25rem; }
.ai-scrutiny-status-icon { display: grid; width: 3.25rem; height: 3.25rem; place-items: center; margin-bottom: 1rem; border-radius: .8rem .8rem .8rem .25rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: 1.4rem; }
.ai-scrutiny-status-icon.is-failed { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.ai-scrutiny-progress { display: grid; gap: .55rem; }
.ai-scrutiny-progress > span { display: flex; align-items: center; gap: .5rem; padding: .55rem .65rem; border-radius: .5rem; background: var(--egujhc-canvas); color: var(--egujhc-muted); font-size: .78rem; font-weight: 700; }
.ai-scrutiny-progress > span.is-complete { background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.ai-scrutiny-progress > span.is-failed { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.ai-progress-spin { animation: ai-progress-spin 1.15s linear infinite; }
.ai-provider-progress { display: grid; gap: .55rem; margin-top: .75rem; padding: .75rem; border: 1px solid #d8d6fa; border-radius: .6rem; background: var(--egujhc-surface-muted); }
.ai-provider-progress-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .2rem .75rem; }
.ai-provider-progress-heading span:first-child { grid-column: 1 / -1; color: var(--egujhc-muted); font-size: .67rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ai-provider-progress-heading strong { min-width: 0; overflow: hidden; color: var(--egujhc-ink); font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.ai-provider-progress-heading span:last-child { color: var(--egujhc-accent-text); font-size: .8rem; font-weight: 800; }
.ai-provider-progress-track { height: .5rem; overflow: hidden; border-radius: 99rem; background: var(--egujhc-accent-bg); }
.ai-provider-progress-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--egujhc-indigo), var(--egujhc-sky)); transition: width .35s ease; }
@keyframes ai-progress-spin { to { transform: rotate(360deg); } }
.ai-pdf-waiting { display: grid; min-height: clamp(42rem, 78vh, 64rem); place-items: center; text-align: center; }
.ai-pdf-waiting .card-body { max-width: 38rem; }
.ai-pdf-waiting .ai-scrutiny-status-icon { margin-inline: auto; }
.ai-scrutiny-result-header { padding: .75rem 1rem .55rem; }
.ai-scrutiny-result-heading-row { display: flex; align-items: center; justify-content: space-between; gap: .45rem; }
.ai-scrutiny-result-heading-row > .h5 { flex: 0 1 auto; }
.scrutiny-summary { display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; gap: .35rem; }
.scrutiny-summary span { display: flex; min-width: 5.75rem; flex: 0 1 auto; flex-direction: column; padding: .35rem .45rem; border-radius: .5rem; background: var(--egujhc-canvas); color: var(--egujhc-muted); font-size: .62rem; line-height: 1.15; }
.scrutiny-summary strong { color: var(--egujhc-ink); font-size: 1.05rem; line-height: 1.1; }
.ai-scrutiny-summary-chips { gap: .3rem; }
.ai-scrutiny-summary-chips span { min-width: 0; flex-direction: row; align-items: baseline; gap: .28rem; padding: .28rem .4rem; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.ai-scrutiny-summary-chips strong { font-size: .9rem; }
.scrutiny-summary .is-complied { border-left: .2rem solid #25a84d; }
.scrutiny-summary .is-not-complied { border-left: .2rem solid #dc3545; }
.scrutiny-summary .is-needs-review { border-left: .2rem solid #f0ad32; }
.scrutiny-summary .is-not-applicable { border-left: .2rem solid #7a8494; }
@media (max-width: 767.98px) {
    .ai-scrutiny-result-heading-row { align-items: flex-start; flex-direction: column; }
}
.ai-scrutiny-result-tabs { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.ai-scrutiny-result-tabs > .nav-tabs { flex: 0 0 auto; padding-inline: 1rem; }
.ai-scrutiny-result-tabs > .tab-content { display: flex; min-height: 0; flex: 1; flex-direction: column; padding: .75rem 1rem 0; }
.ai-scrutiny-result-tabs > .tab-content > .tab-pane.active { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.ai-scrutiny-result-tabs .ai-scrutiny-read-only-panel { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.ai-scrutiny-result-tabs .registry-finding-list { min-height: 0; flex: 1; overflow: auto; }
/* The pane fills the workspace; individual evidence cards must not fill spare height. */
.ai-scrutiny-read-only-panel > .registry-finding-list { align-content: start; grid-auto-rows: max-content; }

/* One shared Registry administration workspace, with aligned compact controls. */
.filing-page.registry-reassignment-workspace { width: 100%; max-width: none; }
#main-content:has(#registry-reassignment-page) { max-width: none; }
.registry-reassignment-workspace .card { border-radius: .75rem; }
.registry-reassignment-workspace .form-label { display: block; margin-bottom: .45rem; }
.registry-reassignment-workspace .form-control,
.registry-reassignment-workspace .form-select { min-height: 2.5rem; }
.registry-reassignment-workspace th { vertical-align: bottom; }
.registry-reassignment-workspace td { vertical-align: middle; }
.registry-reassignment-workspace [data-absence-work] table { min-width: 40rem; }
.registry-reassignment-workspace [data-absence-history] table { min-width: 40rem; }
.registry-reassignment-workspace .form-check { display: flex; align-items: flex-start; gap: .5rem; padding-left: 0; }
.registry-reassignment-workspace .form-check-input { flex: 0 0 auto; margin-left: 0; }
.registry-reassignment-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.registry-reassignment-workspace [role="tabpanel"][hidden] { display: none; }
@media (max-width: 767px) {
  .registry-reassignment-workspace .btn { white-space: normal; }
  .registry-reassignment-workspace .nav-tabs { flex-wrap: wrap; }
}
.ai-scrutiny-result-tabs .ai-scrutiny-metadata-panel { min-height: 0; overflow: auto; }
.ai-scrutiny-results > .ai-scrutiny-read-only-panel { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; }
.ai-scrutiny-results > .ai-scrutiny-read-only-panel > .registry-panel-heading,
.ai-scrutiny-results > .ai-scrutiny-read-only-panel > .scrutiny-finding-filter { flex: 0 0 auto; }
.ai-scrutiny-results > .ai-scrutiny-read-only-panel > .registry-finding-list { min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scroll-padding-block: .75rem; }
.ai-scrutiny-progressive-results { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; overflow: hidden; }
.ai-scrutiny-progressive-results > .ai-scrutiny-milestone-waiting { margin-inline: 1rem; }
.ai-scrutiny-progressive-results > .ai-scrutiny-read-only-panel { min-height: 0; flex: 1 1 auto; }
.ai-scrutiny-progressive-results > .ai-scrutiny-read-only-panel .registry-finding-list { max-height: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.ai-scrutiny-objection-loading { min-height: 0; overflow: hidden; }
.ai-scrutiny-objection-loading > div { display: grid; gap: .55rem; padding: .75rem 1rem 1rem; }
.ai-scrutiny-objection-placeholder { display: grid; min-height: 5.25rem; grid-template-columns: 2.25rem minmax(0, 1fr) 4.75rem; align-items: start; gap: .6rem; padding: .65rem; border: 1px solid #e4e8f1; border-radius: .65rem; background: var(--egujhc-surface-soft); opacity: .78; }
.ai-scrutiny-objection-placeholder > span,
.ai-scrutiny-placeholder-copy > span { display: block; border-radius: 99rem; background: linear-gradient(90deg, #e8ecf4 18%, #f7f8fc 38%, #e8ecf4 58%); background-size: 230% 100%; animation: ai-objection-placeholder-shimmer 1.35s ease-in-out infinite; }
.ai-scrutiny-placeholder-code { width: 2.25rem; height: 1.15rem; }
.ai-scrutiny-placeholder-copy { display: grid !important; gap: .45rem; background: none !important; animation: none !important; }
.ai-scrutiny-placeholder-copy > span:first-child { width: min(92%, 18rem); height: .8rem; }
.ai-scrutiny-placeholder-copy > span:nth-child(2) { width: min(100%, 24rem); height: .62rem; margin-top: .25rem; }
.ai-scrutiny-placeholder-copy > span:last-child { width: min(72%, 15rem); height: .62rem; }
.ai-scrutiny-placeholder-status { width: 4.75rem; height: 1.15rem; }
.ai-scrutiny-objection-placeholder:nth-child(2) > span,
.ai-scrutiny-objection-placeholder:nth-child(2) .ai-scrutiny-placeholder-copy > span { animation-delay: .12s; }
.ai-scrutiny-objection-placeholder:nth-child(3) > span,
.ai-scrutiny-objection-placeholder:nth-child(3) .ai-scrutiny-placeholder-copy > span { animation-delay: .24s; }
@keyframes ai-objection-placeholder-shimmer { to { background-position: -230% 0; } }
@media (prefers-reduced-motion: reduce) {
    .ai-scrutiny-objection-placeholder > span,
    .ai-scrutiny-placeholder-copy > span { animation: none; }
}
@media (max-width: 575.98px) {
    .ai-scrutiny-objection-placeholder { grid-template-columns: 2rem minmax(0, 1fr); }
    .ai-scrutiny-placeholder-status { display: none !important; }
}
.ai-scrutiny-linked-registry-metadata { display: grid; gap: .35rem; margin-top: .45rem; }
.ai-scrutiny-linked-registry-label { margin: 0; color: #526077; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ai-scrutiny-linked-registry-value { color: #263852; font-size: .76rem; font-weight: 700; line-height: 1.35; }
.ai-scrutiny-linked-registry-explanation { color: #526077; font-size: .72rem; line-height: 1.3; }
.scrutiny-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; }
.scrutiny-result-scroll { min-height: 0; flex: 1; overflow: auto; padding: 0 1rem 1rem; }
.scrutiny-result-group + .scrutiny-result-group { margin-top: 1.25rem; }
.scrutiny-result-group > h3 { position: sticky; z-index: 1; top: 0; margin: 0; padding: .65rem .2rem .45rem; background: var(--egujhc-surface); color: var(--egujhc-heading); }
.scrutiny-result-item { margin-bottom: .5rem; border: 1px solid var(--egujhc-border); border-radius: .55rem; background: var(--egujhc-surface-soft); }
.scrutiny-result-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; padding: .7rem; cursor: pointer; list-style: none; }
.scrutiny-result-item summary::-webkit-details-marker { display: none; }
.scrutiny-result-item summary > span:first-child { display: grid; gap: .18rem; color: #40516a; font-size: .76rem; line-height: 1.35; }
.scrutiny-result-item summary strong { color: var(--egujhc-accent-text); font-size: .68rem; letter-spacing: .04em; }
.scrutiny-result-badge { flex: 0 0 auto; padding: .24rem .42rem; border-radius: 999px; font-size: .63rem; font-weight: 700; white-space: nowrap; }
.scrutiny-result-badge.is-complied { background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.scrutiny-result-badge.is-not-complied { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.scrutiny-result-badge.is-needs-review { background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.scrutiny-result-badge.is-not-applicable { background: var(--egujhc-surface-muted); color: var(--egujhc-muted); }
.scrutiny-result-detail { padding: 0 .7rem .75rem; border-top: 1px solid #edf0f6; }
.scrutiny-result-detail p { margin: .65rem 0; color: var(--egujhc-muted); font-size: .76rem; }
.scrutiny-page-links { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .25rem; }
.ai-evidence-page-link { display: inline-grid; min-width: 1.55rem; height: 1.55rem; place-items: center; padding: 0 .3rem; border: 1px solid #d8d6fa; border-radius: 999px; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font: inherit; font-size: .68rem; font-weight: 800; line-height: 1; }
.ai-evidence-page-link:hover { border-color: var(--egujhc-accent-text); background: var(--egujhc-indigo); color: #fff; }
.ai-evidence-page-link:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 2px; }
.ai-evidence-confidence { display: inline-flex; align-items: center; gap: .24rem; padding: .2rem .42rem; border: 1px solid transparent; border-radius: 999px; font-size: .68rem; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.ai-evidence-confidence .bi { font-size: .72rem; }
.ai-evidence-confidence.is-high { border-color: #b8e0c7; background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.ai-evidence-confidence.is-medium { border-color: #efd590; background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.ai-evidence-confidence.is-low { border-color: #f2ca99; background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.ai-evidence-confidence.is-critical { border-color: #f1c1ba; background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.scrutiny-continue, .scrutiny-retry { flex: 0 0 auto; padding: 1rem 1.25rem; border-top: 1px solid var(--egujhc-border); background: var(--egujhc-surface); }
.scrutiny-continue { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; flex-wrap: nowrap; }
.scrutiny-continue .btn { flex: 0 0 auto; width: auto; white-space: nowrap; }
.scrutiny-retry .btn { width: 100%; }
.judge-dashboard { display: grid; gap: 1rem; }
.judge-dashboard-introduction { display: flex; align-items: center; justify-content: flex-start; gap: 1rem; }
.judge-dashboard-introduction > .judge-dashboard-introduction-copy { flex: 1 1 0; min-width: 0; }
.judge-dashboard-introduction .workspace-page-heading-main { display: grid; gap: .18rem; white-space: normal; }
.judge-dashboard-introduction .workspace-page-heading-main > h1,
.judge-dashboard-introduction .workspace-page-heading-main > .text-body-secondary {
    max-width: none;
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
}
.judge-dashboard-introduction .workspace-page-heading-main > h1 { flex: none; }
.judge-dashboard-introduction .workspace-page-heading-main > .text-body-secondary { flex: none; }
/* Override the shared full-width Display Board tile regardless of source order. */
.judge-dashboard-introduction > .judge-dashboard-portrait { flex: 0 0 auto; width: clamp(3.75rem, 5vw, 5rem); }
.judge-dashboard-portrait-fallback { display: grid; width: 100%; height: 100%; place-items: center; }
.judge-dashboard-portrait-fallback[hidden],
.judge-dashboard-portrait > img[hidden] { display: none; }
.judge-roster-overview .card-header, .judge-assisted-workflows .card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.judge-roster-overview .card-header > .bi, .judge-assisted-workflows .card-header > .bi { color: var(--egujhc-sky); font-size: 1.25rem; }
.judge-overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; }
.judge-overview-card { position: relative; display: flex; min-height: 7.4rem; flex-direction: column; overflow: hidden; padding: .8rem; border: 1px solid var(--egujhc-border); border-radius: .75rem; background: var(--egujhc-surface-soft); }
.judge-overview-card::before { position: absolute; inset: 0 auto 0 0; width: .25rem; background: var(--judge-overview-accent, var(--egujhc-indigo)); content: ''; }
.judge-overview-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin-bottom: .7rem; }
.judge-portfolio-refresh { grid-auto-flow: column; column-gap: .2rem !important; min-width: 2rem; min-height: 2rem; margin-left: auto; padding: .25rem; flex: 0 0 auto; }
.judge-overview-icon { display: inline-grid; width: 2.15rem; height: 2.15rem; flex: 0 0 auto; place-items: center; border-radius: .6rem .6rem .6rem .2rem; background: var(--egujhc-surface-muted); color: var(--judge-overview-accent, var(--egujhc-indigo)); font-size: 1rem; }
.judge-overview-status { padding: .2rem .38rem; border-radius: 999px; background: var(--egujhc-surface-muted); color: var(--egujhc-muted); font-size: .62rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.judge-overview-card h3 { margin-top: auto; color: var(--egujhc-heading); font-size: .8rem; font-weight: 800; line-height: 1.35; }
.judge-overview-indigo { --judge-overview-accent: var(--egujhc-indigo); }
.judge-overview-coral { --judge-overview-accent: var(--egujhc-coral); }
.judge-overview-sky { --judge-overview-accent: #1599a8; }
.judge-overview-violet { --judge-overview-accent: #7650cc; }
.judge-overview-blue { --judge-overview-accent: #267db1; }
.judge-overview-green { --judge-overview-accent: #278755; }
.judge-portfolio-count { display: block; color: var(--egujhc-heading); font-size: 1.65rem; line-height: 1.2; margin: .5rem 0; overflow-wrap: anywhere; }
.judge-portfolio-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.judge-portfolio-chart { min-width: 0; overflow: hidden; }
.judge-portfolio-chart .card-header { display: flex; align-items: center; justify-content: flex-start; gap: .5rem; }
.judge-portfolio-chart .card-body { padding: .85rem; }
.judge-portfolio-chart-plot { position: relative; height: 15rem; min-width: 0; }
.judge-portfolio-chart-plot[hidden], .judge-portfolio-chart-message[hidden] { display: none; }
.judge-portfolio-chart-message { display: grid; align-items: center; min-height: 5rem; margin: 0; padding: .75rem; color: var(--egujhc-muted); background: var(--egujhc-canvas); border-radius: .5rem; }
.judge-portfolio-chart-values { display: grid; gap: .35rem; list-style: none; margin: .8rem 0 0; padding: 0; }
.judge-portfolio-chart-values li { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .3rem 0; border-bottom: 1px solid #edf1f6; }
.judge-portfolio-chart-values li:last-child { border-bottom: 0; }
.judge-portfolio-chart-values li > span { display: flex; align-items: center; gap: .45rem; }
.judge-portfolio-chart-values strong { text-align: end; color: var(--egujhc-heading); font-variant-numeric: tabular-nums; }
.judge-portfolio-chart-swatch { width: .65rem; height: .65rem; flex: 0 0 auto; border-radius: .15rem; }
@media (max-width: 767.98px) { .judge-portfolio-charts { grid-template-columns: minmax(0, 1fr); } }
.judge-portfolio-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.judge-portfolio-dates { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem; padding: .75rem; border: 1px solid var(--egujhc-border); border-radius: .5rem; }
.judge-portfolio-dates h3 { align-self: center; margin-right: auto; }
.judge-portfolio-dates .egujhc-pro-date-range-field { max-width: 28rem; min-width: 0; }
.judge-portfolio-modal { width: calc(100% - 2rem); max-width: 90rem; }
.judge-portfolio-modal .modal-content { max-height: calc(100dvh - 3rem); }
.judge-portfolio-modal .modal-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding-bottom: 1.5rem; }
.judge-portfolio-grid-section + .judge-portfolio-grid-section { margin-top: 1.5rem; }
.judge-portfolio-grid-section td { white-space: pre-line; min-width: 7rem; overflow-wrap: anywhere; }
.judge-portfolio-grid-section .table-responsive { padding-bottom: .5rem; }
@media (max-width: 575.98px) {
    .judge-portfolio-dates h3, .judge-portfolio-dates .egujhc-pro-date-range-field { width: 100%; }
    .judge-portfolio-modal { width: calc(100% - 1rem); margin: .5rem; }
    .judge-portfolio-modal .modal-content { max-height: calc(100dvh - 1rem); }
}
.judge-disabled-workflows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.judge-disabled-workflow { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; border: 1px solid var(--egujhc-border); border-radius: .7rem; background: var(--egujhc-surface-soft); }
.judge-disabled-workflow .judge-overview-icon { --judge-overview-accent: var(--egujhc-muted); }
.judge-cause-lists-page { display: grid; gap: 1rem; }
.judge-cause-list-selector .card-header, .judge-cause-list-results .card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.judge-cause-list-selector .card-header > .bi, .judge-cause-list-results .card-header > .bi { color: var(--egujhc-sky); font-size: 1.25rem; }
.judge-cause-list-date-selection { display: grid; grid-template-columns: minmax(0, 4fr) minmax(13rem, 1fr); align-items: center; gap: .75rem; max-width: 72rem; }
.judge-cause-list-date-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.judge-cause-list-date-shortcut { display: grid; gap: .2rem; min-height: 4.5rem; padding: .75rem; border: 1px solid #d7dcef; border-radius: .65rem; background: var(--egujhc-surface-soft); color: var(--egujhc-ink); text-align: left; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease; }
.judge-cause-list-date-shortcut span { color: var(--egujhc-muted); font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.judge-cause-list-date-shortcut strong { font-size: .96rem; }
.judge-cause-list-date-shortcut:hover, .judge-cause-list-date-shortcut:focus-visible { border-color: var(--egujhc-accent-text); background: var(--egujhc-accent-bg); color: var(--egujhc-ink); outline: 0; }
.judge-cause-list-date-shortcut:focus-visible { box-shadow: 0 0 0 3px rgb(77 70 201 / .25); }
.judge-cause-list-date-shortcut.is-selected { border-color: var(--egujhc-accent-text); background: var(--egujhc-indigo); color: #fff; }
.judge-cause-list-date-shortcut.is-selected span { color: rgb(255 255 255 / .8); }
.judge-cause-list-date-control { position: relative; }
.judge-my-orders-date-control { position: relative; }
.judge-my-orders-page .judge-date-picker { z-index: 20; }
.judge-my-orders-page { display: grid; gap: 1rem; }
.judge-my-orders-date-search .card-header, .judge-my-orders-filter-panel .card-header, .judge-my-orders-results .card-header { display: flex; align-items: center; gap: .5rem; }
.judge-my-orders-date-search .card-header > .bi, .judge-my-orders-filter-panel .card-header > .bi, .judge-my-orders-results .card-header > .bi { color: #fff; }
.judge-my-orders-date-search-form { display: grid; grid-template-columns: repeat(4, minmax(10.5rem, 1fr)) auto; align-items: end; gap: .65rem; }
.judge-my-orders-date-search-form > .btn { min-height: 2.35rem; white-space: nowrap; }
.judge-my-orders-workspace { display: grid; grid-template-columns: minmax(17rem, 20rem) minmax(0, 1fr); align-items: start; gap: 1rem; }
.judge-my-orders-filter-panel { position: sticky; top: 1rem; }
.judge-my-orders-filter-panel .card-body { max-height: calc(100vh - 8rem); overflow: auto; padding: .85rem; }
.judge-my-orders-filter-group { display: grid; gap: .45rem; padding-bottom: .85rem; border-bottom: 1px solid var(--egujhc-border); }
.judge-my-orders-filter-group:last-child { padding-bottom: 0; border-bottom: 0; }
.judge-my-orders-filter-group h3, .judge-my-orders-active-filters h3 { margin: 0; color: var(--egujhc-heading); font-size: .78rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.judge-my-orders-filter-control { display: grid; gap: .25rem; }
.judge-my-orders-filter-control .form-label { margin: 0; color: var(--egujhc-muted); font-size: .76rem; font-weight: 700; }
.judge-my-orders-sort-control { margin-bottom: .85rem; }
.judge-my-orders-sort-control .form-label { margin: 0; color: var(--egujhc-heading); font-size: .78rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.judge-my-orders-facet-search { min-height: 2rem; padding: .25rem .5rem; font-size: .84rem; }
.judge-my-orders-filter-links { display: grid; gap: .14rem; max-height: 12.5rem; overflow-x: hidden; overflow-y: auto; padding-inline-end: .5rem; scrollbar-gutter: stable; }
.judge-my-orders-filter-selected, .judge-my-orders-filter-unselected { display: grid; gap: .14rem; }
.judge-my-orders-filter-selected { padding: .38rem .45rem; border: 1px solid #d8d6fa; border-radius: .45rem; background: var(--egujhc-surface-soft); }
.judge-my-orders-facet-divider { display: flex; align-items: center; gap: .45rem; margin: .45rem 0 .25rem; color: var(--egujhc-muted); font-size: .67rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.judge-my-orders-facet-divider::before, .judge-my-orders-facet-divider::after { flex: 1 1 auto; height: 1px; background: var(--egujhc-accent-bg); content: ''; }
.judge-my-orders-facet-no-results { padding: .3rem 0; color: var(--egujhc-muted); font-size: .82rem; }
.judge-my-orders-filter-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; width: 100%; padding: .18rem 0; border: 0; background: transparent; color: var(--egujhc-heading); font-size: .96rem; line-height: 1.35; text-align: left; }
.judge-my-orders-filter-link > span { min-width: 0; overflow-wrap: anywhere; }
.judge-my-orders-filter-link small { align-self: start; min-inline-size: 1.7rem; color: var(--egujhc-muted); font-size: .8rem; text-align: end; }
.judge-my-orders-filter-link:hover, .judge-my-orders-filter-link:focus-visible { color: var(--egujhc-accent-text); outline: 0; text-decoration: underline; }
.judge-my-orders-filter-link.is-selected { padding-left: .45rem; border-left: .2rem solid var(--egujhc-indigo); color: var(--egujhc-accent-text); font-weight: 800; }
.judge-my-orders-active-filters { display: grid; gap: .5rem; padding: .7rem; border: 1px solid #d8d6fa; border-radius: .6rem; background: var(--egujhc-surface-soft); }
.judge-my-orders-active-filters-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.judge-my-orders-active-filters-heading .btn { padding: 0; font-size: .76rem; font-weight: 700; }
.judge-my-orders-filter-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.judge-my-orders-filter-chip { display: inline-flex; align-items: center; gap: .35rem; max-width: 100%; padding: .2rem .38rem; border: 1px solid #bdb9f3; border-radius: .35rem; background: var(--egujhc-surface); color: var(--egujhc-accent-text); font-size: .72rem; line-height: 1.25; text-align: left; }
.judge-my-orders-filter-chip:hover, .judge-my-orders-filter-chip:focus-visible { border-color: var(--egujhc-accent-text); background: var(--egujhc-accent-bg); outline: 0; }
.judge-my-orders-filter-chip span { overflow-wrap: anywhere; }
.judge-my-orders-filter-chip .bi { flex: 0 0 auto; font-size: .68rem; }
.judge-my-orders-results .card-body { padding: 0; }
.judge-my-orders-result-list { display: grid; }
.judge-my-orders-result { display: grid; grid-template-columns: minmax(11rem, .82fr) minmax(0, 2.6fr) auto; align-items: start; gap: .85rem; padding: .8rem 1rem; border-bottom: 1px solid var(--egujhc-border); }
.judge-my-orders-result:last-child { border-bottom: 0; }
.judge-my-orders-result-identity, .judge-my-orders-result-copy { min-width: 0; }
.judge-my-orders-result-identity h3 { color: var(--egujhc-heading); overflow-wrap: anywhere; }
.judge-my-orders-case-reference { display: grid; gap: .1rem; }
.judge-my-orders-case-reference-connector { color: var(--egujhc-muted); font-size: .84em; font-weight: 600; }
.judge-my-orders-result-identity p { color: var(--egujhc-muted); font-size: .8rem; }
.judge-my-orders-result-copy h3 { color: var(--egujhc-heading); overflow-wrap: anywhere; }
.judge-my-orders-result-type { display: inline-flex; margin-bottom: .45rem; padding: .16rem .42rem; border-radius: .3rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .68rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.judge-my-orders-view-action { align-self: center; white-space: nowrap; }
.judge-my-orders-result-metadata { display: grid; grid-template-columns: repeat(4, minmax(7.5rem, 1fr)); gap: .42rem .85rem; margin: 0; }
.judge-my-orders-result-metadata > div { min-width: 0; }
.judge-my-orders-result-metadata dt { margin: 0 0 .08rem; color: var(--egujhc-muted); font-size: .62rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.judge-my-orders-result-metadata dd { margin: 0; color: var(--egujhc-ink); font-size: .78rem; line-height: 1.28; overflow-wrap: anywhere; }
.judge-my-orders-result-count { display: inline-grid; min-width: 1.65rem; height: 1.65rem; place-items: center; margin-left: auto; padding-inline: .4rem; border-radius: 999px; background: rgb(255 255 255 / .18); color: #fff; font-size: .75rem; font-weight: 800; }
.judge-my-orders-empty { display: grid; min-height: 12rem; place-content: center; justify-items: center; padding: 1.5rem; color: var(--egujhc-ink); text-align: center; }
.judge-my-orders-empty > .bi { margin-bottom: .65rem; color: var(--egujhc-accent-text); font-size: 1.65rem; }
.judge-my-order-viewer-overlay { position: fixed; z-index: 1100; inset: 0; display: grid; min-width: 0; min-height: 0; background: var(--egujhc-canvas); }
.judge-my-order-viewer-overlay-surface { display: flex; min-width: 0; min-height: 0; flex-direction: column; background: var(--egujhc-canvas); }
.judge-my-order-viewer-overlay-header { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: .75rem; padding: .58rem .85rem; color: #fff; background: var(--egujhc-navy); box-shadow: 0 .2rem .55rem rgb(16 36 71 / .2); }
.judge-my-order-viewer-overlay-header > div { display: inline-flex; min-width: 0; align-items: center; gap: .5rem; }
.judge-my-order-viewer-overlay-header h2 { overflow-wrap: anywhere; }
.judge-my-order-viewer-overlay-header > div > .bi { flex: 0 0 auto; color: var(--egujhc-sky); }
.judge-my-order-viewer-overlay-header .btn { flex: 0 0 auto; white-space: nowrap; }
.judge-my-order-viewer-overlay-body { display: flex; min-width: 0; min-height: 0; flex: 1 1 auto; padding: .5rem; }
.judge-my-order-viewer-overlay-body > .judge-my-orders-empty { width: 100%; min-height: 0; background: var(--egujhc-surface); border: 1px solid var(--egujhc-border); border-radius: .65rem; }
.judge-my-order-pdf-viewer { height: 100%; min-height: 0; flex: 1 1 auto; border-radius: .65rem; }
@media (max-width: 1199.98px) {
    .judge-my-orders-date-search-form { grid-template-columns: repeat(2, minmax(12rem, 1fr)) auto; }
    .judge-my-orders-result-metadata { grid-template-columns: repeat(3, minmax(7.25rem, 1fr)); }
}
@media (max-width: 991.98px) {
    .judge-my-orders-workspace { grid-template-columns: 1fr; }
    .judge-my-orders-filter-panel { position: static; }
    .judge-my-orders-filter-panel .card-body { max-height: none; }
}
@media (max-width: 767.98px) {
    .judge-my-orders-date-search-form { grid-template-columns: 1fr; }
    .judge-my-orders-date-search-form > .btn { justify-self: start; }
    .judge-my-orders-result { grid-template-columns: 1fr; gap: .65rem; }
    .judge-my-orders-view-action { justify-self: start; }
    .judge-my-orders-result-metadata { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .judge-my-order-viewer-overlay-header { padding: .5rem .6rem; }
    .judge-my-order-viewer-overlay-header .btn { min-height: 2rem; padding-inline: .45rem; font-size: .78rem; }
    .judge-my-order-viewer-overlay-body { padding: .35rem; }
}
.judge-cause-list-date-input { max-width: none; }
.judge-date-picker { position: absolute; z-index: 5; top: calc(100% + .35rem); left: 0; width: min(19rem, calc(100vw - 3rem)); padding: .75rem; border: 1px solid #cbd3e2; border-radius: .7rem; background: var(--egujhc-surface); box-shadow: 0 .6rem 1.5rem rgb(24 35 58 / .16); }
.judge-date-picker-header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .7rem; color: var(--egujhc-heading); }
.judge-date-picker-weekdays, .judge-date-picker-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .2rem; text-align: center; }
.judge-date-picker-weekdays { margin-bottom: .25rem; color: var(--egujhc-muted); font-size: .7rem; font-weight: 700; }
.judge-date-picker-day, .judge-date-picker-blank { aspect-ratio: 1; }
.judge-date-picker-day { display: grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: .4rem; background: transparent; color: var(--egujhc-ink); font: inherit; }
.judge-date-picker-day:hover, .judge-date-picker-day:focus-visible { border-color: var(--egujhc-accent-text); background: var(--egujhc-accent-bg); outline: 0; }
.judge-date-picker-day.is-selected { background: var(--egujhc-indigo); color: #fff; }
.judge-cause-list-empty { display: grid; min-height: 15rem; place-content: center; justify-items: center; padding: 1.5rem; border: 1px dashed #cbd3e2; border-radius: .7rem; background: var(--egujhc-surface-soft); text-align: center; }
.judge-cause-list-empty > .bi { margin-bottom: .7rem; color: var(--egujhc-accent-text); font-size: 1.8rem; }
.judge-cause-list-loading-icon { animation: judge-cause-list-spin 1s linear infinite; }
.judge-cause-list-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.judge-cause-list-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; width: min(100%, 19rem); min-height: 5.5rem; gap: .75rem; padding: .85rem 1rem; border: 1px solid #d7dcef; border-radius: .7rem; background: var(--egujhc-surface-soft); color: var(--egujhc-ink); font: inherit; text-align: left; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease; }
.judge-cause-list-cta-icon { display: grid; width: 2.25rem; height: 2.25rem; flex: 0 0 auto; place-items: center; border-radius: .6rem .6rem .6rem .2rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: 1rem; }
.judge-cause-list-cta-copy { display: grid; min-width: 0; gap: .12rem; }
.judge-cause-list-cta-copy strong { color: var(--egujhc-heading); font-size: 1rem; }
.judge-cause-list-cta-bench { overflow-wrap: anywhere; }
.judge-cause-list-cta-arrow { color: var(--egujhc-accent-text); }
.judge-cause-list-cta:hover, .judge-cause-list-cta:focus-visible { border-color: var(--egujhc-accent-text); background: var(--egujhc-accent-bg); color: var(--egujhc-ink); outline: 0; }
.judge-cause-list-cta:focus-visible { box-shadow: 0 0 0 3px rgb(77 70 201 / .25); }
.judge-cause-list-cta.is-selected { border-color: var(--egujhc-accent-text); background: var(--egujhc-indigo); color: #fff; }
.judge-cause-list-cta.is-selected .judge-cause-list-cta-icon { background: rgb(255 255 255 / .18); color: #fff; }
.judge-cause-list-cta.is-selected .judge-cause-list-cta-copy strong, .judge-cause-list-cta.is-selected .judge-cause-list-cta-arrow { color: #fff; }
.judge-court-cause-list-page { display: grid; gap: 1rem; }
.judge-court-cause-page-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .9rem; }
.judge-court-cause-heading-leading { justify-self: start; }
.judge-court-cause-heading-context { min-width: 0; text-align: center; }
.judge-court-cause-heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: .9rem; flex-wrap: wrap; }
.judge-court-cause-page-heading > .judge-court-cause-heading-actions { justify-self: end; }
.judge-court-cause-heading-actions .form-switch { display: flex; align-items: center; gap: .45rem; }
.judge-court-cause-heading-actions .form-check-input { margin: 0; }
.judge-court-cause-list { display: grid; gap: .9rem; }
.judge-court-cause-filters { display: flex; align-items: start; flex-wrap: wrap; gap: .65rem; position: sticky; top: var(--cause-list-header-offset, var(--app-header-height)); z-index: 20; padding: .65rem 0; background: var(--egujhc-surface); border-bottom: 1px solid var(--egujhc-border); }
.judge-court-cause-filters > .judge-court-cause-filter-chips { align-self: start; padding-top: .2rem; }
.judge-court-cause-list > .judge-court-cause-group + .judge-court-cause-group { margin-top: .75rem; }
.judge-court-cause-list .judge-court-cause-group .page-kicker { scroll-margin-top: calc(var(--cause-list-header-offset, 68px) + var(--cause-list-toolbar-height, 60px) + 1rem); }
@media (min-width: 1400px) {
    .judge-court-cause-filters { flex-wrap: nowrap; }
    .judge-court-cause-filters > .judge-court-cause-filter-selects:has(.serial-jump) { flex: 1; grid-template-columns: minmax(9rem, 1fr) minmax(8rem, 1fr) auto; min-width: 0; }
    .judge-court-cause-filters .judge-court-cause-filter-chips { flex-wrap: nowrap; }
}
.judge-court-cause-filter-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.judge-court-cause-filter-selects { display: grid; grid-template-columns: repeat(2, minmax(0, 16rem)); gap: .65rem; }
.judge-court-cause-filter { display: inline-flex; align-items: center; gap: .38rem; padding: .3rem .38rem .3rem .6rem; border: 1px solid #cfd6e7; border-radius: 999px; background: var(--egujhc-surface); color: var(--egujhc-ink); font: inherit; font-size: .78rem; font-weight: 700; line-height: 1.2; }
.judge-court-cause-filter-count { display: inline-grid; min-width: 1.3rem; min-height: 1.3rem; place-items: center; padding: 0 .22rem; border-radius: 999px; background: var(--egujhc-accent-bg); color: var(--egujhc-heading); font-size: .68rem; }
.judge-court-cause-filter:hover, .judge-court-cause-filter:focus-visible { border-color: var(--egujhc-accent-text); background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); outline: 0; }
.judge-court-cause-filter:focus-visible { box-shadow: 0 0 0 3px rgb(77 70 201 / .2); }
.judge-court-cause-filter.is-selected { border-color: var(--egujhc-accent-text); background: var(--egujhc-indigo); color: #fff; }
.judge-court-cause-filter.is-selected .judge-court-cause-filter-count { background: rgb(255 255 255 / .2); color: #fff; }
.judge-court-cause-stage-group { overflow: hidden; border: 1px solid #d7dcef; border-radius: .7rem; background: var(--egujhc-surface); }
.judge-court-cause-stage-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1rem; padding: .8rem 1rem; border: 0; background: var(--egujhc-accent-bg); color: var(--egujhc-heading); font: inherit; font-size: .95rem; font-weight: 800; text-align: left; }
.judge-court-cause-stage-toggle:hover, .judge-court-cause-stage-toggle:focus-visible { background: var(--egujhc-accent-bg); outline: 0; }
.judge-court-cause-stage-toggle:focus-visible { box-shadow: inset 0 0 0 3px rgb(77 70 201 / .25); }
.judge-court-cause-stage-toggle span { overflow-wrap: anywhere; }
.judge-court-cause-stage-toggle .bi { color: var(--egujhc-accent-text); }
.judge-court-cause-stage-body { display: grid; gap: .75rem; padding: .75rem; background: var(--egujhc-surface-soft); }
.judge-court-cause-stage-body > [data-cause-list-serial] + [data-cause-list-serial] { margin-top: .75rem; }
.judge-court-cause-stage-group + .judge-court-cause-stage-group { margin-top: .6rem; }
.judge-court-cause-group .court-cause-serial-number { font-size: 1.5rem; font-weight: 800; line-height: 1.2; letter-spacing: normal; }
.judge-court-cause-group { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #d7dcef; border-radius: .7rem; background: var(--egujhc-surface); }
.judge-court-cause-group > header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .9rem; border-bottom: 1px solid var(--egujhc-border); background: var(--egujhc-surface-soft); }
.judge-court-cause-group > header > div { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: .75rem; }
.judge-court-cause-group > header .btn { display: inline-flex; align-items: center; white-space: nowrap; }
.judge-court-cause-group-actions, .judge-court-cause-quick-actions, .judge-case-workspace-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .4rem; }
.judge-court-cause-status { display: inline-flex; align-items: center; align-self: center; padding: .28rem .48rem; border-radius: 999px; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .72rem; font-weight: 800; white-space: nowrap; }
.judge-court-cause-status.is-adjourned { background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.judge-court-cause-status.is-disposed { background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.judge-court-cause-status.is-kept-back { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.judge-court-cause-status.is-post-recess { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.court-master-judge-selection { display: inline-flex; align-items: center; padding: .28rem .48rem; border-radius: 999px; background: var(--egujhc-surface-muted); color: var(--egujhc-muted); font-size: .72rem; font-weight: 700; white-space: nowrap; }
.court-master-judge-selection.is-different { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); box-shadow: inset 0 0 0 1px #f9a66b; }
.judge-court-cause-group.has-court-master-judge-difference { box-shadow: inset 3px 0 0 #f58a42, 0 2px 6px rgba(31, 41, 55, .06); }
.court-master-judge-selection-toggle { padding: .35rem .55rem; border: 1px solid #d7dcef; border-radius: .55rem; background: var(--egujhc-surface); color: var(--egujhc-ink); white-space: nowrap; }
.judge-court-cause-status-watermark { position: absolute; inset: 2.7rem 1rem .45rem; z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .14em; overflow: hidden; pointer-events: none; user-select: none; color: #4d46c9; font-size: clamp(1.5rem, 5vw, 4rem); font-weight: 900; letter-spacing: .08em; line-height: 1.1; opacity: .16; text-align: center; text-transform: uppercase; }
.judge-court-cause-status-watermark::before, .judge-court-cause-status-watermark::after { content: ""; width: 100%; height: 2px; flex: 0 0 2px; background: currentColor; }
.judge-court-cause-status-watermark.is-adjourned { color: #b77911; }
.judge-court-cause-status-watermark.is-disposed { color: #23864b; }
.judge-court-cause-status-watermark.is-kept-back { color: #4b5563; }
.judge-court-cause-status-watermark.is-post-recess { color: #155b9d; }
.judge-court-cause-entry-list { position: relative; z-index: 1; display: grid; }
.filing-cause-case-with-actions { min-width: 0; border-bottom: 1px solid var(--cui-border-color, #e8ebf3); }
.filing-cause-case-with-actions:last-child { border-bottom: 0; }
.filing-cause-case-with-actions > .judge-court-cause-entry { border-bottom: 0; }
.filing-cause-case-actions { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .75rem; }
.filing-cause-case-actions > .btn { flex: 0 1 auto; }
.judge-court-cause-entry { display: grid; grid-template-columns: minmax(13rem, 1.15fr) repeat(3, minmax(10rem, 1fr)); gap: 1rem; padding: 1rem; border-bottom: 1px solid #e8ebf3; }
.judge-court-cause-entry:last-child { border-bottom: 0; }
.judge-court-cause-case-column, .judge-court-cause-party-column, .judge-court-cause-advocate-column, .judge-court-cause-remarks-column { min-width: 0; display: grid; align-content: start; gap: .45rem; }
.judge-court-cause-case-title { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .45rem .6rem; }
.judge-court-cause-case-title h3 { color: var(--egujhc-heading); overflow-wrap: anywhere; }
.judge-court-cause-in-title { margin-top: .2rem; color: var(--egujhc-ink); font-size: .85rem; overflow-wrap: anywhere; }
.judge-court-cause-age-badge, .judge-court-cause-leave-badge { display: inline-flex; align-items: center; align-self: flex-start; padding: .22rem .45rem; border-radius: 999px; font-size: .7rem; font-weight: 800; line-height: 1.2; }
.judge-court-cause-age-badge.is-very-critical { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.judge-court-cause-age-badge.is-critical { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.judge-court-cause-age-badge.is-old { background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.judge-court-cause-district { justify-self: start; padding: .25rem .45rem; border-radius: .45rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .73rem; font-weight: 700; }
.judge-court-cause-listing { color: var(--egujhc-muted); font-size: .8rem; }
.judge-court-cause-apex-chip { justify-self: start; padding: .24rem .45rem; border: 1px solid #e0c4e5; border-radius: 999px; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .7rem; font-weight: 800; }
.judge-court-cause-detail-grid dt { margin-bottom: .18rem; color: var(--egujhc-muted); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.judge-court-cause-detail-grid dd { margin: 0; color: var(--egujhc-ink); font-size: .85rem; overflow-wrap: anywhere; white-space: pre-line; }
.judge-court-cause-parties { display: grid; gap: .18rem; }
.judge-court-cause-party-name { display: block; }
.judge-court-cause-party-suffix { margin-left: .35rem; color: var(--egujhc-muted); }
.judge-court-cause-versus { color: var(--egujhc-accent-text); font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.judge-court-cause-advocates { display: grid; gap: .55rem; }
.judge-court-cause-advocate-group { display: grid; gap: .3rem; }
.judge-court-cause-advocate-group + .judge-court-cause-advocate-group { padding-top: .45rem; border-top: 1px solid #e8ebf3; }
.judge-court-cause-advocate { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .25rem .45rem; }
.judge-court-cause-advocate-name-list { color: var(--egujhc-muted); }
.judge-court-cause-leave-badge { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.judge-court-cause-remarks { padding-left: .65rem; border-left: 3px solid var(--egujhc-coral); color: var(--egujhc-ink); font-size: .85rem; overflow-wrap: anywhere; white-space: pre-line; }
.judge-court-cause-group-details { display: grid; gap: .75rem; padding: .9rem; border-top: 1px solid var(--egujhc-border); background: var(--egujhc-surface-soft); }
.judge-court-cause-details { padding: .9rem; border: 1px solid #d7dcef; border-radius: .6rem; background: var(--egujhc-surface-soft); }
.judge-court-cause-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem 1rem; }

.registry-scrutiny-queue-tools { padding: .85rem 1.25rem 0; }
.registry-scrutiny-tabs { display: inline-flex; flex-wrap: wrap; gap: .45rem; padding: .28rem; border-radius: .65rem; background: var(--egujhc-accent-bg); }
.registry-scrutiny-status { display: inline-flex; align-items: center; border-radius: 999px; padding: .28rem .5rem; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.registry-scrutiny-status.is-pooled, .registry-scrutiny-status.is-assigned { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.registry-scrutiny-status.is-mandatory-scrutiny { background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.registry-scrutiny-status.is-action-pending { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.registry-scrutiny-status.is-filed { background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.registry-scrutiny-status.is-under-scrutiny { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.registry-scrutiny-status.is-verification-pending { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.registry-scrutiny-status.is-approval-pending { background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.registry-scrutiny-status.is-scrutiny-completed { background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.registry-scrutiny-status.is-defective { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.registry-scrutiny-allocation { display: grid; grid-template-columns: minmax(12rem, 1fr) auto; align-items: center; gap: .45rem; min-width: 18rem; }
.registry-scrutiny-worklist td:last-child .btn { display: inline-flex; align-items: center; white-space: nowrap; }
.registry-scrutiny-layout { display: grid; grid-template-columns: minmax(26rem, 42fr) minmax(34rem, 58fr); align-items: start; gap: 1rem; }
.registry-scrutiny-editor { display: grid; min-width: 0; gap: 1rem; }
.document-examiner-review-layout { display: grid; grid-template-columns: minmax(24rem, 38fr) minmax(34rem, 62fr); align-items: start; gap: 1rem; }
.document-examiner-review-editor { display: grid; min-width: 0; gap: 1rem; }
.document-examiner-review-viewer { position: sticky; top: 1rem; min-width: 0; }
.document-examiner-context { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.document-examiner-context > .nav-tabs { flex-wrap: wrap; }
.document-examiner-context > .nav-tabs .nav-link { white-space: normal; font-size: .875rem; }
.document-context-panel { min-width: 0; min-height: 0; height: 100%; }
.document-context-panel[hidden] { display: none !important; }
.document-context-panel > .main-case-pdf-viewer { height: 100%; min-height: 0; }
#document-context-details { overflow-y: auto; background: var(--bs-body-bg, white); }
.document-examiner-metadata-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem .85rem; margin: 0; }
.document-examiner-metadata-grid > div { padding: .65rem .7rem; border: 1px solid var(--egujhc-border); border-radius: .55rem; background: var(--egujhc-surface-soft); }
.document-examiner-metadata-grid dt { margin: 0 0 .2rem; color: var(--egujhc-muted); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.document-examiner-metadata-grid dd { margin: 0; color: var(--egujhc-ink); font-size: .9rem; font-weight: 700; overflow-wrap: anywhere; }
.document-examiner-metadata-span { grid-column: 1 / -1; }
.document-examiner-document-list { display: grid; gap: .55rem; }
.document-examiner-document-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .65rem; width: 100%; padding: .7rem .75rem; border: 1px solid var(--egujhc-border); border-radius: .6rem; color: var(--egujhc-ink); background: var(--egujhc-surface-soft); font: inherit; text-align: left; }
.document-examiner-document-option:hover { border-color: #bcb8ff; color: var(--egujhc-accent-text); background: var(--egujhc-surface-soft); }
.document-examiner-document-option.is-selected { border-color: #a8a2ff; background: var(--egujhc-accent-bg); box-shadow: inset .22rem 0 0 var(--egujhc-indigo); }
.document-examiner-document-option:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 2px; }
.document-examiner-document-icon { display: inline-grid; width: 2.1rem; height: 2.1rem; place-items: center; border-radius: .5rem; color: var(--egujhc-accent-text); background: #e9e8ff; }
.document-examiner-document-copy { display: grid; min-width: 0; gap: .15rem; }
.document-examiner-document-copy strong { overflow: hidden; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.document-examiner-document-copy small { color: var(--egujhc-muted); font-size: .75rem; overflow-wrap: anywhere; }
.document-examiner-document-option > .bi { color: var(--egujhc-accent-text); }
.document-examiner-replacement-card { border-color: #d9d6ff; }
.document-examiner-replacement-choice { display: flex; align-items: center; gap: 1.1rem; margin: 0; padding: 0; border: 0; }
.document-examiner-replacement-choice label { display: inline-flex; align-items: center; gap: .4rem; color: var(--egujhc-ink); font-size: .9rem; font-weight: 700; }
.document-examiner-replacement-choice .form-check-input { float: none; margin: 0; }
.document-examiner-replacement-loading { display: flex; align-items: center; gap: .55rem; color: var(--egujhc-muted); font-size: .9rem; }
.document-examiner-replacement-empty { padding: .8rem; border: 1px dashed #cfd6e2; border-radius: .55rem; color: var(--egujhc-muted); font-size: .88rem; }
.document-examiner-replacement-group { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--egujhc-border); }
.document-examiner-replacement-group h3 { margin: 0 0 .55rem; color: var(--egujhc-accent-text); font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.document-examiner-replacement-records { display: grid; gap: .45rem; }
.document-examiner-replacement-record { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: .65rem; padding: .65rem .7rem; border: 1px solid var(--egujhc-border); border-radius: .55rem; background: var(--egujhc-surface-soft); cursor: pointer; }
.document-examiner-replacement-record:hover { border-color: #bcb8ff; background: var(--egujhc-surface-soft); }
.document-examiner-replacement-record input { margin: 0; }
.document-examiner-replacement-record span { display: grid; min-width: 0; gap: .1rem; }
.document-examiner-replacement-record strong { overflow-wrap: anywhere; font-size: .86rem; }
.document-examiner-replacement-record small { color: var(--egujhc-muted); font-size: .72rem; }
.document-examiner-pdf-viewer { height: clamp(42rem, 78vh, 64rem); }
.document-examiner-image-preview, .document-examiner-preview-empty { display: grid; min-height: clamp(42rem, 78vh, 64rem); overflow: hidden; border: 1px solid var(--egujhc-border); border-radius: .85rem; background: var(--egujhc-surface-muted); box-shadow: 0 .35rem .9rem rgb(24 35 58 / .08); }
.document-examiner-image-preview { grid-template-rows: auto minmax(0, 1fr); }
.document-examiner-image-preview > header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1rem; border-bottom: 1px solid var(--egujhc-border); background: var(--egujhc-surface-soft); }
.document-examiner-image-stage { display: grid; min-height: 0; overflow: auto; padding: 1.25rem; place-items: start center; background: var(--egujhc-accent-bg); }
.document-examiner-image-stage img { display: block; width: auto; max-width: 100%; min-height: 0; height: auto; box-shadow: 0 .4rem 1rem rgb(24 35 58 / .24); }
.document-examiner-preview-empty { place-items: center; gap: .5rem; padding: 2rem; color: var(--egujhc-muted); text-align: center; }
.document-examiner-preview-empty .bi { font-size: 2rem; color: var(--egujhc-accent-text); }
@media (min-width: 1200px) {
    .filing-ai-scrutiny-page { display: grid; height: 100%; min-height: 0; grid-template-rows: auto auto auto minmax(0, 1fr); gap: .75rem; }
    .filing-ai-scrutiny-page > .workspace-page-heading,
    .filing-ai-scrutiny-page > [id$="stepper"] { margin-bottom: 0; }
    .filing-ai-scrutiny-page > .ai-scrutiny-layout { min-height: 0; height: 100%; }
    .filing-ai-scrutiny-page .ai-scrutiny-results,
    .filing-ai-scrutiny-page #ai-scrutiny-pdf-pane,
    .filing-ai-scrutiny-page #ai-scrutiny-pdf-pane > .main-case-pdf-viewer,
    .filing-ai-scrutiny-page #ai-scrutiny-pdf-pane > .ai-pdf-waiting { min-height: 0; height: 100%; }
    .defect-cure-ai-page > .defect-cure-ai-layout { min-height: 0; height: 100%; overflow: hidden; }
    .defect-cure-ai-page #defect-cure-ai-results { min-height: 0; height: auto; max-height: none; }
    .defect-cure-ai-page #defect-cure-ai-results .ai-scrutiny-progressive-results,
    .defect-cure-ai-page #defect-cure-ai-results .ai-scrutiny-result-tabs,
    .defect-cure-ai-page #defect-cure-ai-results .ai-scrutiny-read-only-panel { min-height: 0; }
    .defect-cure-ai-page #defect-cure-ai-results .registry-finding-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
    .defect-cure-ai-page #defect-cure-ai-pdf-pane { min-height: 0; overflow: hidden; }
    .defect-cure-ai-page #defect-cure-ai-pdf-pane > .main-case-pdf-viewer,
    .defect-cure-ai-page #defect-cure-ai-pdf-pane > .ai-pdf-waiting { min-height: 0; height: 100%; }
    .document-examiner-review-page { display: grid; height: 100%; min-height: 0; grid-template-rows: auto minmax(0, 1fr); gap: .75rem; }
    .document-examiner-review-page > .workspace-page-heading { margin-bottom: 0; }
    .document-examiner-review-layout { min-height: 0; height: 100%; align-items: stretch; }
    .document-examiner-review-editor { min-height: 0; overflow-x: hidden; overflow-y: auto; align-content: start; padding-right: .45rem; scrollbar-gutter: stable; }
    .document-examiner-review-viewer { position: static; min-height: 0; height: 100%; }
    .document-examiner-pdf-viewer, .document-examiner-image-preview, .document-examiner-preview-empty { min-height: 0; height: 100%; }
    .registry-scrutiny-page { display: grid; height: 100%; min-height: 0; grid-template-rows: auto auto minmax(0, 1fr); gap: .75rem; }
    .registry-scrutiny-page > .workspace-page-heading { margin-bottom: 0; }
    .registry-scrutiny-page > form { min-height: 0; }
    .registry-scrutiny-page .registry-scrutiny-layout { min-height: 0; height: 100%; align-items: stretch; }
    .registry-scrutiny-page .registry-scrutiny-editor { min-height: 0; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; }
    .registry-scrutiny-page .registry-review-tabs { display: grid; min-height: 0; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
    .registry-scrutiny-page .registry-review-tabs > .tab-content { display: grid; min-height: 0; overflow: hidden; padding-top: .85rem; }
    .registry-scrutiny-page .registry-review-tabs > .tab-content > .tab-pane.active { min-height: 0; height: 100%; overflow-x: hidden; overflow-y: auto; padding-right: .45rem; scrollbar-color: #aab6c8 transparent; scrollbar-width: thin; }
    .registry-scrutiny-page .registry-scrutiny-viewer { position: static; min-height: 0; height: 100%; }
    .registry-scrutiny-page .registry-scrutiny-viewer > .main-case-pdf-viewer { min-height: 0; height: 100%; }
    .registry-full-scrutiny-review-page, .registry-verification-review-page, .registry-approval-review-page { display: grid; height: 100%; min-height: 0; grid-template-rows: auto auto minmax(0, 1fr); gap: .75rem; }
    .registry-full-scrutiny-review-page > .workspace-page-heading, .registry-verification-review-page > .workspace-page-heading, .registry-approval-review-page > .workspace-page-heading { margin-bottom: 0; }
    .registry-full-scrutiny-review-page > form, .registry-verification-review-page > form, .registry-approval-review-page > form { min-height: 0; }
    .registry-full-scrutiny-review-page .registry-scrutiny-layout, .registry-verification-review-page .registry-scrutiny-layout, .registry-approval-review-page .registry-scrutiny-layout { min-height: 0; height: 100%; align-items: stretch; }
    .registry-full-scrutiny-review-page .registry-scrutiny-editor, .registry-verification-review-page .registry-scrutiny-editor, .registry-approval-review-page .registry-scrutiny-editor { min-height: 0; grid-template-rows: minmax(0, 1fr); overflow: hidden; }
    .registry-full-scrutiny-review-page .registry-review-tabs, .registry-verification-review-page .registry-review-tabs, .registry-approval-review-page .registry-review-tabs { display: grid; min-height: 0; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
    /* Context is optional; never let it consume the navigation's grid track. */
    :is(.registry-full-scrutiny-review-page, .registry-verification-review-page, .registry-approval-review-page) .registry-review-tabs.registry-full-review-tabs { grid-template-rows: auto auto minmax(0, 1fr); }
    .registry-full-review-tabs > .registry-review-context { min-height: 0; max-height: min(25vh, 14rem); overflow-y: auto; }
    .registry-full-scrutiny-review-page .registry-review-tabs > .tab-content, .registry-verification-review-page .registry-review-tabs > .tab-content, .registry-approval-review-page .registry-review-tabs > .tab-content { display: grid; min-height: 0; overflow: hidden; padding-top: .85rem; }
    .registry-full-scrutiny-review-page .registry-review-tabs > .tab-content > .tab-pane.active, .registry-verification-review-page .registry-review-tabs > .tab-content > .tab-pane.active, .registry-approval-review-page .registry-review-tabs > .tab-content > .tab-pane.active { min-height: 0; height: 100%; overflow-x: hidden; overflow-y: auto; padding-right: .45rem; scrollbar-color: #aab6c8 transparent; scrollbar-width: thin; }
    .registry-full-scrutiny-review-page .registry-scrutiny-viewer, .registry-verification-review-page .registry-scrutiny-viewer, .registry-approval-review-page .registry-scrutiny-viewer { position: static; min-height: 0; height: 100%; }
    .registry-full-scrutiny-review-page .registry-scrutiny-viewer > .main-case-pdf-viewer, .registry-verification-review-page .registry-scrutiny-viewer > .main-case-pdf-viewer, .registry-approval-review-page .registry-scrutiny-viewer > .main-case-pdf-viewer { min-height: 0; height: 100%; }
    .registry-registration-data-page { display: grid; height: 100%; min-height: 0; grid-template-rows: auto auto minmax(0, 1fr); gap: .75rem; }
    .registry-registration-data-page > .workspace-page-heading { margin-bottom: 0; }
    .registry-registration-data-page > form { min-height: 0; height: 100%; overflow: hidden; }
    .registry-registration-data-page .registry-scrutiny-layout { min-height: 0; height: 100%; align-items: stretch; }
    .registry-registration-data-page .registry-scrutiny-editor { min-height: 0; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; }
    .registry-registration-data-page .registry-scrutiny-editor:has(> .alert) { grid-template-rows: auto minmax(0, 1fr) auto; }
    .registry-registration-data-page .registry-review-tabs { display: grid; min-height: 0; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
    .registry-registration-data-page .registry-review-tabs > .tab-content { display: grid; min-height: 0; overflow: hidden; padding-top: .85rem; }
    .registry-registration-data-page .registry-review-tabs > .tab-content > .tab-pane.active { min-height: 0; height: 100%; overflow-x: hidden; overflow-y: auto; padding-right: .45rem; scrollbar-color: #aab6c8 transparent; scrollbar-width: thin; }
    .registry-registration-data-page .registry-scrutiny-viewer { position: static; min-height: 0; height: 100%; }
    .registry-registration-data-page .registry-scrutiny-viewer > .main-case-pdf-viewer { min-height: 0; height: 100%; }
}
.technical-operations-tabs { flex-wrap: nowrap; gap: .2rem; overflow-x: auto; border-bottom-color: var(--egujhc-border); scrollbar-width: thin; }
.technical-operations-tabs .nav-link { color: var(--egujhc-muted); font-weight: 700; white-space: nowrap; }
.technical-operations-tabs .nav-link.active { color: var(--egujhc-accent-text); }
.technical-operations-tab-content { padding-top: 1rem; }
.technical-operations-tab-content .tab-pane:focus { outline: 0; }
.registry-review-tabs { min-width: 0; }
.registry-review-tabs > .nav-tabs { gap: .25rem; padding: 0 .35rem; border-bottom-color: var(--egujhc-border); }
.registry-registration-data-page .registry-review-tabs > .nav-tabs { flex-wrap: nowrap; overflow-x: auto; }
.registry-registration-data-page .registry-review-tabs > .nav-tabs .nav-link { white-space: nowrap; }
.registry-registration-data-page .registry-scrutiny-layout { grid-template-columns: minmax(34rem, 60fr) minmax(26rem, 40fr); }
.registration-party-grids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.registration-party-grids > section { min-width: 0; padding: .75rem; border: 1px solid #e3e7f0; border-radius: .65rem; background: var(--egujhc-surface-soft); }
.registry-grid-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .55rem; }
.registry-inline-editor { padding: .85rem; border: 1px solid #e3e7f0; border-radius: .65rem; background: var(--egujhc-surface-soft); }
.registration-classification-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
.registration-date-control { position: relative; }
.registration-inline-date-picker { z-index: 20; }
.registration-inline-date-picker[hidden] { display: none; }
.registry-registration-data-page .registry-scrutiny-panel.is-registration-date-picker-open { position: relative; z-index: 10; overflow: visible; }
.registry-registration-data-page .registration-date-control.is-registration-date-picker-open { z-index: 20; }
.project-court-working-override-date-control { position: relative; }
.project-court-working-override-date-control .judge-date-picker { z-index: 20; }
.registration-calendar-period { display: grid; grid-template-columns: minmax(0, 1fr) 5.4rem; gap: .35rem; flex: 1; }
.registration-inline-date-picker .registration-calendar-period .form-select { min-width: 0; color: var(--egujhc-heading); font-weight: 600; }
.registration-data-grid { margin-bottom: 0; }
.registration-data-grid th { color: #51627f; font-size: .69rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.registration-data-grid td { font-size: .82rem; vertical-align: middle; }
.registration-case-reference { margin-bottom: .95rem; }
.registration-save-actions { justify-content: flex-start; }
.registry-review-tabs > .nav-tabs .nav-link { color: var(--egujhc-muted); font-weight: 700; }
.registry-review-tabs > .nav-tabs .nav-link.active { color: var(--egujhc-accent-text); }
.registry-review-tabs > .tab-content { padding-top: 1rem; }
.registry-review-tabs .tab-pane:focus { outline: 0; }
.ia-primary-party-card { padding: .8rem; border: 1px solid #e1e5ef; border-radius: .7rem; background: var(--egujhc-surface-soft); }
.ia-party-source-panel { overflow: hidden; background: var(--egujhc-surface); }
.ia-party-panel-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; cursor: pointer; list-style: none; background: var(--egujhc-surface-soft); }
.ia-party-panel-summary::-webkit-details-marker { display: none; }
.ia-party-panel-summary .bi { color: var(--egujhc-accent-text); transition: transform .16s ease; }
.ia-party-source-panel[open] > .ia-party-panel-summary .bi-chevron-down { transform: rotate(180deg); }
.ia-parent-party-table-wrap { max-height: 20rem; border: 1px solid #e3e7f0; border-radius: .55rem; }
.ia-parent-party-table-wrap thead { position: sticky; top: 0; z-index: 1; background: var(--egujhc-surface-soft); }
.ia-parent-party-actions { display: grid; grid-template-columns: minmax(8rem, .8fr) repeat(2, minmax(8rem, 1fr)); gap: .5rem; align-items: end; }
.ia-parent-party-actions .btn { min-height: 2rem; }
.registry-scrutiny-viewer { position: sticky; top: 1rem; min-width: 0; }
.registry-scrutiny-panel { overflow: hidden; border: 1px solid var(--egujhc-border); border-radius: .85rem; background: var(--egujhc-surface); box-shadow: 0 .35rem .9rem rgb(24 35 58 / .06); }
.registry-panel-heading, .registry-metadata-heading, .registry-repeatable-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.registry-panel-heading { padding: 1rem 1.1rem; border-bottom: 1px solid #e5e9f2; background: var(--egujhc-surface-soft); }
.registry-panel-heading > .bi { color: var(--egujhc-accent-text); font-size: 1.15rem; }
.registry-finding-count, .registry-scrutiny-code { display: inline-flex; align-items: center; border-radius: 999px; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .68rem; font-weight: 800; white-space: nowrap; }
.registry-finding-count { padding: .32rem .52rem; }
.registry-scrutiny-code { align-self: flex-start; padding: .2rem .4rem; }
.scrutiny-finding-filter { padding: .65rem .75rem .1rem; border-bottom: 1px solid #edf0f6; background: var(--egujhc-surface); }
.scrutiny-finding-filter .input-group-text { color: var(--egujhc-accent-text); background: var(--egujhc-surface-soft); }
.scrutiny-finding-filter [data-scrutiny-finding-search-clear]:disabled { opacity: .45; }
.registry-finding-list { display: grid; gap: .55rem; padding: .75rem; }
.registry-scrutiny-finding { display: grid; gap: .55rem; padding: .7rem .75rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface); }
.registry-scrutiny-finding.is-mandatory-finding, .defect-cure-finding.is-mandatory-finding { border-color: #edc875; background: var(--egujhc-warning-bg); }
.registry-scrutiny-finding.is-mandatory-finding .registry-scrutiny-code, .defect-cure-finding.is-mandatory-finding .registry-scrutiny-code { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.registry-scrutiny-finding-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.registry-scrutiny-finding-heading > div:first-child { display: flex; align-items: flex-start; gap: .55rem; }
.registry-ai-brief { display: grid; gap: .35rem; padding: .55rem .65rem; border-left: 3px solid var(--egujhc-indigo); border-radius: 0 .55rem .55rem 0; background: var(--egujhc-surface-soft); color: var(--egujhc-ink); }
.registry-ai-brief p { margin: 0; font-size: .78rem; line-height: 1.35; }
.registry-ai-result { display: inline-flex; align-items: baseline; gap: .3rem; width: fit-content; font-size: .75rem; font-weight: 700; }
.registry-ai-result--complied { color: #176b3a; }
.registry-ai-result--needs-review { color: #855a00; }
.registry-ai-result--not-complied { color: #972b2b; }
.registry-ai-result--not-applicable { color: #4b5565; }
.registry-result-toned-finding textarea.registry-ai-brief-input { min-height: 3.5rem; overflow-y: hidden; resize: none; }
.registry-result-toned-finding { --registry-finding-border: #d8dde6; --registry-finding-background: var(--egujhc-surface-muted); --registry-finding-accent: #7a8494; --registry-finding-code-background: var(--egujhc-accent-bg); --registry-finding-code-color: #4b5565; gap: .4rem; padding: .6rem .65rem; border: 1px solid var(--registry-finding-border); border-left: 4px solid var(--registry-finding-accent); background: var(--registry-finding-background); }
.registry-result-toned-finding.is-ai-complied { --registry-finding-border: #b9dfc5; --registry-finding-background: var(--egujhc-success-bg); --registry-finding-accent: #23864b; --registry-finding-code-background: var(--egujhc-success-bg); --registry-finding-code-color: #176b3a; }
.registry-result-toned-finding.is-ai-needs-review { --registry-finding-border: #efd292; --registry-finding-background: var(--egujhc-warning-bg); --registry-finding-accent: #b77911; --registry-finding-code-background: #fff0cc; --registry-finding-code-color: #855a00; }
.registry-result-toned-finding.is-ai-not-complied { --registry-finding-border: #efbbbb; --registry-finding-background: var(--egujhc-danger-bg); --registry-finding-accent: #b83d3d; --registry-finding-code-background: #fbe1e1; --registry-finding-code-color: #972b2b; }
.registry-result-toned-finding.is-ai-not-applicable { --registry-finding-border: #d8dde6; --registry-finding-background: var(--egujhc-surface-muted); --registry-finding-accent: #7a8494; --registry-finding-code-background: var(--egujhc-accent-bg); --registry-finding-code-color: #4b5565; }
/* Mandatory identifies the rule set; the outcome colour identifies its current result. */
.registry-scrutiny-finding.registry-result-toned-finding.is-mandatory-finding { border-color: var(--registry-finding-border); border-left-color: var(--registry-finding-accent); background: var(--registry-finding-background); }
.registry-scrutiny-finding.registry-result-toned-finding.is-mandatory-finding .registry-scrutiny-code { background: var(--registry-finding-code-background); color: var(--registry-finding-code-color); }
.registry-result-toned-finding .registry-scrutiny-finding-heading { gap: .55rem; }
.registry-result-toned-finding .registry-scrutiny-finding-heading > div:first-child { gap: .45rem; }
.registry-result-toned-finding .registry-scrutiny-code { padding: .16rem .36rem; background: var(--registry-finding-code-background); color: var(--registry-finding-code-color); font-size: .62rem; }
.registry-result-toned-finding .registry-scrutiny-finding-heading h3 { font-size: .8rem; font-weight: 700; line-height: 1.3; }
.registry-result-toned-finding .registry-ai-brief { gap: .22rem; padding: .42rem .52rem; border-left-color: var(--registry-finding-accent); background: rgb(255 255 255 / .68); }
.registry-result-toned-finding .registry-ai-brief p { font-size: .75rem; }
.registry-result-toned-finding .registry-prior-decision, .registry-result-toned-finding .registry-human-decision { padding: .45rem .52rem; }
.registry-result-toned-finding .registry-human-decision legend { margin-bottom: .3rem; font-size: .75rem; }
.registry-result-toned-finding .registry-form-grid { gap: .55rem; }
.registry-result-toned-finding .form-label { margin-bottom: .18rem; font-size: .76rem; }
.registry-result-toned-finding .form-control { font-size: .82rem; line-height: 1.25; }
.registry-result-toned-finding .registry-information-capture > p { font-size: .72rem; line-height: 1.3; }
.registry-result-toned-finding .registry-objection-wording { padding-top: 0; }
.registry-decision-metadata-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin-top: .5rem; }
.registry-related-metadata-item { display: grid; gap: .28rem; min-width: 0; padding: .42rem .48rem; border: 1px solid color-mix(in srgb, var(--registry-finding-border) 62%, #ffffff); border-radius: .4rem; background: rgb(255 255 255 / .68); }
.registry-related-metadata-item-heading { display: flex; align-items: flex-start; justify-content: flex-start; gap: .45rem; }
.registry-related-metadata-item-heading h4 { font-size: .76rem; font-weight: 700; line-height: 1.3; }
.registry-related-metadata-item .registry-scrutiny-code { flex: 0 0 auto; }
.registry-related-metadata-prior, .registry-no-ai-extraction { font-size: .7rem; line-height: 1.25; color: #526077; }
.registry-no-ai-extraction { color: var(--egujhc-muted); }
.registry-information-citations { display: flex; flex-wrap: wrap; gap: .22rem; margin-top: .28rem; }
.registry-ai-brief-meta { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .3rem; }
.registry-prior-decision { padding: .55rem .65rem; border-left: 3px solid #0f8b8d; border-radius: 0 .55rem .55rem 0; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.registry-human-decision { margin: 0; padding: .55rem .65rem; border: 1px solid #e2e6ef; border-radius: .55rem; }
.registry-human-decision legend { float: none; width: auto; margin: 0 0 .45rem; padding: 0 .2rem; }
.registry-objection-wording { padding-top: .1rem; }
.registry-metadata-section { padding: 1rem 1.1rem; border-top: 1px solid #e8ebf3; }
.registry-metadata-panel > .registry-metadata-section:nth-child(2) { border-top: 0; }
.registry-metadata-heading { align-items: center; margin-bottom: .8rem; }
.registry-form-grid, .registry-location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.registry-party-name-field { grid-template-columns: minmax(0, 1fr); }
.registry-location-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.registry-location-grid > div { display: grid; align-content: start; gap: .35rem; min-width: 0; }
.registry-form-span-2 { grid-column: 1 / -1; }
.registration-ai-document-suggestions { margin-bottom: 1rem; min-width: 0; }
.registration-ai-document-suggestion td { padding: .45rem .35rem; }
.registration-ai-document-suggestion td:first-child { min-width: 8rem; overflow-wrap: anywhere; }
.registration-ai-document-suggestion .btn { white-space: normal; min-width: 6rem; }
.registration-document-suggestions-disclosure { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.registration-ai-document-suggestion small { color: var(--egujhc-muted); }
.registration-ai-document-evidence { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.registration-ai-document-evidence .scrutiny-page-links { margin: 0; }
@media (max-width: 767.98px) {
    .registration-ai-document-suggestion td { font-size: .75rem; }
    .registration-ai-document-suggestions table { table-layout: fixed; width: 100%; min-width: 0; }
    .registration-ai-document-suggestions th { font-size: .58rem; white-space: normal; overflow-wrap: anywhere; }
    .registration-ai-document-suggestions th:first-child { width: 34%; }
    .registration-ai-document-suggestions th:nth-child(2) { width: 18%; }
    .registration-ai-document-suggestions th:nth-child(3) { width: 19%; }
    .registration-ai-document-suggestion td:first-child { min-width: 0; }
    .registration-ai-document-suggestion .btn { min-width: 0; width: 100%; padding: .25rem; font-size: .72rem; }
}
.registry-party-address-section .registry-party-name-field { margin-bottom: .5rem; }
.registry-repeatable-list { display: grid; gap: .75rem; }
.registry-repeatable-card { display: grid; gap: .65rem; padding: .8rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface-soft); }
.registry-ai-court-fee-evidence { display: grid; gap: .75rem; margin: 0 0 .9rem; padding: .8rem; border: 1px solid #d9d7f5; border-radius: .65rem; background: var(--egujhc-surface-soft); }
.registry-ai-court-fee-receipts { display: grid; gap: .65rem; }
.registry-ai-court-fee-receipt { display: grid; gap: .65rem; padding: .75rem; border: 1px solid #e0e2f0; border-radius: .55rem; background: var(--egujhc-surface); }
.registry-ai-court-fee-receipt-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .65rem; }
.registry-ai-court-fee-readonly { display: inline-flex; align-items: center; gap: .3rem; flex: 0 0 auto; color: #52617a; font-size: .7rem; font-weight: 800; }
.registry-ai-court-fee-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .6rem; }
.registry-ai-court-fee-field { display: grid; align-content: start; gap: .2rem; min-width: 0; padding: .55rem .6rem; border: 1px solid #e5e8f1; border-radius: .45rem; background: var(--egujhc-surface-soft); }
.registry-ai-court-fee-field > strong { color: #263852; overflow-wrap: anywhere; }
.registry-ai-court-fee-field-evidence { display: grid; gap: .25rem; margin-top: .1rem; }
.registry-ai-court-fee-field-evidence .ai-field-evidence { margin-top: 0; }
.ai-field-evidence { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .28rem .42rem; margin-top: .35rem; padding: .35rem .45rem; border-left: 2px solid #4d46c9; border-radius: 0 .45rem .45rem 0; background: var(--egujhc-surface-soft); color: var(--egujhc-muted); font-size: .72rem; line-height: 1.3; }
.registration-grid-evidence .ai-field-evidence { margin: .3rem 0 0; max-width: 22rem; }
.registration-court-evidence { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.registration-court-evidence-item { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .3rem; }
.registration-court-evidence-label { color: var(--egujhc-muted); font-size: .68rem; font-weight: 700; line-height: 1.2; }
.registration-court-evidence-item .ai-field-evidence { margin: 0; }
.registration-readonly-value { min-height: 2.4rem; padding: .5rem .7rem; border: 1px solid #d7ddea; border-radius: .45rem; background: var(--egujhc-surface-soft); color: var(--egujhc-ink); }
.registration-readonly-value output { display: block; font-weight: 700; }
.ai-metadata-field-identity { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .25rem; color: #52617a; font-size: .66rem; font-weight: 700; }
.ai-metadata-field-identity code { padding: .08rem .28rem; border-radius: .25rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: inherit; }
.ai-metadata-status { display: inline-flex; align-items: center; gap: .22rem; width: max-content; padding: .15rem .35rem; border: 1px solid var(--egujhc-border); border-radius: 999px; font-size: .65rem; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.ai-metadata-status.is-extracted { border-color: #b8e0c7; background: var(--egujhc-success-bg); color: var(--egujhc-success-text); }
.ai-metadata-status.is-needs-review { border-color: #f2ca99; background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.ai-metadata-status.is-not-found { border-color: #d7dde8; background: var(--egujhc-surface-muted); color: var(--egujhc-muted); }
.ai-evidence-value { color: var(--egujhc-ink); font-weight: 800; overflow-wrap: anywhere; }
.ai-evidence-explanation { flex: 1 1 12rem; min-width: 0; }
.ai-entity-evidence { display: grid; gap: .45rem; margin-top: .75rem; padding: .7rem; border: 1px solid var(--egujhc-border); border-radius: .55rem; background: #f9faff; }
.ai-entity-evidence > div { display: grid; gap: .25rem; }
.ai-scrutiny-metadata { display: grid; gap: .55rem; margin-top: .8rem; padding: .75rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface-soft); }
.ai-scrutiny-metadata details { border: 1px solid var(--egujhc-border); border-radius: .5rem; background: var(--egujhc-surface); }
.ai-scrutiny-metadata summary { padding: .5rem .6rem; color: #263852; cursor: pointer; font-size: .82rem; font-weight: 800; }
.ai-metadata-tree-entity > summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.ai-metadata-tree-entity > summary > span:first-child { display: grid; gap: .1rem; }
.ai-metadata-tree-entity > summary small { color: var(--egujhc-muted); font-size: .67rem; font-weight: 700; }
.ai-metadata-tree-entity > summary code { color: var(--egujhc-accent-text); }
.ai-metadata-entity-status { color: var(--egujhc-muted); font-size: .68rem; font-weight: 700; text-align: right; }
.ai-scrutiny-metadata-fields { display: grid; gap: .55rem; padding: .6rem; border-top: 1px solid #edf0f6; }
.ai-scrutiny-metadata-fields article { display: grid; gap: .25rem; padding-bottom: .55rem; border-bottom: 1px solid #edf0f6; }
.ai-scrutiny-metadata-fields article:last-child { padding-bottom: 0; border-bottom: 0; }
.ai-scrutiny-metadata-fields strong { color: #263852; font-size: .78rem; }
.ai-scrutiny-metadata-fields span { color: var(--egujhc-ink); font-weight: 700; }
.ai-scrutiny-metadata-fields p { margin: 0; color: var(--egujhc-muted); font-size: .75rem; }
.ai-metadata-tree-field-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .65rem; }
.ai-metadata-tree-field-heading > div { display: grid; gap: .18rem; min-width: 0; }
.ai-scrutiny-metadata-fields .ai-metadata-status.is-extracted { color: #257443; }
.ai-scrutiny-metadata-fields .ai-metadata-status.is-needs-review { color: #98500b; }
.ai-scrutiny-metadata-fields .ai-metadata-status.is-not-found { color: #59677e; }
.ai-scrutiny-metadata-fields .ai-metadata-tree-value { color: var(--egujhc-ink); font-weight: 800; overflow-wrap: anywhere; }
.registry-repeatable-heading { align-items: center; }
.registry-registration-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem .9rem; margin: 0 0 1rem; }
.registry-registration-summary > div { padding: .65rem .7rem; border: 1px solid var(--egujhc-border); border-radius: .55rem; background: var(--egujhc-surface-soft); }
.registry-registration-summary dt { margin: 0 0 .2rem; color: var(--egujhc-muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.registry-registration-summary dd { margin: 0; color: var(--egujhc-ink); font-weight: 700; overflow-wrap: anywhere; }
.registry-code-field { font-family: var(--cui-font-monospace); font-size: .78rem; }
.registry-metadata-confirmation { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--egujhc-border); border-radius: .85rem; background: var(--egujhc-surface); box-shadow: 0 .35rem .9rem rgb(24 35 58 / .06); }
.registry-metadata-confirmation.is-confirmed { border-color: #a8d8bb; background: var(--egujhc-success-bg); }
.registry-metadata-confirmation .btn { display: inline-flex; flex: 0 0 auto; align-items: center; white-space: nowrap; }
.registry-kayda-declaration { display: grid; gap: .65rem; margin-top: .8rem; padding: .85rem 1rem; border: 1px solid #d9d7fb; border-left: .25rem solid var(--egujhc-indigo); border-radius: .75rem; background: var(--egujhc-surface-soft); }
.registry-kayda-declaration.is-accepted { border-color: #a8d8bb; border-left-color: #198754; background: var(--egujhc-success-bg); }
.registry-kayda-declaration.is-rejected { border-color: #f0c7c0; border-left-color: var(--egujhc-coral); background: var(--egujhc-danger-bg); }
.registry-kayda-declaration .form-label { font-size: .8rem; }
.registry-kayda-declaration-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.registry-kayda-declaration-actions .btn { display: inline-flex; align-items: center; gap: .45rem; }
.registry-confirmed-badge { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.registry-confirmed-badge { border-radius: 999px; padding: .42rem .65rem; background: var(--egujhc-success-bg); color: var(--egujhc-success-text); font-size: .75rem; font-weight: 800; }
.registry-scrutiny-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; padding: 1rem 1.1rem; border: 1px solid var(--egujhc-border); border-radius: .85rem; background: var(--egujhc-surface); box-shadow: 0 .35rem .9rem rgb(24 35 58 / .06); }
.registry-scrutiny-actions .btn { display: inline-flex; align-items: center; }
.registry-scrutiny-actions #registry-terminal-action { display: flex; justify-content: flex-end; }
.registry-scrutiny-actions .alert { display: flex; align-items: flex-start; gap: .5rem; }
.registry-scrutiny-panel > .registry-scrutiny-actions { margin: 0; padding: .7rem .75rem; border: 0; border-radius: 0; background: var(--egujhc-surface-soft); box-shadow: none; }
.registry-scrutiny-panel > .registry-scrutiny-actions[data-registry-scrutiny-actions-position="top"] { border-bottom: 1px solid #edf0f6; }
.registry-scrutiny-panel > .registry-scrutiny-actions[data-registry-scrutiny-actions-position="bottom"] { border-top: 1px solid #edf0f6; }
.registry-readonly-filing-context { display: grid; gap: .2rem; align-content: start; }
.registry-readonly-filing-context > strong { min-height: 2.45rem; display: flex; align-items: center; padding: .5rem .75rem; border: 1px solid var(--egujhc-border); border-radius: .5rem; background: var(--egujhc-surface-soft); color: var(--egujhc-ink); overflow-wrap: anywhere; }

@media (max-width: 1199px) {
    body.defect-cure-workspace-active { overflow: auto; }
    body.defect-cure-workspace-active .app-shell { height: auto; min-height: 100dvh; overflow: visible; }
    #main-content.defect-cure-workspace-host { overflow: visible; }
    body.document-examiner-review-active { overflow: auto; }
    body.document-examiner-review-active .app-shell { height: auto; min-height: 100dvh; overflow: visible; }
    #main-content.document-examiner-review-host { overflow: visible; }
    body.registry-mandatory-scrutiny-active { overflow: auto; }
    body.registry-mandatory-scrutiny-active .app-shell { height: auto; min-height: 100dvh; overflow: visible; }
    #main-content.registry-mandatory-scrutiny-host { overflow: visible; }
    body.registry-full-review-active { overflow: auto; }
    body.registry-full-review-active .app-shell { height: auto; min-height: 100dvh; overflow: visible; }
    #main-content.registry-full-review-host { overflow: visible; }
    body.registry-registration-data-active,
    body:has(.registry-registration-data-page) { overflow: auto; }
    body.registry-registration-data-active .app-shell,
    body:has(.registry-registration-data-page) .app-shell { height: auto; min-height: 100dvh; overflow: visible; }
    #main-content.registry-registration-data-host,
    #main-content:has(.registry-registration-data-page) { overflow: visible; }
    body.filing-ai-scrutiny-active { overflow: auto; }
    body.filing-ai-scrutiny-active .app-shell { height: auto; min-height: 100dvh; overflow: visible; }
    #main-content.filing-ai-scrutiny-host { overflow: visible; }
    body.filing-final-submit-active { overflow: auto; }
    body.filing-final-submit-active .app-shell { height: auto; min-height: 100dvh; overflow: visible; }
    #main-content.filing-final-submit-host { overflow: visible; }
    .filing-final-submit-page { height: auto; overflow: visible; }
    .filing-final-submit-page .filing-final-submit-workspace-panel { overflow: visible; }
    .filing-final-submit-workspace-panel > .registry-review-tabs { padding-right: 0; }
    .filing-final-submit-declaration-stack { min-height: auto; flex: none; padding-right: 0; }
    .filing-office-sharing-options { align-items: stretch; flex-direction: column; }
    .filing-office-member-option { flex: 0 0 auto; }
    .filing-office-all-members-option { flex-basis: auto; }
    .filing-final-submit-page .main-case-pdf-viewer { height: var(--main-case-pdf-a4-height); }
    .registry-scrutiny-layout { grid-template-columns: 1fr; }
    .registry-registration-data-page .registry-scrutiny-layout { grid-template-columns: minmax(0, 1fr); }
    .registry-scrutiny-viewer { position: static; }
    .document-examiner-review-layout { grid-template-columns: 1fr; }
    .document-examiner-review-viewer { position: static; }
    .defect-cure-layout { grid-template-columns: 1fr; }
    .defect-cure-viewer { position: static; }
    .defect-cure-page-editor-layout { grid-template-columns: 1fr; }
    .defect-cure-page-editor-top-row { display: grid; }
    .defect-cure-page-upload-tools { max-width: none; }
    .defect-cure-page-submit-row { margin-bottom: 0; }
}

@media (max-width: 767px) {
    .registry-scrutiny-allocation, .registry-form-grid, .registry-location-grid, .registry-decision-metadata-grid, .defect-cure-related-information { grid-template-columns: 1fr; }
    .registration-party-grids { grid-template-columns: 1fr; }
    .registry-registration-summary { grid-template-columns: 1fr; }
    .document-examiner-metadata-grid { grid-template-columns: 1fr; }
    .document-examiner-metadata-span { grid-column: auto; }
    .document-examiner-replacement-record { grid-template-columns: auto minmax(0, 1fr); }
    .document-examiner-replacement-record > span:last-child { grid-column: 2; }
    .document-examiner-pdf-viewer, .document-examiner-image-preview, .document-examiner-preview-empty { min-height: var(--main-case-pdf-a4-height); height: var(--main-case-pdf-a4-height); }
    .registry-form-span-2 { grid-column: auto; }
    .ai-metadata-tree-entity > summary, .ai-metadata-tree-field-heading { align-items: flex-start; flex-direction: column; }
    .ai-metadata-entity-status { text-align: left; }
    .registry-scrutiny-actions { align-items: stretch; flex-direction: column; }
    .registry-scrutiny-actions > *, .registry-scrutiny-actions .btn { width: 100%; }
    .registry-scrutiny-actions #registry-terminal-action { justify-content: stretch; }
    .registry-metadata-confirmation { align-items: stretch; flex-direction: column; }
    .registry-metadata-confirmation .btn { justify-content: center; width: 100%; }
    .registry-kayda-declaration-actions .btn { justify-content: center; width: 100%; }
    .defect-cure-add-document, .defect-cure-document-groups { grid-template-columns: 1fr; }
    .defect-cure-actions { align-items: stretch; flex-direction: column; }
    .defect-cure-actions .btn { width: 100%; }
}

@keyframes judge-cause-list-spin {
    to { transform: rotate(360deg); }
}

.judge-case-workspace-page { display: grid; gap: .5rem; }
.judge-case-workspace-reference { min-width: 0; overflow: hidden; color: var(--egujhc-ink); font-size: .9rem; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.judge-case-workspace-cause-title { min-width: 0; overflow: hidden; color: var(--egujhc-muted); font-size: .78rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.judge-case-workspace-page.is-liquidtext-case { grid-template-rows: auto minmax(0, 1fr); height: 100%; min-height: 0; overflow: hidden; }
.judge-case-workspace-page.is-liquidtext-case > #judge-case-workspace-content { min-height: 0; overflow: hidden; }
.judge-case-workspace-page.is-liquidtext-case > #judge-case-workspace-content > .judge-case-workspace-layout { height: 100%; min-height: 0; grid-template-rows: minmax(0, 1fr); align-items: stretch; }
.judge-case-workspace-page.is-liquidtext-case .judge-case-pdf-column, .judge-case-workspace-page.is-liquidtext-case .judge-case-information-column { min-height: 0; height: 100%; }
.judge-case-workspace-page.is-liquidtext-case .judge-case-no-digital-reader, .judge-case-workspace-page.is-liquidtext-case .judge-case-digital-empty { min-height: 0; height: 100%; }
.judge-case-workspace-page.is-liquidtext-case .judge-case-information-panel.is-case-details, .judge-case-workspace-page.is-liquidtext-case .judge-case-details-order-panel { height: 100%; min-height: 0; max-height: none; }
.judge-case-liquidtext-workspace { height: 100%; min-height: 0; }
/* The standalone ACL viewer has optional notices in addition to its toolbar.
   Give its workspace the remaining host height, not the PDF's intrinsic height. */
.universal-case-view.is-liquidtext-case { display: flex; flex-direction: column; height: 100%; min-height: 0; min-width: 0; overflow: hidden; gap: .5rem; }
.universal-case-view.is-liquidtext-case > * { flex: 0 0 auto; }
.universal-case-view.is-liquidtext-case > #public-annotation-case-notice:empty { display: none; }
.universal-case-view.is-liquidtext-case > .judge-case-liquidtext-workspace { flex: 1 1 0; height: auto; min-height: 0; min-width: 0; }
.universal-case-view.is-liquidtext-case .main-case-pdf-stage { overscroll-behavior: contain; scrollbar-gutter: stable; }
.judge-case-workspace-toolbar .card-body { display: grid; grid-template-columns: auto minmax(13rem, 1fr) minmax(0, auto) auto; align-items: center; gap: .5rem; padding: .65rem .8rem; }
.judge-case-workspace-toolbar-context { display: grid; grid-auto-rows: auto; align-items: center; min-width: 0; gap: .15rem; }
.judge-case-workspace-context { display: grid; align-content: center; min-width: 0; gap: .18rem; line-height: 1.3; }
.judge-case-workspace-context > * { min-width: 0; overflow-wrap: anywhere; }
.judge-case-workspace-context .page-kicker { margin: 0; }
.judge-case-workspace-context-serial, .judge-case-workspace-context-note { color: var(--egujhc-muted); font-size: .78rem; }
.judge-case-workspace-toolbar [data-judge-case-action-controls] { display: flex; align-items: center; min-width: 0; }
.judge-case-workspace-toolbar [data-within-serial-picker] { flex: 1 1 20rem; min-width: 0; max-width: 36rem; }
.within-serial-selector { width: 100%; min-width: 0; }
.within-serial-selector .form-multi-select-selection { white-space: normal; overflow-wrap: anywhere; }
.within-serial-selector .form-multi-select-option { white-space: normal; overflow-wrap: anywhere; }
.within-serial-selector .form-multi-select-options { max-height: min(22rem, 45vh); overflow-y: auto; overscroll-behavior: contain; }
.within-serial-outcome-label { color: var(--egujhc-heading); font-size: .7rem; font-weight: 700; white-space: nowrap; margin-inline-end: .35rem; }
@media (max-width: 767px) {
    .judge-case-workspace-toolbar [data-within-serial-picker] { width: 100%; max-width: none; flex-basis: 100%; }
    .judge-case-workspace-page .judge-case-workspace-toolbar-context { height: auto; grid-template-rows: auto auto; overflow: visible; }
    .judge-case-workspace-page .judge-case-workspace-reference,
    .judge-case-workspace-page .judge-case-workspace-cause-title { white-space: normal; overflow: visible; overflow-wrap: anywhere; text-overflow: clip; }
}
.judge-case-workspace-action-band { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; min-width: 0; gap: .55rem 1rem; padding-top: .55rem; border-top: 1px solid var(--egujhc-border); }
.court-master-hearing-controls { display: flex; align-items: center; justify-content: flex-end; min-width: 0; gap: .55rem; }
.court-master-hearing-state { display: grid; min-width: 0; color: var(--egujhc-muted); font-size: .72rem; line-height: 1.25; text-align: right; }
.court-master-hearing-state span { color: var(--egujhc-heading); font-weight: 800; }
.court-master-hearing-state small { max-width: 18rem; color: var(--cui-danger); }
.court-master-hearing-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .35rem; }
.court-master-hearing-status { display: inline-flex; align-items: center; gap: .35rem; color: var(--egujhc-muted); font-size: .78rem; font-weight: 700; }
.court-master-legacy-display-controls { display: flex; flex-wrap: wrap; min-width: 0; align-items: center; gap: .55rem; padding-left: .7rem; border-left: 1px solid #d9dfeb; }
.court-master-legacy-display-label { display: block; color: var(--egujhc-muted); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.court-master-legacy-display-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .35rem; }
.court-master-service-page { display: grid; gap: 1rem; }
.court-master-service-page > .workspace-page-heading { margin-bottom: 0; }
.court-master-service-page .dashboard-section { margin: 0; }
.court-master-service-cause-list-selector .card-body, .court-master-service-cause-list-results .card-body { padding: 1rem; }
.court-master-service-card-copy { max-width: 56rem; margin: 0 0 .9rem; color: var(--egujhc-muted); font-size: .88rem; line-height: 1.45; }
.court-master-service-cause-list-summary { display: flex; align-items: center; gap: .7rem; min-width: 0; padding: .72rem .8rem; border: 1px solid #d8d6fa; border-left: .25rem solid var(--egujhc-indigo); border-radius: .6rem; background: var(--egujhc-surface-soft); }
.court-master-service-cause-list-icon { display: inline-grid; width: 2rem; height: 2rem; flex: 0 0 auto; place-items: center; border-radius: .55rem .55rem .55rem .18rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.court-master-service-cause-list-summary > div { display: grid; min-width: 0; gap: .08rem; }
.court-master-service-cause-list-summary strong { color: var(--egujhc-heading); font-size: .88rem; overflow-wrap: anywhere; }
.court-master-service-cause-list-label { color: var(--egujhc-muted); font-size: .68rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.court-master-service-mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.court-master-service-mode-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; min-height: 6.35rem; gap: .75rem; padding: .9rem 1rem; border: 1px solid #d7dcef; border-radius: .7rem; background: var(--egujhc-surface-soft); color: var(--egujhc-ink); font: inherit; text-align: left; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease, transform .15s ease; }
.court-master-service-mode-card > span:nth-child(2) { display: grid; min-width: 0; gap: .2rem; }
.court-master-service-mode-card strong { color: var(--egujhc-heading); font-size: .96rem; }
.court-master-service-mode-card small { color: var(--egujhc-muted); font-size: .8rem; line-height: 1.35; }
.court-master-service-mode-icon { display: inline-grid; width: 2.4rem; height: 2.4rem; place-items: center; border-radius: .65rem .65rem .65rem .2rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: 1.05rem; }
.court-master-service-mode-arrow { color: var(--egujhc-accent-text); }
.court-master-service-mode-card:hover, .court-master-service-mode-card:focus-visible { border-color: var(--egujhc-accent-text); background: var(--egujhc-accent-bg); color: var(--egujhc-ink); outline: 0; transform: translateY(-1px); box-shadow: 0 .45rem .9rem rgb(24 35 58 / .09); }
.court-master-service-mode-card:focus-visible { box-shadow: 0 0 0 3px rgb(77 70 201 / .25); }
.court-master-service-mode-card.is-primary { border-color: #bab6f0; background: linear-gradient(135deg, #f5f4ff 0%, #fff 100%); }
.court-master-service-secondary-actions { display: flex; justify-content: flex-end; margin-top: .9rem; }
.court-master-service-form { align-items: end; }
.court-master-service-form > .court-master-service-cause-list-summary, .court-master-service-form-actions { grid-column: 1 / -1; }
.court-master-service-form-actions, .court-master-service-table-toolbar { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .55rem; }
.court-master-service-work-card .card-body { padding: 1rem; }
.court-master-service-bulk-controls { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem; padding: .9rem 1rem; border-bottom: 1px solid var(--egujhc-border); background: var(--egujhc-surface-soft); }
.court-master-service-bulk-controls > div { min-width: min(100%, 12rem); flex: 1 1 12rem; }
.court-master-service-bulk-controls > .btn { margin-bottom: 0; }
.court-master-service-table-actions { display: flex; justify-content: flex-end; padding: .8rem 1rem; border-top: 1px solid var(--egujhc-border); background: var(--egujhc-surface-soft); }
.court-master-vc-report-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 1rem; }
.court-master-vc-report-controls fieldset { min-width: 0; margin: 0; }
.court-master-vc-report-controls legend { margin-bottom: .35rem; }
.court-master-vc-report-controls { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--egujhc-border); }
.court-master-service-control-action { align-self: end; margin-left: auto; }
.court-master-service-report-intro { display: grid; gap: .9rem; padding: 1rem; border-bottom: 1px solid var(--egujhc-border); }
.court-master-vc-empty-state { padding: 2.5rem 1rem; border: 1px dashed #ccd5e5; border-radius: .5rem; color: var(--egujhc-muted); text-align: center; }
.court-master-vc-empty-state > i { display: block; margin-bottom: .65rem; color: var(--egujhc-primary); font-size: 1.5rem; }
.court-master-vc-case-detail { min-width: 15rem; }
.court-master-vc-case-detail small { display: block; margin-top: .25rem; color: var(--egujhc-muted); font-size: .78rem; }
.court-master-vc-objections { min-width: 10rem; }
.court-master-vc-objections summary { color: var(--egujhc-primary); cursor: pointer; font-weight: 700; }
.court-master-vc-objections p { margin: .45rem 0 0; color: var(--egujhc-ink); font-size: .8rem; white-space: normal; }
.court-master-vc-allow-date { display: grid; grid-template-columns: minmax(8.5rem, 1fr) auto; align-items: center; gap: .45rem; min-width: 17rem; }
@media (max-width: 767.98px) {
    .court-master-service-cause-list-selector .card-body, .court-master-service-cause-list-results .card-body, .court-master-service-work-card .card-body, .court-master-service-report-intro { padding: .8rem; }
    .court-master-service-mode-grid { grid-template-columns: 1fr; }
    .court-master-service-mode-card { min-height: 5.4rem; }
    .court-master-service-form-actions, .court-master-service-table-toolbar, .court-master-service-secondary-actions, .court-master-service-table-actions { justify-content: stretch; }
    .court-master-service-form-actions .btn, .court-master-service-table-toolbar .btn, .court-master-service-secondary-actions .btn, .court-master-service-table-actions .btn { flex: 1 1 auto; }
    .court-master-service-bulk-controls { align-items: stretch; padding: .8rem; }
    .court-master-service-bulk-controls > div, .court-master-service-bulk-controls > .btn { flex: 1 1 100%; width: 100%; }
    .court-master-vc-report-controls { align-items: stretch; gap: .8rem; }
    .court-master-vc-report-controls fieldset, .court-master-service-control-action { flex: 1 1 100%; margin-left: 0; }
    .court-master-vc-report-controls .btn-group { display: flex; width: 100%; }
    .court-master-vc-report-controls .btn-group .btn { flex: 1 1 0; }
}
.court-master-case-workspace-page { display: grid; gap: .65rem; }
.court-master-case-workspace-page .judge-case-workspace-toolbar > .card-body { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.court-master-case-workspace-page [data-judge-case-back] { align-self: center; }
.court-master-case-workspace-page .judge-case-workspace-reference,
.court-master-case-workspace-page .judge-case-workspace-cause-title { white-space: normal; overflow-wrap: anywhere; }
.court-master-case-serial-context { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; min-width: 0; }
.court-master-case-serial { color: var(--cui-primary); font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.court-master-case-workspace-page [data-judge-case-action-controls] { min-width: 0; }
.court-master-case-workspace-page [data-court-master-delivery-notice] { grid-column: 1 / -1; }
.court-master-case-workspace-page [data-court-master-delivery-notice]:empty,
.court-master-case-workspace-page [data-judge-case-action-controls]:empty { display: none; }
@media (max-width: 991px) {
    .court-master-case-workspace-page .judge-case-workspace-toolbar > .card-body { grid-template-columns: auto minmax(0, 1fr); }
    .court-master-case-workspace-page .judge-case-serial-pagination { grid-column: 1 / -1; max-width: 100%; }
    .court-master-case-workspace-page [data-judge-case-action-controls] { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .court-master-case-workspace-page .judge-case-workspace-toolbar > .card-body { grid-template-columns: auto minmax(0, 1fr); }
    .court-master-case-workspace-page .judge-case-workspace-toolbar-context { grid-column: 1 / -1; }
    .court-master-case-workspace-page .court-master-case-serial-context { max-width: none; }
}
.court-master-case-control-bar .card-body { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem; padding: .55rem .8rem; }
.court-master-case-workspace-page .court-master-case-control-bar .card-body { justify-content: flex-start; flex-direction: row; align-items: center; }
.court-master-case-workspace-page .court-master-case-control-actions { width: auto; }
.court-master-case-workspace-page .court-master-case-control-actions .btn { width: auto; gap: .3rem; }
.court-master-case-control-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.court-master-case-control-actions .btn, .court-master-proceeding-card footer .btn, .court-master-proceeding-serial-save .btn { display: inline-flex; align-items: center; }
.court-master-proceedings-workspace { display: grid; gap: .75rem; }
.court-master-case-file { overflow: hidden; }
.court-master-case-pdf-viewer { min-height: var(--main-case-pdf-a4-height); }
.court-master-proceeding-list { display: grid; gap: .7rem; }
.court-master-proceeding-list-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding: .15rem .1rem; }
.court-master-proceeding-card { overflow: visible; border: 1px solid var(--egujhc-border); border-left: .25rem solid var(--egujhc-indigo); border-radius: .75rem; background: var(--egujhc-surface); box-shadow: 0 .15rem .45rem rgb(24 35 58 / .06); }
.court-master-proceeding-card > header { border-radius: .65rem .65rem 0 0; }
.court-master-proceeding-card > footer { border-radius: 0 0 .65rem .65rem; }
.court-master-proceeding-card .form-multi-select-options { max-height: min(18rem, 45vh); overflow-y: auto; overscroll-behavior: contain; }
.court-master-proceeding-card > header { display: grid; grid-template-columns: minmax(12rem, .8fr) minmax(18rem, 1.3fr) minmax(14rem, .95fr) auto; align-items: start; gap: .75rem 1.1rem; padding: .8rem .95rem; border-bottom: 1px solid #e6eaf2; background: var(--egujhc-surface-soft); }
.court-master-proceeding-case-summary, .court-master-proceeding-party-summary, .court-master-proceeding-advocate-summary { min-width: 0; }
.court-master-proceeding-card h2, .court-master-proceeding-case-context, .court-master-proceeding-parties, .court-master-proceeding-advocate-names { overflow-wrap: anywhere; }
.court-master-proceeding-case-context { margin-top: .3rem; color: var(--egujhc-accent-text); font-size: .8rem; font-weight: 700; }
.court-master-proceeding-listings { margin-top: .28rem; color: var(--egujhc-muted); font-size: .76rem; }
.court-master-proceeding-source-details { display: grid; gap: .2rem; margin-top: .42rem; color: var(--egujhc-muted); font-size: .72rem; line-height: 1.35; }
.court-master-proceeding-source-details strong { color: var(--egujhc-heading); }
.court-master-proceeding-party-summary { display: grid; align-self: stretch; align-items: center; text-align: center; }
.court-master-proceeding-parties { color: var(--egujhc-ink); font-size: .86rem; font-weight: 600; line-height: 1.5; }
.court-master-proceeding-advocate-summary { display: grid; align-self: stretch; align-items: center; border-left: .18rem solid rgb(244 110 75 / .8); padding-left: .7rem; }
.court-master-proceeding-advocates { display: grid; gap: .5rem; color: var(--egujhc-ink); font-size: .82rem; font-weight: 700; line-height: 1.5; }
.court-master-proceeding-advocate-group { display: grid; gap: .12rem; }
.court-master-proceeding-advocate-group + .court-master-proceeding-advocate-group { padding-top: .45rem; border-top: 1px solid var(--egujhc-border); }
.court-master-proceeding-advocate-side { color: var(--egujhc-accent-text); font-size: .67rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.court-master-proceeding-advocate-names { white-space: pre-line; }
.court-master-proceeding-statuses { display: grid; align-content: start; justify-items: end; gap: .35rem; }
.court-master-proceeding-save-state { justify-self: end; padding: .25rem .45rem; border-radius: 999px; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .7rem; font-weight: 800; white-space: nowrap; }
.court-master-proceeding-copy-state { padding: .22rem .42rem; border-radius: 999px; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .68rem; font-weight: 800; white-space: nowrap; }
.court-master-proceeding-card.is-linked-to-main-case { border-left-color: var(--egujhc-sky); }
.court-master-proceeding-card.is-linked-to-main-case .form-multi-select.is-disabled { opacity: .68; }
.court-master-proceeding-fields { display: grid; grid-template-columns: minmax(11rem, .8fr) minmax(11rem, .85fr) minmax(13rem, 1.35fr) minmax(13rem, 1.35fr) minmax(15rem, 1.6fr); gap: .75rem; padding: .9rem .95rem; }
.court-master-proceeding-field { min-width: 0; }
.court-master-proceeding-field[data-court-master-proceeding-not-before-field] { grid-column: span 2; }
.court-master-proceeding-field .form-label, .court-master-proceeding-outcome legend { margin-bottom: .35rem; color: var(--egujhc-heading); font-size: .75rem; font-weight: 800; letter-spacing: .02em; }
.court-master-proceeding-outcome-switch { display: flex; flex-wrap: wrap; gap: .35rem; }
.court-master-proceeding-outcome-switch .btn { min-width: 4.65rem; }
.court-master-proceeding-date-control { position: relative; }
.court-master-proceeding-fixed-date { display: grid; align-content: start; gap: .55rem; padding-top: 1.95rem; }
.court-master-proceeding-proceedings { grid-column: 1 / -1; }
.court-master-proceeding-proceedings textarea { min-height: 5.1rem; resize: vertical; }
.court-master-proceeding-card footer { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; padding: .7rem .95rem; border-top: 1px solid #e6eaf2; background: var(--egujhc-surface-soft); }
.court-master-proceeding-apply-connected { margin-right: auto; }
.court-master-proceeding-serial-save { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem .95rem; border: 1px solid var(--egujhc-border); border-radius: .75rem; background: var(--egujhc-surface); box-shadow: 0 .15rem .45rem rgb(24 35 58 / .06); }
.court-master-proceeding-serial-save-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .45rem; }
.court-master-proceeding-card.is-disposed .court-master-proceeding-fields { grid-template-columns: minmax(11rem, .8fr) minmax(13rem, 1.35fr); }
.court-master-proceeding-fields > .cm-noting { grid-column: 1 / -1; min-width: 0; padding: .65rem; border: 1px solid var(--egujhc-border); border-radius: .5rem; }
.court-master-proceeding-fields > .cm-noting .form-label { color: var(--egujhc-heading); font-size: .75rem; font-weight: 800; }
.court-master-proceeding-fields > .cm-noting textarea { min-height: 7rem; resize: vertical; }
@media (min-width: 1400px) {
    .court-master-proceeding-card .court-master-proceeding-fields.has-cm-noting { grid-template-columns: minmax(8rem, .8fr) minmax(10rem, .85fr) minmax(11rem, 1.35fr) minmax(11rem, 1.35fr) minmax(11rem, 1fr) minmax(17rem, 1.3fr); }
    .court-master-proceeding-fields.has-cm-noting > .cm-noting { grid-column: 6; grid-row: 1 / span 2; }
    .court-master-proceeding-fields.has-cm-noting > .court-master-proceeding-proceedings { grid-row: 3; }
}
.judge-case-serial-pagination, .judge-case-serial-keys { display: flex; align-items: center; justify-content: center; gap: .35rem; min-width: 0; }
.judge-case-serial-pagination { flex-wrap: wrap; overflow-x: auto; scrollbar-width: thin; }
.serial-jump { display: grid; grid-template-columns: max-content minmax(4rem, 6rem) max-content; align-items: center; justify-content: start; justify-self: start; gap: .4rem; max-width: 100%; }
.serial-jump label { margin: 0; white-space: nowrap; font-size: .85rem; }
.serial-jump input { min-width: 0; }
.serial-jump-message { grid-column: 1 / -1; }
.serial-jump-message:empty { display: none; }
.serial-jump input[aria-invalid="true"] ~ .serial-jump-message { color: #b42318; }
.judge-court-cause-filter-selects:has(.serial-jump) { grid-template-columns: repeat(2, minmax(0, 16rem)) auto; align-items: start; }
.judge-court-cause-group.is-jump-target { outline: 3px solid var(--egujhc-indigo, #4d46c9); outline-offset: 2px; }
.judge-court-cause-group .page-kicker, [data-court-master-delivery-notice] .alert { scroll-margin-top: 6rem; }
[data-court-master-delivery-notice] { flex: 0 0 100%; width: 100%; }
[data-court-master-delivery-notice]:empty { display: none; }
[data-court-master-delivery-notice] .alert { margin: 0; }
@media (max-width: 767.98px) {
    .judge-court-cause-filter-selects:has(.serial-jump) { grid-template-columns: 1fr; }
    .judge-case-serial-pagination .serial-jump { flex-basis: 100%; justify-content: center; }
    .judge-case-serial-pagination:has(.serial-jump) { gap: .25rem; }
    .judge-case-serial-pagination:has(.serial-jump) .judge-case-serial-key,
    .judge-case-serial-pagination:has(.serial-jump) .judge-case-serial-pagination-control { width: 2rem; flex-basis: 2rem; }
    .judge-case-serial-pagination:has(.serial-jump) .judge-case-serial-keys { gap: .25rem; }
}
.judge-case-serial-key, .judge-case-serial-pagination-control { display: inline-grid; flex: 0 0 2.3rem; width: 2.3rem; height: 2.3rem; place-items: center; padding: .15rem; overflow: hidden; font-size: .78rem; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.judge-case-serial-key.is-current { box-shadow: 0 0 0 .14rem rgb(77 70 201 / .2); }
.court-master-case-workspace-page .judge-case-serial-key.is-proceedings-disposed { border-color: #198754; box-shadow: 0 0 0 .14rem rgb(25 135 84 / .24); }
.court-master-case-workspace-page .judge-case-serial-key.is-proceedings-adjourned { border-color: #d98a00; box-shadow: 0 0 0 .14rem rgb(217 138 0 / .26); }
.court-master-case-workspace-page .judge-case-serial-key.is-hearing { border-color: var(--egujhc-coral); background: var(--egujhc-coral); box-shadow: 0 0 0 .14rem rgb(244 110 75 / .25); color: #fff; }
.court-master-case-workspace-page .judge-case-serial-key.is-hearing.is-proceedings-disposed { border-color: #198754; box-shadow: 0 0 0 .16rem rgb(25 135 84 / .4); }
.court-master-case-workspace-page .judge-case-serial-key.is-hearing.is-proceedings-adjourned { border-color: #d98a00; box-shadow: 0 0 0 .16rem rgb(217 138 0 / .42); }
.court-master-case-workspace-page .judge-case-serial-key.is-hearing:focus-visible { box-shadow: 0 0 0 .2rem rgb(244 110 75 / .35); }
.court-master-serial-context-menu { position: fixed; z-index: 1080; min-width: 12.5rem; padding: .35rem; border: 1px solid #cfd7e8; border-radius: .5rem; background: var(--egujhc-surface); box-shadow: 0 .45rem 1.2rem rgb(24 35 58 / .2); }
.court-master-serial-context-menu .btn { display: inline-flex; width: 100%; align-items: center; justify-content: flex-start; gap: .35rem; }
.judge-case-serial-pagination-ellipsis { flex: 0 0 auto; color: var(--egujhc-muted); font-weight: 800; letter-spacing: .08em; }
.judge-case-workspace-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(20rem, 2fr); gap: 1rem; align-items: start; }
.advocate-case-reader .judge-case-pdf-viewer { height: 100%; min-height: 0; }
.advocate-case-reader .judge-case-information-panel.is-case-details { position: static; grid-template-rows: minmax(0, 1fr); }
.advocate-case-reader .judge-case-information-column { overflow: hidden; }
.judge-case-pdf-column, .judge-case-information-column { min-width: 0; }
.judge-case-pdf-viewer { min-height: var(--main-case-pdf-a4-height); }
.judge-case-information-column { display: grid; gap: 1rem; }
.judge-case-information-card, .judge-case-no-digital-reader, .judge-case-digital-empty, .judge-case-workspace-empty { border: 1px solid var(--cui-border-color); border-radius: var(--cui-border-radius); background: var(--cui-body-bg); box-shadow: 0 .125rem .25rem rgb(0 0 0 / .075); }
.judge-case-information-card { padding: 1rem; }
.judge-case-information-panel { padding: 0; overflow: hidden; }
.judge-case-information-panel.is-case-details { position: sticky; top: .75rem; display: grid; grid-template-rows: auto minmax(0, 1fr); max-height: calc(100dvh - 1.5rem); }
.judge-case-information-panel.is-case-details-only { grid-template-rows: minmax(0, 1fr); }
.judge-case-details-order-panel { position: sticky; top: .75rem; display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; max-height: calc(100dvh - 1.5rem); overflow: hidden; border: 1px solid var(--cui-border-color); border-radius: var(--cui-border-radius); background: var(--cui-body-bg); box-shadow: 0 .125rem .25rem rgb(0 0 0 / .075); }
.judge-case-details-order-panel-header { display: flex; min-height: 3rem; align-items: center; justify-content: flex-start; padding: .45rem .55rem; border-bottom: 1px solid var(--egujhc-border); background: var(--egujhc-surface-soft); }
.judge-case-details-order-panel .judge-case-pdf-viewer { width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
.judge-case-details-order-panel .judge-case-digital-empty { min-height: 0; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.judge-case-details-order-panel > .judge-case-digital-empty { overflow: auto; place-content: start center; padding: .75rem; }
.judge-case-details-order-panel.is-analysis-board { position: static; height: 100%; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
.judge-case-details-order-panel.is-analysis-board .judge-case-details-order-panel-header { padding: .35rem .55rem; }
.judge-case-details-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; white-space: nowrap; }
.judge-case-details-panel { min-height: 0; padding: .85rem; }
.judge-case-information-panel.is-case-details .judge-case-details-panel { overflow: auto; overscroll-behavior: contain; scrollbar-color: #aab6c8 transparent; scrollbar-width: thin; }
.judge-case-information-panel.is-case-details .judge-case-details-panel:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: -3px; }
.judge-case-details-panel[role="status"] { display: grid; place-content: center; gap: .45rem; min-height: 9rem; color: var(--egujhc-muted); text-align: center; }
.judge-case-details-panel[role="status"] > i { color: var(--egujhc-accent-text); font-size: 1.2rem; }
.judge-case-details-accordions { display: grid; gap: .55rem; }
.judge-case-details-accordion { overflow: hidden; border: 1px solid var(--egujhc-border); border-radius: .45rem; background: var(--egujhc-surface); }
.judge-case-details-accordion > summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .7rem; color: var(--egujhc-heading); cursor: pointer; font-size: .82rem; font-weight: 800; list-style: none; }
.judge-case-details-accordion > summary::-webkit-details-marker { display: none; }
.judge-case-details-accordion > summary > i { color: var(--egujhc-accent-text); transition: transform .15s ease; }
.judge-case-details-accordion[open] > summary { border-bottom: 1px solid var(--egujhc-border); background: #f6f7ff; }
.judge-case-details-accordion[open] > summary > i { transform: rotate(180deg); }
.judge-case-details-accordion > summary:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: -3px; }
.judge-case-details-rows { padding: .7rem; }
.judge-case-details-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .6rem .9rem; margin: 0; }
.judge-case-details-summary > div { min-width: 0; padding-bottom: .45rem; border-bottom: 1px solid #edf0f5; }
.judge-case-details-summary dt, .judge-case-details-record-list dt { color: var(--cui-secondary-color); font-size: .69rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.judge-case-details-summary dd { margin: .18rem 0 0; overflow-wrap: anywhere; white-space: pre-line; }
.judge-case-details-main-case { display: grid; gap: .8rem; }
.judge-case-details-status { display: inline-flex; width: max-content; max-width: 100%; align-items: center; min-height: 1.55rem; padding: .16rem .42rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.judge-case-details-status-pair { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
.judge-case-details-status.is-pending { color: var(--egujhc-danger-text); background: var(--egujhc-danger-bg); }
.judge-case-details-status.is-disposed { color: var(--egujhc-success-text); background: var(--egujhc-success-bg); }
.judge-case-details-related { display: grid; gap: .7rem; padding-top: .75rem; border-top: 1px solid #e5e9f2; }
.judge-case-details-party-group, .judge-case-details-advocates { display: grid; gap: .42rem; }
.judge-case-details-party-group > h3, .judge-case-details-advocates > h3, .judge-case-details-advocate-group > h3 { margin: 0; color: var(--cui-secondary-color); font-size: .69rem; font-weight: 800; letter-spacing: .05em; line-height: 1.2; }
.judge-case-details-party-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.judge-case-details-party-side { display: grid; min-width: 0; gap: .48rem; padding: .6rem .65rem; border: 1px solid #e2e6ef; border-radius: .42rem; background: var(--egujhc-surface-soft); }
.judge-case-details-party-side > h3 { margin: 0; color: var(--cui-secondary-color); font-size: .69rem; font-weight: 800; letter-spacing: .05em; line-height: 1.2; }
.judge-case-details-party-side .judge-case-details-party-group { gap: 0; }
.judge-case-details-party-side .judge-case-details-empty { padding: .1rem 0; }
.judge-case-details-party-list { display: grid; gap: .45rem; margin: 0; padding-left: 1.35rem; }
.judge-case-details-party-list li { padding: .1rem 0 .45rem; border-bottom: 1px solid #edf0f5; overflow-wrap: anywhere; }
.judge-case-details-party-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.judge-case-details-advocate-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.judge-case-details-advocate-group { min-width: 0; padding: .6rem .65rem; border: 1px solid #e2e6ef; border-radius: .42rem; background: var(--egujhc-surface-soft); }
.judge-case-details-advocate-lines { display: grid; gap: .38rem; margin-top: .5rem; }
.judge-case-details-advocate-line { margin: 0; color: var(--egujhc-ink); font-size: .84rem; line-height: 1.45; overflow-wrap: anywhere; }
.judge-case-details-advocate-line strong { color: var(--egujhc-heading); }
.judge-case-details-record-list { display: grid; gap: .55rem; }
.judge-case-details-record-list article { padding: .6rem .65rem; border: 1px solid #e2e6ef; border-radius: .42rem; background: var(--egujhc-surface-soft); }
.judge-case-details-record-list article footer { display: flex; justify-content: flex-end; margin-top: .58rem; padding-top: .55rem; border-top: 1px solid #e5e9f2; }
.judge-case-details-record-list dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .48rem .7rem; margin: .5rem 0 0; }
.judge-case-details-record-list dl { margin-top: 0; }
.judge-case-details-record-list dl > div { min-width: 0; }
.judge-case-details-record-list dd { margin: .16rem 0 0; overflow-wrap: anywhere; white-space: pre-line; }
.judge-case-details-empty-value { color: var(--egujhc-muted); font-weight: 600; }
.judge-case-details-empty { padding: .7rem; color: var(--egujhc-muted); font-size: .82rem; }
.judge-case-gist-sections { display: grid; gap: .9rem; }
.judge-case-gist-sections article { border-top: 1px solid var(--cui-border-color); padding-top: .85rem; }
.judge-case-gist-sections article:first-child { border-top: 0; padding-top: 0; }
.judge-case-tabs { padding: 0; overflow: hidden; }
.judge-case-tabs .nav-tabs { padding: .7rem .9rem 0; }
.judge-case-tabs .tab-content { padding: 1rem; }
.judge-case-data-list { display: grid; gap: .75rem; margin: 0; }
.judge-case-data-list > div { display: grid; gap: .2rem; }
.judge-case-data-list dt { color: var(--cui-secondary-color); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.judge-case-data-list dd { margin: 0; white-space: pre-line; }
.judge-case-orders { display: grid; gap: .65rem; }
.judge-case-orders article { border-left: .2rem solid var(--cui-primary); padding: .55rem .7rem; background: var(--cui-tertiary-bg); white-space: pre-line; }
.judge-case-digital-empty, .judge-case-workspace-empty { display: grid; place-content: center; min-height: var(--main-case-pdf-a4-height); padding: 2rem; text-align: center; }
.judge-case-digital-empty > i, .judge-case-workspace-empty > i { color: var(--cui-primary); font-size: 2rem; margin-bottom: .75rem; }
.judge-case-no-digital-reader { display: grid; min-height: var(--main-case-pdf-a4-height); overflow: hidden; }
.judge-case-no-digital-reader.has-calendar-rail { grid-template-columns: 3.25rem minmax(0, 1fr); }
.judge-case-no-digital-calendar-rail { min-width: 0; border-right: 1px solid var(--egujhc-border); background: var(--egujhc-surface); }
.judge-case-no-digital-calendar-rail .main-case-index-rail-actions { padding: .4rem .45rem; }
.judge-case-no-digital-reader .judge-case-digital-empty { min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
.judge-document-analysis-page { display: grid; grid-template-rows: minmax(0, 1fr); height: 100%; min-height: 0; overflow: hidden; }
.judge-document-analysis-layout, .judge-document-analysis-surface { position: relative; min-width: 0; }
.judge-document-analysis-surface { height: 100%; min-height: 0; isolation: isolate; }
.judge-document-analysis-combined-viewer { position: relative; isolation: isolate; height: 100%; min-height: 0; max-width: 100%; border-radius: .65rem; }
.main-case-pdf-viewer:fullscreen { width: 100vw; height: 100dvh; min-height: 0; max-width: none; overflow: hidden; border: 0; border-radius: 0; }
.main-case-pdf-viewer:fullscreen > .main-case-pdf-toolbar { flex: 0 0 auto; }
.main-case-pdf-viewer:fullscreen > .main-case-pdf-workspace, .main-case-pdf-viewer:fullscreen > .judge-document-analysis-split { min-height: 0; }
.main-case-pdf-viewer:fullscreen .judge-case-fullscreen-toolbar-slot { display: block; flex: 0 0 auto; min-width: 0; padding: .35rem .45rem; border-bottom: 1px solid var(--egujhc-border); background: var(--egujhc-canvas); }
.main-case-pdf-viewer:fullscreen .judge-case-fullscreen-toolbar-slot .judge-case-workspace-toolbar { margin: 0; border-radius: .5rem; box-shadow: none; }
.main-case-pdf-viewer:fullscreen .judge-case-fullscreen-toolbar-slot .judge-case-workspace-toolbar .card-body { grid-template-columns: auto minmax(12rem, 1fr) minmax(0, auto) auto; gap: .4rem; padding: .45rem .55rem; }
.main-case-pdf-viewer:fullscreen .judge-case-fullscreen-toolbar-slot .judge-case-serial-pagination { max-width: min(32vw, 24rem); }
.main-case-pdf-viewer:fullscreen .judge-document-analysis-split { min-height: 0; }
.judge-document-analysis-split { --judge-document-analysis-reader-width: 60%; position: relative; display: grid; grid-template-columns: minmax(18rem, var(--judge-document-analysis-reader-width)) .72rem minmax(18rem, 1fr); flex: 1 1 auto; min-width: 0; min-height: 0; overflow: hidden; }
.judge-document-analysis-split > .main-case-pdf-workspace { min-width: 0; min-height: 0; }
/* Retained pane placement: never move/recreate the reader or an active editor. */
.judge-document-analysis-split[data-pdf-layout-pending] { visibility: hidden; }
.is-board-hidden:not(.is-split-view) .judge-document-analysis-split[data-pdf-layout-pending] { visibility: visible; }
.pdf-layout-notice { flex: 0 0 auto; padding: .25rem .5rem; font-size: .8rem; background: var(--egujhc-canvas); }
.pdf-layout-notice[hidden], [data-pdf-swap-sides][hidden] { display: none; }
.main-case-pdf-toolbar-group-layout:has([data-pdf-swap-sides][hidden]) { display: none; }
.is-pane-swapped > .judge-document-analysis-split { grid-template-columns: minmax(18rem, 1fr) .72rem minmax(18rem, var(--judge-document-analysis-reader-width)); }
.is-pane-swapped > .judge-document-analysis-split > .main-case-pdf-workspace { grid-column: 3; grid-row: 1; }
.is-pane-swapped > .judge-document-analysis-split > .judge-document-analysis-divider { grid-column: 2; grid-row: 1; }
.is-pane-swapped > .judge-document-analysis-split > :is(.judge-document-analysis-board, .private-annotation-board-frame, .main-case-pdf-split-mirror) { grid-column: 1; grid-row: 1; }
.is-board-hidden:not(.is-split-view) .is-pane-swapped > .judge-document-analysis-split > .main-case-pdf-workspace { grid-column: 1; }
.is-split-view.is-pane-swapped > .judge-document-analysis-split > .main-case-pdf-workspace { grid-column: 2; }
.is-pane-swapped .main-case-pdf-split-mirror { border-left: 0; border-right: 1px solid var(--egujhc-border); }
@media (max-width: 991px) {
    .is-pane-swapped > .judge-document-analysis-split,
    .judge-document-analysis-surface.is-split-view .judge-document-analysis-split { grid-template-columns: minmax(0, 1fr); }
    .is-pane-swapped > .judge-document-analysis-split > .main-case-pdf-workspace,
    .is-split-view.is-pane-swapped > .judge-document-analysis-split > .main-case-pdf-workspace { grid-column: 1; grid-row: 2; }
    .is-board-hidden:not(.is-split-view) .is-pane-swapped > .judge-document-analysis-split > .main-case-pdf-workspace { grid-row: 1; }
    .egujhc-onscreen-keyboard-open .is-pane-swapped > .judge-document-analysis-split:has(.judge-document-analysis-board [inputmode="none"]) { grid-template-rows: minmax(0, 7fr) minmax(0, 1fr); }
    .is-pane-swapped .main-case-pdf-split-mirror { border-right: 0; border-bottom: 1px solid var(--egujhc-border); }
}
.judge-document-analysis-divider { position: relative; z-index: 6; min-width: 0; border-inline: 1px solid var(--egujhc-border); background: linear-gradient(90deg, #eef1f7, #fff 50%, #eef1f7); cursor: col-resize; touch-action: none; }
.judge-document-analysis-divider::before { content: ''; position: absolute; inset: 0; margin: auto; width: .16rem; height: 2.3rem; border-radius: 999px; background: #aab6c8; box-shadow: 0 .32rem #aab6c8, 0 -.32rem #aab6c8; }
.judge-document-analysis-divider:hover, .judge-document-analysis-divider:focus-visible { background: var(--egujhc-accent-bg); outline: 0; box-shadow: inset 0 0 0 2px rgb(77 70 201 / .36); }
.judge-document-analysis-split.is-resizing { cursor: col-resize; user-select: none; }
body.judge-document-analysis-resizing, body.judge-document-analysis-resizing * { cursor: col-resize !important; }
.judge-document-analysis-surface.is-board-hidden .judge-document-analysis-split { grid-template-columns: minmax(0, 1fr); }
.judge-document-analysis-surface.is-board-hidden .judge-document-analysis-divider, .judge-document-analysis-surface.is-board-hidden .judge-document-analysis-board { display: none; }
.judge-document-analysis-surface.is-split-view .judge-document-analysis-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.judge-document-analysis-surface.is-split-view .judge-document-analysis-divider, .judge-document-analysis-surface.is-split-view .judge-document-analysis-board { display: none; }
.main-case-pdf-split-mirror { min-width: 0; min-height: 0; height: 100%; border: 0; border-left: 1px solid var(--egujhc-border); border-radius: 0; box-shadow: none; }
.main-case-pdf-split-reader-navigation { position: absolute; z-index: 7; top: .32rem; left: calc(50% + .42rem); display: flex; max-width: calc(50% - .84rem); align-items: center; }
.main-case-pdf-split-reader-navigation[hidden] { display: none; }
.main-case-pdf-split-reader-navigation .main-case-pdf-toolbar-group { min-height: 2.05rem; }
.main-case-pdf-split-mirror .main-case-index-panel { width: 15rem; }
.main-case-pdf-split-mirror .main-case-index-panel.is-collapsed { width: 3.25rem; }
.judge-document-analysis-board { position: relative; z-index: 3; min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; background-color: var(--egujhc-accent-bg); background-image: linear-gradient(rgb(77 70 201 / .055) 1px, transparent 1px), linear-gradient(90deg, rgb(77 70 201 / .055) 1px, transparent 1px), radial-gradient(circle at 1px 1px, rgb(24 35 58 / .12) 1px, transparent 1.1px); background-position: 0 0, 0 0, .75rem .75rem; background-size: 1.5rem 1.5rem, 1.5rem 1.5rem, 1.5rem 1.5rem; overscroll-behavior: contain; scrollbar-color: #aab6c8 transparent; scrollbar-width: thin; }
.judge-document-analysis-board:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: -3px; }
.private-annotation-board-frame { display: grid; min-width: 0; min-height: 0; grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.private-annotation-board-frame.has-annotation-navigator { grid-template-columns: clamp(8rem, 22%, 11rem) minmax(0, 1fr); }
.judge-document-analysis-surface:is(.is-board-hidden, .is-split-view) .private-annotation-board-frame { display: none; }
.private-annotation-navigator { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-right: 1px solid var(--egujhc-border); background: rgb(245 247 252 / .96); }
.private-annotation-navigator[hidden], .private-annotation-list[hidden] { display: none; }
.private-annotation-heading { display: flex; justify-content: space-between; gap: .3rem; width: 100%; padding: .55rem .4rem; border: 0; background: #102447; color: white; font-size: .8rem; font-weight: 600; }
.private-annotation-heading[aria-expanded="false"] i { transform: rotate(180deg); }
.private-annotation-list { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: .3rem; scrollbar-width: thin; }
.private-annotation-page-row { display: flex; align-items: stretch; }
.private-annotation-list button { border: 0; border-radius: .25rem; padding: .4rem .25rem; background: transparent; color: var(--egujhc-ink); font-size: .75rem; text-align: left; overflow-wrap: anywhere; }
.private-annotation-list [data-annotation-page] { display: flex; align-items: center; flex: 1; min-width: 0; font-weight: 600; white-space: pre; overflow: hidden; }
.private-annotation-list [data-annotation-page] > span { flex: 0 0 auto; }
.private-annotation-list [data-annotation-page] > .private-annotation-title { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.private-annotation-list [data-annotation-page]:disabled > span:first-child { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.private-annotation-list ul { list-style: none; margin: 0 0 .4rem; padding: 0 0 0 .6rem; }
.private-annotation-list [data-annotation-entry] { display: flex; gap: .35rem; align-items: center; width: 100%; }
.private-annotation-list button:hover, .private-annotation-list button.is-active { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.private-annotation-navigator button:focus-visible { outline: 2px solid #4d46c9; outline-offset: -2px; }
.private-annotation-list button:disabled { opacity: .65; cursor: default; }
.private-annotation-colour { width: .6rem; height: .6rem; border: 1px solid rgb(24 35 58 / .3); border-radius: 50%; flex-shrink: 0; }
.private-annotation-empty { color: var(--egujhc-muted); font-size: .75rem; padding: .4rem; }
.main-case-pdf-annotation-index-focus { position: absolute; z-index: 6; border: 2px solid #0f766e; background: transparent; pointer-events: none; box-sizing: border-box; }
.judge-document-analysis-connector g.is-navigator-selection path { stroke: #0f766e; stroke-width: 2.5; opacity: 1; }
.judge-document-analysis-connector g.is-navigator-selection circle { fill: #0f766e; }
.judge-document-analysis-item.judge-document-analysis-note-editor.is-resizable-note { height: var(--board-item-height); min-height: 10rem; padding-bottom: 1.8rem; }
.judge-document-analysis-note-editor.is-resizable-note:has([data-private-ink-editor]) { min-height: 240px; }
.is-resizable-note > [data-private-ink-editor] { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; overflow: hidden; }
.is-resizable-note .is-expandable-ink .private-ink-drawing-area, .is-resizable-note .private-ink-drawing-area { flex: 1 1 0; min-height: 0; max-height: none; resize: none; }
.is-resizable-note > [data-note-autosave-recovery] { flex: 0 1 auto; overflow: auto; }
.judge-document-analysis-note-editor.is-resizable-note:has(> [data-note-autosave-recovery]:not([hidden])) { min-height: 20rem; }
.private-note-resize { position: absolute; right: .2rem; bottom: .2rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; padding: 0; color: var(--egujhc-accent-text); background: var(--egujhc-surface); border: 1px solid var(--egujhc-border); border-radius: .25rem; cursor: nwse-resize; touch-action: none; }
.private-note-resize:focus-visible { outline: 2px solid var(--egujhc-indigo); outline-offset: 1px; }
.main-case-pdf-summary-evidence { position: absolute; z-index: 6; border: 2px solid var(--egujhc-indigo); background: transparent; pointer-events: none; box-sizing: border-box; }
.ai-evidence-page-link:disabled { opacity: .6; cursor: default; }
@media (max-width: 767.98px) {
    .private-annotation-board-frame.has-annotation-navigator { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
    .private-annotation-navigator { max-height: 10rem; border-right: 0; border-bottom: 1px solid var(--egujhc-border); }
    .private-annotation-heading { padding: .35rem .5rem; }
}
.judge-document-analysis-board-content { min-width: 0; min-height: 100%; }
.judge-document-analysis-board-content.is-case-details { display: block; height: 100%; min-height: 0; overflow: hidden; }
.private-reader-section { height: 100%; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 1rem; background: var(--cui-body-bg, #fff); overflow-wrap: anywhere; }
.private-reader-section .citation-pdf { min-height: 24rem; }
.private-reader-section .citation-attribution { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.private-reader-section .judge-case-gist { padding: 0; }
.judge-document-analysis-board-tools { position: sticky; z-index: 5; top: .35rem; display: flex; width: max-content; margin: .35rem .45rem .25rem auto; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: .25rem; padding: .18rem; border: 1px solid rgb(185 198 220 / .85); border-radius: .45rem; background: rgb(255 255 255 / .8); box-shadow: 0 .1rem .3rem rgb(16 36 71 / .1); pointer-events: auto; backdrop-filter: blur(3px); }
.judge-document-analysis-board-tools > .btn { display: inline-grid; width: 1.7rem; height: 1.7rem; place-items: center; padding: 0; font-size: .72rem; }
.judge-document-analysis-board-tools > :is(.judge-case-details-toggle, [data-citation-selection]) { display: inline-flex; width: auto; min-width: 1.7rem; padding-inline: .4rem; }
.judge-document-analysis-board .judge-case-details-panel { height: 100%; box-sizing: border-box; min-height: 0; overflow-x: hidden; overflow-y: auto; padding: .35rem .55rem 1.5rem; overscroll-behavior: contain; scroll-padding-bottom: 1.5rem; scrollbar-color: #aab6c8 transparent; scrollbar-width: thin; }
.judge-document-analysis-board .judge-case-details-panel[role="status"] { min-height: 12rem; }
.judge-document-analysis-status { position: sticky; z-index: 5; top: 2.8rem; display: block; width: max-content; max-width: calc(100% - .9rem); margin: 0 .45rem .35rem auto; padding: .18rem .35rem; border-radius: .35rem; color: var(--egujhc-muted); background: rgb(255 255 255 / .88); font-size: .72rem; font-weight: 600; pointer-events: none; }
.judge-document-analysis-status:empty { display: none; }
.judge-document-analysis-status.is-error, .judge-document-analysis-status.is-conflict { color: var(--cui-danger); }
.judge-document-analysis-canvas { position: relative; z-index: 2; width: 100%; min-width: 100%; height: 100%; min-height: 72rem; overflow: visible; background: transparent; pointer-events: none; }
.judge-document-analysis-item { position: absolute; left: var(--board-item-x); top: var(--board-item-y); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; box-sizing: border-box; width: var(--board-item-width); min-width: 0; max-width: calc(100% - var(--board-item-x) - .35rem); height: var(--board-item-height); min-height: 3.75rem; gap: .25rem; overflow: hidden; padding: .35rem; border: 1px solid #b9c6dc; border-radius: .4rem; background: rgb(255 255 255 / .96); box-shadow: 0 .15rem .4rem rgb(16 36 71 / .12); pointer-events: auto; user-select: none; -webkit-user-select: none; touch-action: none; }
.judge-document-analysis-item:not(.judge-document-analysis-note-editor) { grid-template-rows: auto auto auto; height: auto; min-height: max(3.75rem, var(--board-item-height)); }
.judge-document-analysis-item.is-excerpt { border-left: .25rem solid var(--egujhc-indigo); }
.judge-document-analysis-item.is-note { border-left: .25rem solid #f59e0b; }
.judge-document-analysis-item.is-annotation { border-left: .25rem solid var(--egujhc-sky); }
.judge-document-analysis-item.is-active { border-color: var(--egujhc-coral); box-shadow: 0 0 0 .2rem rgb(244 110 75 / .22), 0 .2rem .5rem rgb(16 36 71 / .18); }
.judge-document-analysis-item.is-related { border-color: var(--egujhc-accent-text); box-shadow: 0 0 0 .14rem rgb(77 70 201 / .18), 0 .2rem .5rem rgb(16 36 71 / .15); }
.judge-document-analysis-item.is-link-source { border-color: var(--egujhc-coral); box-shadow: 0 0 0 .2rem rgb(244 110 75 / .28), 0 .2rem .5rem rgb(16 36 71 / .2); }
.judge-document-analysis-item.is-link-target { border-color: var(--egujhc-accent-text); box-shadow: 0 0 0 .2rem rgb(77 70 201 / .28), 0 .2rem .5rem rgb(16 36 71 / .2); }
.judge-document-analysis-item.is-link-target::after { content: 'Release here to link'; position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; padding: .4rem; border-radius: inherit; color: #fff; background: rgb(77 70 201 / .84); font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-align: center; pointer-events: none; }
.judge-document-analysis-item:focus-visible { outline: 3px solid rgb(77 70 201 / .38); outline-offset: 2px; }
.judge-document-analysis-canvas.is-linking, .judge-document-analysis-canvas.is-linking .judge-document-analysis-item, .judge-document-analysis-canvas.is-linking .judge-document-analysis-item * { cursor: alias !important; }
.judge-document-analysis-canvas.is-annotation-linking::after { content: 'Release on a card to link, or on clear board space to add a linked note card'; position: sticky; z-index: 6; top: .4rem; display: block; width: max-content; max-width: calc(100% - .9rem); margin: .4rem auto 0; padding: .22rem .4rem; border-radius: .35rem; color: #fff; background: rgb(77 70 201 / .9); font-size: .72rem; font-weight: 700; pointer-events: none; }
.judge-document-analysis-canvas.is-excerpt-linking::after { content: 'Release on a card to add the selected evidence and link it, or on clear board space to create its excerpt'; position: sticky; z-index: 6; top: .4rem; display: block; width: max-content; max-width: calc(100% - .9rem); margin: .4rem auto 0; padding: .22rem .4rem; border-radius: .35rem; color: #fff; background: rgb(77 70 201 / .9); font-size: .72rem; font-weight: 700; pointer-events: none; }
.judge-document-analysis-item > header { display: flex; align-items: flex-start; gap: .25rem; color: var(--egujhc-ink); font-size: .69rem; line-height: 1.2; }
.judge-document-analysis-drag { display: inline-grid; flex: 0 0 auto; width: 1.2rem; height: 1.2rem; place-items: center; padding: 0; border: 0; border-radius: .25rem; color: var(--egujhc-accent-text); background: transparent; cursor: grab; }
.judge-document-analysis-drag:active { cursor: grabbing; }
.judge-document-analysis-drag:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 1px; }
.judge-document-analysis-item-provenance { margin-left: auto; color: var(--egujhc-muted); font-size: .61rem; font-weight: 600; text-align: right; }
.judge-document-analysis-item-provenance.is-unavailable { color: var(--cui-danger); }
.judge-document-analysis-evidence-card { display: block; min-width: 0; min-height: 0; padding: 0; overflow: visible; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.judge-document-analysis-evidence-card:hover, .judge-document-analysis-evidence-card:focus-visible { border-radius: .3rem; background: var(--egujhc-accent-bg); outline: 3px solid rgb(77 70 201 / .3); outline-offset: 1px; }
.judge-document-analysis-annotation-preview { display: block; margin: 0; overflow: hidden; border: 1px solid #d6dfed; border-radius: .28rem; background: var(--egujhc-canvas); }
.judge-document-analysis-annotation-preview[hidden] { display: none; }
.judge-document-analysis-annotation-preview img { display: block; width: 100%; max-height: 8rem; object-fit: contain; background: var(--egujhc-surface); }
.judge-document-analysis-item-quote, .judge-document-analysis-item-note { margin: 0; overflow: visible; color: var(--egujhc-ink); font-size: .69rem; line-height: 1.28; overflow-wrap: anywhere; white-space: pre-wrap; }
.judge-document-analysis-annotation-text, .judge-document-analysis-note-text { display: block; width: 100%; min-width: 0; padding: 0; overflow: visible; border: 0; border-radius: .3rem; background: transparent; color: inherit; text-align: left; cursor: text; }
.judge-document-analysis-annotation-text:hover, .judge-document-analysis-annotation-text:focus-visible, .judge-document-analysis-note-text:hover, .judge-document-analysis-note-text:focus-visible { background: var(--egujhc-accent-bg); outline: 3px solid rgb(77 70 201 / .3); outline-offset: 1px; }
.judge-document-analysis-item-note { min-height: 0; }
.judge-document-analysis-item > footer { display: flex; min-width: 0; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: .2rem; }
.judge-document-analysis-item > footer .btn { display: inline-grid; width: 1.55rem; height: 1.55rem; place-items: center; padding: 0; font-size: .68rem; }
.judge-document-analysis-card-action { display: inline-grid; width: 1.55rem; height: 1.55rem; place-items: center; padding: 0; border: 0; border-radius: .3rem; background: transparent; font-size: .8rem; line-height: 1; }
.judge-document-analysis-card-action.is-delete, .judge-document-analysis-card-action.is-delete-confirm { color: var(--cui-danger); }
.judge-document-analysis-card-action.is-delete-cancel { color: var(--egujhc-muted); }
.judge-document-analysis-card-action:hover, .judge-document-analysis-card-action:focus-visible { background: rgb(244 110 75 / .12); outline: 3px solid rgb(244 110 75 / .22); outline-offset: 1px; }
.judge-document-analysis-delete-confirmation { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .15rem; }
.judge-document-analysis-note-editor { grid-template-rows: auto minmax(0, 1fr) auto; }
.judge-document-analysis-note-editor.is-linked-note { border-color: var(--egujhc-accent-text); box-shadow: 0 0 0 .15rem rgb(77 70 201 / .16), 0 .15rem .4rem rgb(16 36 71 / .12); }
.judge-document-analysis-note-editor, .judge-document-analysis-annotation-editor { grid-template-rows: auto minmax(0, 1fr) auto; }
.judge-document-analysis-note-editor.has-annotation-preview, .judge-document-analysis-annotation-editor.has-annotation-preview { grid-template-rows: auto auto minmax(3.25rem, 1fr) auto; height: auto; min-height: 12rem; }
.judge-document-analysis-note-editor [contenteditable="true"], .judge-document-analysis-annotation-editor [contenteditable="true"] { width: 100%; min-height: 0; height: 100%; resize: none; border: 1px solid #b9c6dc; border-radius: .3rem; padding: .3rem; color: var(--egujhc-ink); font: inherit; font-size: .69rem; line-height: 1.28; overflow: auto; overflow-wrap: anywhere; white-space: pre-wrap; user-select: text; -webkit-user-select: text; touch-action: auto; }
.judge-document-analysis-note-editor [contenteditable="true"]:empty::before, .judge-document-analysis-annotation-editor [contenteditable="true"]:empty::before { content: attr(data-placeholder); color: var(--egujhc-muted); pointer-events: none; }
.judge-document-analysis-note-editor [contenteditable="true"]:focus, .judge-document-analysis-annotation-editor [contenteditable="true"]:focus { border-color: var(--egujhc-accent-text); outline: 0; box-shadow: 0 0 0 .14rem rgb(77 70 201 / .15); }
.judge-document-analysis-connector { position: absolute; z-index: 7; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; shape-rendering: geometricPrecision; }
.judge-document-analysis-connector path { fill: none; stroke: #f46e4b; stroke-width: 3; stroke-linecap: round; stroke-dasharray: none; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; filter: none; shape-rendering: geometricPrecision; }
.judge-document-analysis-connector path.is-provisional { stroke: var(--egujhc-indigo); }
.judge-document-analysis-connector path.is-annotation-relation { stroke: #1e3a8a; stroke-width: 2.5; opacity: .84; }
.judge-document-analysis-connector path.is-offscreen-continuation { stroke-width: 2.5; opacity: .78; }
.judge-document-analysis-connector-endpoint { fill: #f46e4b; stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; filter: none; shape-rendering: geometricPrecision; }
.judge-document-analysis-connector-endpoint.is-provisional { fill: var(--egujhc-indigo); }
.judge-document-analysis-connector-endpoint.is-annotation-relation { fill: #1e3a8a; }
.judge-document-analysis-connector-endpoint.is-offscreen-continuation { opacity: .88; }
.main-case-pdf-annotation-link-summary { position: absolute; z-index: 5; display: inline-flex; box-sizing: border-box; width: max-content; max-width: min(13rem, var(--pdf-workspace-link-summary-max-width, calc(100% - .75rem))); min-height: 1.45rem; align-items: center; padding: .2rem .42rem; border: 1px solid rgb(30 58 138 / .42); border-radius: .42rem; color: #102447; background: rgb(255 255 255 / .96); box-shadow: 0 .1rem .28rem rgb(16 36 71 / .2); font-size: .66rem; font-weight: 700; line-height: 1.22; letter-spacing: .005em; overflow-wrap: normal; pointer-events: none; text-align: left; transform: translate(.42rem, calc(-100% - .4rem)); }
.main-case-pdf-annotation-link-summary[data-pdf-workspace-annotation-link-summary-side="before"] { text-align: right; transform: translate(calc(-100% - .42rem), calc(-100% - .4rem)); }
.main-case-pdf-annotation-link-summary[data-pdf-workspace-annotation-link-summary-vertical="below"] { transform: translate(.42rem, .4rem); }
.main-case-pdf-annotation-link-summary[data-pdf-workspace-annotation-link-summary-side="before"][data-pdf-workspace-annotation-link-summary-vertical="below"] { transform: translate(calc(-100% - .42rem), .4rem); }
.judge-document-analysis-continuation-label rect { fill: #102447; stroke: rgb(255 255 255 / .92); stroke-width: 1; vector-effect: non-scaling-stroke; filter: drop-shadow(0 .08rem .12rem rgb(16 36 71 / .26)); }
.judge-document-analysis-continuation-label text { fill: #fff; font-size: 10px; font-weight: 700; letter-spacing: .01em; }
.judge-document-analysis-anchor-count circle { fill: #102447; stroke: #fff; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.judge-document-analysis-anchor-count text { fill: #fff; font-size: 9px; font-weight: 800; }

@media (max-width: 1199px) {
    .judge-case-workspace-layout { grid-template-columns: 1fr; }
    .judge-case-workspace-page.is-liquidtext-case > #judge-case-workspace-content > .judge-case-workspace-layout { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 991px) {
    .advocate-case-reader .main-case-pdf-viewer:fullscreen .judge-case-fullscreen-toolbar-slot .judge-case-workspace-toolbar .card-body { grid-template-columns: minmax(0, 1fr); }
    .judge-document-analysis-surface.is-split-view .judge-document-analysis-split { grid-template-columns: minmax(0, 1fr); }
    .advocate-case-reader .main-case-pdf-viewer:fullscreen .judge-case-serial-pagination { max-width: 100%; }
    .ia-parent-party-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .judge-document-analysis-split { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
    /* Keep the active note pane reachable above the overlay on stacked readers.
       The frame/toolbar do not move and no page space is reserved for the sheet. */
    .egujhc-onscreen-keyboard-open .judge-document-analysis-split:has(.judge-document-analysis-board [inputmode="none"]) { grid-template-rows: minmax(0, 1fr) minmax(0, 7fr); }
    .egujhc-onscreen-keyboard-open .judge-document-analysis-item.judge-document-analysis-note-editor:has([contenteditable="true"][inputmode="none"]) { min-height: 10rem; }
    .judge-document-analysis-divider { display: none; }
    .main-case-pdf-toolbar-group-case-details { position: static; }
    .judge-document-analysis-board { min-height: 0; border-top: 1px solid var(--cui-border-color); }
    .court-master-proceeding-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .court-master-proceeding-proceedings { grid-column: 1 / -1; }
}

@media (max-width: 575px) {
    :root { --app-header-height: 61px; }
    .app-header { min-height: 61px; }
    .app-header-primary { gap: .5rem; }
    .brand-lockup { min-width: 0; }
    .brand-logo { width: 2rem; height: 2.6rem; }
    .brand-copy small { gap: .28rem; font-size: .52rem; letter-spacing: .01em; }
    .brand-ai-highlight { padding: .1rem .24rem; }
    .app-header:has(#account-controls:not(.d-none)) .brand-tagline-text { display: none; }
    .landing-tagline { font-size: clamp(.69rem, 3.2vw, .78rem); }
    .landing-ai-badge { margin-left: .1rem; padding: .2rem .42rem; }
    .mfa-code-inputs.form-otp { gap: .3rem; }
    .mfa-code-inputs .form-otp-control.mfa-code-box { font-size: 1.25rem; }
    .judge-cause-list-cta { width: 100%; }
    .judge-case-details-advocate-split, .judge-case-details-party-split { grid-template-columns: 1fr; }
    .authenticator-setup-heading { flex-direction: column; }
    .authenticator-setup-grid { grid-template-columns: 1fr; }
    .filing-stepper { grid-template-columns: 1fr; }
    .filing-entry-options-heading { grid-template-columns: auto 1fr; text-align: left; }
    .filing-entry-options-heading > div { grid-column: 1 / -1; justify-self: center; text-align: center; }
    .filing-entry-heading-spacer { display: none; }
    .filing-submit-row { align-items: stretch; flex-direction: column; }
    .filing-submit-row .btn { width: 100%; }
    .filing-final-submit-row { align-items: center; flex-direction: row; gap: .75rem; }
    .filing-final-submit-row .btn { width: auto; white-space: nowrap; }
    .pre-submission-cure-page > .filing-final-submit-row { flex-wrap: wrap; }
    .pre-submission-cure-page > .filing-final-submit-row .btn { max-width: 100%; white-space: normal; }
    .filing-final-submit-page > .filing-final-submit-row { flex-wrap: wrap; }
    .sick-leave-note-type-choices, .sick-leave-note-date-section, .sick-leave-note-date-grid { grid-template-columns: 1fr; }
    .file-dropzone.compact { align-items: center; flex-direction: column; }
    .file-dropzone.compact .btn { margin-left: 0; }
    .annexure-upload-controls { grid-template-columns: 1fr; }
    .filing-review-layout { grid-template-columns: 1fr; min-height: auto; }
    .filing-review-metadata { display: block; }
    .filing-review-metadata.filing-package-summary-panel { display: flex; height: auto; max-height: none; }
    .filing-final-submit-workspace-panel, .filing-final-submit-declarations-panel { display: block; }
    .extracted-metadata-scroll { max-height: none; overflow: visible; }
    .filing-metadata-list { margin-top: 1.25rem; }
    .main-case-pdf-viewer { height: var(--main-case-pdf-a4-height); }
    .main-case-pdf-viewer.judge-document-analysis-combined-viewer { height: 100%; }
    .main-case-pdf-workspace { position: relative; }
    .main-case-index-panel { position: absolute; z-index: 3; inset: 0 auto 0 0; width: min(18rem, calc(100% - 3.25rem)); box-shadow: .45rem 0 1rem rgb(24 35 58 / .14); }
    .main-case-index-panel.is-collapsed { width: 3.25rem; box-shadow: none; }
    .main-case-pdf-split-mirror .main-case-index-panel:not(.is-collapsed) { width: min(15rem, calc(100% - 3.25rem)); }
    /* Keep page ink/link layers below the overlapping mobile index drawer. */
    .main-case-pdf-stage { padding-left: 4.5rem; isolation: isolate; }
    .document-examiner-pdf-viewer .main-case-pdf-stage { padding-left: 1.25rem; }
    .main-case-pdf-toolbar { flex-wrap: wrap; }
    .main-case-pdf-viewer.is-split-view .main-case-pdf-split-reader-navigation { position: static; max-width: none; }
    .main-case-pdf-toolbar-spacer { display: none; }
    .ai-scrutiny-layout { grid-template-columns: 1fr; }
    .ai-scrutiny-results { height: auto; max-height: none; }
    .case-file-access-layout { grid-template-columns: 1fr; }
    .case-file-grant { align-items: flex-start; flex-direction: column; }
    .case-file-grant .btn { width: 100%; }
    .judge-overview-grid, .judge-disabled-workflows { grid-template-columns: 1fr; }
    .judge-cause-list-date-selection, .judge-cause-list-date-shortcuts { grid-template-columns: 1fr; }
    .judge-cause-list-date-control { max-width: none; }
    .judge-court-cause-page-heading { grid-template-columns: 1fr; justify-items: center; }
    .judge-court-cause-heading-leading, .judge-court-cause-page-heading > .judge-court-cause-heading-actions { justify-self: center; }
    .judge-court-cause-filter-selects { grid-template-columns: 1fr; }
    .judge-court-cause-group > header > div { align-items: stretch; flex-direction: column; }
    .judge-court-cause-group > header .btn { justify-content: center; }
    .judge-court-cause-entry, .judge-court-cause-detail-grid { grid-template-columns: 1fr; }
    .judge-case-workspace-toolbar .card-body { grid-template-columns: 1fr; align-items: stretch; }
    .judge-case-workspace-toolbar > .card-body > [data-judge-case-back] { width: 100%; }
    .judge-case-workspace-action-band { align-items: stretch; flex-direction: column; }
    .judge-case-workspace-toolbar [data-judge-case-action-controls] { justify-content: stretch; }
    .judge-case-workspace-toolbar [data-judge-case-action-controls] .btn { flex: 1 1 auto; }
    .court-master-hearing-controls { align-items: stretch; flex-direction: column; width: 100%; }
    .court-master-hearing-state { text-align: left; }
    .court-master-hearing-actions { justify-content: stretch; }
    .court-master-legacy-display-controls { align-items: stretch; flex-direction: column; padding: .55rem 0 0; border-top: 1px solid #d9dfeb; border-left: 0; }
    .court-master-legacy-display-actions { justify-content: stretch; }
    .court-master-legacy-display-actions .btn { flex: 1 1 auto; }
    .court-master-case-control-bar .card-body { align-items: stretch; flex-direction: column; }
    .court-master-proceeding-card > header { grid-template-columns: 1fr; align-items: stretch; }
    .court-master-proceeding-party-summary { text-align: left; }
    .court-master-proceeding-advocate-summary { border-left: 0; border-top: .18rem solid rgb(244 110 75 / .8); padding: .5rem 0 0; }
    .court-master-proceeding-statuses { justify-items: start; }
    .court-master-proceeding-save-state { justify-self: start; }
    .court-master-case-control-actions, .court-master-case-control-actions .btn { width: 100%; }
    .court-master-case-control-actions .btn { justify-content: center; }
    .court-master-proceeding-list-heading { align-items: stretch; flex-direction: column; }
    .court-master-proceeding-fields, .court-master-proceeding-card.is-disposed .court-master-proceeding-fields { grid-template-columns: 1fr; }
    .court-master-proceeding-field[data-court-master-proceeding-not-before-field] { grid-column: auto; }
    .court-master-proceeding-proceedings { grid-column: auto; }
    .court-master-proceeding-card footer .btn, .court-master-proceeding-serial-save .btn { justify-content: center; width: 100%; }
    .court-master-proceeding-serial-save { align-items: stretch; flex-direction: column; }
    .court-master-proceeding-serial-save-actions { align-items: stretch; flex-direction: column; }
    .main-case-pdf-viewer:fullscreen .judge-case-fullscreen-toolbar-slot .judge-case-workspace-toolbar .card-body { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
    .main-case-pdf-viewer:fullscreen .judge-case-fullscreen-toolbar-slot .judge-case-serial-pagination, .main-case-pdf-viewer:fullscreen .judge-case-fullscreen-toolbar-slot [data-judge-case-action-controls] { grid-column: 1 / -1; }
    .main-case-pdf-viewer:fullscreen .judge-case-fullscreen-toolbar-slot .judge-case-serial-pagination { max-width: none; }
    .judge-case-serial-pagination { justify-content: center; padding-bottom: .1rem; }
    .judge-document-analysis-item { min-width: 0; }
}

@media (min-width: 576px) and (max-width: 991px) {
    .filing-review-layout { grid-template-columns: 1fr; }
    .ai-scrutiny-layout { grid-template-columns: 1fr; }
    .ai-scrutiny-results { height: auto; max-height: none; }
    .filing-review-metadata { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 1.25rem; }
    .filing-review-metadata.filing-package-summary-panel { display: flex; height: 46rem; }
    .filing-final-submit-declarations-panel .declaration-list, .filing-final-submit-declarations-panel [data-final-submit-declaration-status] { grid-column: 1 / -1; }
    .filing-review-metadata > .page-kicker, .filing-review-metadata > h2, .filing-review-metadata > p { grid-column: 1; }
    .filing-metadata-list { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
    .judge-court-cause-entry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .document-upload-layout { grid-template-columns: 1fr; }
    .document-preview-panel { min-height: 0; }
    .document-preview-gallery { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); max-height: none; }
    .document-preview-empty { min-height: 8rem; }
}
}
.authentication-return-notice {
    transition: opacity .18s ease;
}

.authentication-return-notice.is-dismissing {
    opacity: 0;
}

.filing-rejection-remarks {
    display: grid;
    gap: .45rem;
    margin: 0;
    min-width: 20rem;
    padding-left: 1.1rem;
}

.filing-rejection-remarks li {
    display: grid;
    gap: .15rem;
}

.filing-rejection-remarks strong {
    color: var(--egujhc-ink, #1d2b45);
    font-size: .8125rem;
}

.filing-rejection-remarks span {
    color: var(--bs-secondary-color);
    font-size: .8125rem;
}

.courtroom-podium-active #account-controls { display: none !important; }
.courtroom-podium-active .pdf-input-settings { display: none !important; }
.courtroom-podium-active #main-content { max-width: 100%; padding-inline: clamp(1rem, 3vw, 3rem); }
.courtroom-podium-shell { width: min(100%, 92rem); margin: 0 auto; }
.courtroom-podium-active:has(.podium-case-shell) { overflow: hidden; }
.courtroom-podium-active:has(.podium-case-shell) .app-shell { height: 100dvh; min-height: 0; overflow: hidden; }
.courtroom-podium-active #main-content:has(.podium-case-shell) { box-sizing: border-box; height: auto; min-height: 0; flex: 1 1 0; overflow: hidden; padding-block: .45rem !important; }
/* PDF.js inserts a measurement canvas directly under body. Keep it from adding a
   browser-level line box below the fixed podium reader. */
body.courtroom-podium-active:has(.podium-case-shell) > .hiddenCanvasElement { position: fixed; top: 0; left: 0; pointer-events: none; }
.courtroom-podium-shell > .auth-card { margin: clamp(2rem, 8vh, 7rem) auto 0; }
.courtroom-podium-shell > .auth-card:has(#podium-pair-form) { max-width: 38rem; }
#podium-pair-form .mfa-code-inputs { gap: clamp(.2rem, .8vw, .55rem); }
#podium-pair-form .mfa-code-box { min-height: 2.75rem; }
.podium-state-card { margin: clamp(3rem, 14vh, 10rem) auto 0; max-width: 58rem; border: 0; text-align: center; }
.podium-state-card .card-body { padding: clamp(2.5rem, 7vw, 6rem); }
.podium-state-icon, .podium-advocate-icon { display: inline-grid; place-items: center; border-radius: 1rem 1rem 1rem .3rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.podium-state-icon { width: 5rem; height: 5rem; margin-bottom: 1.5rem; font-size: 2.2rem; }
.podium-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.5rem; }
.podium-page-heading .badge { padding: .75rem 1rem; font-size: .85rem; }
.podium-notified-case { margin: .5rem 0 1rem; padding: .9rem 1.1rem 1rem; border: 1px solid #cfd3fb; border-left: .4rem solid var(--egujhc-indigo); border-radius: .65rem; background: linear-gradient(110deg, #f5f5ff, #fff); box-shadow: 0 .35rem 1.1rem rgb(77 70 201 / .08); }
.podium-notified-case-cue { display: flex; align-items: center; gap: .45rem; margin: 0 0 .35rem; color: var(--egujhc-accent-text); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.podium-notified-case-reference { margin: 0; color: var(--egujhc-ink); font-size: clamp(1.45rem, 2.8vw, 2.45rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.18; }
.podium-advocate-selection-heading, .podium-access-options-heading { color: var(--egujhc-ink); font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 700; letter-spacing: .01em; }
.podium-notified-case-entering { border-left-color: var(--egujhc-coral); animation: podium-case-notified .7s ease-out both; }
@keyframes podium-case-notified { from { opacity: .25; transform: translateY(-.6rem); box-shadow: 0 0 0 rgb(244 110 75 / 0); } 55% { opacity: 1; transform: translateY(0); box-shadow: 0 .8rem 1.8rem rgb(244 110 75 / .2); } to { opacity: 1; transform: translateY(0); box-shadow: 0 .35rem 1.1rem rgb(77 70 201 / .08); } }
@media (prefers-reduced-motion: reduce) { .podium-notified-case-entering { animation: none; } }
.podium-advocate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; }
.podium-access-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.podium-access-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.1rem; min-height: 11rem; padding: 1.5rem; border: 1px solid #d1d7ef; background: linear-gradient(135deg, #fff, #f7f7ff); color: var(--egujhc-ink); text-align: left; }
.podium-access-option:hover { border-color: var(--egujhc-accent-text); box-shadow: 0 .55rem 1.4rem rgb(77 70 201 / .14); transform: translateY(-2px); }
.podium-access-option:focus-visible { outline: 4px solid rgb(77 70 201 / .3); outline-offset: 3px; }
.podium-access-option strong { display: block; font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.podium-access-option small { display: block; margin-top: .4rem; color: var(--egujhc-muted); font-size: 1rem; line-height: 1.45; }
.podium-access-option-icon { display: inline-grid; width: 3.8rem; height: 3.8rem; place-items: center; border-radius: 1rem 1rem 1rem .3rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: 1.65rem; }
.podium-access-option > .podium-access-option-icon { grid-area: 1 / 1; }
.podium-access-option > span:not(.podium-access-option-icon):not(.btn-loading-spinner):not(.egujhc-action-pending-spinner) { grid-area: 1 / 2; }
.podium-access-option > i { grid-area: 1 / 3; }
.podium-access-option.btn-loading > .btn-loading-spinner,
.podium-access-option > .egujhc-action-pending-spinner { grid-area: 1 / 1; justify-self: center; margin: 0; z-index: 1; }
.podium-access-option.egujhc-action-pending .podium-access-option-icon > i { visibility: hidden; }
.podium-advocate-card > .podium-advocate-icon { grid-area: 1 / 1; }
.podium-advocate-card > span:not(.podium-advocate-icon):not(.btn-loading-spinner):not(.egujhc-action-pending-spinner) { grid-area: 1 / 2; }
.podium-advocate-card > i { grid-area: 1 / 3; }
.podium-advocate-card.btn-loading > .btn-loading-spinner,
.podium-advocate-card > .egujhc-action-pending-spinner { grid-area: 1 / 1; justify-self: center; margin: 0; z-index: 1; }
.podium-advocate-card.egujhc-action-pending .podium-advocate-icon > i { visibility: hidden; }
.podium-advocate-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 7.5rem; padding: 1.25rem; border: 1px solid #dbe1ec; background: var(--egujhc-surface); color: var(--egujhc-ink); text-align: left; }
.podium-advocate-card:not(:disabled):hover { border-color: var(--egujhc-accent-text); transform: translateY(-1px); }
.podium-advocate-card:not(:disabled):focus-visible { outline: 4px solid rgb(77 70 201 / .3); outline-offset: 3px; }
.podium-advocate-card:disabled { opacity: .66; cursor: not-allowed; }
.podium-advocate-card strong, .podium-advocate-card small { display: block; }
.podium-advocate-card strong { font-size: 1.08rem; }
.podium-advocate-card small { margin-top: .25rem; color: var(--egujhc-muted); }
.podium-advocate-icon { width: 3.25rem; height: 3.25rem; font-size: 1.4rem; }
.podium-pairing-code, .podium-mfa-code { letter-spacing: .35em; font-weight: 700; }
.podium-case-shell { width: 100%; height: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: .45rem; }
.podium-case-chrome { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem; min-width: 0; }
.podium-case-heading { min-width: 0; }
.podium-case-chrome .page-kicker { font-size: .66rem; }
.podium-case-chrome .podium-notified-case { margin: .2rem 0 .2rem; padding: .5rem .7rem .55rem; border-left-width: .28rem; border-radius: .55rem; box-shadow: 0 .16rem .55rem rgb(77 70 201 / .08); }
.podium-case-chrome .podium-notified-case-cue { margin-bottom: .16rem; font-size: .62rem; }
.podium-case-chrome .podium-notified-case-reference { font-size: clamp(1.05rem, 1.7vw, 1.55rem); line-height: 1.14; }
.podium-case-coram { color: var(--egujhc-muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-case-actions { align-self: start; display: flex; justify-content: flex-end; padding-top: .25rem; }
.podium-case-workspace { display: grid; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(19rem, 26rem); gap: .65rem; }
.podium-case-reader { min-width: 0; min-height: 0; overflow: hidden; border: 1px solid var(--egujhc-border); border-radius: .7rem; background: var(--egujhc-surface); box-shadow: 0 .25rem .85rem rgb(16 36 71 / .08); }
.podium-case-reader > .main-case-pdf-viewer,
.podium-case-pdf-viewer { height: 100%; min-height: 0; }
.podium-case-rail { display: flex; min-height: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--egujhc-border); border-radius: .7rem; background: var(--egujhc-surface); box-shadow: 0 .25rem .85rem rgb(16 36 71 / .08); }
.podium-case-rail-notice { display: flex; align-items: flex-start; gap: .4rem; padding: .55rem .65rem; border-bottom: 1px solid #d6def2; background: #edf6ff; color: #315a83; font-size: .76rem; line-height: 1.3; }
.podium-case-rail-tabs { display: flex; flex: 0 0 auto; overflow-x: auto; border-bottom: 1px solid var(--egujhc-border); background: var(--egujhc-surface-soft); }
.podium-case-rail-tab { display: inline-flex; flex: 1 0 max-content; align-items: center; justify-content: center; gap: .35rem; min-height: 2.55rem; padding: .5rem .6rem; border: 0; border-bottom: .2rem solid transparent; background: transparent; color: var(--egujhc-muted); font-size: .76rem; font-weight: 750; white-space: nowrap; }
.podium-case-rail-tab:hover { color: var(--egujhc-accent-text); background: rgb(77 70 201 / .05); }
.podium-case-rail-tab.is-active { border-bottom-color: var(--egujhc-indigo); color: var(--egujhc-accent-text); background: var(--egujhc-surface); }
.podium-case-rail-tab:focus-visible { position: relative; z-index: 1; outline: 3px solid rgb(77 70 201 / .35); outline-offset: -3px; }
.podium-case-rail-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .75rem; }
.podium-case-rail-panel { min-height: 100%; }
.podium-rail-section + .podium-rail-section { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--egujhc-border); }
.podium-rail-section > .h6 { margin-bottom: .55rem; color: var(--egujhc-heading); font-weight: 750; }
.podium-rail-section .filing-context-list { gap: .45rem; }
.podium-rail-section .filing-context-list > div { padding: .5rem .6rem; }
.podium-compact-list { display: grid; gap: .38rem; margin: 0; padding-left: 1.05rem; font-size: .83rem; }
.podium-rail-list { display: grid; gap: .55rem; }
.podium-rail-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; align-items: start; padding: .65rem; border: 1px solid #dde3ef; border-radius: .55rem; background: var(--egujhc-surface-soft); }
.podium-rail-item-title { margin: 0 0 .1rem; color: var(--egujhc-accent-text); font-size: .72rem; font-weight: 800; letter-spacing: .025em; }
.podium-rail-item p:not(.podium-rail-item-title) { color: var(--egujhc-ink); font-size: .82rem; line-height: 1.35; }
.podium-rail-item small { color: var(--egujhc-muted); font-size: .71rem; }
.podium-private-note { width: 100%; grid-template-columns: auto minmax(0, 1fr) auto; border: 1px solid #d9d7fb; color: var(--egujhc-ink); text-align: left; }
.podium-private-note:not(:disabled):hover { border-color: var(--egujhc-accent-text); background: rgb(77 70 201 / .06); }
.podium-private-note:focus-visible { outline: 3px solid rgb(77 70 201 / .32); outline-offset: 2px; }
.podium-private-note:disabled { opacity: .72; cursor: default; }
.podium-private-note-page { display: inline-flex; align-items: center; min-height: 1.65rem; padding: .2rem .42rem; border-radius: .35rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: .7rem; font-weight: 800; white-space: nowrap; }
.podium-private-note strong, .podium-private-note small { display: block; }
.podium-private-note strong { font-size: .8rem; line-height: 1.3; overflow-wrap: anywhere; }
.podium-citation-dialog .modal-content { min-height: min(80dvh, 52rem); }
.podium-citation-reader { height: min(62dvh, 44rem); min-height: 21rem; }
.podium-citation-pdf-viewer { height: 100%; }
.podium-pairing-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.podium-pairing-results > span { display: grid; gap: .25rem; padding: .75rem; border: 1px solid rgb(25 135 84 / .25); border-radius: .5rem; background: var(--egujhc-surface); }
.podium-pairing-results code { color: var(--egujhc-accent-text); font-size: 1.4rem; font-weight: 800; letter-spacing: .16em; }

@media (max-width: 767px) {
    .podium-page-heading { align-items: stretch; flex-direction: column; }
    .podium-pairing-results, .podium-access-options { grid-template-columns: 1fr; }
    .podium-page-heading .btn { width: 100%; }
    .podium-case-chrome { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
    .podium-case-actions { justify-content: stretch; padding-top: 0; }
    .podium-case-actions .btn { width: 100%; }
    .podium-case-coram { white-space: normal; }
}

@media (max-width: 991px) {
    .courtroom-podium-active:has(.podium-case-shell) #main-content { padding-inline: .55rem !important; }
    .podium-case-workspace { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(18rem, 52vh) minmax(0, 1fr); gap: .5rem; }
    .podium-case-rail-tabs { justify-content: flex-start; }
}

/* Public Live Court Display Board */
.display-board-active { overflow: hidden; }
.display-board-active .app-shell { height: 100dvh; min-height: 0 !important; overflow: hidden; }
.display-board-active .app-header { display: none; }
.display-board-active #account-controls { display: none !important; }
.display-board-active #main-content { width: 100%; max-width: none; min-height: 0; padding: clamp(.55rem, 1vw, 1rem) clamp(.65rem, 1.5vw, 1.6rem) !important; overflow: hidden; }
.display-board { display: grid; height: 100%; min-height: 0; grid-template-rows: auto auto minmax(0, 1fr); gap: clamp(.3rem, .55vw, .55rem); color: #152340; font-family: "Atkinson Hyperlegible", "Arial", system-ui, sans-serif; }
.display-board-heading { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(.55rem, .8vw, .85rem); padding: clamp(.45rem, .7vw, .72rem) clamp(.7rem, 1vw, 1rem); border: 1px solid #d6dcef; border-radius: .7rem; background: linear-gradient(105deg, #fff 0%, #f5f6ff 68%, #edf9fb 100%); box-shadow: 0 .2rem .75rem rgb(16 36 71 / .08); }
.display-board-heading-title { display: flex; min-width: 0; align-items: center; gap: .65rem; }
.display-board-heading-title p { margin: 0 0 .05rem; color: var(--egujhc-accent-text); font-size: clamp(.72rem, .95vw, 1rem); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.display-board-heading-title h1 { margin: 0; color: var(--egujhc-heading); font-size: clamp(1.2rem, 1.85vw, 2.3rem); font-weight: 700; letter-spacing: -.025em; line-height: 1; }
.display-board-brand { display: inline-flex; align-items: center; justify-self: center; gap: clamp(.45rem, .7vw, .7rem); color: var(--egujhc-heading); text-decoration: none; }
.display-board-brand:hover, .display-board-brand:focus-visible { color: var(--egujhc-accent-text); }
.display-board-brand:focus-visible { outline: 3px solid rgb(77 70 201 / .32); outline-offset: .35rem; border-radius: .35rem; }
.display-board-brand img { display: block; width: clamp(1.8rem, 2.35vw, 2.8rem); height: clamp(2.25rem, 3vw, 3.35rem); object-fit: contain; }
.display-board-brand > span { display: grid; line-height: 1.05; }
.display-board-brand strong { font-size: clamp(1.05rem, 1.45vw, 1.65rem); letter-spacing: -.025em; }
.display-board-brand small { margin-top: .15rem; color: var(--egujhc-muted); font-size: clamp(.57rem, .72vw, .77rem); font-weight: 700; letter-spacing: .025em; }
.display-board-live-dot { position: relative; flex: 0 0 auto; width: clamp(.75rem, 1vw, 1.05rem); height: clamp(.75rem, 1vw, 1.05rem); border-radius: 50%; background: var(--egujhc-coral); box-shadow: 0 0 0 .35rem rgb(244 110 75 / .16); }
.display-board-live-dot.is-closed { background: #77839a; box-shadow: 0 0 0 .35rem rgb(100 113 138 / .12); }
.display-board-heading-status { display: grid; flex: 0 0 auto; grid-auto-flow: column; grid-auto-columns: max-content; gap: clamp(.45rem, 1vw, 1.25rem); }
.display-board-heading-status > div { display: grid; gap: .05rem; }
.display-board-heading-status span { color: #68758d; font-size: clamp(.62rem, .75vw, .8rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.display-board-heading-status strong { color: var(--egujhc-heading); font-size: clamp(.92rem, 1.35vw, 1.55rem); line-height: 1; white-space: nowrap; }
.display-board-stale { display: flex; align-items: center; justify-content: center; gap: .55rem; padding: .55rem .8rem; border: 1px solid #f0c36a; border-radius: .55rem; background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); font-size: clamp(.82rem, 1vw, 1.05rem); font-weight: 700; text-align: center; }
.display-board-surface { display: grid; grid-row: 3; min-height: 0; grid-template-rows: auto minmax(0, 1fr); border: 1px solid #cfd7e8; border-radius: .7rem; overflow: hidden; background: var(--egujhc-accent-bg); box-shadow: 0 .35rem 1rem rgb(16 36 71 / .1); }
.display-board-surface.is-closed { grid-template-rows: minmax(0, 1fr); background: linear-gradient(145deg, #f7f8fc, #e9edf5); }
.display-board-surface.is-closed .display-board-column-head { display: none; }
.display-board-column-head,
.display-board-row { display: grid; grid-template-columns: minmax(20rem, 2.5fr) minmax(11rem, 1fr) minmax(7.5rem, .65fr) minmax(15rem, 1.8fr); }
.display-board-column-head { min-height: clamp(2rem, 2.9vw, 3rem); align-items: center; background: var(--egujhc-navy); color: #fff; }
.display-board-column-head span { padding: .38rem clamp(.6rem, .85vw, .9rem); border-left: 1px solid rgb(255 255 255 / .13); font-size: clamp(.7rem, .9vw, 1rem); font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.display-board-column-head span:first-child { border-left: 0; }
.display-board-viewport { min-height: 0; overflow: hidden; }
.display-board-rows { display: grid; gap: clamp(.2rem, .35vw, .4rem); padding: clamp(.2rem, .35vw, .4rem); }
.display-board-row { position: relative; min-height: clamp(4.75rem, 7.2vh, 6.6rem); align-items: stretch; border: 1px solid #d8deeb; border-radius: .48rem; overflow: hidden; background: var(--egujhc-surface); box-shadow: 0 .1rem .35rem rgb(16 36 71 / .07); transition: opacity .28s ease, transform .28s ease, box-shadow .28s ease; }
.display-board-row::before { position: absolute; inset: 0 auto 0 0; width: .32rem; background: var(--egujhc-sky); content: ""; }
.display-board-row.is-changed { box-shadow: 0 0 0 .28rem rgb(244 110 75 / .34), 0 .55rem 1.25rem rgb(244 110 75 / .16); animation: display-board-change 1.2s ease-out; }
.display-board-row.is-changed::before { background: var(--egujhc-coral); }
@keyframes display-board-change { from { opacity: .55; transform: translateY(-.35rem); } to { opacity: 1; transform: translateY(0); } }
.display-board-cell { display: flex; min-width: 0; align-items: center; padding: clamp(.42rem, .65vw, .75rem) clamp(.5rem, .8vw, .85rem); border-left: 1px solid #e0e5ef; overflow-wrap: anywhere; }
.display-board-cell:first-child { border-left: 0; }
.display-board-cell::before { display: none; content: attr(data-label); }
.display-board-court-summary { display: grid; flex: 0 0 auto; min-width: clamp(3.5rem, 4.8vw, 5.25rem); align-content: center; justify-items: center; align-self: stretch; padding-right: clamp(.45rem, .7vw, .75rem); border-right: 1px solid #e0e5ef; color: var(--egujhc-heading); text-align: center; }
.display-board-court-prefix { color: var(--egujhc-muted); font-size: clamp(.58rem, .72vw, .8rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.display-board-court-number,
.display-board-serial strong { font-size: clamp(1.7rem, 2.55vw, 3.4rem); font-weight: 700; letter-spacing: -.04em; line-height: .95; }
.display-board-coram { align-items: stretch; gap: clamp(.45rem, .7vw, .75rem); }
.display-board-judge-lines { display: grid; flex: 1 1 auto; min-width: 0; align-content: center; gap: .25rem; }
.display-board-judge-line { display: grid; min-width: 0; grid-template-columns: clamp(2.35rem, 3vw, 3.9rem) minmax(0, 1fr); align-items: center; gap: clamp(.35rem, .55vw, .55rem); }
.display-board-judge-line + .display-board-judge-line { padding-top: .25rem; border-top: 1px solid #edf0f6; }
.display-board-judge-line > strong { min-width: 0; color: var(--egujhc-heading); font-size: clamp(.88rem, 1.13vw, 1.45rem); line-height: 1.08; }
.display-board-portrait { display: grid; width: 100%; aspect-ratio: 4 / 5; place-items: center; border: clamp(1px, .14vw, 3px) solid #fff; border-radius: .38rem; overflow: hidden; background: var(--egujhc-accent-bg); box-shadow: 0 .1rem .35rem rgb(16 36 71 / .22); }
.display-board-portrait img { width: 100%; height: 100%; object-fit: contain; background: var(--egujhc-accent-bg); }
.display-board-portrait-fallback { position: relative; color: var(--egujhc-accent-text); background: linear-gradient(145deg, #f2f1ff, #e4e7f2); }
.display-board-portrait-fallback .bi { font-size: clamp(1.25rem, 1.9vw, 2.5rem); opacity: .32; }
.display-board-portrait-fallback strong { position: absolute; inset: auto .12rem .22rem; font-size: clamp(.58rem, .7vw, .85rem); letter-spacing: .04em; text-align: center; }
.display-board-list { justify-content: center; text-align: center; }
.display-board-list span { display: inline-block; max-width: 100%; padding: .28rem .48rem; border: 1px solid #c9c8f0; border-radius: 999px; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: clamp(.78rem, 1.05vw, 1.4rem); font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }
.display-board-serial { justify-content: center; color: var(--egujhc-coral); text-align: center; }
.display-board-case { align-items: flex-start; justify-content: center; flex-direction: column; }
.display-board-case strong { color: var(--egujhc-accent-text); font-size: clamp(1.25rem, 2.1vw, 3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.display-board-case > span { margin-top: .3rem; color: #263653; font-size: clamp(.86rem, 1.2vw, 1.55rem); line-height: 1.18; }
.display-board-case small { margin-top: .4rem; padding: .18rem .48rem; border-radius: 999px; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: clamp(.68rem, .82vw, .98rem); font-weight: 700; }
.display-board-state { grid-column: 3 / 5; justify-content: center; padding-inline: 1rem; text-align: center; }
.display-board-state strong { font-size: clamp(1.1rem, 1.75vw, 2.35rem); font-weight: 700; letter-spacing: .04em; line-height: 1.05; }
.display-board-state-recess { background: #fff2e8; color: #b44a18; }
.display-board-state-sitting-over { background: #fff0ef; color: #b42318; }
.display-board-state-mentioning { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.display-board-loading,
.display-board-empty { display: grid; min-height: 100%; place-content: center; justify-items: center; padding: 2rem; color: var(--egujhc-muted); text-align: center; }
.display-board-loading { grid-auto-flow: column; gap: 1rem; }
.display-board-empty-icon { display: grid; width: clamp(4rem, 7vw, 7rem); aspect-ratio: 1; place-items: center; margin-bottom: 1rem; border-radius: 1.25rem 1.25rem 1.25rem .35rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); font-size: clamp(1.8rem, 3vw, 3.5rem); }
.display-board-empty p { margin: 0 0 .35rem; color: var(--egujhc-accent-text); font-size: clamp(.85rem, 1.15vw, 1.3rem); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.display-board-empty h2 { margin: 0 0 .4rem; color: var(--egujhc-heading); font-size: clamp(1.6rem, 2.8vw, 3.4rem); }
.display-board-empty > span:last-child { font-size: clamp(.9rem, 1.3vw, 1.45rem); }
.display-board-error .display-board-empty-icon { background: var(--egujhc-danger-bg); color: var(--egujhc-coral); }
.display-board-closed .display-board-empty-icon { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.display-board-measure { position: fixed !important; top: 0; left: -200vw; z-index: -1; visibility: hidden; pointer-events: none; }

/* Display Board administration */
.display-board-admin-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(21rem, .8fr); gap: 1.25rem; align-items: start; }
.display-board-admin-stack,
.display-board-admin-mappings { display: grid; gap: 1rem; }
.display-board-admin-mappings { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.display-board-admin-profile-grid { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.display-board-admin-photo { display: grid; width: 7rem; aspect-ratio: 4 / 5; place-items: center; overflow: hidden; border: 1px solid #d7ddec; border-radius: .7rem; background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); }
.display-board-admin-photo img { width: 100%; height: 100%; object-fit: contain; }
.display-board-admin-photo > span { display: grid; gap: .35rem; justify-items: center; font-size: 1rem; font-weight: 700; }
.display-board-admin-photo .bi { font-size: 2rem; opacity: .5; }
.display-board-member-selects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1rem 0; }
.display-board-member-selects > label:last-child { grid-column: 1 / -1; }
.display-board-unresolved { display: grid; gap: .55rem; padding: 0; list-style: none; }
.display-board-unresolved li { display: grid; gap: .12rem; padding-bottom: .55rem; border-bottom: 1px solid #e2e6ef; overflow-wrap: anywhere; }
.display-board-unresolved small { color: var(--egujhc-muted); }

@media (min-width: 1920px) and (min-height: 900px) {
    .display-board-court-number,
    .display-board-serial strong { font-size: max(40px, 3.1vw); }
    .display-board-case strong { font-size: max(40px, 2.1vw); }
    .display-board-judge-line > strong { font-size: max(28px, 1.3vw); }
    .display-board-list span,
    .display-board-case > span { font-size: max(28px, 1.2vw); }
    .display-board-column-head span { font-size: max(28px, 1vw); }
    .display-board-state strong { font-size: max(40px, 1.85vw); }
}

@media (max-width: 1100px) and (min-width: 768px) {
    .display-board-column-head,
    .display-board-row { grid-template-columns: minmax(15rem, 2.2fr) minmax(6.6rem, .8fr) minmax(6rem, .65fr) minmax(12rem, 1.8fr); }
    .display-board-heading { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
    .display-board-brand { grid-column: 1 / -1; grid-row: 1; }
    .display-board-heading-title { grid-column: 1; grid-row: 2; }
    .display-board-heading-status { grid-column: 2; grid-row: 2; grid-template-columns: repeat(2, max-content); grid-auto-flow: row; }
}

@media (max-width: 767px) {
    .display-board-active { overflow: auto; }
    .display-board-active .app-shell { height: auto; min-height: 100dvh !important; overflow: visible; }
    .display-board-active #main-content { overflow: visible; }
    .display-board { min-height: 100dvh; }
    .display-board-heading { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
    .display-board-brand { grid-column: 1; grid-row: 1; }
    .display-board-heading-title { grid-column: 1; grid-row: 2; }
    .display-board-heading-status { grid-column: 1; grid-row: 3; }
    .display-board-heading-status { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
    .display-board-heading-status > div { padding: .5rem; border-radius: .45rem; background: rgb(255 255 255 / .72); }
    .display-board-column-head { display: none; }
    .display-board-surface { display: block; overflow: visible; border: 0; background: transparent; box-shadow: none; }
    .display-board-viewport { overflow: visible; }
    .display-board-rows { padding: 0; }
    .display-board-row { display: grid; min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; }
    .display-board-cell { position: relative; display: grid; align-content: start; justify-content: stretch; gap: .3rem; padding: 1.75rem .8rem .8rem; border: 0; border-top: 1px solid #e1e5ef; text-align: left; }
    .display-board-cell::before { position: absolute; top: .55rem; left: .8rem; display: block; color: #6b778e; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
    .display-board-coram,
    .display-board-case { grid-column: 1 / -1; }
    .display-board-coram { display: grid; grid-template-columns: minmax(3.8rem, auto) minmax(0, 1fr); align-items: stretch; }
    .display-board-court-summary { min-width: 3.8rem; }
    .display-board-court-number,
    .display-board-serial strong { font-size: 2.2rem; }
    .display-board-judge-line { grid-template-columns: 3.25rem minmax(0, 1fr); }
    .display-board-judge-line > strong { font-size: 1.05rem; }
    .display-board-list { align-items: start; justify-content: start; }
    .display-board-list span { font-size: .9rem; }
    .display-board-serial { align-items: start; justify-content: start; }
    .display-board-case strong { font-size: 1.45rem; }
    .display-board-case > span { font-size: .98rem; }
    .display-board-state { grid-column: 2; justify-content: start; text-align: left; }
    .display-board-state strong { font-size: 1.1rem; }
    .display-board-admin-layout { grid-template-columns: 1fr; }
    .display-board-admin-profile-grid { grid-template-columns: 1fr; }
    .display-board-admin-photo { width: 6rem; }
    .display-board-member-selects { grid-template-columns: 1fr; }
    .display-board-member-selects > label:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .display-board-row,
    .display-board-row.is-changed { animation: none; transition: none; }
}

/* PPS/PS/Stenographer Order/Judgment preparation is deliberately browser-memory only. */
.oj-workflow-page { max-width: 100%; }
.oj-stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; margin: 0 0 1.25rem; padding: .65rem; border: 1px solid var(--egujhc-border); border-radius: .85rem; background: var(--egujhc-surface); box-shadow: 0 .2rem .55rem rgb(24 35 58 / .06); }
.oj-step { display: flex; min-width: 0; align-items: center; gap: .55rem; padding: .65rem .7rem; border: 0; border-radius: .62rem; color: var(--egujhc-muted); background: var(--egujhc-surface-muted); font-weight: 700; text-align: left; }
.oj-step > span { display: inline-grid; width: 1.75rem; height: 1.75rem; flex: 0 0 auto; place-items: center; border: 1px solid #b9c6dc; border-radius: 50%; background: var(--egujhc-surface); font-size: .78rem; }
.oj-step.is-reached { color: var(--egujhc-accent-text); cursor: pointer; }
.oj-step.is-active { color: #fff; background: var(--egujhc-indigo); box-shadow: 0 .25rem .55rem rgb(77 70 201 / .22); }
.oj-step.is-active > span { border-color: #fff; color: var(--egujhc-accent-text); }
.oj-step:focus-visible { outline: 3px solid rgb(77 70 201 / .35); outline-offset: 2px; }
.oj-mode-toggle .btn { min-width: 9rem; }
.oj-context-strip { display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem; border-left: .25rem solid var(--egujhc-indigo); border-radius: .35rem; background: #f3f4ff; }
.oj-context-strip span { color: var(--egujhc-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.oj-board-empty { min-height: 12rem; }
.oj-board-empty i, .oj-pdf-empty i { color: var(--egujhc-accent-text); font-size: 2rem; }
.oj-board-empty strong, .oj-board-empty span, .oj-pdf-empty strong, .oj-pdf-empty span { display: block; }
.oj-compact-empty { min-height: auto; padding: 1rem; }
.oj-workflow-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.oj-workflow-actions .btn { min-width: 8.5rem; }
.oj-editor-card { overflow: hidden; }
.oj-editor-context { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: .7rem 1rem; border-bottom: 1px solid var(--egujhc-border); color: var(--egujhc-muted); background: var(--egujhc-surface-soft); font-size: .8rem; font-weight: 700; }
.oj-editor-toolbar { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: .22rem; padding: .45rem .7rem; border-bottom: 1px solid var(--egujhc-border); background: var(--egujhc-surface); }
.oj-editor-toolbar .btn { display: inline-grid; width: 2rem; height: 2rem; place-items: center; padding: 0; }
.oj-toolbar-separator { width: 1px; height: 1.45rem; margin: 0 .25rem; background: var(--egujhc-border); }
.oj-editor-surface { width: min(100% - 2rem, 52rem); min-height: 42rem; margin: 1rem auto; padding: 4.5rem 4rem; border: 1px solid #d2d8e4; color: #1d2939; background: var(--egujhc-surface); box-shadow: 0 .5rem 1.2rem rgb(24 35 58 / .14); font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; line-height: 1.65; outline: none; }
.oj-editor-surface:empty::before { content: attr(data-placeholder); color: #98a2b3; pointer-events: none; }
.oj-editor-surface:focus { border-color: var(--egujhc-accent-text); box-shadow: 0 0 0 .22rem rgb(77 70 201 / .14), 0 .5rem 1.2rem rgb(24 35 58 / .14); }
.oj-editor-surface.is-invalid { border-color: var(--cui-danger); }
.oj-editor-footer { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; border-top: 1px solid var(--egujhc-border); color: var(--egujhc-muted); background: var(--egujhc-surface-soft); font-size: .78rem; }
.oj-file-empty, .oj-file-summary { display: flex; min-height: 4.8rem; align-items: center; gap: .8rem; margin-top: .7rem; padding: .75rem; border: 1px dashed #b9c6dc; border-radius: .65rem; background: var(--egujhc-surface-muted); }
.oj-file-empty { justify-content: center; color: var(--egujhc-muted); }
.oj-file-summary { border-style: solid; }
.oj-file-summary > span:nth-child(2) { display: grid; min-width: 0; flex: 1; }
.oj-file-summary strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oj-file-summary small { color: var(--egujhc-muted); }
.oj-file-summary .service-card-icon { width: 2.65rem; height: 2.65rem; flex: 0 0 auto; font-size: 1.2rem; }
.oj-transfer-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(18rem, .72fr); gap: 1.25rem; align-items: start; }
.oj-transfer-pdf-viewer { height: min(65rem, 78vh); }
.oj-transfer-pdf-viewer.is-signature-placing .main-case-pdf-page { cursor: crosshair; }
.oj-signature-marker { position: absolute; z-index: 5; display: inline-flex; min-width: 7.2rem; min-height: 2.5rem; align-items: center; justify-content: center; gap: .35rem; padding: .3rem .55rem; border: 2px dashed #2563eb; border-radius: .3rem; color: #1e3a8a; background: rgb(219 234 254 / .88); box-shadow: 0 .2rem .5rem rgb(30 58 138 / .22); font-size: .72rem; font-weight: 800; pointer-events: none; transform: translate(-50%, -50%); }
.oj-pdf-empty { display: grid; min-height: 32rem; place-content: center; gap: .35rem; border: 1px dashed #b9c6dc; border-radius: .75rem; color: var(--egujhc-muted); background: var(--egujhc-surface-soft); text-align: center; }

@media (max-width: 991.98px) {
    .oj-stepper,
    .oj-stepper > .egujhc-pro-stepper-steps { grid-template-columns: 1fr; }
    .oj-step { padding: .45rem .6rem; }
    .oj-transfer-layout { grid-template-columns: 1fr; }
    .oj-editor-surface { min-height: 34rem; padding: 3rem 2.5rem; }
}

@media (max-width: 575.98px) {
    .oj-mode-toggle { display: grid; width: 100%; }
    .oj-mode-toggle .btn { min-width: 0; border-radius: .4rem !important; }
    .oj-editor-surface { width: calc(100% - 1rem); min-height: 30rem; margin: .5rem auto; padding: 2rem 1.2rem; }
    .oj-editor-footer { flex-direction: column; gap: .25rem; }
    .oj-workflow-actions { align-items: stretch; flex-direction: column-reverse; }
    .oj-workflow-actions .btn { width: 100%; }
    .oj-transfer-pdf-viewer { height: 70vh; }
}

/* Shared touch/pen on-screen keyboard */
.egujhc-onscreen-keyboard-launcher[hidden],
.egujhc-onscreen-keyboard[hidden],
.egujhc-onscreen-keyboard-mode-menu[hidden] { display: none !important; }
.egujhc-onscreen-keyboard-launcher {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 1090;
}
.egujhc-onscreen-keyboard-launcher-button {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgb(255 255 255 / .32);
    border-radius: 999px;
    color: #fff;
    background: var(--egujhc-navy);
    box-shadow: 0 .55rem 1.35rem rgb(16 36 71 / .28);
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1;
}
.egujhc-onscreen-keyboard-launcher-button .bi { font-size: .9rem; }
.egujhc-onscreen-keyboard-launcher-button:hover,
.egujhc-onscreen-keyboard-launcher-button:focus-visible {
    border-color: #fff;
    color: #fff;
    background: #19345f;
}
.egujhc-onscreen-keyboard-launcher-button:focus-visible,
.egujhc-onscreen-keyboard-mode-menu button:focus-visible,
.egujhc-onscreen-keyboard button:focus-visible {
    outline: 3px solid rgb(75 201 211 / .8);
    outline-offset: 2px;
}
.egujhc-onscreen-keyboard-mode-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + .6rem);
    display: grid;
    width: min(19rem, calc(100vw - 2rem));
    gap: .25rem;
    padding: .65rem;
    border: 1px solid #d8deeb;
    border-radius: .8rem;
    background: var(--egujhc-surface);
    box-shadow: 0 .85rem 2rem rgb(16 36 71 / .24);
}
.egujhc-onscreen-keyboard-mode-menu p {
    margin: 0;
    padding: .2rem .45rem .4rem;
    color: var(--egujhc-heading);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.egujhc-onscreen-keyboard-mode-menu button {
    display: grid;
    gap: .08rem;
    padding: .55rem .65rem;
    border: 1px solid transparent;
    border-radius: .55rem;
    color: var(--egujhc-ink);
    background: transparent;
    font: inherit;
    text-align: left;
}
.egujhc-onscreen-keyboard-mode-menu button:hover,
.egujhc-onscreen-keyboard-mode-menu button.is-active {
    border-color: #c9c8f0;
    background: var(--egujhc-accent-bg);
}
.egujhc-onscreen-keyboard-mode-menu button span { font-size: .85rem; font-weight: 800; }
.egujhc-onscreen-keyboard-mode-menu button small { color: var(--egujhc-muted); font-size: .72rem; }
.egujhc-onscreen-keyboard {
    position: fixed;
    inset: auto 0 0;
    z-index: 1085;
    display: grid;
    max-height: min(46dvh, 24rem);
    gap: .55rem;
    padding: .65rem max(.75rem, env(safe-area-inset-right)) max(.75rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));
    border-top: 1px solid #cbd4e4;
    overflow-x: auto;
    overflow-y: auto;
    color: var(--egujhc-ink);
    background: var(--egujhc-surface-soft);
    box-shadow: 0 -1rem 2.4rem rgb(16 36 71 / .25);
}
.egujhc-onscreen-keyboard-heading {
    position: sticky;
    left: 0;
    z-index: 1;
    display: flex;
    min-width: 43rem;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.egujhc-onscreen-keyboard-target {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .45rem;
    color: var(--egujhc-muted);
    font-size: .74rem;
}
.egujhc-onscreen-keyboard-target i { color: var(--egujhc-accent-text); font-size: 1rem; }
.egujhc-onscreen-keyboard-target strong {
    max-width: min(26rem, 42vw);
    overflow: hidden;
    color: var(--egujhc-ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}
.egujhc-onscreen-keyboard-mode-group { display: inline-flex; align-items: center; gap: .2rem; }
.egujhc-onscreen-keyboard-mode-group button {
    min-height: 2.25rem;
    padding: .35rem .6rem;
    border: 1px solid #cbd4e4;
    color: #4a5871;
    background: var(--egujhc-surface);
    font: inherit;
    font-size: .72rem;
    font-weight: 800;
}
.egujhc-onscreen-keyboard-mode-group button:first-child { border-radius: .5rem 0 0 .5rem; }
.egujhc-onscreen-keyboard-mode-group button:last-child { border-radius: 0 .5rem .5rem 0; }
.egujhc-onscreen-keyboard-mode-group button.is-active { border-color: var(--egujhc-accent-text); color: #fff; background: var(--egujhc-indigo); }
.egujhc-onscreen-keyboard-close {
    display: inline-grid;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #cbd4e4;
    border-radius: .55rem;
    color: var(--egujhc-accent-text);
    background: var(--egujhc-surface);
}
.egujhc-onscreen-keyboard-rows { display: grid; width: 100%; min-width: 43rem; gap: .35rem; }
.egujhc-onscreen-keyboard-row { display: flex; min-width: 0; gap: .35rem; }
.egujhc-onscreen-key {
    position: relative;
    display: inline-flex;
    min-width: 0;
    min-height: 2.85rem;
    flex: var(--egujhc-key-flex, 1) 1 0;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .35rem .3rem;
    border: 1px solid #c7d0df;
    border-radius: .55rem;
    color: var(--egujhc-ink);
    background: var(--egujhc-surface);
    box-shadow: 0 .12rem .24rem rgb(16 36 71 / .1);
    font: inherit;
    font-size: .88rem;
    font-weight: 800;
    line-height: 1;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    user-select: none;
}
.egujhc-onscreen-key:hover { border-color: #aaa7e5; color: var(--egujhc-accent-text); background: #f1f0ff; }
.egujhc-onscreen-key:active { box-shadow: none; transform: translateY(1px); }
.egujhc-onscreen-key.is-active { border-color: var(--egujhc-accent-text); color: #fff; background: var(--egujhc-indigo); }
.egujhc-onscreen-key small { position: absolute; top: .28rem; right: .35rem; color: var(--egujhc-muted); font-size: .56rem; font-weight: 700; }
.egujhc-onscreen-key.is-active small { color: rgb(255 255 255 / .72); }
.egujhc-onscreen-key.is-space { border-color: #b9c6dc; background: var(--egujhc-surface-muted); }
.egujhc-onscreen-key.is-hide { border-color: #bdc9dc; color: var(--egujhc-heading); background: #eef2f8; }

@media (max-height: 700px) {
    .egujhc-onscreen-keyboard { max-height: 52dvh; gap: .35rem; padding-top: .45rem; }
    .egujhc-onscreen-keyboard-rows { gap: .25rem; }
    .egujhc-onscreen-keyboard-row { gap: .25rem; }
    .egujhc-onscreen-key { min-height: 2.5rem; }
}

@media (max-width: 767.98px) {
    .egujhc-onscreen-keyboard {
        max-height: none;
        gap: .24rem;
        padding: .38rem max(.35rem, env(safe-area-inset-right)) max(.38rem, env(safe-area-inset-bottom)) max(.35rem, env(safe-area-inset-left));
        overflow: hidden;
    }
    .egujhc-onscreen-keyboard-heading { min-width: 0; gap: .35rem; }
    .egujhc-onscreen-keyboard-target { gap: .28rem; font-size: .64rem; }
    .egujhc-onscreen-keyboard-target > span { display: none; }
    .egujhc-onscreen-keyboard-target i { font-size: .82rem; }
    .egujhc-onscreen-keyboard-target strong { max-width: min(8.5rem, 37vw); }
    .egujhc-onscreen-keyboard-mode-group { gap: 0; }
    .egujhc-onscreen-keyboard-mode-group button {
        min-height: 1.85rem;
        padding: .22rem .38rem;
        font-size: .61rem;
    }
    .egujhc-onscreen-keyboard-close {
        width: 1.9rem;
        height: 1.9rem;
        border-radius: .42rem;
    }
    .egujhc-onscreen-keyboard-rows { min-width: 0; gap: .18rem; }
    .egujhc-onscreen-keyboard-row { gap: .18rem; }
    .egujhc-onscreen-key {
        min-height: clamp(1.9rem, 6.1dvh, 2.25rem);
        gap: .08rem;
        overflow: hidden;
        padding: .16rem .05rem;
        border-radius: .38rem;
        font-size: clamp(.55rem, 2.8vw, .72rem);
        white-space: nowrap;
    }
    .egujhc-onscreen-key small { top: .1rem; right: .12rem; font-size: .46rem; }
    .egujhc-onscreen-key.is-caps-lock span {
        line-height: .82;
        text-align: center;
        white-space: normal;
    }
}

@media (max-width: 767.98px) and (max-height: 430px) {
    .egujhc-onscreen-keyboard { gap: .14rem; padding-block: .25rem max(.25rem, env(safe-area-inset-bottom)); }
    .egujhc-onscreen-keyboard-heading { min-height: 1.6rem; justify-content: flex-end; gap: .22rem; }
    .egujhc-onscreen-keyboard-target { display: none; }
    .egujhc-onscreen-keyboard-mode-group button { min-height: 1.55rem; padding: .12rem .3rem; font-size: .56rem; }
    .egujhc-onscreen-keyboard-close { width: 1.65rem; height: 1.65rem; }
    .egujhc-onscreen-keyboard-rows,
    .egujhc-onscreen-keyboard-row { gap: .12rem; }
    .egujhc-onscreen-key { min-height: 1.58rem; padding-block: .08rem; border-radius: .3rem; font-size: .49rem; }
    .egujhc-onscreen-key small { display: none; }
}

.judge-listing-calendar-layer { position: fixed; z-index: 1100; inset: 0; display: grid; place-items: center; padding: .25rem; }
.judge-listing-calendar-backdrop { position: absolute; inset: 0; background: rgb(16 36 71 / .68); backdrop-filter: blur(7px); }
.judge-listing-calendar-overlay { position: relative; z-index: 1; display: flex; width: min(82rem, 100%); max-height: min(52rem, calc(100dvh - .5rem)); flex-direction: column; overflow: hidden; border: 1px solid rgb(255 255 255 / .4); border-radius: .8rem; background: var(--egujhc-canvas); box-shadow: 0 1.25rem 3rem rgb(5 18 45 / .42); }
.judge-listing-calendar-overlay > header { display: flex; min-height: 3.85rem; align-items: center; justify-content: space-between; gap: .75rem; padding: .5rem .9rem; color: #fff; background: var(--egujhc-navy); }
.judge-listing-calendar-overlay .page-kicker { margin-bottom: .08rem !important; color: rgb(255 255 255 / .68); font-size: .64rem; letter-spacing: .07em; }
.judge-listing-calendar-overlay h2 { margin: 0; font-size: clamp(1.06rem, 2vw, 1.32rem); }
.judge-listing-calendar-header-actions, .judge-listing-calendar-period, .judge-listing-calendar-range-control { display: inline-flex; align-items: center; gap: .3rem; }
.judge-listing-calendar-header-actions { flex-wrap: wrap; justify-content: end; }
.judge-listing-calendar-period, .judge-listing-calendar-range-control { padding: .14rem; border: 1px solid rgb(255 255 255 / .2); border-radius: .5rem; background: rgb(255 255 255 / .08); }
.judge-listing-calendar-period > span { min-width: 8.7rem; color: #fff; font-size: .73rem; font-weight: 700; text-align: center; }
.judge-listing-calendar-overlay > header .btn { border-color: rgb(255 255 255 / .35); color: #fff; background: transparent; }
.judge-listing-calendar-overlay > header .btn:hover { color: #fff; background: rgb(255 255 255 / .15); }
.judge-listing-calendar-range-control { gap: 0; }
.judge-listing-calendar-range-control .btn { min-height: 1.78rem; padding: .16rem .46rem; border-color: transparent; border-radius: .32rem; font-size: .68rem; font-weight: 800; }
.judge-listing-calendar-range-control .btn[aria-pressed="true"] { border-color: #fff; color: var(--egujhc-heading); background: var(--egujhc-surface); }
.judge-listing-calendar-range-control .btn[aria-pressed="true"]:hover { color: var(--egujhc-heading); background: var(--egujhc-surface); }
.judge-listing-calendar-body { min-height: 0; overflow: auto; padding: .4rem .8rem .55rem; }
.judge-listing-calendar-calendar-meta { display: flex; justify-content: end; margin: 0 0 .32rem; }
.judge-listing-calendar-legend { display: flex; flex-wrap: wrap; justify-content: end; gap: .42rem; color: var(--egujhc-muted); font-size: .68rem; font-weight: 700; }
.judge-listing-calendar-legend > span { display: inline-flex; align-items: center; gap: .28rem; }
.judge-listing-calendar-legend i { display: inline-block; width: .75rem; height: .75rem; border-radius: .22rem; background: var(--egujhc-accent-bg); }
.judge-listing-calendar-legend i.is-listed { background: var(--egujhc-indigo); }
.judge-listing-calendar-legend i.is-main { background: var(--egujhc-sky); }
.judge-listing-calendar-legend i.is-ia { background: var(--egujhc-coral); }
.judge-listing-calendar-legend i.is-non-working { background: var(--egujhc-danger-bg); }
.judge-listing-calendar-legend i.is-today { border: 2px solid var(--egujhc-sky); background: var(--egujhc-surface); }
.judge-listing-calendar-legend i.is-cause-list-date { border: 2px solid var(--egujhc-coral); background: var(--egujhc-surface); }
.judge-listing-calendar-unavailable { display: flex; align-items: center; gap: .8rem; margin: 0 0 .75rem; padding: .85rem 1rem; border: 1px solid #f3c5bb; border-radius: .7rem; color: var(--egujhc-danger-text); background: var(--egujhc-danger-bg); }
.judge-listing-calendar-unavailable .bi { flex: 0 0 auto; font-size: 1.3rem; }
.judge-listing-calendar-unavailable div { display: grid; gap: .1rem; }
.judge-listing-calendar-empty { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: 0 0 .75rem; padding: .65rem .9rem; border: 1px dashed #cbd3e7; border-radius: .65rem; color: var(--egujhc-muted); background: var(--egujhc-surface); font-size: .8rem; font-weight: 700; }
.judge-listing-calendar-unavailable span { font-size: .78rem; }
.judge-listing-calendar-loading { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .7rem; color: var(--egujhc-muted); font-size: .78rem; font-weight: 700; }
.judge-listing-calendar-month-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; align-items: start; }
.judge-listing-calendar-month-grid.is-rolling-30 { grid-template-columns: 1fr; }
.judge-listing-calendar-month { min-width: 0; padding: .75rem; border: 1px solid var(--egujhc-border); border-radius: .75rem; background: var(--egujhc-surface); box-shadow: 0 .16rem .45rem rgb(24 35 58 / .06); }
.judge-listing-calendar-month header { margin-bottom: .55rem; }
.judge-listing-calendar-month h3 { margin: 0; color: var(--egujhc-ink); font-size: .88rem; }
.judge-listing-calendar-month.is-rolling-30 { padding: .55rem .7rem .6rem; }
.judge-listing-calendar-weekdays, .judge-listing-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.judge-listing-calendar-weekdays { margin-bottom: .08rem; color: var(--egujhc-muted); font-size: .6rem; font-weight: 800; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.judge-listing-calendar-days { gap: .16rem; }
.judge-listing-calendar-month-separator { display: flex; grid-column: 1 / -1; align-items: center; gap: .55rem; min-height: 1.35rem; margin: .08rem 0 .02rem; color: var(--egujhc-heading); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.judge-listing-calendar-month-separator::before, .judge-listing-calendar-month-separator::after { height: 1px; flex: 1; background: var(--egujhc-accent-bg); content: ""; }
.judge-listing-calendar-month-separator span { white-space: nowrap; }
.judge-listing-calendar-day { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-width: 0; min-height: 2.85rem; align-content: start; justify-items: start; gap: .18rem; padding: .36rem; border: 1px solid transparent; border-radius: .5rem; color: var(--egujhc-ink); background: var(--egujhc-surface-soft); font: inherit; text-align: left; }
.judge-listing-calendar-day.is-outside, .judge-listing-calendar-day.is-outside-range { visibility: hidden; pointer-events: none; }
.judge-listing-calendar-day.is-listed { border-color: rgb(77 70 201 / .28); color: var(--egujhc-accent-text); background: var(--egujhc-accent-bg); }
.judge-listing-calendar-day.is-listed.is-volume-2 { background: var(--egujhc-accent-bg); }
.judge-listing-calendar-day.is-listed.is-volume-3 { color: #fff; background: #625acb; }
.judge-listing-calendar-day.is-listed.is-volume-4 { color: #fff; background: #4d46c9; }
.judge-listing-calendar-day.is-non-working { border-color: #f0b7ad; color: var(--egujhc-danger-text); background: var(--egujhc-danger-bg); }
.judge-listing-calendar-day.is-today { box-shadow: inset 0 0 0 2px var(--egujhc-sky); }
.judge-listing-calendar-day.is-cause-list-date { border-color: var(--egujhc-coral); box-shadow: inset 0 0 0 1px var(--egujhc-coral); }
.judge-listing-calendar-day.is-today.is-cause-list-date { box-shadow: inset 0 0 0 2px var(--egujhc-sky), inset 0 0 0 4px rgb(244 110 75 / .92); }
.judge-listing-calendar-day-number { color: var(--egujhc-accent-text); font-size: 1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
/* Match the cell foreground: pale dates are unreadable on low-volume surfaces. */
.judge-listing-calendar-day.is-listed .judge-listing-calendar-day-number,
.judge-listing-calendar-day.is-non-working .judge-listing-calendar-day-number { color: inherit; }
.judge-listing-calendar-month.is-rolling-30 .judge-listing-calendar-day { min-height: clamp(6rem, 12vh, 7.5rem); padding: .58rem; border-radius: .62rem; }
.judge-listing-calendar-month.is-rolling-30 .judge-listing-calendar-day-number { font-size: 1.22rem; }
.judge-listing-calendar-day-total { display: grid; align-self: end; gap: .02rem; color: inherit; line-height: 1; }
.judge-listing-calendar-day-total strong { font-size: clamp(1.12rem, 1.8vw, 1.55rem); font-weight: 800; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.judge-listing-calendar-day-total small { color: currentColor; font-size: .58rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.judge-listing-calendar-day-composition { display: grid; width: 100%; gap: .32rem; margin-top: .1rem; }
.judge-listing-calendar-day-bar { display: flex; width: 100%; height: .38rem; overflow: hidden; border-radius: 999px; background: rgb(16 36 71 / .16); box-shadow: inset 0 0 0 1px rgb(16 36 71 / .08); }
.judge-listing-calendar-day-bar > i { display: block; height: 100%; }
.judge-listing-calendar-day-bar > .is-main { width: var(--judge-listing-calendar-main-width); background: var(--egujhc-sky); }
.judge-listing-calendar-day-bar > .is-ia { width: var(--judge-listing-calendar-ia-width); background: var(--egujhc-coral); }
.judge-listing-calendar-day-composition-labels { display: flex; flex-wrap: wrap; gap: .42rem; }
.judge-listing-calendar-day-composition-labels > span { display: inline-flex; align-items: baseline; gap: .15rem; min-width: 0; color: inherit; font-size: .64rem; font-variant-numeric: tabular-nums; line-height: 1; }
.judge-listing-calendar-day-composition-labels i { display: inline-block; width: .34rem; height: .34rem; border-radius: 50%; }
.judge-listing-calendar-day-composition-labels .is-main i { background: var(--egujhc-sky); }
.judge-listing-calendar-day-composition-labels .is-ia i { background: var(--egujhc-coral); }
.judge-listing-calendar-day-composition-labels b { font-weight: 800; }
.judge-listing-calendar-day-composition-labels small { overflow: hidden; font-size: .58rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

/* Dashboard entry uses the same read-only calendar lifecycle as the reader,
   but keeps the Judge in a normal workspace page with one clear return path. */
.judge-listing-calendar-page { max-width: 92rem; margin-inline: auto; }
.judge-listing-calendar-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.judge-listing-calendar-dashboard-back { flex: 0 0 auto; }
.judge-listing-calendar-page-surface { overflow: hidden; }
.judge-listing-calendar-page-controls { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; padding: .55rem .75rem; border-bottom: 1px solid var(--egujhc-border); background: var(--egujhc-surface); }
.judge-listing-calendar-page-controls .judge-listing-calendar-period,
.judge-listing-calendar-page-controls .judge-listing-calendar-range-control { border-color: #d5ddec; background: var(--egujhc-surface-soft); }
.judge-listing-calendar-page-controls .judge-listing-calendar-period > span { color: var(--egujhc-ink); }
.judge-listing-calendar-page-controls .judge-listing-calendar-range-control .btn { color: var(--egujhc-heading); }
.judge-listing-calendar-page-controls .judge-listing-calendar-range-control .btn[aria-pressed="true"] { border-color: var(--egujhc-accent-text); color: #fff; background: var(--egujhc-indigo); }
.judge-listing-calendar-page-surface > .judge-listing-calendar-body { overflow: visible; padding: .8rem; }
.filing-user-listing-calendar-day { width: 100%; appearance: none; cursor: pointer; }
.filing-user-listing-calendar-day:hover { border-color: rgb(77 70 201 / .55); background: var(--egujhc-accent-bg); }
.filing-user-listing-calendar-day:focus-visible { z-index: 1; outline: 3px solid rgb(77 70 201 / .42); outline-offset: 1px; }
.filing-user-listing-calendar-day.is-selected { border-color: var(--egujhc-accent-text); box-shadow: inset 0 0 0 2px var(--egujhc-indigo); }
.filing-user-listing-calendar-day.is-selected.is-non-working { border-color: #b84735; box-shadow: inset 0 0 0 2px #b84735; }
.filing-user-listing-calendar-panel { display: grid; grid-template-columns: minmax(11rem, .36fr) minmax(0, 1fr); gap: .85rem; align-items: start; margin-top: .85rem; padding: .85rem .95rem; border: 1px solid var(--egujhc-border); border-radius: .72rem; background: var(--egujhc-surface); }
.filing-user-listing-calendar-panel > div { min-width: 0; }
.filing-user-listing-calendar-courts { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .55rem; }
.filing-user-listing-calendar-courts article { min-width: 0; padding: .62rem .7rem; border: 1px solid #e2e6f0; border-radius: .55rem; background: var(--egujhc-surface-soft); }
.filing-user-listing-calendar-courts article > div { display: flex; justify-content: space-between; gap: .5rem; color: var(--egujhc-ink); font-size: .78rem; }
.filing-user-listing-calendar-courts article > div span { color: var(--egujhc-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.filing-user-listing-calendar-courts ul { display: grid; gap: .2rem; margin: .5rem 0 0; padding: .45rem 0 0; border-top: 1px solid #e2e6f0; list-style: none; }
.filing-user-listing-calendar-courts li { display: flex; justify-content: space-between; gap: .55rem; color: var(--egujhc-muted); font-size: .72rem; }
.filing-user-listing-calendar-courts li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filing-user-listing-calendar-courts li strong { color: var(--egujhc-ink); font-variant-numeric: tabular-nums; }

@media (max-width: 991px) {
    .judge-listing-calendar-day-composition-labels { gap: .28rem; }
    .judge-listing-calendar-day-composition-labels > span { font-size: .59rem; }
    .judge-listing-calendar-day-composition-labels small { font-size: .54rem; }
}

@media (max-width: 640px) {
    .judge-listing-calendar-layer { padding: 0; }
    .judge-listing-calendar-overlay { width: 100%; max-height: 100dvh; height: 100dvh; border: 0; border-radius: 0; }
    .judge-listing-calendar-overlay > header { align-items: start; padding: .65rem .75rem; }
    .judge-listing-calendar-header-actions { max-width: 16.4rem; gap: .25rem; }
    .judge-listing-calendar-range-control { order: 1; }
    .judge-listing-calendar-period { order: 2; }
    .judge-listing-calendar-header-actions > [data-judge-listing-calendar-close] { order: 0; }
    .judge-listing-calendar-period > span { min-width: 7.7rem; font-size: .68rem; }
    .judge-listing-calendar-range-control .btn { padding-inline: .4rem; font-size: .67rem; }
    .judge-listing-calendar-body { padding: .75rem; }
    .judge-listing-calendar-calendar-meta, .judge-listing-calendar-legend { justify-content: start; }
    .judge-listing-calendar-month-grid { grid-template-columns: 1fr; }
    .judge-listing-calendar-day { min-height: 3.4rem; }
    .judge-listing-calendar-month.is-rolling-30 { padding: .75rem; }
    .judge-listing-calendar-month.is-rolling-30 .judge-listing-calendar-day { min-height: 5.75rem; padding: .46rem; }
    .judge-listing-calendar-month.is-rolling-30 .judge-listing-calendar-day-number { font-size: 1.06rem; }
    .judge-listing-calendar-day-total strong { font-size: 1.16rem; }
    .judge-listing-calendar-day-composition { gap: .26rem; }
    .judge-listing-calendar-day-composition-labels { gap: .22rem; }
    .judge-listing-calendar-day-composition-labels > span { gap: .12rem; font-size: .56rem; }
    .judge-listing-calendar-day-composition-labels small { font-size: .51rem; }
    .judge-listing-calendar-page-heading { flex-direction: column; align-items: stretch; }
    .judge-listing-calendar-dashboard-back { align-self: flex-start; }
    .judge-listing-calendar-page-controls { align-items: flex-start; justify-content: flex-start; flex-wrap: wrap; }
    .judge-listing-calendar-page-controls .judge-listing-calendar-period { order: 2; }
    .judge-listing-calendar-page-controls .judge-listing-calendar-range-control { order: 1; }
    .filing-user-listing-calendar-panel { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .judge-listing-calendar-day-composition-labels small { display: none; }
}

.advanced-search-options > div { align-items: stretch; }
.advanced-search-entry-card { width: 100%; }
.advanced-search-entry-card .card-body { display: flex; flex-direction: column; }
.advanced-search-card-action { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: 1.25rem; color: var(--egujhc-accent-text); font-weight: 750; }
.advanced-search-form-card { margin-top: 1rem; }
.advanced-search-form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.advanced-search-form-span { grid-column: 1 / -1; }
.advanced-search-form-span > .advanced-search-form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.advanced-search-form-actions { display: flex; justify-content: flex-end; gap: .65rem; margin-top: 1.35rem; padding-top: 1rem; border-top: 1px solid #e4e8f0; }
.advanced-search-results { margin-top: 1rem; scroll-margin-top: 5.5rem; }
.advanced-search-results .dataTables_wrapper { min-width: 64rem; }
.advanced-search-date-control { position: relative; }
.advanced-search-date-control .judge-date-picker { z-index: 20; }
.advanced-case-actions { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; min-width: 14rem; }
.advanced-case-details-file-action { display: flex; justify-content: flex-end; margin: 0 0 .75rem; padding: 0 0 .75rem; border-bottom: 1px solid #e4e8f0; }
.advanced-case-ias summary { color: var(--egujhc-accent-text); font-weight: 700; cursor: pointer; }
.advanced-case-ias span { display: block; margin-top: .25rem; color: var(--egujhc-muted); font-size: .76rem; }
.advanced-case-linked-ia-list { display: grid; gap: .55rem; }
.advanced-case-linked-ia { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .65rem; border: 1px solid #e2e6ef; border-radius: .42rem; background: var(--egujhc-surface-soft); }
.advanced-case-linked-ia-summary { display: grid; min-width: 0; gap: .16rem; }
.advanced-case-linked-ia-summary strong { color: var(--egujhc-heading); }
.advanced-case-linked-ia-summary span { overflow-wrap: anywhere; color: var(--egujhc-muted); font-size: .78rem; }
.advanced-case-linked-ia .advanced-case-actions { min-width: 0; }
.ecasefile-lifecycle-summary dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.ecasefile-lifecycle-summary dl > div { padding-left: .85rem; border-left: .2rem solid var(--egujhc-sky); }
.ecasefile-lifecycle-summary dt { color: var(--egujhc-muted); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.ecasefile-lifecycle-summary dd { margin: .18rem 0 0; color: var(--egujhc-ink); font-weight: 750; }
.ecasefile-history-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.ecasefile-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ecasefile-timeline li { position: relative; display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: .65rem; padding-bottom: 1.15rem; }
.ecasefile-timeline li:not(:last-child)::before { position: absolute; top: .7rem; bottom: 0; left: .34rem; width: 2px; background: var(--egujhc-accent-bg); content: ""; }
.ecasefile-timeline-marker { position: relative; z-index: 1; width: .72rem; height: .72rem; margin-top: .25rem; border: 2px solid #fff; border-radius: 50%; background: var(--egujhc-indigo); box-shadow: 0 0 0 2px rgb(77 70 201 / .25); }
.ecasefile-timeline.is-access .ecasefile-timeline-marker { background: var(--egujhc-sky); box-shadow: 0 0 0 2px rgb(65 184 190 / .25); }
.ecasefile-timeline strong { display: block; color: var(--egujhc-ink); font-size: .83rem; text-transform: capitalize; }
.ecasefile-timeline time { display: block; margin-top: .12rem; color: var(--egujhc-muted); font-size: .72rem; }
.ecasefile-timeline p { margin: .28rem 0 0; color: var(--egujhc-muted); font-size: .8rem; }

@media (max-width: 767.98px) {
    .advanced-search-form-grid, .advanced-search-form-span > .advanced-search-form-grid { grid-template-columns: 1fr; }
    .advanced-search-form-span { grid-column: auto; }
    .advanced-search-form-actions { position: sticky; bottom: 0; z-index: 4; margin-inline: -.5rem; padding: .75rem .5rem; background: rgb(255 255 255 / .96); }
    .advanced-search-form-actions .btn { flex: 1 1 0; }
    .advanced-search-results .dataTables_wrapper { min-width: 58rem; }
    .advanced-case-details-file-action .btn { width: 100%; }
    .advanced-case-linked-ia { grid-template-columns: 1fr; }
    .advanced-case-linked-ia .advanced-case-actions { justify-content: stretch; }
    .advanced-case-linked-ia .advanced-case-actions .btn { flex: 1 1 100%; }
    .ecasefile-history-grid { grid-template-columns: 1fr; }
    .ecasefile-lifecycle-summary dl { grid-template-columns: 1fr; }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .advanced-search-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    .egujhc-onscreen-key:active { transform: none; }
}
/* Public annotation workflow and stakeholder-neutral case view. */
.service-card .card-body {
  position: relative;
}

.service-card-work-count {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  display: inline-grid;
  min-width: 2rem;
  min-height: 2rem;
  place-items: center;
  padding: .2rem .45rem;
  border-radius: 999px;
  background: var(--cui-primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}

.universal-case-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  flex-wrap: wrap;
}

.universal-case-view .judge-case-workspace-context {
  display: grid;
  min-width: 0;
  gap: .08rem;
  line-height: 1.25;
}

.universal-case-view .judge-case-workspace-context > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.public-annotation-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .75rem;
}

.main-case-pdf-viewer.is-public-annotation-mode {
  outline: 3px solid color-mix(in srgb, var(--cui-warning) 42%, transparent);
  outline-offset: -3px;
}

.main-case-pdf-viewer [data-pdf-public-tools]:not([hidden]) {
  display: contents;
}

.public-annotation-work-page .dataTables_wrapper,
.public-annotation-work-page .dt-container {
  width: 100%;
}

.court-master-proceeding-statuses [data-court-master-enable-annotation] {
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .universal-case-view .judge-case-workspace-toolbar .card-body {
    align-items: stretch;
  }

  .universal-case-actions,
  .universal-case-actions .btn {
    width: 100%;
  }

  .universal-case-actions .btn {
    justify-content: center;
  }

  .public-annotation-work-page .card-body {
    padding: .75rem;
  }
}
/* Judge-private Order / Judgement dictation */
.judge-dictation-toolbar-action {
    display: flex;
    align-items: flex-end;
    gap: .35rem;
    flex-direction: column;
}

.judge-dictation-toolbar-hint {
    color: var(--cui-secondary-color, #5c6670);
    font-size: .72rem;
    line-height: 1.2;
    max-width: 16rem;
    text-align: right;
}

.judge-dictation {
    background: var(--egujhc-surface-muted);
    border: 1px solid #d8e0ea;
    border-radius: .75rem;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.judge-dictation [hidden] {
    display: none !important;
}

.judge-dictation :is([data-dictation-close], [data-dictation-start], [data-dictation-pause], [data-dictation-end], [data-dictation-save]) > .bi {
    margin-inline-end: .35rem;
}

.judge-dictation-heading {
    align-items: flex-start;
    background: var(--egujhc-surface);
    border-bottom: 1px solid #d8e0ea;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    flex: 0 0 auto;
}

.judge-dictation-recorder {
    background: var(--egujhc-surface);
    border-bottom: 1px solid #d8e0ea;
    flex: 0 0 auto;
    padding: .75rem 1.25rem 1rem;
}

.judge-dictation-recording-banner {
    align-items: center;
    background: #17365d;
    border-radius: .65rem;
    color: #fff;
    display: grid;
    gap: .75rem;
    grid-template-columns: auto minmax(12rem, 1fr) auto minmax(12rem, 1.35fr) auto;
    min-height: 4.5rem;
    padding: .7rem .85rem;
    transition: background-color .18s ease;
}

.judge-dictation[data-dictation-state="listening"] .judge-dictation-recording-banner {
    background: #a51d2d;
}

.judge-dictation[data-dictation-state="paused"] .judge-dictation-recording-banner {
    background: #8a4b00;
}

.judge-dictation[data-dictation-state="connecting"] .judge-dictation-recording-banner,
.judge-dictation[data-dictation-state="processing"] .judge-dictation-recording-banner,
.judge-dictation[data-dictation-state="reconnecting"] .judge-dictation-recording-banner,
.judge-dictation[data-dictation-state="finalizing"] .judge-dictation-recording-banner {
    background: #5b3b8c;
}

.judge-dictation[data-dictation-state$="failure"] .judge-dictation-recording-banner,
.judge-dictation[data-dictation-state="interrupted"] .judge-dictation-recording-banner,
.judge-dictation[data-dictation-state="redictate"] .judge-dictation-recording-banner {
    background: #6b3d12;
}

.judge-dictation-mic {
    align-items: center;
    background: rgba(255, 255, 255, .18);
    border: 2px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    display: inline-flex;
    font-size: 1.25rem;
    height: 2.75rem;
    justify-content: center;
    position: sticky;
    top: .5rem;
    width: 2.75rem;
}

.judge-dictation[data-dictation-state="listening"] .judge-dictation-mic::after {
    animation: judge-dictation-pulse 1.45s ease-out infinite;
    border: 2px solid #fff;
    border-radius: inherit;
    content: "";
    inset: -.2rem;
    position: absolute;
}

.judge-dictation-mic[data-voice-active="true"] {
    background: rgba(255, 255, 255, .34);
    box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .12);
}

.judge-dictation-status-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.judge-dictation-status-copy span {
    color: rgba(255, 255, 255, .8);
    font-size: .75rem;
    margin-top: .18rem;
}

.judge-dictation-timer {
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: .04em;
}

.judge-dictation-waveform {
    display: block;
    height: 2.7rem;
    opacity: .9;
    width: 100%;
}

.judge-dictation-recording-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: flex-end;
}

.judge-dictation-limit-warning {
    font-size: .82rem;
    margin-top: .55rem;
}

.judge-dictation-help-row {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.judge-dictation-command-help {
    font-size: .8rem;
    margin-top: .45rem;
    max-width: 31rem;
}

.judge-dictation-command-help summary {
    color: #234f82;
    cursor: pointer;
    font-weight: 700;
}

.judge-dictation-command-help p {
    background: var(--egujhc-accent-bg);
    border: 1px solid #d8e0ea;
    border-radius: .45rem;
    margin: .45rem 0 0;
    padding: .55rem .65rem;
}

.judge-dictation-inline-notice {
    background: var(--egujhc-warning-bg);
    border-left: .25rem solid #b46400;
    color: #653900;
    font-size: .82rem;
    margin-top: .55rem;
    padding: .55rem .7rem;
}

.judge-dictation-live-copy,
.judge-dictation-review-panel {
    background: var(--egujhc-surface);
    border: 1px solid #cfd8e3;
    border-radius: .6rem;
    margin: .9rem auto 0;
    max-width: 65.5rem;
    padding: .75rem .9rem;
}

.judge-dictation-live-copy > div {
    align-items: center;
    color: #586574;
    display: flex;
    font-size: .78rem;
    gap: .45rem;
}

.judge-dictation-live-copy > div span:last-child {
    margin-left: auto;
}

.judge-dictation-live-copy > p {
    font-family: Georgia, "Times New Roman", serif;
    margin: .55rem 0 0;
    white-space: pre-wrap;
}

.judge-dictation-live-dot {
    background: #b82435;
    border-radius: 50%;
    height: .55rem;
    width: .55rem;
}

.judge-dictation-review-panel {
    background: var(--egujhc-warning-bg);
    border-color: #e8cf93;
    color: #523b05;
    font-size: .82rem;
}

.judge-dictation-review-panel ul {
    display: grid;
    gap: .3rem;
    padding-left: 1.1rem;
}

.judge-dictation-limit-warning {
    color: #8a3b00;
    font-weight: 700;
}

.judge-dictation-document-shell {
    margin: 1.25rem auto 2rem;
    max-width: 68rem;
    padding: 0 1.25rem;
}

.judge-dictation-document-toolbar {
    align-items: center;
    background: var(--egujhc-surface-muted);
    border: 1px solid #cfd8e3;
    border-radius: .65rem .65rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    padding: .5rem;
    position: relative;
    z-index: 3;
}

.judge-dictation-toolbar-divider {
    align-self: stretch;
    border-left: 1px solid #cfd8e3;
    margin: .1rem .25rem;
}

.judge-dictation-draft-actions {
    align-items: center;
    display: flex;
    gap: .65rem;
    margin-left: auto;
}

.judge-dictation-unsaved {
    color: #8a3b00;
    font-size: .78rem;
    font-weight: 700;
}

.judge-dictation-autosave {
    align-items: center;
    color: var(--egujhc-accent-text);
    display: inline-flex;
    font-size: .9rem;
    justify-content: center;
    line-height: 1;
    min-height: 1.4rem;
    min-width: 1.4rem;
}

.judge-dictation-autosave[data-state="saving"] .bi { animation: judge-dictation-autosave-spin .8s linear infinite; }
.judge-dictation-autosave[data-state="saved"] .bi { animation: judge-dictation-autosave-tick .22s ease-out both; }

@keyframes judge-dictation-autosave-spin { to { transform: rotate(360deg); } }
@keyframes judge-dictation-autosave-tick { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: scale(1); } }

.judge-dictation-meta {
    background: var(--egujhc-surface);
    border-left: 1px solid #cfd8e3;
    border-right: 1px solid #cfd8e3;
    color: #5c6670;
    display: flex;
    font-size: .76rem;
    gap: .45rem;
    justify-content: flex-end;
    padding: .45rem .75rem;
}

.judge-dictation-page {
    background: var(--egujhc-surface);
    border: 1px solid #cfd8e3;
    box-shadow: 0 .6rem 1.8rem rgba(31, 52, 77, .1);
    color: #1f2937;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 auto;
    min-height: 66rem;
    outline: none;
    padding: 5rem 5.5rem;
    width: min(100%, 49.625rem);
}

.judge-dictation-page:focus {
    border-color: #365f91;
    box-shadow: 0 0 0 .2rem rgba(54, 95, 145, .16), 0 .6rem 1.8rem rgba(31, 52, 77, .1);
}

.judge-dictation-page:empty::before {
    color: #7a8592;
    content: "Begin typing or start a dictation…";
    pointer-events: none;
}

.judge-dictation-page p[data-align="center"] { text-align: center; }
.judge-dictation-page p[data-align="right"] { text-align: right; }
.judge-dictation-page p[data-align="justify"] { text-align: justify; }
.judge-dictation-page p[data-align="left"] { text-align: left; }

@keyframes judge-dictation-pulse {
    from { opacity: .75; transform: scale(.92); }
    to { opacity: 0; transform: scale(1.42); }
}

@media (max-width: 991.98px) {
    .judge-dictation-recording-banner {
        grid-template-columns: auto 1fr auto;
    }

    .judge-dictation-waveform,
    .judge-dictation-recording-actions {
        grid-column: 1 / -1;
    }

    .judge-dictation-recording-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .judge-dictation-toolbar-action { align-items: stretch; width: 100%; }
    .judge-dictation-toolbar-hint { max-width: none; text-align: left; }
    .judge-dictation-heading { align-items: stretch; flex-direction: column; padding: .85rem; }
    .judge-dictation-recorder { padding: .65rem; }
    .judge-dictation-recording-banner { grid-template-columns: auto 1fr; }
    .judge-dictation-timer { grid-column: 2; }
    .judge-dictation-document-shell { margin-top: .75rem; padding: 0 .5rem; }
    .judge-dictation-draft-actions { justify-content: space-between; margin-left: 0; width: 100%; }
    .judge-dictation-meta { justify-content: flex-start; }
    .judge-dictation-page { font-size: 1rem; min-height: 65vh; padding: 2.25rem 1.4rem; }
    .judge-dictation-help-row { display: block; }
    .judge-dictation-live-copy,
    .judge-dictation-review-panel { margin-left: .5rem; margin-right: .5rem; }
    .judge-dictation-live-copy > div { align-items: flex-start; flex-wrap: wrap; }
    .judge-dictation-live-copy > div span:last-child { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .judge-dictation[data-dictation-state="listening"] .judge-dictation-mic::after { animation: none; }
    .judge-dictation-autosave[data-state] .bi { animation: none; }
}

@media (max-width: 767.98px) {
    .association-request-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .association-request-table,
    .association-request-table tbody,
    .association-request-table tr { display: block; width: 100%; }
    .association-request-table tr + tr { border-top: 2px solid var(--cui-border-color); }
    .association-request-table td { display: block; white-space: normal; overflow-wrap: anywhere; }
    .association-request-table td[data-label] { display: flex; align-items: center; justify-content: space-between; gap: .75rem; text-align: right; }
    .association-request-table td[data-label]::before { content: attr(data-label); font-weight: 600; text-align: left; flex: 0 0 7rem; }
}

/* Caveat sources and Examiner metadata share the filing shell and controls. */
.caveat-document-grid,.caveat-examiner-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:1.25rem; align-items:start; }
.caveat-source-row { display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.5rem 0; }
.caveat-source-row>.btn-link { display:flex; gap:.5rem; min-width:0; overflow-wrap:anywhere; padding-left:0; }
.caveat-source-row>.btn-outline-danger { flex-shrink:0; }
.caveat-reader { min-width:0; min-height:20rem; margin-top:1rem; }
.caveat-reader .main-case-pdf-viewer { height:65vh; min-height:26rem; }
.caveat-source-image { width:100%; height:auto; }
.caveat-local-preview { display:flex; flex-wrap:wrap; gap:.75rem; margin:1rem 0; }
.caveat-local-preview>div { max-width:13rem; overflow-wrap:anywhere; }
.caveat-local-preview small { display:block; }
.caveat-entry-row { padding:1rem 0; border-bottom:1px solid var(--egujhc-border); }
.caveat-entry-row:first-child { padding-top:0; }
.caveat-counsel-row { border-left:3px solid var(--egujhc-border); padding:.75rem; margin:.75rem 0; }
.caveat-field-evidence { min-height:.25rem; font-size:.8rem; }
.caveat-source-pane { position:sticky; top:6rem; min-width:0; }
.caveat-workflow fieldset { min-width:0; }
@media(max-width:991.98px) { .caveat-document-grid,.caveat-examiner-grid { grid-template-columns:minmax(0,1fr); } .caveat-source-pane { position:static; } }
@media(max-width:575.98px) { .caveat-reader .main-case-pdf-viewer { height:55vh; min-height:22rem; } }

/* Daily serial-group priority hearing controls. */
.priority-hearing-control { position: relative; display: inline-flex; align-items: center; gap: .35rem; }
.priority-hearing-star { color: #705300; border-color: #a77d13; }
.priority-hearing-star .bi { animation: priority-hearing-pulse 1.5s ease-in-out infinite; }
.priority-hearing-star:disabled { opacity: .7; color: #705300; }
.priority-hearing-menu { position: absolute; top: 100%; right: 0; z-index: 30; min-width: 10rem; padding: .5rem; display: flex; flex-direction: column; gap: .4rem; background: var(--egujhc-surface); border: 1px solid var(--egujhc-border); border-radius: .5rem; box-shadow: 0 .3rem 1rem #10244733; }
@keyframes priority-hearing-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .priority-hearing-star .bi { animation: none; } }
.judge-court-cause-group:has(.priority-hearing-menu) { overflow: visible; z-index: 5; }
.judge-court-cause-group > header:has(.priority-hearing-menu) { z-index: 3; }

/* Caveat follows Registry data entry: editor left, source reader right. */
@media(min-width:992px) {
 .caveat-examiner-grid { grid-template-columns:minmax(0,60fr) minmax(0,40fr); }
 .caveat-examiner-grid #caveat-examiner-form { max-height:calc(100vh - 12rem); overflow:auto; padding-right:.4rem; }
 .caveat-examiner-grid .caveat-source-pane { max-height:calc(100vh - 12rem); overflow:auto; }
}
.caveat-examiner-grid .filing-card-heading { padding:.55rem .75rem; background:var(--egujhc-navy,#102447); color:#fff; border-radius:.35rem; }
.caveat-examiner-grid .filing-card-heading h2 { font-size:1rem; margin:0!important; }
.caveat-examiner-grid .filing-card-heading>i { background:transparent; color:#fff; font-size:1rem; width:auto; height:auto; }
.caveat-examiner-grid .card-body { padding:1rem!important; }

.caveat-examiner-grid .filing-card-heading { justify-content:flex-start; gap:.5rem; }
.caveat-examiner-grid .filing-card-heading>i { order:-1; }

/* Caveat uses the shared Registry tab strip and an unframed source reader. */
.caveat-examiner-grid .caveat-reader { margin-top:0; }
.caveat-examiner-grid .registry-review-tabs { min-width:0; }
.caveat-examiner-grid .nav-tabs { flex-wrap:wrap; }
.caveat-examiner-grid .tab-pane { padding-top:1rem; }

/* Case citations share the existing dialog and order PDF reader. */
.citation-dialog .modal-body { max-height: 78vh; overflow-y: auto; }
.citation-group + .citation-group { margin-top: 1.5rem; }
.citation-group > header { border-bottom: 1px solid var(--egujhc-border); padding-bottom: .6rem; }
.citation-item { padding: 1rem; margin-top: .75rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; overflow-wrap: anywhere; }
.citation-item.is-deleted { background: var(--egujhc-canvas); }
.citation-attribution { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-bottom: .5rem; }
.citation-attribution dt { font-size: .8rem; color: var(--egujhc-muted); }
.citation-attribution dd { margin: 0; font-weight: 600; }
.citation-pdf { height: 60vh; min-height: 320px; }
.citation-pdf .advanced-pdf-viewer { height: 100%; }
[data-citation-notice]:not(:empty) { padding: .75rem; color: var(--egujhc-danger-text); background: var(--egujhc-danger-bg); margin-bottom: .75rem; border-radius: .4rem; }
@media (max-width: 575px) { .citation-dialog .modal-body { padding: .75rem; } .citation-attribution { flex-direction: column; } }

.egujhc-modal-dialog.citation-dialog { max-width: 56rem; }

/* Keep result navigation above the fixed keyboard launcher at the page end. */
.egujhc-search-pagination {
    padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
}

/* Standalone restricted attachments never take master-page or index serial space. */
.case-attachment-list { min-width: 0; }
.case-attachment-list [data-attachment-items] { display: grid; gap: .35rem; }
.case-attachment-list [data-attachment-status]:empty { display: none; }
.case-attachment-list[hidden], .judge-document-analysis-board > [hidden] { display: none !important; }
.case-attachment-item { border-inline-start: .2rem solid #64718a; }
.case-attachment-reader { display: flex; flex-direction: column; height: 100%; min-height: 30rem; min-width: 0; }
.case-attachment-reader-header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem; border-bottom: 1px solid var(--cui-border-color); }
.case-attachment-reader-header strong { overflow-wrap: anywhere; }
.case-attachment-reader > .main-case-pdf-viewer { flex: 1; min-height: 0; }
.main-case-pdf-viewer.has-case-attachment { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: auto minmax(0, 1fr); }
.has-case-attachment > .main-case-pdf-toolbar { grid-column: 1 / -1; }
.case-attachment-panel-host { min-width: 0; min-height: 0; overflow: hidden; border-left: 1px solid var(--cui-border-color); }
@media (max-width: 800px) {
    .main-case-pdf-viewer.has-case-attachment { grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(16rem,1fr) minmax(26rem,1fr); }
    .case-attachment-panel-host { border-left: 0; border-top: 1px solid var(--cui-border-color); }
    .case-attachment-reader-header { flex-wrap: wrap; }
}
.private-annotation-board-frame.is-reading-attachment { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.private-annotation-board-frame.is-reading-attachment > .private-annotation-navigator { display: none; }
.share-case-table { max-height: 48vh; overflow: auto; scrollbar-gutter: stable; }
.share-case-table thead { position: sticky; top: 0; z-index: 1; background: var(--cui-body-bg, white); }
.share-case-table td { vertical-align: top; overflow-wrap: anywhere; }
.share-case-table td:nth-child(2) { min-width: 15rem; max-width: 28rem; }
.share-selection { padding: .75rem; border: 1px solid var(--egujhc-border); border-radius: .5rem; background: var(--egujhc-canvas); }
.share-selection ul { max-height: 12rem; overflow-y: auto; }
.share-recipient-result { padding: 1rem; border-left: 4px solid #4d46c9; background: var(--egujhc-canvas); border-radius: .5rem; }
@media (max-width: 767px) {
  .share-case-table { max-height: 55vh; }
  .share-case-table thead { position: static; }
  .share-case-table th:not(:first-child) { display: none; }
  .share-case-table tr, .share-case-table tbody, .share-case-table td { display: block; }
  .share-case-table td::before { content: attr(data-label) ': '; font-weight: 600; }
  .share-case-table td:nth-child(2) { min-width: 0; max-width: none; }
  .share-case-table tbody tr { border-bottom: 2px solid var(--egujhc-border); padding: .5rem 0; }
}

/* Form changes must not trigger browser scroll anchoring in the Caveat editor. */
.caveat-workflow { overflow-anchor: none; }
.registry-caveat-review-page .registry-scrutiny-editor { min-width: 0; }
.registry-caveat-review-page .tab-pane { padding: .75rem; }
@media (min-width: 1200px) {
    body:has(.registry-caveat-review-page) > canvas.hiddenCanvasElement { position: fixed; top: 0; left: 0; visibility: hidden; pointer-events: none; }
    .registry-caveat-review-page { height: 100%; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
    .registry-caveat-review-page > .registry-scrutiny-layout { flex: 1; min-height: 0; overflow: hidden; }
    .registry-caveat-review-page .registry-scrutiny-editor { display: flex; flex-direction: column; height: 100%; min-height: 0; overflow: hidden; }
    .registry-caveat-review-page .registry-review-tabs { flex: 1; min-height: 0; display: flex; flex-direction: column; }
    .registry-caveat-review-page .tab-content { flex: 1; min-height: 0; overflow: hidden; }
    .registry-caveat-review-page .tab-pane { height: 100%; overflow-y: auto; }
    .registry-caveat-review-page .registry-scrutiny-viewer,
    .registry-caveat-review-page .main-case-pdf-viewer { height: 100%; min-height: 0; overflow: hidden; }
}

/* Caveat comparison keeps reference readers mounted while each pane scrolls. */
.caveat-search-review .registry-scrutiny-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.caveat-search-review .registry-scrutiny-editor,
.caveat-search-review .registry-scrutiny-viewer { min-width: 0; }
.caveat-search-review [role="tabpanel"][hidden] { display: none; }
.caveat-search-review .registry-scrutiny-viewer [role="tabpanel"] { min-height: 0; }
@media (min-width: 992px) {
    .caveat-search-review .registry-scrutiny-editor,
    .caveat-search-review .registry-scrutiny-viewer { max-height: calc(100dvh - 12rem); overflow: auto; scrollbar-gutter: stable; }
    .caveat-search-review .registry-scrutiny-viewer { top: 0; }
    .caveat-search-review .main-case-pdf-viewer { height: calc(100dvh - 19rem); min-height: 24rem; }
}
@media (max-width: 991px) {
    .caveat-search-review .registry-scrutiny-layout { grid-template-columns: minmax(0, 1fr); }
    .caveat-search-review .registry-scrutiny-viewer { position: static; }
}

/* The search form shares a half-width reference workspace on desktop. */
.caveat-search-review [data-context-left] { container-type: inline-size; }
@container (min-width: 400px) and (max-width: 760px) {
    .caveat-search-review [data-context-search] .col-md-3,
    .caveat-search-review [data-context-search] .col-md-4 { width: 50%; }
}

/* Appearance: CoreUI owns base controls; app tokens own custom workspace surfaces. */
[data-coreui-theme="dark"] body,
[data-coreui-theme="dark"] .app-shell { background: var(--egujhc-canvas); color: var(--egujhc-ink); }
[data-coreui-theme="dark"] .hero { background: radial-gradient(circle at 8% 0%, #35405c 0, var(--egujhc-surface) 55%); }
[data-coreui-theme="dark"] .landing-logo-blue,
[data-coreui-theme="dark"] .display-board-brand img { filter: brightness(0) invert(1); }
[data-coreui-theme="dark"] .filing-stepper-button.is-active,
[data-coreui-theme="dark"] .filing-stepper-button.stepper-step-button.active,
[data-coreui-theme="dark"] .filing-final-submit-law-officer-declaration,
[data-coreui-theme="dark"] .filing-office-sharing-options,
[data-coreui-theme="dark"] .court-master-service-mode-card.is-primary,
[data-coreui-theme="dark"] .podium-notified-case,
[data-coreui-theme="dark"] .podium-access-option,
[data-coreui-theme="dark"] .display-board-heading,
[data-coreui-theme="dark"] .display-board-surface.is-closed,
[data-coreui-theme="dark"] .display-board-portrait-fallback { background: var(--egujhc-surface-soft); color: var(--egujhc-ink); border-color: var(--egujhc-border); }
[data-coreui-theme="dark"] .judge-document-analysis-divider { background: var(--egujhc-surface-muted); }
[data-coreui-theme="dark"] .judge-document-analysis-item.is-note,
[data-coreui-theme="dark"] .private-annotation-navigator,
[data-coreui-theme="dark"] .judge-document-analysis-board-tools,
[data-coreui-theme="dark"] .judge-document-analysis-status,
[data-coreui-theme="dark"] .advanced-search-form-actions,
[data-coreui-theme="dark"] .registry-result-toned-finding .registry-ai-brief,
[data-coreui-theme="dark"] .registry-related-metadata-item,
[data-coreui-theme="dark"] .display-board-heading-status > div { background: var(--egujhc-surface-soft); color: var(--egujhc-ink); }
[data-coreui-theme="dark"] .display-board,
[data-coreui-theme="dark"] .display-board-case > span { color: var(--egujhc-ink); }
[data-coreui-theme="dark"] .ai-scrutiny-placeholder-copy > span { background: linear-gradient(90deg, var(--egujhc-surface-muted) 18%, var(--egujhc-surface-soft) 38%, var(--egujhc-surface-muted) 58%); background-size: 230% 100%; }
[data-coreui-theme="dark"] .hero .text-muted,
[data-coreui-theme="dark"] .hero .text-body-secondary { color: var(--egujhc-muted) !important; }
[data-coreui-theme="dark"] .card,
[data-coreui-theme="dark"] .modal-content,
[data-coreui-theme="dark"] .dropdown-menu,
[data-coreui-theme="dark"] .offcanvas,
[data-coreui-theme="dark"] .popover,
[data-coreui-theme="dark"] .toast { background-color: var(--egujhc-surface); color: var(--egujhc-ink); border-color: var(--egujhc-border); }
[data-coreui-theme="dark"] .card-header,
[data-coreui-theme="dark"] .card-footer,
[data-coreui-theme="dark"] .modal-header,
[data-coreui-theme="dark"] .modal-footer { border-color: var(--egujhc-border); }
[data-coreui-theme="dark"] .bg-white { background-color: var(--egujhc-surface) !important; }
[data-coreui-theme="dark"] .bg-light { background-color: var(--egujhc-surface-muted) !important; }
[data-coreui-theme="dark"] .text-dark { color: var(--egujhc-ink) !important; }
[data-coreui-theme="dark"] .text-muted,
[data-coreui-theme="dark"] .text-body-secondary { color: var(--egujhc-muted) !important; }
[data-coreui-theme="dark"] .table,
[data-coreui-theme="dark"] .dataTable { --cui-table-bg: var(--egujhc-surface); --cui-table-color: var(--egujhc-ink); --cui-table-border-color: var(--egujhc-border); color: var(--egujhc-ink); }
[data-coreui-theme="dark"] .table > :not(caption) > * > *,
[data-coreui-theme="dark"] .dt-container { background-color: var(--egujhc-surface); color: var(--egujhc-ink); border-color: var(--egujhc-border); }
[data-coreui-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * { --cui-table-accent-bg: var(--egujhc-surface-soft); }
[data-coreui-theme="dark"] .form-control,
[data-coreui-theme="dark"] .form-select,
[data-coreui-theme="dark"] .input-group-text,
[data-coreui-theme="dark"] .select2-container .select2-selection,
[data-coreui-theme="dark"] .select2-dropdown,
[data-coreui-theme="dark"] .calendar,
[data-coreui-theme="dark"] .date-picker { background-color: var(--egujhc-surface); color: var(--egujhc-ink); border-color: var(--egujhc-border); }
[data-coreui-theme="dark"] .form-control::placeholder { color: var(--egujhc-muted); }
[data-coreui-theme="dark"] .form-control:disabled,
[data-coreui-theme="dark"] .form-select:disabled,
[data-coreui-theme="dark"] .main-case-pdf-status input:disabled { background-color: var(--egujhc-surface-muted); color: var(--egujhc-muted); }
[data-coreui-theme="dark"] .btn-outline-primary,
[data-coreui-theme="dark"] .btn-outline-secondary { color: var(--egujhc-accent-text); border-color: var(--egujhc-border); }
[data-coreui-theme="dark"] .btn-outline-primary:hover,
[data-coreui-theme="dark"] .btn-outline-secondary:hover { color: #fff; background-color: #4d46c9; }
[data-coreui-theme="dark"] .nav-tabs { border-color: var(--egujhc-border); }
[data-coreui-theme="dark"] .nav-tabs .nav-link { color: var(--egujhc-muted); }
[data-coreui-theme="dark"] .nav-tabs .nav-link.active { color: var(--egujhc-ink); background-color: var(--egujhc-surface); border-color: var(--egujhc-border) var(--egujhc-border) var(--egujhc-surface); }
[data-coreui-theme="dark"] :is(button, a, input, select, textarea, [tabindex]):focus-visible { outline-color: #bab6ff; }
[data-coreui-theme="dark"] .judge-listing-calendar-rail-control,
[data-coreui-theme="dark"] .defect-cure-registry-comment,
[data-coreui-theme="dark"] .ai-entity-evidence,
[data-coreui-theme="dark"] .judge-case-details-accordion[open] > summary,
[data-coreui-theme="dark"] .oj-context-strip,
[data-coreui-theme="dark"] .egujhc-onscreen-key:hover,
[data-coreui-theme="dark"] .main-case-pdf-page-stack-summary { background: var(--egujhc-surface-muted); color: var(--egujhc-ink); }
[data-coreui-theme="dark"] .registry-ai-brief,
[data-coreui-theme="dark"] .registry-prior-decision,
[data-coreui-theme="dark"] .ai-scrutiny-linked-registry-value,
[data-coreui-theme="dark"] .registry-ai-court-fee-field > strong,
[data-coreui-theme="dark"] .ai-scrutiny-metadata summary,
[data-coreui-theme="dark"] .ai-scrutiny-metadata-fields strong,
[data-coreui-theme="dark"] .selected-file-list li { color: var(--egujhc-ink); }
[data-coreui-theme="dark"] .registry-scrutiny-status.is-filed,
[data-coreui-theme="dark"] .registry-scrutiny-status.is-scrutiny-completed,
[data-coreui-theme="dark"] .registry-confirmed-badge,
[data-coreui-theme="dark"] .scrutiny-result-badge.is-complied,
[data-coreui-theme="dark"] .ai-metadata-status.is-extracted,
[data-coreui-theme="dark"] .ai-scrutiny-progress > span.is-complete { color: var(--egujhc-success-text); }
[data-coreui-theme="dark"] .registry-result-toned-finding.is-ai-complied { --registry-finding-background: var(--egujhc-success-bg); --registry-finding-code-background: var(--egujhc-success-bg); --registry-finding-code-color: var(--egujhc-success-text); }
[data-coreui-theme="dark"] .registry-result-toned-finding.is-ai-needs-review { --registry-finding-background: var(--egujhc-warning-bg); --registry-finding-code-background: var(--egujhc-warning-bg); --registry-finding-code-color: var(--egujhc-warning-text); }
[data-coreui-theme="dark"] .registry-result-toned-finding.is-ai-not-complied { --registry-finding-background: var(--egujhc-danger-bg); --registry-finding-code-background: var(--egujhc-danger-bg); --registry-finding-code-color: var(--egujhc-danger-text); }
/* Rendered legal pages, print editors, QR and image previews retain their source pixels. */
[data-coreui-theme="dark"] .authenticator-qr-frame,
[data-coreui-theme="dark"] .pre-submission-cure-thumbnail-frame canvas,
[data-coreui-theme="dark"] .pre-submission-cure-page > canvas,
[data-coreui-theme="dark"] .document-file-preview,
[data-coreui-theme="dark"] .main-case-pdf-page,
[data-coreui-theme="dark"] .main-case-pdf-layers,
[data-coreui-theme="dark"] .judge-document-analysis-annotation-preview img,
[data-coreui-theme="dark"] .oj-editor-surface { background: #fff; }
[data-coreui-theme="dark"] .oj-editor-surface { color: #1d2939; }
@media print {
    [data-coreui-theme="dark"] body,
    [data-coreui-theme="dark"] .oj-editor-surface { color: #1d2939; background: #fff; }
}

/* Shared guided Help: native modal focus ownership; no page controls are activated. */
.walkthrough-overlay[open] {
    position: fixed; inset: 0; width: 100vw; height: 100dvh;
    max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
    background: transparent; color: var(--cui-body-color); overflow: hidden;
}
.walkthrough-overlay::backdrop { background: transparent; }
.walkthrough-spotlight {
    position: fixed; pointer-events: none; border: 2px solid var(--cui-primary, #4d46c9);
    border-radius: 8px;
}
/* A rounded spread shadow grows curved outer corners and can miss the far
   viewport edge. Keep the dimming rectangle separate from the focus outline. */
.walkthrough-spotlight::before {
    content: ''; position: absolute; inset: -2px; border-radius: 0;
    box-shadow: 0 0 0 100vmax rgb(8 18 38 / 65%);
}
.walkthrough-spotlight[data-offscreen="true"] { border-width: 0; }
.walkthrough-spotlight[data-offscreen="true"]::before { inset: 0; }
.walkthrough-card {
    position: fixed; max-height: calc(100dvh - 24px); overflow: auto;
    padding: 18px; border: 1px solid var(--cui-border-color); border-radius: 14px;
    background: var(--cui-body-bg); box-shadow: 0 12px 40px rgb(0 0 0 / 30%);
}
.walkthrough-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.walkthrough-progress { color: var(--cui-secondary-color); font-size: .8rem; font-weight: 600; }
.walkthrough-close { padding: 6px 10px; color: var(--cui-body-color); }
.walkthrough-card p { font-size: .95rem; line-height: 1.5; margin-bottom: 20px; }
.walkthrough-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.walkthrough-actions [data-tour-skip] { margin-right: auto; }
.walkthrough-overlay button:focus-visible { outline: 3px solid var(--cui-primary, #4d46c9); outline-offset: 3px; }
.walkthrough-save-notice { position: fixed; z-index: 1100; bottom: 12px; right: 12px; max-width: min(430px, calc(100vw - 24px)); margin: 0; }
@media (max-width: 600px) { .walkthrough-card { padding: 14px; } }

/* Keep Call-3 result and party grids within the independent review panes. */
.caveat-search-review .table { overflow-wrap: normal; }
.caveat-search-review .table-responsive { max-width: 100%; }
.caveat-search-review .registry-scrutiny-layout > * { min-width: 0; }
@media (max-width: 575.98px) {
    .caveat-search-review .table { min-width: 36rem; }
    .caveat-search-review .badge { white-space: normal; }
    .caveat-search-review .table th, .caveat-search-review .table td { padding: .4rem; }
}

/* Shared standalone/assigned Caveat cards reflow within the available left pane. */
.caveat-result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr)); gap: 1rem; }
.caveat-result-card { min-width: 0; overflow-wrap: anywhere; }
.caveat-result-card .card-body { flex: 1; }
.caveat-result-card .card-header h2 { white-space: normal; }
.caveat-result-parties { display: grid; gap: .75rem; }
.caveat-result-party { border-inline-start: 3px solid var(--cui-primary, #4d46c9); padding-inline-start: .75rem; }
.caveat-result-party + .caveat-result-party { border-inline-start-color: var(--cui-secondary-color, #64718a); }
.caveat-result-card .badge { white-space: normal; text-align: start; }
.caveat-result-card summary { cursor: pointer; color: var(--cui-primary, #4d46c9); }

/* Caveat uses the shared filing review proportions and source PDF controls. */
.caveat-review-source { display:flex; flex-direction:column; gap:.5rem; min-width:0; min-height:0; }
.caveat-review-source .caveat-reader { margin-top:0; }
.caveat-review-controls { min-width:0; min-height:0; }
.caveat-review-layout { min-height:0; }
@media (min-width:1200px) {
    body:has(.caveat-review-page) { overflow:hidden; }
    body:has(.caveat-review-page) .app-shell { height:100dvh; min-height:0; overflow:hidden; }
    #main-content:has(.caveat-review-page) { box-sizing:border-box; height:auto; min-height:0; flex:1 1 0; overflow:hidden; padding-block:.75rem !important; }
    .caveat-review-page { display:grid; height:100%; min-height:0; grid-template-rows:auto auto auto minmax(0,1fr); gap:.75rem; }
    .caveat-review-page > .workspace-page-heading,.caveat-review-page .filing-stepper-wrap,.caveat-review-page .filing-stepper { margin-bottom:0; }
    .caveat-review-body,.caveat-review-layout { height:100%; min-height:0; overflow:hidden; }
    .caveat-review-controls { overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
    .caveat-review-source .caveat-reader { flex:1; height:100%; min-height:0; overflow:hidden; }
    .caveat-review-source .main-case-pdf-viewer { height:100%; min-height:0; }
}
/* PDF.js measurement canvas must not add an inline line box below the workspace. */
body:has(.caveat-review-page) > .hiddenCanvasElement { position: fixed; top: 0; left: 0; pointer-events: none; }

/* Configurable multilingual branding must not displace the shared account actions. */
.brand-copy { min-width: 0; }
.brand-copy strong, .display-board-brand strong { overflow-wrap: anywhere; white-space: normal; }
.app-header-primary { min-width: 0; }
#account-controls { flex-shrink: 0; }
@font-face {
    font-family: "Application Gujarati";
    src: url("vendor/fonts/NotoSansGujarati-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0A80-0AFF;
}
@font-face {
    font-family: "Application Devanagari";
    src: url("vendor/fonts/NotoSansDevanagari-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF;
}
body { font-family: "Application Gujarati", "Application Devanagari", var(--cui-body-font-family); }
.display-board { font-family: "Application Gujarati", "Application Devanagari", "Atkinson Hyperlegible", "Arial", system-ui, sans-serif; }

.landing-hero-brand, .workspace-page-heading h1 { overflow-wrap: anywhere; min-width: 0; }

/* Keep the complete sort label readable inside either search pane. */
.caveat-sort-toolbar .form-multi-select { width: min(100%, 23rem); }
.caveat-sort-toolbar .form-multi-select-selection { white-space: normal; }

/* Optional workflow feedback uses the shared CoreUI modal and application theme. */
.feedback-survey-dialog { max-width: 38rem; }
.feedback-stars { display: flex; gap: .5rem; }
.feedback-star { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; cursor: pointer; border: 1px solid var(--cui-border-color); border-radius: .5rem; color: var(--cui-secondary-color); background: var(--cui-body-bg); font-size: 1.65rem; }
.feedback-star input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.feedback-star:focus-within { outline: 3px solid var(--cui-primary); outline-offset: 2px; }
.feedback-star.is-rated { color: var(--cui-primary); background: var(--cui-primary-bg-subtle); border-color: var(--cui-primary); }
.feedback-review-remarks { white-space: pre-wrap; overflow-wrap: anywhere; min-width: 12rem; max-width: 30rem; }
.feedback-metric-value { font-size: 1.75rem; font-weight: 700; }
.feedback-distribution { display: flex; gap: .25rem; flex-wrap: wrap; }
.feedback-distribution span { background: var(--cui-tertiary-bg); border-radius: .25rem; padding: .2rem .4rem; font-size: .8rem; }
@media (max-width: 575.98px) {
    /* Keep survey actions clear of the shared floating input keyboard control. */
    .feedback-survey-dialog .modal-footer { padding-bottom: 3.25rem; }
}
.whatsapp-provider-body { white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; }

/* Seven factual milestones; no animated or estimated percentage. */
.ai-journey { padding: 1.1rem; border: 1px solid var(--egujhc-border); border-radius: .85rem; background: var(--egujhc-surface); color: var(--egujhc-ink); }
/* The results container owns the card; progress is content, not a nested card. */
.ai-scrutiny-results .ai-journey { border: 0; border-radius: 0; background: transparent; }
.ai-scrutiny-results:has(> .ai-journey) { align-self: start; height: auto; min-height: 0; max-height: 100%; overflow-y: auto; }
.ai-scrutiny-result-header > .ai-journey { padding: .75rem 0 0; }
.ai-journey-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .88rem; }
.ai-journey-heading .page-kicker { margin: 0 0 .25rem; font-size: .68rem; }
.ai-journey-heading > span { color: var(--egujhc-muted); font-size: .75rem; }
.ai-journey-segments { display: flex; gap: .3rem; margin: 1rem 0; }
.ai-journey-segments > span { flex: 1; height: .3rem; border-radius: 1rem; background: var(--egujhc-border); }
.ai-journey-segments > .is-completed { background: var(--egujhc-success-text); }
.ai-journey-segments > .is-active { background: var(--egujhc-indigo); }
.ai-journey-segments > .is-failed { background: var(--egujhc-danger-text); }
.ai-journey-segments > .is-retrying, .ai-journey-segments > .is-paused { background: var(--egujhc-warning-text); }
.ai-journey-stages { margin: 0; padding: 0; list-style: none; font-size: .82rem; }
.ai-journey-stage { display: flex; align-items: flex-start; gap: .7rem; position: relative; padding: .55rem 0; }
.ai-journey-stage:not(:last-child)::before { content: ''; position: absolute; left: .86rem; top: 2.3rem; bottom: -.55rem; border-left: 1px solid var(--egujhc-border); }
.ai-journey-marker { flex: 0 0 1.8rem; height: 1.8rem; display: grid; place-items: center; border: 1px solid var(--egujhc-border); border-radius: 50%; background: var(--egujhc-surface); color: var(--egujhc-muted); font-size: .72rem; font-weight: 700; }
.ai-journey-stage-body { flex: 1; min-width: 0; padding-top: .2rem; }
.ai-journey-stage-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .35rem .7rem; flex-wrap: wrap; }
.ai-journey-stage-title { font-weight: 600; overflow-wrap: anywhere; }
.ai-journey-state { font-size: .68rem; white-space: nowrap; color: var(--egujhc-muted); }
.ai-journey-stage.is-waiting { color: var(--egujhc-muted); }
.ai-journey-stage.is-completed > .ai-journey-marker { background: var(--egujhc-success-bg); color: var(--egujhc-success-text); border-color: transparent; }
.ai-journey-stage.is-active > .ai-journey-marker { background: var(--egujhc-indigo); color: #fff; border-color: transparent; }
.ai-journey-stage.is-active > .ai-journey-stage-body > .ai-journey-stage-heading .ai-journey-state { background: var(--egujhc-accent-bg); color: var(--egujhc-accent-text); border-radius: 1rem; padding: .15rem .5rem; }
.ai-journey-stage.is-paused > .ai-journey-marker, .ai-journey-stage.is-retrying > .ai-journey-marker { background: var(--egujhc-warning-bg); color: var(--egujhc-warning-text); }
.ai-journey-stage.is-failed > .ai-journey-marker { background: var(--egujhc-danger-bg); color: var(--egujhc-danger-text); }
.ai-journey-description { display: block; margin-top: .3rem; color: var(--egujhc-muted); overflow-wrap: anywhere; }
.ai-journey-processing { margin: .65rem 0 .25rem; padding: .8rem; border: 1px solid var(--egujhc-border); border-radius: .65rem; background: var(--egujhc-surface-muted); }
.ai-journey-processing-heading { display: flex; gap: .55rem; align-items: flex-start; }
.ai-journey-processing-heading > .bi { color: var(--egujhc-accent-text); font-size: 1.05rem; }
.ai-journey-processing-heading strong { font-size: .8rem; }
.ai-journey-processing small { display: block; font-size: .68rem; color: var(--egujhc-muted); margin-top: .15rem; }
.ai-journey-substeps { list-style: none; padding: .75rem 0 0; margin: .7rem 0 0; border-top: 1px solid var(--egujhc-border); display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .8rem; }
.ai-journey-substeps:empty { display: none; }
.ai-journey-substeps > li { display: flex; gap: .4rem; font-size: .72rem; }
.ai-journey-substep-dot { flex: 0 0 .85rem; height: .85rem; margin-top: .12rem; border: 1px solid var(--egujhc-border); border-radius: 50%; font-size: .55rem; display: grid; place-items: center; }
.ai-journey-substeps .is-active .ai-journey-substep-dot { border: 3px solid var(--egujhc-indigo); }
.ai-journey-substeps .is-completed .ai-journey-substep-dot { background: var(--egujhc-success-text); border-color: transparent; color: var(--egujhc-surface); }
.ai-journey-substeps .is-paused .ai-journey-substep-dot, .ai-journey-substeps .is-retrying .ai-journey-substep-dot { border: 3px solid var(--egujhc-warning-text); }
.ai-journey-substeps .is-failed .ai-journey-substep-dot { border: 3px solid var(--egujhc-danger-text); }
@media (max-width: 575.98px) { .ai-journey { padding: .8rem; } .ai-journey-substeps { grid-template-columns: 1fr; gap: .65rem; } .ai-journey-stage { gap: .5rem; } .ai-journey-stage-title { font-size: .78rem; } }

/* Administrator evidence keeps full timestamps and disclosures readable on phones. */
.case-lifecycle-timeline td { overflow-wrap: anywhere; }
.case-lifecycle-timeline td:nth-child(2) { min-width: 15rem; }
.case-lifecycle-timeline td:nth-child(4) { min-width: 20rem; }
.case-lifecycle-timeline details > summary { cursor: pointer; }
.case-lifecycle-timeline summary:focus-visible { outline: 2px solid var(--cui-primary); outline-offset: 3px; }
@media (max-width: 767.98px) {
    .case-lifecycle-timeline, .case-lifecycle-timeline tbody,
    .case-lifecycle-timeline tr, .case-lifecycle-timeline td { display: block; width: 100%; min-width: 0; }
    .case-lifecycle-timeline thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .case-lifecycle-timeline tr { padding: .75rem; border-bottom: 1px solid var(--cui-border-color); }
    .case-lifecycle-timeline td { padding: .35rem .25rem; border: 0; }
    .case-lifecycle-timeline td::before { display: block; font-size: .75rem; color: var(--cui-secondary-color); }
    .case-lifecycle-timeline td:nth-child(1)::before { content: 'Select evidence'; }
    .case-lifecycle-timeline td:nth-child(2)::before { content: 'When (IST)'; }
    .case-lifecycle-timeline td:nth-child(3)::before { content: 'Category'; }
    .case-lifecycle-timeline td:nth-child(5)::before { content: 'Outcome'; }
    .case-lifecycle-timeline td:nth-child(6)::before { content: 'Actor/source'; }
}
[data-manage-notification-panel="queue"] .table th { white-space: nowrap; }
[data-manage-notification-panel="queue"] .table-responsive { max-width: 100%; }
.cause-list-disposed-badge {
    display: block;
    width: fit-content;
    align-self: start;
    margin-top: .35rem;
    white-space: normal;
}
