/* Styles for the generated static pages (de/, en/). Tokens come from styles.css. */

.pg { max-width: 860px; }

.pg-nav {
    color: var(--ink-2);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
}

.pg-nav:hover,
.pg-nav:focus-visible {
    color: var(--primary);
    background: var(--primary-soft);
}

.pg-crumbs {
    font-size: 0.85rem;
    color: var(--ink-3);
    margin: 0 0 14px;
}

.pg-crumbs a {
    color: var(--ink-2);
    text-decoration: none;
}

.pg-crumbs a:hover { color: var(--primary); text-decoration: underline; }

.pg-card { margin-bottom: 18px; }

.pg-card h2 {
    font-size: 1.05rem;
    margin: 26px 0 8px;
    color: var(--ink);
}

.pg-card h2:first-of-type { margin-top: 18px; }

.pg-count {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-3);
    margin-left: 6px;
}

.pg-aliases,
.pg-hint,
.pg-note {
    color: var(--ink-2);
    font-size: 0.92rem;
    margin: 6px 0;
}

.pg-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.pg-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.pg-field span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-2);
}

.pg-field input {
    width: 100%;
    font: inherit;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    background: transparent;
    border: 0;
    padding: 2px 0;
    outline: none;
}

.pg-field:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--focus);
}

.pg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
    margin: 6px 0 10px;
}

.pg-table th,
.pg-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.pg-table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-3);
}

.pg-table tbody th { font-weight: 600; white-space: nowrap; }

.pg-table td { font-variant-numeric: tabular-nums; }

.pg-faq {
    border-top: 1px solid var(--border);
    padding: 10px 0;
}

.pg-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ink);
}

.pg-faq p { margin-top: 8px; color: var(--ink-2); }

.pg-links {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 4px 18px;
}

.pg-links a {
    display: block;
    padding: 6px 0;
    color: var(--primary);
    text-decoration: none;
}

.pg-links a:hover,
.pg-links a:focus-visible { text-decoration: underline; }

.pg-filter { margin-top: 18px; }

.pg-filter input {
    width: 100%;
    max-width: 420px;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
}

@media (max-width: 560px) {
    .pg-table { font-size: 0.86rem; }
    .pg-table tbody th { white-space: normal; }
}

.pg-table tr.pg-in td {
    background: var(--ok-soft);
    color: var(--ok);
    font-weight: 600;
}
