/* ==========================================================================
   assay-registry.css — стили для раздела /probpalata/
   Подключается в: list.html, cipher.html, ciphers.html, _recent_base.html,
   detail.html (карточка реестра — секция в конце файла, вынесено из inline 5.1)
   NB: entry.html пока держит свой <style> — переопределяет общие uv-assay-*
   c другими значениями (коллизия имён, разбор отложен — см. план 5.1b)
   ========================================================================== */

/* ── Статусные цвета в таблице реестра (list.html) ── */
.accent-active        { color: var(--uv-success); }
.accent-liquidated    { color: #d31820; }
.accent-reorganizing  { color: #3b003b; }
.accent-bankrupt      { color: darkorange; }
.accent-liquidation   { color: darkorange; }

/* ── Filter card ── */
.uv-assay-filters {
    background: var(--uv-bg-warm);
    border: 1px solid var(--uv-border);
    border-radius: var(--uv-radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}
.uv-assay-filters-title {
    font-size: var(--uv-fs-xs);
    font-weight: var(--uv-fw-bold);
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--uv-text-muted);
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}
.uv-assay-filters-title i { color: var(--uv-primary); }
.uv-assay-filters label {
    font-size: var(--uv-fs-xs);
    font-weight: var(--uv-fw-semibold);
    color: var(--uv-text);
    margin-bottom: .2rem;
    display: block;
}
.uv-assay-filters .form-control {
    font-size: var(--uv-fs-small);
    border-color: var(--uv-border);
    border-radius: var(--uv-radius-sm);
}
.uv-assay-filters .form-control:focus {
    border-color: var(--uv-primary);
    box-shadow: var(--uv-shadow-focus);
}
.uv-assay-filter-hint {
    font-size: var(--uv-fs-xs);
    color: var(--uv-text-muted);
    font-style: italic;
    margin-top: .25rem;
}
.uv-assay-filter-actions {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
}
.uv-assay-btn-apply {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .4rem .85rem;
    border-radius: var(--uv-radius-sm);
    font-size: var(--uv-fs-xs);
    font-weight: var(--uv-fw-semibold);
    color: var(--uv-text-inverse);
    background: var(--uv-primary);
    border: none;
    cursor: pointer;
    transition: all var(--uv-duration-base);
}
.uv-assay-btn-apply:hover { background: var(--uv-primary-dark); }
.uv-assay-btn-reset {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .4rem .85rem;
    border-radius: var(--uv-radius-sm);
    font-size: var(--uv-fs-xs);
    font-weight: var(--uv-fw-semibold);
    color: var(--uv-text);
    background: var(--uv-surface);
    border: 1px solid var(--uv-border);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--uv-duration-base);
}
.uv-assay-btn-reset:hover { border-color: var(--uv-primary); color: var(--uv-primary-dark); }

/* ── Quick nav links ── */
.uv-assay-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .65rem;
    margin: 1.25rem 0;
}
.uv-assay-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    border-radius: var(--uv-radius-md);
    border: 1px solid var(--uv-border);
    text-decoration: none;
    font-size: var(--uv-fs-small);
    font-weight: var(--uv-fw-semibold);
    color: var(--uv-text);
    background: var(--uv-surface);
    transition: all var(--uv-duration-base);
}
.uv-assay-link:hover {
    border-color: var(--uv-primary);
    background: var(--uv-bg-warm);
    color: var(--uv-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--uv-shadow-sm);
}
.uv-assay-link i { font-size: var(--uv-fs-h4); flex-shrink: 0; }
.uv-assay-link-green i  { color: var(--uv-success); }
.uv-assay-link-blue i   { color: #1991eb; }
.uv-assay-link-red i    { color: var(--uv-danger); }
.uv-assay-link-orange i { color: #e67e22; }

/* ── Result counter ── */
.uv-assay-count {
    font-size: var(--uv-fs-small);
    color: var(--uv-text-muted);
    margin-bottom: .75rem;
}
.uv-assay-count strong { color: var(--uv-dark); font-weight: var(--uv-fw-bold); }

/* ── Table (shared for list.html + simple-datatables pages) ── */
.uv-assay-table-wrap { margin-bottom: 1rem; }
.uv-assay-table-wrap table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--uv-fs-small);
}
.uv-assay-table-wrap thead th {
    background: var(--uv-bg-warm);
    color: var(--uv-text-muted);
    font-size: var(--uv-fs-xs);
    font-weight: var(--uv-fw-bold);
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .6rem .75rem;
    border-bottom: 2px solid var(--uv-primary);
    white-space: nowrap;
}
.uv-assay-table-wrap tbody td {
    padding: .55rem .75rem;
    border-bottom: 1px solid var(--uv-border);
    color: var(--uv-text);
}
.uv-assay-table-wrap tbody tr:hover { background: rgba(var(--uv-primary-rgb), .04); }
.uv-assay-table-wrap tbody td a {
    color: var(--uv-dark);
    text-decoration: none;
    font-weight: var(--uv-fw-semibold);
    transition: color var(--uv-duration-base);
}
.uv-assay-table-wrap tbody td a:hover { color: var(--uv-primary-dark); }

/* ── Exo 2 font utility ── */
.ar-font-exo { font-family: 'Exo 2', 'Exo 2 Fallback', sans-serif; }

/* ── INN / mono values ── */
.uv-assay-inn {
    font-family: 'Exo 2', 'Exo 2 Fallback', sans-serif;
    font-size: var(--uv-fs-xs);
    color: var(--uv-text-muted);
}

/* ── Info / description text ── */
.uv-assay-info {
    font-size: var(--uv-fs-small);
    color: var(--uv-text-muted);
    line-height: var(--uv-lh-base);
}
.uv-assay-info p { margin-bottom: .4rem; }

/* ── Bottom info block (list.html) ── */
.uv-assay-legal {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--uv-border);
    font-size: var(--uv-fs-small);
    color: var(--uv-text-muted);
    line-height: var(--uv-lh-content);
}
.uv-assay-legal p { margin-bottom: .6rem; }

/* ── cipher.html: section header ── */
.uv-assay-header h1 {
    font-size: var(--uv-fs-h1);
    font-weight: var(--uv-fw-bold);
    color: var(--uv-dark);
    line-height: var(--uv-lh-compact);
    margin-bottom: .5rem;
}
.uv-assay-header p {
    font-size: var(--uv-fs-small);
    color: var(--uv-text-muted);
    line-height: var(--uv-lh-base);
    margin-bottom: 0;
}

/* ── cipher.html: live search input ── */
.uv-assay-search { position: relative; margin-bottom: 1.25rem; }
.uv-assay-search input {
    width: 100%;
    padding: .85rem 1rem .85rem 2.8rem;
    font-size: var(--uv-fs-body);
    font-weight: var(--uv-fw-medium);
    border: 2px solid var(--uv-border);
    border-radius: var(--uv-radius-lg);
    background: var(--uv-surface);
    color: var(--uv-dark);
    transition: border-color var(--uv-duration-base), box-shadow var(--uv-duration-base);
}
.uv-assay-search input:focus {
    outline: none;
    border-color: var(--uv-primary);
    box-shadow: var(--uv-shadow-focus);
}
.uv-assay-search input::placeholder { color: var(--uv-text-hint); font-weight: var(--uv-fw-normal); }
.uv-assay-search::before {
    content: "\F52A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--uv-fs-h4);
    color: var(--uv-primary);
    pointer-events: none;
}

/* ── cipher.html: toolbar (reset + count) ── */
.uv-assay-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .75rem;
}
.uv-assay-reset {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .35rem .75rem;
    border-radius: var(--uv-radius-sm);
    font-size: var(--uv-fs-xs);
    font-weight: var(--uv-fw-semibold);
    text-decoration: none;
    color: var(--uv-text-inverse);
    background: var(--uv-primary);
    border: none;
    cursor: pointer;
    transition: all var(--uv-duration-base);
}
.uv-assay-reset:hover { background: var(--uv-primary-dark); color: var(--uv-text-inverse); }

/* ── cipher.html: AJAX table ── */
.uv-assay-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--uv-fs-small);
}
.uv-assay-table thead th {
    background: var(--uv-bg-warm);
    color: var(--uv-text-muted);
    font-size: var(--uv-fs-xs);
    font-weight: var(--uv-fw-bold);
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .6rem .75rem;
    border-bottom: 2px solid var(--uv-primary);
    white-space: nowrap;
}
.uv-assay-table tbody td {
    padding: .55rem .75rem;
    border-bottom: 1px solid var(--uv-border);
    color: var(--uv-text);
    vertical-align: middle;
}
.uv-assay-table tbody tr:hover { background: rgba(var(--uv-primary-rgb), .04); }
.uv-assay-table tbody td a {
    color: var(--uv-dark);
    text-decoration: none;
    font-weight: var(--uv-fw-semibold);
    transition: color var(--uv-duration-base);
}
.uv-assay-table tbody td a:hover { color: var(--uv-primary-dark); }
.uv-assay-table .text-grey { color: #d0c8b8; }

/* ── cipher.html: empty state ── */
#no_results { display: none; text-align: center; padding: 2rem 1rem; color: var(--uv-text-muted); }
#no_results h5 { font-size: var(--uv-fs-h5); font-weight: var(--uv-fw-semibold); }

/* ── cipher.html: pagination ── */
.uv-assay-pagination { display: flex; justify-content: center; gap: .5rem; margin: 1.25rem 0; }
.uv-assay-pagination button {
    padding: .45rem 1.25rem;
    border-radius: var(--uv-radius-sm);
    font-size: var(--uv-fs-small);
    font-weight: var(--uv-fw-semibold);
    border: 1px solid var(--uv-border);
    background: var(--uv-surface);
    color: var(--uv-text);
    cursor: pointer;
    transition: all var(--uv-duration-base);
}
.uv-assay-pagination button:hover { border-color: var(--uv-primary); color: var(--uv-primary-dark); }

/* ── cipher.html: reference tables (год→буква, орган→шифр) ── */
.uv-assay-ref-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--uv-fs-small);
    margin-bottom: 1.25rem;
}
.uv-assay-ref-table th,
.uv-assay-ref-table td { padding: .4rem .6rem; border: 1px solid var(--uv-border); }
.uv-assay-ref-table th {
    background: var(--uv-bg-warm);
    font-weight: var(--uv-fw-bold);
    color: var(--uv-text);
    font-size: var(--uv-fs-xs);
}

@media (max-width: 767.98px) {
    .uv-assay-links { grid-template-columns: 1fr; }
    .uv-assay-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

.uv-datepicker-range { width: 10rem; }


/* ===== detail.html (вынесено из inline <style>, Фаза 5.1) ===== */
/* ── Registry Detail: Editorial Document ─────────────────────────── */

/* Page header banner */
.ar-hero {
    background: var(--uv-bg-warm, var(--uv-bg-warm));
    border-radius: var(--uv-radius-xl);
    padding: 2rem 2.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--uv-border);
}
.ar-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--uv-primary-rgb), .06) 0%, transparent 70%);
    pointer-events: none;
}
.ar-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(250,176,59,.05) 0%, transparent 70%);
    pointer-events: none;
}
.ar-hero-title {
    font-size: var(--uv-fs-h2);
    font-weight: var(--uv-fw-bold);
    color: var(--uv-dark);
    margin: 0;
    line-height: var(--uv-lh-compact);
}
.ar-hero-inn {
    color: var(--uv-text-muted);
    font-size: var(--uv-fs-body);
    margin-top: .4rem;
    font-family: 'Exo 2', sans-serif;
    font-weight: var(--uv-fw-light);
    letter-spacing: .05em;
}
.ar-assay-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(0,0,0,.05);
    color: var(--uv-text-muted);
    font-size: var(--uv-fs-xs);
    font-weight: var(--uv-fw-medium);
    padding: .3rem .7rem;
    border-radius: var(--uv-radius-sm);
    white-space: nowrap;
}

/* Status pill */
.ar-status-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .85rem;
    border-radius: var(--uv-radius-3xl);
    font-size: var(--uv-fs-small);
    font-weight: var(--uv-fw-semibold);
    letter-spacing: .02em;
}
.ar-status-pill-active {
    background: rgba(15,138,76,.12);
    color: var(--uv-success);
    border: 1px solid rgba(15,138,76,.2);
}
.ar-status-pill-negative {
    background: rgba(192,57,43,.1);
    color: var(--uv-danger);
    border: 1px solid rgba(192,57,43,.18);
}
.ar-status-pill-warning {
    background: rgba(214,137,16,.1);
    color: var(--uv-warning);
    border: 1px solid rgba(214,137,16,.18);
}
.ar-status-pill-neutral {
    background: rgba(108,60,131,.08);
    color: #6c3483;
    border: 1px solid rgba(108,60,131,.15);
}
.ar-status-dot {
    width: 7px;
    height: 7px;
    border-radius: var(--uv-radius-circle);
    background: currentColor;
    flex-shrink: 0;
}

/* Section cards */
.ar-card {
    background: var(--uv-surface);
    border: 1px solid var(--uv-border);
    border-radius: var(--uv-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    transition: box-shadow var(--uv-duration-slow) ease;
}
.ar-card:hover {
    box-shadow: var(--uv-shadow-sm);
}
.ar-card-header {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--uv-border);
}
.ar-card-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--uv-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--uv-fs-body);
    flex-shrink: 0;
}
.ar-card-icon-blue   { background: rgba(var(--uv-primary-rgb), .08);  color: var(--uv-primary); }
.ar-card-icon-green  { background: rgba(15,138,76,.08);   color: var(--uv-success); }
.ar-card-icon-amber  { background: rgba(214,137,16,.08);  color: var(--uv-warning); }
.ar-card-icon-purple { background: rgba(108,60,131,.08);  color: #6c3483; }
.ar-card-icon-slate  { background: rgba(100,116,139,.08); color: #64748b; }
.ar-card-icon-red    { background: rgba(192,57,43,.08);   color: var(--uv-danger); }
.ar-card-title {
    font-size: var(--uv-fs-body);
    font-weight: var(--uv-fw-bold);
    color: var(--uv-dark);
    margin: 0;
    letter-spacing: .01em;
}

/* Data row (label:value) */
.ar-field {
    display: flex;
    gap: .5rem;
    padding: .4rem 0;
    font-size: var(--uv-fs-small);
    line-height: var(--uv-lh-base);
    border-bottom: 1px solid rgba(0,0,0,.035);
}
.ar-field:last-child { border-bottom: none; }
.ar-field-label {
    color: var(--uv-text-muted);
    min-width: 180px;
    flex-shrink: 0;
    font-weight: var(--uv-fw-medium);
}
.ar-field-value {
    color: var(--uv-text);
    font-weight: var(--uv-fw-medium);
}
.ar-field-value-strike {
    text-decoration: line-through;
    opacity: .55;
}

/* Risk badges */
.ar-risk {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .7rem;
    border-radius: var(--uv-radius-sm);
    font-size: var(--uv-fs-xs);
    font-weight: var(--uv-fw-semibold);
}
.ar-risk-high   { background: rgba(192,57,43,.08);  color: var(--uv-danger); border: 1px solid rgba(192,57,43,.15); }
.ar-risk-medium { background: rgba(214,137,16,.08); color: var(--uv-warning); border: 1px solid rgba(214,137,16,.15); }
.ar-risk-low    { background: rgba(15,138,76,.08);  color: var(--uv-success); border: 1px solid rgba(15,138,76,.15); }
.ar-risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.ar-risk-item {
    padding: 1rem;
    background: var(--uv-bg-offset, var(--uv-bg-warm));
    border-radius: var(--uv-radius-md);
}
.ar-risk-category {
    font-size: var(--uv-fs-xs);
    color: var(--uv-text-muted);
    font-weight: var(--uv-fw-semibold);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .4rem;
}
.ar-risk-source {
    font-size: var(--uv-fs-micro);
    color: var(--uv-text-muted);
    margin-top: .4rem;
    line-height: var(--uv-lh-base);
}
.ar-risk-updated {
    font-size: var(--uv-fs-micro);
    color: var(--uv-text-hint);
    margin-top: .2rem;
    font-style: italic;
}

/* Registry notice bar */
.ar-notice {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1rem;
    border-radius: var(--uv-radius-md);
    font-size: var(--uv-fs-small);
    font-weight: var(--uv-fw-medium);
    margin-top: .5rem;
}
.ar-notice-positive { background: rgba(15,138,76,.06);  color: var(--uv-success); border: 1px solid rgba(15,138,76,.12); }
.ar-notice-negative { background: rgba(192,57,43,.05);  color: var(--uv-danger); border: 1px solid rgba(192,57,43,.1); }
.ar-notice-source {
    color: var(--uv-text-muted);
    font-size: var(--uv-fs-xs);
    font-weight: var(--uv-fw-normal);
    margin-top: .35rem;
}

/* OKVED uv-table */
.ar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--uv-fs-small);
}
.ar-table thead th {
    background: var(--uv-bg-warm);
    color: var(--uv-text-muted);
    font-weight: var(--uv-fw-semibold);
    font-size: var(--uv-fs-xs);
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .55rem .75rem;
    border-bottom: 1px solid var(--uv-border);
}
.ar-table thead th:first-child { border-radius: var(--uv-radius-md) 0 0 0; }
.ar-table thead th:last-child  { border-radius: 0 var(--uv-radius-md) 0 0; }
.ar-table tbody td {
    padding: .55rem .75rem;
    border-bottom: 1px solid rgba(0,0,0,.04);
    color: var(--uv-text);
    vertical-align: middle;
}
.ar-table tbody tr:last-child td { border-bottom: none; }
.ar-table tbody tr:hover td { background: rgba(var(--uv-primary-rgb), .02); }

/* Statistics grid */
.ar-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .5rem;
}
.ar-stat-item {
    background: var(--uv-bg-warm);
    border-radius: var(--uv-radius-sm);
    padding: .55rem .75rem;
    font-size: var(--uv-fs-small);
}
.ar-stat-label {
    color: var(--uv-text-muted);
    font-size: var(--uv-fs-xs);
    font-weight: var(--uv-fw-semibold);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.ar-stat-value {
    color: var(--uv-dark);
    font-weight: var(--uv-fw-semibold);
    font-family: 'Exo 2', sans-serif;
    font-size: var(--uv-fs-small);
    margin-top: .1rem;
}

/* Contact section */
.ar-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--uv-bg-warm);
    border: 1px solid var(--uv-border);
    border-radius: var(--uv-radius-md);
    padding: .45rem .9rem;
    font-size: var(--uv-fs-small);
    font-weight: var(--uv-fw-medium);
    color: var(--uv-primary);
    cursor: pointer;
    transition: all var(--uv-duration-base) ease;
}
.ar-contact-btn:hover {
    border-color: var(--uv-primary);
    box-shadow: var(--uv-shadow-primary-sm);
    background: var(--uv-surface);
}
.ar-contacts-locked {
    background: linear-gradient(135deg, rgba(var(--uv-primary-rgb), .03) 0%, rgba(250,176,59,.03) 100%);
    border: 1px dashed var(--uv-border);
    border-radius: var(--uv-radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    font-size: var(--uv-fs-small);
}
.ar-contacts-locked i { color: var(--uv-primary); }

#phone-text, #email-text {
    opacity: 0;
    transition: opacity var(--uv-duration-base) ease-in-out;
}
#phone-text.visible, #email-text.visible {
    opacity: 1;
}

/* Action buttons */
.ar-actions {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.ar-action-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.1rem;
    border-radius: var(--uv-radius-md);
    font-size: var(--uv-fs-small);
    font-weight: var(--uv-fw-semibold);
    text-decoration: none;
    transition: all var(--uv-duration-base) ease;
}
.ar-action-btn-primary {
    background: var(--uv-primary);
    color: var(--uv-text-inverse);
    border: none;
}
.ar-action-btn-primary:hover {
    background: var(--uv-primary-dark);
    color: var(--uv-text-inverse);
    box-shadow: var(--uv-shadow-primary);
    transform: translateY(-1px);
}
.ar-action-btn-outline {
    background: transparent;
    color: var(--uv-primary);
    border: 1px solid var(--uv-primary);
}
.ar-action-btn-outline:hover {
    background: rgba(var(--uv-primary-rgb), .05);
    color: var(--uv-primary-dark);
}

/* Retail points */
.ar-retail-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .65rem 0;
    border-bottom: 1px solid rgba(0,0,0,.04);
}
.ar-retail-item:last-child { border-bottom: none; }
.ar-retail-num {
    width: 24px;
    height: 24px;
    border-radius: var(--uv-radius-sm);
    background: var(--uv-bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--uv-fs-xs);
    font-weight: var(--uv-fw-bold);
    color: var(--uv-text-muted);
    flex-shrink: 0;
}
.ar-retail-address { font-size: var(--uv-fs-small); color: var(--uv-text); line-height: var(--uv-lh-base); }


/* Foldable sections */
.ar-foldable-count {
    font-size: var(--uv-fs-xs);
    font-weight: var(--uv-fw-semibold);
    background: var(--uv-bg-warm);
    color: var(--uv-text-muted);
    padding: .15rem .5rem;
    border-radius: var(--uv-radius-lg);
    white-space: nowrap;
}
.ar-foldable-more-text {
    font-size: var(--uv-fs-small);
    font-weight: var(--uv-fw-medium);
}
.ar-foldable-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    cursor: pointer;
    user-select: none;
    padding: .6rem 0 .15rem;
    margin-top: .25rem;
    font-size: var(--uv-fs-small);
    font-weight: var(--uv-fw-medium);
    color: var(--uv-primary);
    border-top: 1px dashed var(--uv-border);
    background: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    width: 100%;
    text-align: center;
}
.ar-foldable-more:hover {
    color: var(--uv-primary-hover);
}
.ar-foldable-chevron {
    font-size: var(--uv-fs-micro);
    transition: transform var(--uv-duration-base) ease;
}
.ar-foldable-more[aria-expanded="true"] .ar-foldable-chevron {
    transform: rotate(180deg);
}

/* Breadcrumb */
.ar-breadcrumb {
    list-style: none;
    display: flex;
    gap: .35rem;
    padding: 0;
    margin: 0 0 1rem 0;
    font-size: var(--uv-fs-xs);
}
.ar-breadcrumb li + li::before {
    content: '\203A';
    margin-right: .35rem;
    color: var(--uv-text-muted);
}
.ar-breadcrumb a { color: var(--uv-text-muted); text-decoration: none; transition: color var(--uv-duration-base); }
.ar-breadcrumb a:hover { color: var(--uv-primary); }
.ar-breadcrumb .active { color: var(--uv-text); font-weight: var(--uv-fw-medium); }

/* Responsive */
@media (max-width: 767.98px) {
    .ar-hero { padding: 1.25rem; }
    .ar-hero-title { font-size: var(--uv-fs-h4); }
    .ar-field { flex-direction: column; gap: .1rem; }
    .ar-field-label { min-width: unset; }
    .ar-card { padding: 1.1rem; }
    .ar-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Реестр — спецучёт
   ========================================================================== */

/* — entry-special.html — */
.properties_table {font-size: var(--uv-fs-h3);}
.live_search {
            width: 99%;
            min-height: 60px;
            padding: 10px;
            font-size: var(--uv-fs-h1);
            font-weight: var(--uv-fw-medium);
        }
.table-responsive-advanced {}
@media (max-width: 767.98px) {
            .table-responsive-advanced {
                display: block;
                width: 100%;
                -webkit-overflow-scrolling: touch;
                overflow-x: auto;
            }
        }

/* ==========================================================================
   Реестр — карточка записи
   ========================================================================== */

/* — entry.html — */
.uv-assay-header {
    margin-bottom: 1.5rem;
}
.uv-assay-search input,
.uv-assay-search .ts-wrapper .ts-control {
    box-sizing: border-box;
    width: 100%;
    padding: .85rem 1rem .85rem 2.8rem;
    font-size: var(--uv-fs-body);
    font-weight: var(--uv-fw-medium);
    border: 2px solid var(--uv-border);
    border-radius: var(--uv-radius-lg);
    background: var(--uv-surface);
    color: var(--uv-dark);
    transition: border-color var(--uv-duration-base), box-shadow var(--uv-duration-base);
}
.uv-assay-search input:focus,
.uv-assay-search .ts-wrapper.focus .ts-control {
    outline: none;
    border-color: var(--uv-primary);
    box-shadow: var(--uv-shadow-focus);
}
.uv-assay-search input::placeholder,
.uv-assay-search .ts-wrapper .ts-control input::placeholder {
    color: var(--uv-text-hint);
    font-weight: var(--uv-fw-normal);
}
.uv-assay-search .ts-dropdown { z-index: var(--uv-z-popover); }
.ts-suggest-item { padding: .25rem 0; }
.ts-suggest-name { font-weight: var(--uv-fw-semibold); color: var(--uv-dark); }
.ts-suggest-meta { font-size: var(--uv-fs-xs); color: var(--uv-text-muted); margin-top: .1rem; }
.uv-assay-filters .uv-select {
    font-size: var(--uv-fs-small);
    border-color: var(--uv-border);
    border-radius: var(--uv-radius-sm);
}
.uv-assay-filters .uv-select:focus {
    border-color: var(--uv-primary);
    box-shadow: var(--uv-shadow-focus);
}
.uv-assay-checks {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: .5rem .25rem 0;
    margin-top: .35rem;
}
.uv-assay-checks label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .15rem .25rem;
    font-size: var(--uv-fs-small);
    font-weight: var(--uv-fw-medium);
    color: var(--uv-text);
    margin-bottom: 0;
    cursor: pointer;
}
.uv-assay-checks input[type="checkbox"] { margin: 0; }
.ts-wrapper.multi .ts-control > .item {
    padding-right: .15rem;
}
.ts-wrapper.multi .ts-control > .item .remove {
    color: var(--uv-text-muted);
    border-left: 1px solid var(--uv-border);
    padding: 0 .4rem;
    margin-left: .35rem;
    text-decoration: none;
    line-height: var(--uv-lh-none);
}
.ts-wrapper.multi .ts-control > .item .remove:hover {
    color: var(--uv-danger);
    background: transparent;
}
.uv-assay-table .uv-color-light { color: var(--uv-border); }
.uv-assay-info {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.uv-assay-info-card {
    display: flex;
    gap: .75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--uv-radius-lg);
    border: 1px solid var(--uv-border);
    background: var(--uv-surface);
    font-size: var(--uv-fs-small);
    line-height: var(--uv-lh-content);
    color: var(--uv-text);
}
.uv-assay-info-card i {
    font-size: var(--uv-fs-h3);
    flex-shrink: 0;
    margin-top: .1rem;
}
.uv-assay-info-card a {
    color: var(--uv-primary);
    font-weight: var(--uv-fw-semibold);
    text-decoration: none;
}
.uv-assay-info-card a:hover { text-decoration: underline; }
.uv-assay-info-card-link {
    background: var(--uv-bg-warm);
    border-color: var(--uv-border-light);
}
.uv-assay-info-card-link i { color: var(--uv-primary); }
.uv-assay-info-card-date {
    background: var(--uv-bg-warm);
    border-color: var(--uv-border-light);
    color: var(--uv-text-dim);
    font-style: italic;
}
.uv-assay-info-card-date i { color: var(--uv-text-muted); }
.uv-assay-info-card-warn {
    background: rgba(220, 53, 69, .04);
    border-color: rgba(220, 53, 69, .15);
}
.uv-assay-info-card-warn i { color: var(--uv-danger); }
.uv-assay-info-card-neutral i { color: var(--uv-text-muted); }
