/* Shield Unity shared styles: the raw LEADS viewer and the printed (CJIS-marked) result. */

.su-raw {
    font-family: Consolas, "Cascadia Mono", "Courier New", monospace;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre;
    overflow: auto;
    max-height: 60vh;
    margin: 0;
    padding: 8px 0;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.su-raw .su-line { display: block; padding: 0 12px 0 0; }
.su-raw .su-line > span.su-no { display: inline-block; width: 3.5em; padding-right: 1em; text-align: right; opacity: 0.45; user-select: none; }
.su-raw .su-line.su-hl { background: rgba(255, 193, 7, 0.28); outline: 1px solid rgba(255, 193, 7, 0.7); }

.su-mono textarea, .su-mono input { font-family: Consolas, "Cascadia Mono", "Courier New", monospace !important; }

.su-value { cursor: pointer; border-bottom: 1px dotted rgba(255, 255, 255, 0.35); }
.su-value:hover { background: rgba(255, 255, 255, 0.08); }

.su-hit { border-left: 6px solid #d32f2f; }
.su-hit-caution { animation: su-pulse 1.2s ease-in-out 3; }
@keyframes su-pulse { 50% { box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.6); } }

.su-photo { width: 96px; height: 120px; object-fit: cover; border-radius: 4px; background: rgba(255, 255, 255, 0.06); cursor: pointer; flex: none; }

/* Query screen: the criteria toolbar, one tab per return, and each return's toolbar and snapshot. */
.su-criteria { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 10px; }
.su-criteria .mud-input-control { margin: 0 !important; flex: none; }
.su-criteria .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-outlined { margin: 0; }
.su-up input, .su-up textarea { text-transform: uppercase; }
.su-go { min-width: 72px; }

.su-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 8px 0 0; border-bottom: 2px solid var(--mud-palette-primary); margin-bottom: 8px; }
.su-tab {
    display: flex; align-items: center; gap: 6px; padding: 5px 8px 5px 10px; white-space: nowrap; cursor: pointer;
    border: 1px solid var(--mud-palette-lines-default); border-bottom: none; border-radius: 6px 6px 0 0;
    background: var(--mud-palette-surface); font-size: 13px; opacity: 0.8;
}
.su-tab-on { background: var(--mud-palette-primary); color: var(--mud-palette-primary-text); opacity: 1; font-weight: 600; }
.su-tab-hit:not(.su-tab-on) { border-color: #d32f2f; }
.su-tab-failed { text-decoration: line-through; }
.su-tab-time { opacity: 0.65; font-size: 11px; }
.su-tab-close { opacity: 0.6; padding: 0 2px; }
.su-tab-close:hover { opacity: 1; }

.su-size { display: inline-flex; align-items: center; border: 1px solid var(--mud-palette-lines-default); border-radius: 16px; padding: 0 2px; margin: 0 6px; font-size: 12px; }
.su-size > span { min-width: 42px; text-align: center; }
.su-side { display: flex; flex-direction: column; gap: 10px; }
@media print { .su-zoom { zoom: 1 !important; } }
.su-result-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px 8px; margin-bottom: 8px; }

.su-hit-line { background: rgba(211, 47, 47, 0.18); border-left: 6px solid #d32f2f; color: #ff8a80; padding: 6px 10px; margin-bottom: 6px; border-radius: 4px; }
.su-hit-line .su-kv { color: var(--mud-palette-text-primary); }

.su-snapshot { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 10px; align-items: start; }
@media (max-width: 600px) { .su-snapshot { grid-template-columns: 1fr; } }

.su-kv { display: grid; gap: 1px 10px; font-size: 13.5px; align-content: start; }
.su-kv-2 { grid-template-columns: max-content 1fr; }
.su-kv-3 { grid-template-columns: max-content max-content 1fr; }
.su-kv-4 { grid-template-columns: max-content 1fr max-content 1fr; }
@media (max-width: 900px) { .su-kv-4 { grid-template-columns: max-content 1fr; } }
.su-kv .su-label { opacity: 0.65; }
/* A person's photo beside their details - and above them when there is not room for both (phones). */
.su-person-body { display: flex; gap: 12px; flex-wrap: wrap; }
.su-person-body > .su-kv { flex: 1 1 260px; min-width: 0; }
@media (max-width: 599.98px) {
    /* Long labels ("Operator licence state") must not take the row from the values. */
    .su-kv-2 { grid-template-columns: fit-content(42%) minmax(0, 1fr); }
    /* Three columns (run history: when, who, agency) become two: the third goes under the second. */
    .su-kv-3 { grid-template-columns: max-content minmax(0, 1fr); }
    .su-kv-3 > :nth-child(3n) { grid-column: 2; margin-bottom: 4px; }
}
.su-kv > span { min-width: 0; overflow-wrap: anywhere; }
.su-alert { color: #ff5252; font-weight: 700; }
.su-check { font-size: 13px; line-height: 1.5; }

.su-fields { display: grid; grid-template-columns: max-content 1fr; gap: 2px 16px; }
.su-fields > .su-label { opacity: 0.7; }

/* Query page: on a phone the bar, then the result, then earlier results; side by side on wider screens. */
.su-query-layout { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 960px) {
    .su-query-layout { grid-template-columns: minmax(300px, 1fr) 2fr; grid-template-areas: "bar result" "list result"; align-items: start; }
    .su-q-bar { grid-area: bar; }
    .su-q-list { grid-area: list; }
    .su-q-result { grid-area: result; }
}

/* Footer on every screen: versions, LEADS link, testing warnings, clock. */
.su-footer {
    position: fixed; left: 0; right: 0; bottom: 0; height: 26px; z-index: 1350;
    display: flex; align-items: center; gap: 6px; padding: 0 12px;
    font-size: 12px; white-space: nowrap; overflow: hidden;
    background: var(--mud-palette-appbar-background); color: var(--mud-palette-appbar-text);
    border-top: 1px solid var(--mud-palette-lines-default);
}
.su-footer-sep { opacity: 0.5; }
.su-footer-warn { color: #ffb300; font-weight: 600; }
.su-footer-alarm { color: #fff; background: #c62828; padding: 1px 8px; border-radius: 3px; font-weight: 700; }
.su-footer-link { color: inherit; opacity: 0.8; }
.su-footer-clock { font-family: Consolas, "Cascadia Mono", monospace; font-size: 13px; }
.mud-main-content { padding-bottom: 30px; }
@media (max-width: 600px) { .su-footer { font-size: 11px; } .su-footer-sep, .su-footer > span:nth-child(3) { display: none; } }

/* Messages: unread conversations and new messages. */
.su-unread-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mud-palette-primary); margin-right: 6px; vertical-align: middle; }
.su-msg-new { border-color: var(--mud-palette-primary) !important; }
.su-msg-new .mud-typography-body2 { font-weight: 700; }

/* Top bar tabs (no side menu). */
.su-nav { display: flex; align-items: stretch; height: 48px; overflow-x: auto; }
.su-nav-tab {
    display: flex; align-items: center; gap: 6px; padding: 0 14px; color: inherit; text-decoration: none; opacity: 0.75;
    border-bottom: 3px solid transparent; white-space: nowrap; font-size: 14px; font-weight: 500; cursor: pointer;
}
.su-nav-tab:hover { opacity: 1; background: rgba(255, 255, 255, 0.05); }
.su-nav-on { opacity: 1; border-bottom-color: var(--mud-palette-primary); color: var(--mud-palette-primary); }
.su-nav-badge { background: var(--mud-palette-primary); color: #fff; border-radius: 9px; padding: 0 6px; font-size: 11px; line-height: 17px; }
.su-nav-badge-hit { background: #d32f2f; }
.su-nav-privacy { color: #ffb300; }
@media (max-width: 900px) { .su-nav-tab > span { display: none; } .su-nav-tab { padding: 0 12px; } }

/* Privacy screen: nothing on it but the logo and the system-use warning. */
.su-privacy {
    position: fixed; inset: 0; z-index: 2000; background: #05070a; color: #e0e0e0; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px;
}
.su-privacy-notice {
    display: flex; gap: 14px; align-items: flex-start; text-align: left; max-width: 760px; margin-top: 16px;
    padding: 16px 20px; border: 1px solid #ffb300; border-radius: 6px; font-size: clamp(15px, 2vw, 20px); line-height: 1.5;
}
.su-privacy-icon { color: #ffb300; font-size: 32px !important; flex: 0 0 auto; }
.su-privacy-hint { font-size: 13px; opacity: 0.4; margin-top: 24px; }

/* Drawn license plate. Oswald: SIL Open Font License (fonts/Oswald-OFL.txt). */
@font-face { font-family: "SU Plate"; src: url("fonts/Oswald.ttf") format("truetype"); font-weight: 200 700; font-display: swap; }
.su-plate {
    position: relative; width: 200px; height: 100px; flex: none; border-radius: 9px; box-sizing: border-box;
    background: var(--plate-bg); border: 3px solid var(--plate-accent); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 4px 8px 3px; overflow: hidden;
}
.su-plate::before, .su-plate::after {   /* bolt slots */
    content: ""; position: absolute; top: 9px; width: 14px; height: 7px; border-radius: 4px; background: rgba(0, 0, 0, 0.28);
}
.su-plate::before { left: 18px; }
.su-plate::after { right: 18px; }
.su-plate-state { font: 700 15px/1.1 "SU Plate", "Arial Narrow", Arial, sans-serif; letter-spacing: 2px; color: var(--plate-accent); }
.su-plate-number { font: 600 46px/1 "SU Plate", "Arial Narrow", Arial, sans-serif; letter-spacing: 3px; color: var(--plate-text); white-space: nowrap; }
.su-plate-slogan { font: 400 10px/1.1 Arial, sans-serif; color: var(--plate-accent); min-height: 11px; white-space: nowrap; }
@media print { .su-plate { box-shadow: none; } .su-plate * { color: inherit; } }

/* People (Directory and pickers). */
.su-people-tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--mud-palette-primary); margin-bottom: 10px; overflow-x: auto; }
.su-ptab { background: none; border: none; color: inherit; padding: 8px 16px; font-weight: 600; font-size: 13px; letter-spacing: 0.5px; cursor: pointer; opacity: 0.7; border-radius: 6px 6px 0 0; }
.su-ptab:hover { opacity: 1; background: rgba(255, 255, 255, 0.05); }
.su-ptab-on { opacity: 1; background: var(--mud-palette-primary); color: var(--mud-palette-primary-text); }
.su-people-grid { max-height: calc(100vh - 290px); overflow: auto; border: 1px solid var(--mud-palette-lines-default); border-radius: 4px; }
.su-people-grid table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.su-people-grid th { position: sticky; top: 0; background: var(--mud-palette-surface); text-align: left; padding: 6px 8px; font-weight: 600; opacity: 0.85; z-index: 1; }
.su-people-grid td { padding: 4px 8px; border-top: 1px solid var(--mud-palette-lines-default); vertical-align: middle; }
.su-people-grid tr { cursor: pointer; }
.su-people-grid tbody tr:hover { background: rgba(255, 255, 255, 0.04); }
.su-people-grid tr.su-online td { color: #3fbf7f; }
.su-people-grid tr.su-offline td { color: #e05d5d; }
.su-ticks { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; opacity: 0.85; }
.su-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

.print-only { display: none; }

/* A result sits in a table so that, printed, its header and footer rows repeat on every page. On screen the table
   is just blocks and the marks are hidden. */
.su-print-frame, .su-print-frame > tbody, .su-print-frame > tbody > tr, .su-print-frame > tbody > tr > td { display: block; }
.su-print-frame { width: 100%; border-collapse: collapse; }
.su-print-frame > thead, .su-print-frame > tfoot { display: none; }

/* Printing a result: only the result, on white, marked as CJI at the top and bottom of every page, then the raw parts. */
@media print {
    @page { margin: 10mm 12mm; }
    body, .mud-layout, .mud-main-content, .mud-paper { background: #fff !important; color: #000 !important; box-shadow: none !important; }
    .mud-appbar, .mud-drawer, #mud-snackbar-container, .mud-popover-provider, .no-print, #su-update, #blazor-error-ui { display: none !important; }
    .mud-main-content { padding: 0 !important; margin: 0 !important; }
    .print-only { display: block; }
    .su-plate-photo { -webkit-print-color-adjust: exact; print-color-adjust: exact; }   /* the photo is a background, which browsers skip by default */
    .su-print-frame { display: table; }
    .su-print-frame > thead { display: table-header-group; }
    .su-print-frame > tfoot { display: table-footer-group; }
    .su-print-frame > tbody { display: table-row-group; }
    .su-print-frame > tbody > tr, .su-print-frame > thead > tr, .su-print-frame > tfoot > tr { display: table-row; }
    .su-print-frame > * > tr > td { display: table-cell; padding: 0; }
    .su-cji-mark { text-align: center; font: bold 9pt Arial, sans-serif; color: #000; }
    .su-cji-mark.top { padding-bottom: 3mm; margin-bottom: 2mm; border-bottom: 1px solid #000; }
    .su-cji-mark.bottom { padding-top: 2mm; margin-top: 3mm; border-top: 1px solid #000; font-weight: normal; }
    .su-hit-line, .su-snapshot > .mud-paper, .su-side > .mud-paper { break-inside: avoid; }
    .su-print-raw { margin-top: 6mm; }
    .su-print-raw-title { font: bold 11pt Arial, sans-serif; border-bottom: 2px solid #000; margin-bottom: 3mm; }
    .su-print-part { margin-bottom: 4mm; }
    .su-print-part-head { font: bold 9pt Arial, sans-serif; margin-bottom: 1mm; break-after: avoid; }
    .su-print-part pre { margin: 0; font: 8.5pt Consolas, "Cascadia Mono", "Courier New", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
    .su-value { border: none; }
    .su-hit-line { border-left: 4px solid #000; background: none; }
    .su-photo { width: 120px; height: 150px; }
    * { color: #000 !important; }
}

/* Compose bar: quick replies (big enough to hit in a moving car) and the emoji picker. */
.su-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.su-quick-replies .mud-button-root { min-height: 36px; font-weight: 600; }
.su-emoji-panel { width: 344px; max-width: 92vw; }
.su-emoji-tabs { border-bottom: 1px solid var(--mud-palette-lines-default); overflow-x: auto; }
.su-emoji-tab { flex: 0 0 auto; width: 34px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 18px;
    border-bottom: 2px solid transparent; color: inherit; display: flex; align-items: center; justify-content: center; }
.su-emoji-tab-on { border-bottom-color: var(--mud-palette-primary); }
.su-emoji-grid { height: 260px; overflow-y: auto; padding: 4px; display: flex; flex-wrap: wrap; align-content: flex-start; }
.su-emoji { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; border-radius: 6px; padding: 0;
    font-size: 22px; line-height: 36px; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.su-emoji:hover, .su-emoji:focus-visible { background: var(--mud-palette-action-default-hover); }
.su-mic-on { animation: su-mic 1.2s ease-in-out infinite; }
@keyframes su-mic { 50% { box-shadow: 0 0 0 6px rgba(244, 67, 54, 0.25); } }

/* NCIC: the SILENT box at the end of the query kinds. Red and bold when ticked, so nobody leaves it on unawares. */
.su-silent .mud-typography { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; }
.su-silent-on .mud-typography { color: var(--mud-palette-error); font-weight: 800; }

/* Specialty badges (K9, DET, MEDIC): the hub's colour, black or white text for contrast. */
.su-specialty { display: inline-block; padding: 1px 6px; margin: 1px 3px 1px 0; border-radius: 4px; font-size: 0.72rem;
    font-weight: 700; letter-spacing: 0.03em; line-height: 1.5; cursor: default; white-space: nowrap; }
.su-badges { max-width: 220px; }
.su-color { width: 44px; height: 32px; border: 1px solid var(--mud-palette-lines-inputs); border-radius: 4px; padding: 2px; background: none; cursor: pointer; }

/* The Shield Unity Mobile mark and the Shield Technology Group banner. */
.su-logo { display: inline-block; vertical-align: middle; width: auto; }
.su-logo-ondark { filter: brightness(0) invert(1); }
.su-logo-tile { background: #fff; border-radius: 8px; padding: 4px; box-sizing: content-box; }
.su-banner { display: block; max-width: 220px; width: 60%; height: auto; margin: 16px auto 0; padding: 8px 12px; background: #fff; border-radius: 6px; opacity: 0.9; }

/* The state's plate photo with the number printed over it. */
.su-plate-photo { background-color: #fff; background-size: 100% 100%; background-repeat: no-repeat; border: 0; justify-content: center; padding-top: 6px; }
.su-plate-photo::before, .su-plate-photo::after { display: none; }
.su-plate-photo .su-plate-number { color: #14213d; text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 0 10px rgba(255, 255, 255, 0.9); }

/* Reports: the list on the left, the report and its result on the right; stacked on a phone. */
.su-reports { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 960px) { .su-reports { grid-template-columns: 300px 1fr; } }
.su-reports-main { min-width: 0; }
.su-reports-heading { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.6; margin: 12px 4px 4px; }
.su-reports-item { padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.su-reports-item:hover { background: var(--mud-palette-action-default-hover); }
.su-reports-on { background: var(--mud-palette-primary); color: var(--mud-palette-primary-text); }
.su-reports-sub { font-size: 12px; opacity: 0.7; }
.su-report-mark { display: none; }
.su-report-head { margin-bottom: 8px; }
.su-report-scroll { overflow-x: auto; max-height: calc(100vh - 330px); overflow-y: auto; }
.su-report { width: 100%; border-collapse: collapse; font-size: 13px; }
.su-report th { position: sticky; top: 0; background: var(--mud-palette-surface); text-align: left; padding: 5px 8px; font-weight: 600; border-bottom: 2px solid var(--mud-palette-lines-default); white-space: nowrap; }
.su-report td { padding: 3px 8px; border-bottom: 1px solid var(--mud-palette-lines-default); vertical-align: top; overflow-wrap: anywhere; }
.su-report .num { text-align: right; white-space: nowrap; }
.su-report-group td { background: var(--mud-palette-action-default-hover); padding-top: 6px; }
.su-report-subtotal td { font-weight: 600; border-bottom-width: 2px; }
.su-report-total td { font-weight: 700; border-top: 2px solid var(--mud-palette-text-primary); }
.su-report-barcell { width: 40%; min-width: 120px; }
.su-report-bar { height: 12px; border-radius: 2px; background: var(--mud-palette-primary); }
.su-designer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.su-design-chip { display: inline-flex; align-items: center; gap: 2px; padding: 0 2px 0 10px; border: 1px solid var(--mud-palette-lines-inputs); border-radius: 16px; font-size: 13px; }
.su-filter-row { display: grid; grid-template-columns: minmax(150px, 1.2fr) minmax(120px, 0.8fr) minmax(160px, 1.5fr) auto auto; gap: 8px; align-items: center; margin-bottom: 6px; }
.su-filter-prompt { grid-column: 1 / -1; }
@media (max-width: 700px) { .su-filter-row { grid-template-columns: 1fr 1fr; } }
@media print {
    .su-report-paper { padding: 0 !important; }
    .su-report-mark { display: block; text-align: center; font: bold 9pt Arial, sans-serif; padding-bottom: 2mm; margin-bottom: 2mm; border-bottom: 1px solid #000; }
    .su-report-mark.bottom { font-weight: normal; padding: 2mm 0 0; margin: 3mm 0 0; border-bottom: 0; border-top: 1px solid #000; }
    .su-report-scroll { max-height: none; overflow: visible; }
    .su-report { font-size: 8.5pt; }
    .su-report th { position: static; background: none; }
    .su-report tr { break-inside: avoid; }
    .su-report-bar { background: #555 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .su-report-group td { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Desktop Bridge: hand-off steps and the smart clipboard. */
.su-bridge-step { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--mud-palette-lines-default); }
.su-bridge-step .su-ok { color: var(--mud-palette-success); font-size: 13px; }
.su-bridge-step .su-bad { color: var(--mud-palette-error); font-size: 13px; }
.su-clip { display: flex; flex-direction: column; margin-top: 8px; }
.su-clip-row { display: grid; grid-template-columns: 10rem 1fr auto; align-items: center; gap: 8px; padding: 2px 6px; border-radius: 4px; }
.su-clip-row .su-value { font-family: Consolas, monospace; overflow-wrap: anywhere; }
.su-clip-row.su-next { background: var(--mud-palette-primary-hover); outline: 1px solid var(--mud-palette-primary); }
.su-clip-row.su-used { opacity: .55; }
.su-pick { font-size: 12px; color: var(--mud-palette-text-secondary); overflow-wrap: anywhere; }

/* One line, cut with an ellipsis: the thread list shows the latest message, not all of it. */
.su-one-line { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* The message composer: tools | text | send. Every tool is the same size and centred on the text box. */
.su-composer { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.su-composer-tools { display: flex; align-items: center; flex: 0 0 auto; }
.su-composer-tools > *, .su-composer-tools .mud-input-control, .su-composer-tools .mud-file-upload { margin: 0 !important; width: auto !important; flex: 0 0 auto; }
.su-composer-tools .mud-icon-button { width: 44px; height: 44px; padding: 10px; }
.su-composer-box { flex: 1 1 auto; min-width: 0; }
.su-composer-box .mud-input-control { margin: 0; }
.su-composer-send { flex: 0 0 auto; }
@media (max-width: 599.98px) {
    .su-composer { flex-wrap: wrap; }
    .su-composer-box { order: 1; flex-basis: calc(100% - 52px); }
    .su-composer-send { order: 2; }
    .su-composer-tools { order: 3; }
}

/* A phone held upright: the main areas move to a tab bar along the bottom (above the footer), with their names,
   so all of them are always in reach; the header keeps the logo, connection and account. */
@media (max-width: 599.98px) {
    .su-nav {
        position: fixed; left: 0; right: 0; bottom: 26px; height: 54px; z-index: 1340; overflow: hidden;
        justify-content: space-around; background: var(--mud-palette-appbar-background); color: var(--mud-palette-appbar-text);
        border-top: 1px solid var(--mud-palette-lines-default);
    }
    .su-nav-tab { flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 1px; padding: 0 2px; font-size: 10px; border-bottom: 0; border-top: 3px solid transparent; position: relative; }
    .su-nav-tab > span { display: block !important; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
    .su-nav-on { border-top-color: var(--mud-palette-primary); }
    .su-nav-badge { position: absolute; top: 3px; left: calc(50% + 6px); }
    .mud-main-content { padding-bottom: 86px; }
    .su-chip-compact .su-chip-text { display: none; }
    .su-chip-compact .mud-chip-icon { margin-right: 0 !important; }
}
/* MudFileUpload reserves room for a file list under the button (attachments are listed as chips instead): without
   this the attach button sits higher than the others. */
.su-composer-tools .mud-file-upload { display: flex; align-items: center; height: 44px; }
.su-composer-tools .mud-file-upload-files { display: none; }

/* Administration → Directory: one row per other hub. */
.su-hub-row { padding: 10px 0; border-top: 1px solid var(--mud-palette-lines-default); }
.su-hub-row:first-of-type { border-top: none; }
.su-hub-row code { overflow-wrap: anywhere; }
.su-kv .su-bad { color: var(--mud-palette-error); }
