a:any-link {
  text-decoration: underline;
  text-underline-offset: .15em;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* System barw centrum redakcji. */
html,html[data-theme] {
 color-scheme:light;--primary:#173b5e;--secondary:#142f4c;--accent:#fff;--header-bg:#142f4c;
 --header-color:#fff;--header-branding-color:#fff;--header-link-color:#fff;
 --body-bg:#fff;--body-fg:#192a40;--body-quiet-color:#43566a;--body-loud-color:#13263e;
 --link-fg:#074b93;--link-hover-color:#073964;--link-selected-fg:#123f68;--darkened-bg:#f1f6fb;
 --hairline-color:#d8e2eb;--border-color:#a5b5c5;--breadcrumbs-bg:#e8f1f9;
 --breadcrumbs-fg:#293d54;--breadcrumbs-link-fg:#144b7d;--button-bg:#195593;--default-button-bg:#124e8c;
 --button-fg:#fff;--selected-bg:#e2edf7;--selected-row:#eaf2fb;--close-button-bg:#475b70;
 --font-family-primary:Inter,system-ui,sans-serif;
}
.theme-toggle {display:none}
#branding {display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}
.news-brand {font-size:1.35rem;font-weight:750}
.news-identity {font-size:.95rem;color:white}
#header {padding:1rem 2rem}
.news-nav {flex:0 0 11.5rem;background:#173550;padding:1.5rem .5rem}
.news-nav a:any-link {display:block;padding:.75rem;color:white;text-decoration:none;border-radius:4px;font-weight:600}
.news-nav a:hover,.news-nav a:focus-visible {background:#285879;text-decoration:underline}
.main>.content {min-width:0}
#content {padding:clamp(1rem,2.5vw,2.5rem);width:auto}
#content h1 {color:#142c49;font-size:clamp(1.65rem,3vw,2.35rem);font-weight:740;line-height:1.2}
.dash-head,.metrics,.queue-tabs,.model-links {display:flex;gap:.75rem;flex-wrap:wrap}
.dash-head {align-items:center;justify-content:space-between;margin-bottom:1rem}
.dash-head h1 {margin:.2rem 0}
.primary-link:any-link {background:#14539a;color:white;border-radius:5px;text-decoration:none;padding:.8rem 1.2rem;font-weight:650}
.desk {display:grid;grid-template-columns:minmax(0,3fr) minmax(12rem,1fr);gap:1.4rem}
.metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.metrics a:any-link {background:#f8fbfd;border:1px solid #ccdae7;border-radius:6px;padding:.8rem;color:#192e45;text-decoration:none;overflow-wrap:anywhere}
.metrics strong {display:block;font-size:1.75rem;line-height:1.5}
.queue-tabs {margin:1rem 0 0;border-bottom:1px solid #cad8e4}
.queue-tabs a {padding:.6rem .2rem}.queue-tabs [aria-current] {border-bottom:3px solid #14539a;font-weight:700}
.queue {width:100%}.queue th,.queue td {padding:.85rem .5rem;overflow-wrap:anywhere}
.queue thead th {background:#f1f6fb;text-transform:none;font-size:.875rem;color:#314860}
.state {display:inline-block;border-radius:1rem;background:#e5edf6;color:#263f5a;padding:.2rem .6rem;font-weight:650}
.state.review {background:#fff0c9;color:#604700}.state.published,.state.approved {background:#deeee4;color:#234e36}
.activity {background:#f3f7fb;border:1px solid #d4e0eb;border-radius:6px;padding:1rem}
.activity h2 {margin:0 0 .6rem}.activity ul,.model-links {list-style:none;padding:0}
.activity li {padding:.65rem 0;border-bottom:1px solid #cdd9e5;list-style:none}.activity small {display:block;color:#43566a}
#ustawienia {margin-top:2rem}.model-links li {list-style:none}
#changelist,.module,.inline-group {border-radius:5px}
#changelist table thead th {background:#eaf1f8;color:#233e59}
#content textarea,#content input,#content select {max-width:100%;box-sizing:border-box}
:focus-visible {outline:3px solid #146fae;outline-offset:2px;box-shadow:0 0 0 2px white}
@media(max-width:64rem) {
 .news-nav {flex:0 0 auto;display:flex;flex-wrap:wrap;gap:.25rem;padding:.3rem .7rem}
 .main {flex-direction:column}.desk {grid-template-columns:1fr}#header {padding:.8rem 1rem}
}
@media(max-width:48rem) {
 .metrics {grid-template-columns:repeat(2,minmax(0,1fr))}
 .queue thead {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
 .queue tr,.queue td,.queue th {display:block}.queue td,.queue th {padding:.2rem .4rem;border:0}
 .queue tr {padding:.65rem 0;border-bottom:1px solid #d6e0ea}.queue tbody td {overflow-wrap:anywhere}
 .news-nav a:any-link {padding:.5rem}.dash-head {align-items:start}#branding {gap:.5rem}
}
#draft-preview {margin:1rem 0;padding:1rem;background:#edf4fa;color:#18334c}
#draft-preview summary {cursor:pointer;font-weight:650}#preview-body {white-space:pre-wrap}
#news-nav[hidden],#news-toggle[hidden] {display:none}
#news-toggle {background:#173550;color:white;text-align:left;padding:.75rem 1rem;border:0;cursor:pointer;font:inherit;font-weight:650}
#changelist-filter li a {display:block;min-height:1.8rem;padding:.25rem 0}
fieldset.module h2,.inline-group h2 {background:#e4edf6;color:#203e58;letter-spacing:.01em}
#content .form-row {padding:.8rem 1rem}
#content input[type=text],#content select,#content input[type=password],#content input[type=email],#content textarea {border-radius:5px;padding:.55rem .65rem}
@media(max-width:48rem){.primary-link:any-link {display:block;width:100%;text-align:center}.news-nav {width:auto}}
.news-nav img {vertical-align:middle;margin-right:.7rem;filter:invert(1)}
