.number-section {
    margin-top: 22px;
    font-family: 'Jost', sans-serif;
    color: var(--main-text-color-frames);
}
.number-section h3 { margin: 0 0 10px; }
.number-row {
    background: var(--main-bg-color-buttons);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.number-row code {
    font-size: 1rem;
    overflow-wrap: anywhere;
    user-select: all;
}
.neighbors { display: flex; flex-wrap: wrap; gap: 10px; }
.neighbors a {
    color: var(--main-text-color-frames);
    background: var(--main-bg-color-buttons);
    border-radius: 12px;
    padding: 10px 16px;
    overflow-wrap: anywhere;
    min-width: 0;
    flex: 1;
}
.neighbors a:hover { background: var(--main-bg-color-buttons-2); }
#title, .title-paragraph { overflow-wrap: anywhere; }

/* Генерируемые строки из numbers_page.py */
.number-section { display: flex; flex-direction: column; gap: 12px; }
.number-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr); gap: 14px; align-items: start; }
.number-row-name { font-weight: 650; }
.number-row-value { overflow-wrap: anywhere; min-width: 0; }
.number-annotated { display: inline-flex; align-items: center; vertical-align: middle; max-width: 100%; }
.number-base { min-width: 0; overflow-wrap: anywhere; }
.number-annotations { display: inline-flex; flex-direction: column; justify-content: center; margin-left: 3px; line-height: 1.05; font-size: .72em; vertical-align: middle; }
.number-annotations sup, .number-annotations sub { position: static; font-size: inherit; line-height: 1.1; min-height: 1.1em; }
.number-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.number-values, .number-nested { padding-left: 1.3em; margin: 0; }
.number-values { list-style-type: '·  '; }
.number-nested { list-style-type: '·  '; margin-top: 4px; }
.number-values li + li, .number-nested li + li { margin-top: 4px; }
@media (max-width: 560px) { .number-row { grid-template-columns: 1fr; gap: 7px; } }
