/* The permanent code stays visible; Debug adds only optional diagnostics. */
.screen-identity[hidden],.screen-identity [hidden]{display:none!important}
.screen-identity{margin:-.4rem 0 .6rem;max-width:100%;color:#526575;font:400 12px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:normal}
.screen-identity .screen-identity__copy{display:inline-flex;align-items:center;flex-wrap:wrap;gap:2px 7px;max-width:100%;min-height:24px;margin:0;padding:2px 0;border:0;border-radius:2px;box-shadow:none;background:transparent;color:inherit;font:inherit;text-align:start;white-space:normal;cursor:pointer;user-select:text}
.screen-identity .screen-identity__copy:hover{background:transparent;color:#344b5b;text-decoration:underline;text-underline-offset:3px}
.screen-identity .screen-identity__copy:focus-visible{outline:3px solid #245f86;outline-offset:3px}
.screen-identity__name,.screen-identity__meta{overflow-wrap:anywhere;min-width:0}
.screen-identity__code{font-weight:500;font-variant-numeric:tabular-nums}
.screen-identity__meta{color:inherit}
.screen-identity__hint{font-weight:500;text-decoration:underline;text-underline-offset:2px}
.screen-identity__status{display:block;margin-top:2px;color:inherit}
.screen-identity__status:empty{display:none}
/* Django Admin can retain its native Dark/Auto theme. Normal portal pages do
   not carry data-theme, so their light presentation is unchanged. */
html[data-theme=dark] .screen-identity{color:#c4d1db}
html[data-theme=dark] .screen-identity .screen-identity__copy:hover{color:#f1f5f9}
html[data-theme=dark] .screen-identity .screen-identity__copy:focus-visible{outline-color:#8ab4f8}
@media(prefers-color-scheme:dark){
html[data-theme=auto] .screen-identity{color:#c4d1db}
html[data-theme=auto] .screen-identity .screen-identity__copy:hover{color:#f1f5f9}
html[data-theme=auto] .screen-identity .screen-identity__copy:focus-visible{outline-color:#8ab4f8}
}
@media(max-width:600px){.screen-identity__meta{flex-basis:100%}}
@media print{.screen-identity .screen-identity__copy{background:transparent;color:#344b5b}.screen-identity__hint,.screen-identity__status{display:none}}
