.brand { font-weight: 700; }
.htmx-indicator { display: none; }
.htmx-request.htmx-indicator { display: block; }
.status { padding: 0.1rem 0.45rem; border-radius: 0.25rem; font-size: 0.85em; white-space: nowrap; }
.status-ok { background: #d1f2d9; color: #135c27; }
.status-failed { background: #fbd5d5; color: #7a1414; }
.status-no_address, .status-blocked { background: #e6e8ec; color: #3b4250; }
.error { color: #b42318; }
.probe-error { display: block; color: var(--pico-muted-color); overflow-wrap: anywhere; }
input.port { max-width: 7rem; }
code { overflow-wrap: anywhere; }
.actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.actions form, .actions button { margin-bottom: 0; }
.tls-family h3 { font-size: 1.1rem; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
@media (prefers-color-scheme: dark) {
  .status-ok { background: #144d24; color: #c9f2d3; }
  .status-failed { background: #5c1818; color: #fbd5d5; }
  .status-no_address, .status-blocked { background: #353b46; color: #d6d9df; }
  .error { color: #f97066; }
}
footer nav.legal { justify-content: flex-start; }
footer nav.legal ul { margin-left: 0; }
footer nav.legal li { padding-left: 0; padding-right: 1rem; font-size: 0.875em; }
.lang-hint { text-align: right; margin-bottom: 0.5rem; }
.legal-text h2 { font-size: 1.25rem; margin-top: 2rem; }
.intro { margin-bottom: 1rem; }
.intro h1 { font-size: 1.6rem; }
nav.tools { overflow-x: auto; margin-bottom: 1rem; border-bottom: 1px solid var(--pico-muted-border-color); }
nav.tools ul { margin: 0; gap: 0.25rem; flex-wrap: nowrap; }
nav.tools li { padding: 0; }
nav.tools a { display: block; padding: 0.5rem 0.9rem; margin: 0; border-radius: var(--pico-border-radius) var(--pico-border-radius) 0 0; white-space: nowrap; text-decoration: none; }
nav.tools a[aria-current] { background: var(--pico-primary-background); color: var(--pico-primary-inverse); }
article.tool h1, article.tool h2 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.tool-summary { color: var(--pico-muted-color); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.75rem; margin-bottom: var(--pico-block-spacing-vertical); }
.tile { display: flex; flex-direction: column; padding: 0.75rem 1rem; border-radius: var(--pico-border-radius); background: var(--pico-card-background-color); box-shadow: var(--pico-card-box-shadow); color: var(--pico-color); text-decoration: none; }
.tile strong { font-size: 1.75rem; line-height: 1.2; padding: 0 0.3rem; border-radius: 0.25rem; align-self: flex-start; }
.tile span { color: var(--pico-muted-color); font-size: 0.875rem; }
