/* ==========================================================================
   base.css — project-level styles (replaces Canvas theme CSS where possible)
   ========================================================================== */

/* Design System
   Shared CSS custom properties used across all pages
   ========================================================================== */

:root {
    --uv-primary: #0D6EFD;
    --uv-primary-dark: #0a58ca;
    --uv-primary-hover: #084298;
    --uv-dark: #1a1a2e;
    --uv-dark-soft: #2d2d44;
    --uv-text: #2c2c2c;
    --uv-text-dark: #1a1a1a;
    --uv-text-secondary: #555;
    --uv-text-muted: #6C757D;
    --uv-text-hint: #b0a898;
    --uv-bg-warm: #f8f9fa;
    --uv-border: #dee2e6;
    --uv-border-light: #f0ece4;

    /* Semantic status colors */
    --uv-success: #0f8a4c;
    --uv-danger: #dc3545;
    --uv-warning: #d68910;
    --uv-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --uv-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --uv-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
    --uv-radius: 6px;
    --uv-transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Typography scale */
    --uv-fs-h1: 2rem;
    --uv-fs-h2: 1.5rem;
    --uv-fs-h3: 1.25rem;
    --uv-fs-h4: 1.1rem;
    --uv-fs-h5: 1rem;
    --uv-fs-body: 1rem;
    --uv-fs-small: .875rem;
    --uv-fs-caption: 1rem;
    --uv-fs-xs: .78rem;
    --uv-fs-micro: .7rem;
    --uv-fs-h1-mobile: 1.65rem;
    --uv-fs-h2-mobile: 1.25rem;

    /* Line heights */
    --uv-lh-compact: 1.25;   /* body global — UI, навигация, карточки */
    --uv-lh-base: 1.5;       /* параграфы в интерфейсе */
    --uv-lh-content: 1.7;    /* длинные тексты: статьи, законодательство */
}

/* Ticker — compact cards (was: marquee)
   ========================================================================== */

.uv-ticker{background:var(--uv-bg-warm);border-bottom:1px solid var(--uv-border);padding:.3rem 0;overflow-x:auto;scrollbar-width:none;font-family:'Exo 2','Exo 2 Fallback',sans-serif;min-height:30px;contain:layout style}
.uv-ticker::-webkit-scrollbar{display:none}
.uv-ticker-grid{display:flex;gap:.35rem;align-items:center}
.uv-ticker-card{flex-shrink:0;display:inline-flex;align-items:center;gap:.25rem;padding:.2rem .45rem;background:#fff;border:1px solid var(--uv-border);border-radius:6px;font-size:.7rem;line-height:1;transition:all .25s;cursor:default;white-space:nowrap}
.uv-ticker-card:hover{border-color:var(--uv-primary);box-shadow:0 1px 6px rgba(13,110,253,.08)}
.uv-ticker-icon{display:inline-flex;align-items:center;justify-content:center;width:1rem;height:1rem;border-radius:50%;font-size:.55rem;font-weight:700;flex-shrink:0;border:1.5px solid currentColor}
.uv-ticker-icon--currency{color:var(--uv-primary)}
.uv-ticker-label{font-weight:600;color:#555;text-transform:uppercase}
.uv-ticker-value{font-weight:700;color:#1a1a1a;font-variant-numeric:tabular-nums}
.uv-ticker-change{font-weight:600}
.uv-ticker-change.up{color:#2e7d32}
.uv-ticker-change.down{color:#c62828}
.uv-ticker-sep{width:1px;height:18px;background:var(--uv-border);flex-shrink:0}
.uv-ticker-date{font-size:.65rem;line-height:1;color:#999;flex-shrink:0;text-transform:uppercase;letter-spacing:.04em;font-weight:600}

/* Quotes Widget (sidebar informers)
   ========================================================================== */
.uv-quotes-widget{font-family:'Exo 2','Exo 2 Fallback',sans-serif}
.uv-qw-section{background:#fff;border:1px solid var(--uv-border);border-radius:8px;padding:.5rem .6rem;margin-bottom:.5rem}
.uv-qw-title{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#555;text-align:center;margin-bottom:.15rem}
.uv-qw-chart-subtitle{font-size:.6rem;color:#888;text-align:center;margin-bottom:0}
.uv-qw-section figure{margin:0}
.uv-qw-section figure>div{min-height:140px}
.uv-qw-buttons{display:flex;gap:.25rem;justify-content:center;margin-top:.35rem}
.uv-qw-btn{flex:1;display:flex;flex-direction:column;align-items:center;gap:0;padding:.25rem .15rem;background:var(--uv-bg-warm);border:1.5px solid var(--uv-border);border-radius:5px;cursor:pointer;transition:all .2s;font-family:inherit;font-size:.6rem;line-height:1.3}
.uv-qw-btn:hover{transform:translateY(-1px);box-shadow:0 2px 6px rgba(0,0,0,.08)}
.uv-qw-btn--active{border-color:#5b8db8;background:#f0f6fb;box-shadow:0 0 0 1.5px rgba(91,141,184,.25)}
.uv-qw-btn-code{font-weight:700;font-size:.65rem;color:#333}
.uv-qw-btn-value{font-weight:600;font-variant-numeric:tabular-nums;color:#1a1a1a;font-size:.6rem}
.uv-qw-btn-change{font-weight:600;font-size:.55rem}
.uv-qw-btn-change.up{color:#2e7d32}
.uv-qw-btn-change.down{color:#c62828}
.uv-qw-btn-change.unchanged{color:#757575}

/* Breadcrumbs — Refined Gold
   ========================================================================== */

.uv-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .15rem;
    list-style: none;
    padding: .55rem .85rem;
    margin: 0 0 1.1rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 500;
    color: #6C757D;
}

.uv-breadcrumb-item a {
    color: #495057;
    text-decoration: none;
    transition: color .2s;
}

.uv-breadcrumb-item a:hover {
    color: #0D6EFD;
}

.uv-breadcrumb-item + .uv-breadcrumb-item::before {
    content: "\203A";
    padding: 0 .35rem;
    color: #0D6EFD;
    font-weight: 600;
    font-size: .875rem;
}

.uv-breadcrumb-item.active {
    color: var(--uv-text-dark);
    font-weight: 600;
}

/* Events Sidebar Cards — used on homepage and expo/org-detail
   ========================================================================== */

.uv-event-card {
    border: 1px solid var(--uv-border);
    border-left: 3px solid var(--uv-primary);
    border-radius: var(--uv-radius);
    padding: .85rem;
    margin-bottom: .75rem;
    transition: all var(--uv-transition);
    background: #fff;
}

.uv-event-card:hover {
    border-left-color: var(--uv-primary-dark);
    box-shadow: var(--uv-shadow-sm);
    transform: translateX(2px);
}

.uv-event-card .uv-event-banner {
    text-align: center;
    margin-bottom: .6rem;
    padding: .5rem;
    background: #fff;
    border-radius: 4px;
}

.uv-event-card .uv-event-banner img {
    max-height: 100px;
    width: auto;
}

.uv-event-card h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: .5rem;
}

.uv-event-card h3 a {
    color: var(--uv-text);
    text-decoration: none;
    transition: color var(--uv-transition);
}

.uv-event-card h3 a:hover {
    color: var(--uv-primary-dark);
}

.uv-event-detail {
    font-size: .875rem;
    color: var(--uv-text-muted);
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .3rem;
}

.uv-event-detail i {
    color: var(--uv-primary);
    width: 1rem;
    text-align: center;
}

/* Branding Header (creative advertising background)
   ========================================================================== */

/* Branding banner — mobile/tablet: inline image; desktop: body background */
#BrandHeader {
    text-align: center;
    overflow: hidden;
}

/* Spacer image — desktop only, creates room for background-image on body */
.uv-brand-img-1 {
    display: none;
}

/* Mobile/tablet banner — scales to fill container width */
.uv-brand-img-2 {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 1200px) {
    /* On desktop: spacer defines fixed height, hide mobile image */
    .uv-brand-img-1 {
        display: block;
        width: 100%;
        height: 200px;
        pointer-events: none;
    }

    .uv-brand-img-2 {
        display: none;
    }

    /* Brand creative: body background + pointer on margins */
    body.uv-brand-active {
        background-repeat: no-repeat;
        background-position: top center;
        background-size: 100% auto;
        cursor: pointer;
    }

    body.uv-brand-active #wrapper {
        cursor: default;
    }

    /* Wrapper width — matches original Canvas layout */
    #wrapper {
        max-width: 1080px;
        margin: 0 auto;
    }

    /* Override Bootstrap container to match wrapper */
    .container {
        max-width: 1080px;
    }
}

/* CKEditor 5 content styles (was: ck-style.css)
   Used in editor (CKEDITOR_5_CUSTOM_CSS) and on public pages for rendered content
   ========================================================================== */

.ck-style-title {
    font-size: 3.125rem;
    font-weight: 700;
    border: 0;
}

.ck-style-callout {
    --border-color: #e91e1e;
    padding: 1.2em 2em;
    border: 1px solid var(--border-color);
    border-left: 10px solid var(--border-color);
    background: #fff9fb;
    border-radius: 5px;
    margin: 1.5em 2em;
    box-shadow: 5px 5px 0 #ffe6ef;
}

.ck-style-needs-clarification {
    outline: 1px dashed #0D6EFD;
    background: #ffe19c;
    border-radius: 2px;
    position: relative;
}

.ck-style-wide-spacing {
    letter-spacing: .3em;
}

/* Article / Publication — shared detail page components
   Used across: articles, news, digest, press, blogs, videos, books,
   albums, brands, franchises, seminars, regulations, job
   ========================================================================== */

.uv-article-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--uv-text-dark);
    line-height: 1.3;
    margin-bottom: .75rem;
}

.uv-article-content {
    font-size: var(--uv-fs-body);
    line-height: var(--uv-lh-content);
    color: var(--uv-text-dark);
}
.uv-article-content p { margin-bottom: 1rem; }
.uv-article-content img { border-radius: 6px; }
.uv-article-content blockquote {
    border-left: 4px solid var(--uv-primary);
    padding: .75rem 1.25rem;
    margin: 1.25rem 0;
    background: var(--uv-bg-warm, #faf8f5);
    border-radius: 0 6px 6px 0;
    color: var(--uv-text-secondary);
    font-style: italic;
}

/* Article meta bar */
.uv-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
    padding: .75rem 0;
    border-top: 1px solid var(--uv-border-light);
    border-bottom: 1px solid var(--uv-border-light);
    margin-bottom: 1.25rem;
    font-size: var(--uv-fs-small);
    color: var(--uv-text-muted);
}
.uv-article-meta i { font-size: var(--uv-fs-xs); opacity: .6; }
.uv-article-meta__author {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    text-decoration: none;
    color: var(--uv-text-dark);
    font-weight: 600;
    transition: color .2s;
}
.uv-article-meta__author:hover { color: var(--uv-primary); }
.uv-article-meta__author img {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.uv-article-meta__author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--uv-primary), var(--uv-primary-dark));
    color: #fff;
    font-size: var(--uv-fs-xs);
    font-weight: 700;
    flex-shrink: 0;
}
.uv-article-meta__category {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 4px;
    background: var(--uv-bg-warm);
    border: 1px solid var(--uv-border);
    font-size: var(--uv-fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--uv-text-muted);
    text-decoration: none;
    transition: all .2s;
}
.uv-article-meta__category:hover { border-color: var(--uv-primary); color: var(--uv-text); }
.uv-article-meta__company a {
    color: var(--uv-text-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}
.uv-article-meta__company a:hover { color: var(--uv-primary); }

/* Comments */
.uv-comment {
    display: flex;
    gap: .75rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--uv-border-light);
}
.uv-comment:last-child { border-bottom: none; }
.uv-comment__avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--uv-border);
}
.uv-comment__avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--uv-primary), var(--uv-primary-dark));
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    border: 1px solid var(--uv-border);
}
.uv-comment__body { flex: 1; min-width: 0; }
.uv-comment__header {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .3rem;
}
.uv-comment__author {
    font-size: .88rem;
    font-weight: 600;
    color: var(--uv-text-dark);
    text-decoration: none;
    transition: color .2s;
}
.uv-comment__author:hover { color: var(--uv-primary); }
.uv-comment__date { font-size: var(--uv-fs-xs); color: var(--uv-text-hint); }
.uv-comment__text { font-size: .88rem; line-height: 1.55; color: var(--uv-text-secondary); }
.uv-comment__text p { margin-bottom: .3rem; }
.uv-comment__text p:last-child { margin-bottom: 0; }

/* Comment form */
.uv-comment-form {
    padding: 1.25rem;
    border-radius: 10px;
    background: var(--uv-bg-warm);
    border: 1px solid var(--uv-border);
    margin-top: 1rem;
}
.uv-comment-form h2 {
    font-size: var(--uv-fs-h2-mobile);
    font-weight: 600;
    color: var(--uv-text-dark);
    margin-bottom: .75rem;
}
.uv-comment-form p a { color: var(--uv-primary); }

/* Related posts */
.uv-related-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--uv-border-light);
}
.uv-related-title {
    font-size: var(--uv-fs-h4);
    font-weight: 600;
    color: var(--uv-text-dark);
    margin-bottom: 1rem;
}
.uv-related-title span { color: var(--uv-primary); }
.uv-related-card {
    display: flex;
    gap: .75rem;
    padding: .65rem 0;
    border-bottom: 1px solid var(--uv-border-light);
    transition: background .15s;
}
.uv-related-card:last-child { border-bottom: none; }
.uv-related-card:hover { background: #fdfcfa; }
.uv-related-card__thumb {
    flex-shrink: 0;
    width: 140px; height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--uv-bg-warm);
}
.uv-related-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.uv-related-card__body { flex: 1; min-width: 0; }
.uv-related-card__body h3 {
    font-size: var(--uv-fs-h5);
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 .25rem;
}
.uv-related-card__body h3 a { color: var(--uv-text-dark); text-decoration: none; transition: color .2s; }
.uv-related-card__body h3 a:hover { color: var(--uv-primary); }
.uv-related-card__meta { font-size: var(--uv-fs-xs); color: var(--uv-text-muted); }
@media (max-width: 575px) {
    .uv-related-card__thumb { width: 100px; height: 60px; }
}

/* Sidebar — shared across detail + list pages
   ========================================================================== */

.uv-sidebar-section { margin-bottom: 1.25rem; }
.uv-sidebar-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--uv-text-dark);
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--uv-primary);
    margin-bottom: .75rem;
}

/* Category cloud — shared across detail + list pages
   ========================================================================== */

.uv-cat-cloud { display: flex; flex-wrap: wrap; gap: .35rem; }
.uv-cat-cloud a {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .3rem .6rem;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--uv-text);
    background: var(--uv-bg-warm);
    border: 1px solid var(--uv-border);
    transition: all .2s;
}
.uv-cat-cloud a:hover {
    border-color: var(--uv-primary);
    color: var(--uv-text-muted);
    background: #fff;
}
.uv-cat-cloud a sup { font-size: var(--uv-fs-xs); color: var(--uv-primary); font-weight: 700; }

/* GoToTop button (was: Canvas SEMICOLON.initialize.goToTop)
   ========================================================================== */

#gotoTop {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1040;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    text-align: center;
    font-size: 1rem;
    color: #fff;
    background: rgba(0, 0, 0, .35);
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s, opacity .3s;
}

#gotoTop:hover {
    background: rgba(0, 0, 0, .6);
}

/* Push notification toggle — compact icon, expands on hover */
.uv-push-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--uv-border, #dee2e6);
    border-radius: 50%;
    background: #fff;
    color: var(--uv-text-secondary, #555);
    font-size: var(--uv-fs-sm, .875rem);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    transition: background .25s ease, color .25s ease, box-shadow .25s ease,
                border-radius .3s ease, border-color .25s ease,
                padding .3s ease, gap .3s ease;
}
.uv-push-toggle:hover {
    gap: 6px;
    padding: 10px 14px;
    border-radius: 24px;
    background: var(--uv-primary, #0D6EFD);
    color: #fff;
    border-color: var(--uv-primary, #0D6EFD);
    box-shadow: 0 4px 12px rgba(13,110,253,.25);
}
.uv-push-toggle.active {
    color: var(--uv-primary, #0D6EFD);
    border-color: var(--uv-primary, #0D6EFD);
}
.uv-push-toggle.active:hover {
    background: var(--uv-primary, #0D6EFD);
    color: #fff;
}
.uv-push-toggle .uv-push-label {
    display: block;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: max-width .3s ease, opacity .2s ease;
}
.uv-push-toggle:hover .uv-push-label {
    max-width: 200px;
    opacity: 1;
}

/* Subscribe Banner (sidebar CTA)
   ========================================================================== */
.uv-subscribe-banner{position:relative;overflow:hidden;border-radius:var(--uv-radius);background:linear-gradient(135deg,#0D6EFD 0%,#1a1a2e 100%);padding:0}
.uv-subscribe-banner__shimmer{position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.04) 45%,rgba(255,255,255,.08) 50%,rgba(255,255,255,.04) 55%,transparent 70%);background-size:200% 100%;animation:uv-sub-shimmer 4s ease-in-out infinite}
@keyframes uv-sub-shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.uv-subscribe-banner__content{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.6rem;padding:1rem .85rem}
.uv-subscribe-banner__icon{width:2.2rem;height:2.2rem;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#fff;font-size:1rem}
.uv-subscribe-banner__title{font-size:.85rem;font-weight:700;color:#fff;letter-spacing:.02em;line-height:1.3}
.uv-subscribe-banner__desc{font-size:.75rem;color:rgba(255,255,255,.65);line-height:1.35}
.uv-subscribe-banner__cta{display:flex;align-items:center;justify-content:center;gap:.35rem;width:100%;padding:.5rem .75rem;border-radius:6px;background:var(--uv-primary);color:#fff;font-size:.8rem;font-weight:700;text-decoration:none;transition:all .25s;border:none}
.uv-subscribe-banner__cta:hover{background:var(--uv-primary-dark);box-shadow:0 4px 16px rgba(13,110,253,.4);transform:translateY(-1px);color:#fff}
.uv-subscribe-banner__cta i{font-size:.75rem;transition:transform .3s ease}
.uv-subscribe-banner__cta:hover i{transform:translateX(3px)}
@media(prefers-reduced-motion:reduce){.uv-subscribe-banner__shimmer{animation:none}}

/* Quotes History
   ========================================================================== */

.qh-filters{background:var(--uv-bg-warm);border:1px solid var(--uv-border);border-radius:var(--uv-radius);padding:1rem 1.25rem;margin-bottom:1.5rem}
.qh-filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}
.qh-filter-label{font-size:var(--uv-fs-small);color:var(--uv-text-muted);font-weight:500;white-space:nowrap}
.qh-date-group{display:flex;align-items:center;gap:.5rem}
.qh-date-input{width:130px;padding:.35rem .6rem;border:1px solid var(--uv-border);border-radius:var(--uv-radius);font-size:var(--uv-fs-small)}

/* Pill toggle buttons */
.qh-pills{display:flex;flex-wrap:wrap;gap:.35rem}
.qh-pill{display:inline-flex;align-items:center;gap:.3rem;padding:.3rem .7rem;border:1px solid var(--uv-border);border-radius:20px;font-size:var(--uv-fs-small);background:#fff;cursor:pointer;transition:all .2s;user-select:none;color:var(--uv-text)}
.qh-pill:hover{border-color:var(--uv-primary)}
.qh-pill.active{background:var(--uv-primary);color:#fff;border-color:var(--uv-primary)}
.qh-pill-icon{font-size:.75rem}

/* Quick range buttons */
.qh-ranges{display:flex;gap:.25rem}
.qh-range-btn{padding:.25rem .6rem;border:1px solid var(--uv-border);border-radius:4px;font-size:var(--uv-fs-xs);background:#fff;cursor:pointer;transition:all .2s;color:var(--uv-text-muted)}
.qh-range-btn:hover,.qh-range-btn.active{background:var(--uv-primary);color:#fff;border-color:var(--uv-primary)}

/* Submit */
.qh-submit{padding:.4rem 1.2rem;background:var(--uv-primary);color:#fff;border:none;border-radius:var(--uv-radius);font-size:var(--uv-fs-small);cursor:pointer}
.qh-submit:hover{background:var(--uv-primary-dark)}
.qh-submit:disabled{opacity:.5;cursor:not-allowed}

/* Summary cards */
.qh-summary{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.25rem}
.qh-summary-card{flex:1;min-width:140px;padding:.6rem .8rem;border:1px solid var(--uv-border);border-radius:var(--uv-radius);background:var(--uv-bg-warm)}
.qh-summary-label{font-size:var(--uv-fs-xs);color:var(--uv-text-muted)}
.qh-summary-value{font-size:1.1rem;font-weight:600}
.qh-summary-change{font-size:var(--uv-fs-xs)}

/* Content split: chart + table */
.qh-content{display:grid;grid-template-columns:1fr 400px;gap:1.5rem;align-items:start}
@media(max-width:992px){.qh-content{grid-template-columns:1fr}}

/* Chart */
.qh-chart-wrap{border:1px solid var(--uv-border);border-radius:var(--uv-radius);overflow:hidden}
.qh-chart-header{padding:.6rem 1rem;font-size:var(--uv-fs-small);color:var(--uv-text-muted);border-bottom:1px solid var(--uv-border-light);background:var(--uv-bg-warm)}

/* Table */
.qh-table-wrap{border:1px solid var(--uv-border);border-radius:var(--uv-radius);overflow:hidden;max-height:500px;overflow-y:auto}
.qh-table{width:100%;border-collapse:collapse;font-size:var(--uv-fs-small)}
.qh-table thead{position:sticky;top:0;z-index:1}
.qh-table th{background:var(--uv-bg-warm);padding:.5rem .75rem;text-align:right;font-weight:600;border-bottom:2px solid var(--uv-border);font-size:var(--uv-fs-xs);color:var(--uv-text-muted);white-space:nowrap}
.qh-table th:first-child{text-align:left}
.qh-table td{padding:.4rem .75rem;border-bottom:1px solid var(--uv-border-light);text-align:right;font-variant-numeric:tabular-nums}
.qh-table td:first-child{text-align:left;color:var(--uv-text-muted);white-space:nowrap}
.qh-table tbody tr:hover{background:rgba(13,110,253,.04)}

/* Change indicators */
.qh-change{font-size:var(--uv-fs-xs)}
.qh-change.up{color:var(--uv-success)}
.qh-change.down{color:var(--uv-danger)}
