/* 48-v2-menu.css — the new interface (body.ui-v2), phase 8: القائمة, سياراتي, وثائق الضمان, الإعدادات, الخبير;
   and التوقعات والخطة (phase 9 follow-up, features/projections/v2-view.js).
   Plan: docs/plans/2026-11-ui-redesign.md · design: docs/design/redesign-2026-11/prototype.html (#More #Cars #Warranty #Settings #Expert).
   Every rule is scoped to .ui-v2. Shared components come from 40-v2-base.css (never restyled here). */

/* ── القائمة ── */
/* القائمة (#view-menu, features/menu/menu.js): the account card, live sub-lines, sign-out and delete. */
.ui-v2 .v2m-group[hidden] { display: none; }
.ui-v2 #view-menu .v2m-me { padding: 6px 16px; }
.ui-v2 .v2m-me .v2-row { min-height: 68px; }
.ui-v2 .v2m-av { width: 52px; height: 52px; border-radius: 50%; font-size: 20px; }
.ui-v2 .v2m-sub--ok { color: var(--c-success); font-weight: 600; }
.ui-v2 .v2m-sub--warn { color: #92400e; font-weight: 600; }   /* same amber text as .v2-pill--warn */
.ui-v2 .v2m-sub--bad { color: var(--c-danger); font-weight: 600; }
.ui-v2 .v2m-out { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.ui-v2 .v2m-delete {
    min-height: 44px; border: 0; background: none; color: var(--c-danger);
    font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
/* Small text links to privacy.html and delete-account.html (features/menu/menu.js openLegalPage). */
.ui-v2 .v2m-legal { margin: 4px 0 0; text-align: center; font-size: 13px; line-height: 1.8; color: var(--c-text-muted); }
.ui-v2 .v2m-legal a { color: var(--c-text-muted); text-decoration: underline; text-underline-offset: 3px; padding: 6px 2px; }
.ui-v2 #view-menu .v2-row:focus-visible,
.ui-v2 .v2m-delete:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: 12px; }

/* ── سياراتي ── */
.ui-v2 .v2c-page, .ui-v2 .v2w-page { color: var(--c-text); }
.ui-v2 .v2c-page > .v2-card, .ui-v2 .v2w-page > .v2-card { margin: 0; }
.ui-v2 .v2c-page > .v2-chips, .ui-v2 .v2w-page > .v2-chips { margin-top: 8px; }
.ui-v2 .v2c-empty, .ui-v2 .v2w-empty { margin-top: 12px !important; padding: 24px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ui-v2 .v2c-empty p, .ui-v2 .v2w-empty p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--c-text-muted); }
.ui-v2 .v2c-empty .v2-btn, .ui-v2 .v2w-empty .v2-btn { align-self: stretch; }
.ui-v2 .v2c-chip__name { display: inline-block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.ui-v2 .v2c-hero { margin-top: 12px !important; padding: 18px; border-radius: 24px; }
.ui-v2 .v2c-hero__k { font-size: 13px; color: var(--c-text-muted); }
.ui-v2 .v2c-hero__odo { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.ui-v2 .v2c-hero__odo b { font-size: 30px; font-weight: 800; line-height: 1.15; color: var(--c-text); }
.ui-v2 .v2c-hero__odo span { font-size: 14px; color: var(--c-text-muted); }
.ui-v2 .v2c-hero__odo--none { font-size: 18px; font-weight: 700; color: var(--c-text-muted); padding: 6px 0; }
.ui-v2 .v2c-hero__sub { font-size: 13px; color: var(--c-text-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-v2 .v2c-hero__sold { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--c-text-muted); }
.ui-v2 .v2c-hero__acts { display: flex; gap: 8px; margin-top: 12px; }
.ui-v2 .v2c-soft-btn, .ui-v2 .v2w-soft-btn {
    flex: 1; min-height: 44px; padding: 0 10px; border: 0; border-radius: 14px; background: var(--c-primary-soft); color: var(--c-primary);
    font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ui-v2 .v2c-soft-btn:active, .ui-v2 .v2w-soft-btn:active { transform: scale(.98); }
.ui-v2 .v2c-alert { margin-top: 12px !important; padding: 14px 16px; display: flex; gap: 10px; align-items: flex-start; background: var(--c-warning-soft); color: #92400e; font-size: 13.5px; line-height: 1.7; }
.ui-v2 .v2c-alert > i { margin-top: 4px; }
.ui-v2 .v2c-tile--warn, .ui-v2 .v2w-tile--warn { background: var(--c-warning-soft); color: #92400e; }
.ui-v2 .v2c-muted, .ui-v2 .v2w-muted { margin: 0 6px; font-size: 13.5px; color: var(--c-text-muted); }
.ui-v2 .v2c-muted--in { margin: 0 0 12px; font-size: 12.5px; }
.ui-v2 .v2c-part { padding: 12px 0; }
.ui-v2 .v2c-part + .v2c-part { border-top: 1px solid var(--c-border); }
.ui-v2 .v2c-part__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ui-v2 .v2c-part__head b { font-size: 14.5px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-v2 .v2c-part__head small { flex: none; font-size: 12.5px; color: var(--c-text-muted); }
.ui-v2 .v2c-bar { height: 6px; margin-top: 8px; border-radius: 99px; background: var(--c-surface-2); overflow: hidden; }
.ui-v2 .v2c-bar > span { display: block; height: 100%; border-radius: 99px; background: var(--c-primary); }
.ui-v2 .v2c-bar--warn > span { background: #fbbf24; }
.ui-v2 .v2c-bar--bad > span { background: var(--c-danger); }
.ui-v2 .v2c-part__none { display: block; margin-top: 4px; font-size: 11.5px; color: var(--c-text-muted); }
.ui-v2 .v2c-costs-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 24px 6px 8px; }
.ui-v2 .v2c-costs-head__title { margin: 0; font-size: 13px; font-weight: 700; color: var(--c-text-muted); }
.ui-v2 .v2c-seg { flex: none; }
.ui-v2 .v2c-costs-range { margin: -4px 6px 8px; font-size: var(--v2-fs-sub); color: var(--c-text-muted); }
.ui-v2 .v2c-seg > * { flex: none; padding: 0 12px; font-size: 12.5px; }
.ui-v2 .v2c-cost-row { cursor: default; }
.ui-v2 button.v2c-cost-row--open { cursor: pointer; }
.ui-v2 .v2c-cost-row--open .v2-row__chev { font-size: 11px; margin-inline-start: -4px; }
.ui-v2 .v2c-costs > .v2-row + .v2-row, .ui-v2 .v2c-costs > .v2c-subs + .v2-row { border-top: 1px solid var(--c-border); }
.ui-v2 .v2c-subs { list-style: none; margin: -4px 0 10px; padding: 0; padding-inline-start: 52px; display: flex; flex-direction: column; gap: 6px; }
.ui-v2 .v2c-subs li { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--c-text); }
.ui-v2 .v2c-subs li > span { flex: none; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-v2 .v2c-subs li > small { flex: 1; min-width: 0; font-size: 12px; color: var(--c-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-v2 .v2c-subs li > b { flex: none; font-weight: 600; white-space: nowrap; }
.ui-v2 .v2c-total { display: flex; justify-content: space-between; gap: 8px; padding: 12px 0; border-top: 1px solid var(--c-border); font-weight: 700; }
.ui-v2 .v2c-loan { margin-top: 10px !important; }
.ui-v2 .v2c-row--danger .v2-row__title, .ui-v2 .v2c-row--danger .v2-tile { color: var(--c-danger); }
.ui-v2 .v2c-row--danger .v2-tile { background: var(--c-danger-soft); }
/* The phone page has a 6px edge; the v2 sub-pages use a 16px gutter (prototype). */
@media (max-width: 768px) {
    .ui-v2 .v2c-page, .ui-v2 .v2w-page { padding-inline: 10px; }
}
@media (min-width: 769px) {
    .ui-v2 .v2c-page, .ui-v2 .v2w-page { max-width: 720px; margin-inline: auto; }
}

/* «قد تخص سيارتك»: a few rows, each with «اربطها» and × */
.ui-v2 .v2c-sugs { padding: 4px 16px; }
.ui-v2 .v2c-sug { display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 8px 0; }
.ui-v2 .v2c-sug + .v2c-sug { border-top: 1px solid var(--c-border); }
.ui-v2 .v2c-sug .v2-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.ui-v2 .v2c-sug .v2-row__title { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-v2 .v2c-sug__link { flex: none; min-height: 36px; padding: 0 12px; font-size: 13px; }
.ui-v2 .v2c-sug__x { flex: none; width: 36px; height: 36px; min-width: 36px; color: var(--c-text-muted); }
.ui-v2 .v2c-sugs__note { margin: 0; padding: 8px 0 10px; border-top: 1px solid var(--c-border); font-size: var(--v2-fs-sub); line-height: 1.6; color: var(--c-text-muted); }
.ui-v2 .v2c-sugs__more { display: block; font-weight: 600; }

/* «سجل المصاريف»: chips by kind, months, rows; invoices have «الفاتورة» and «تنزيل» under the row */
.ui-v2 .v2c-log-head .v2-group-title { flex: 1; min-width: 0; margin: 0; }
.ui-v2 .v2c-chip-n { margin-inline-start: 2px; font-size: 12px; font-weight: 600; }
/* Filter cards: a soft colour per kind; the chosen card fills with the primary colour */
.ui-v2 .v2c-kinds {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
    margin: 0 -10px; padding: 2px 10px 6px;
}
.ui-v2 .v2c-kinds::-webkit-scrollbar { display: none; }
.ui-v2 .v2c-kind {
    --k: var(--c-primary); --k-soft: var(--c-primary-soft);
    flex: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    min-width: 92px; padding: 10px 12px; border: 0; border-radius: 18px; background: var(--c-surface);
    box-shadow: var(--v2-card-ring); color: var(--c-text); font: inherit; text-align: start; cursor: pointer;
    transition: transform .15s ease, background-color .15s ease;
}
.ui-v2 .v2c-kind:active { transform: scale(.97); }
.ui-v2 .v2c-kind__icon {
    display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px;
    background: var(--k-soft); color: var(--k); font-size: 13px;
}
.ui-v2 .v2c-kind__name { font-size: 12.5px; font-weight: 600; color: var(--c-text-muted); white-space: nowrap; }
.ui-v2 .v2c-kind__val { font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.ui-v2 .v2c-kind__val small { font-size: 11px; }
.ui-v2 .v2c-kind--fuel { --k: #b45309; --k-soft: #fef3c7; }
.ui-v2 .v2c-kind--wash { --k: #0369a1; --k-soft: #e0f2fe; }
.ui-v2 .v2c-kind--service { --k: #4338ca; --k-soft: #e0e7ff; }
.ui-v2 .v2c-kind--repair { --k: #b91c1c; --k-soft: #fee2e2; }
.ui-v2 .v2c-kind--other { --k: #0f766e; --k-soft: #ccfbf1; }
.ui-v2 .v2c-kind--files { --k: #475569; --k-soft: #e2e8f0; }
.ui-v2 .v2c-kind.is-on { background: var(--c-primary); box-shadow: 0 6px 16px -8px var(--c-primary); color: #fff; }
.ui-v2 .v2c-kind.is-on .v2c-kind__name { color: rgba(255,255,255,.92); }
.ui-v2 .v2c-kind.is-on .v2c-kind__icon { background: rgba(255,255,255,.2); color: #fff; }

.ui-v2 .v2c-log-card { padding: 4px 16px; }
.ui-v2 .v2c-log-card > * + * { border-top: 1px solid var(--c-border); }
.ui-v2 .v2c-log-row { min-height: 58px; padding: 8px 0; width: 100%; }
.ui-v2 .v2c-log-row .v2-row__text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.ui-v2 .v2c-log-row .v2-row__title { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-v2 .v2c-log-meta { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-v2 .v2c-log-tile { width: 38px; height: 38px; border-radius: 14px; overflow: hidden; }
.ui-v2 .v2c-log-tile img { width: 100%; height: 100%; object-fit: cover; }
.ui-v2 .v2c-log-row--open .v2-tile { background: var(--c-warning-soft); color: var(--c-warning); }
.ui-v2 .v2c-log-item { display: flex; align-items: center; gap: 12px; }
.ui-v2 .v2c-log-item > .v2c-log-row { flex: 1; min-width: 0; }
.ui-v2 .v2c-log-tile--file { position: relative; flex: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.ui-v2 .v2c-log-tile--file::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px var(--c-primary-light, var(--c-primary));
}
.ui-v2 .v2c-dl {
    flex: none; width: 36px; height: 36px; margin-inline-start: -4px; border: 0; border-radius: 12px;
    background: var(--c-surface-2); color: var(--c-primary); font-size: 13px; cursor: pointer;
}
.ui-v2 .v2c-dl:active { transform: scale(.95); }
.ui-v2 .v2c-log-empty { display: flex; align-items: flex-start; gap: 12px; padding: 16px; }
.ui-v2 .v2c-log-empty p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--c-text-muted); }
.ui-v2 .v2c-pick .v2-card { margin: 0 0 12px; }
.ui-v2 .v2c-pick-on { color: var(--c-primary); font-size: 18px; }
.ui-v2 .v2c-pick-open { width: 100%; }

/* ── وثائق الضمان ── */
.ui-v2 .v2w-soon { margin-top: 12px !important; padding: 16px; }
.ui-v2 .v2w-soon__top { display: flex; align-items: center; gap: 12px; }
.ui-v2 .v2w-soon__text { margin: 12px 0 0; font-size: 13px; line-height: 1.7; color: var(--c-text); }
.ui-v2 .v2w-acts { display: flex; gap: 8px; margin-top: 12px; }
.ui-v2 .v2w-soft-btn--plain { background: var(--c-surface-2); color: var(--c-text); }
.ui-v2 .v2w-tile--muted { background: var(--c-surface-2); color: var(--c-text-muted); }
.ui-v2 .v2w-muted { margin-top: 24px; text-align: center; }
.ui-v2 .v2w-facts { display: flex; flex-direction: column; margin-bottom: 14px; }
.ui-v2 .v2w-fact { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 14px; }
.ui-v2 .v2w-fact + .v2w-fact { border-top: 1px solid var(--c-border); }
.ui-v2 .v2w-fact > span { color: var(--c-text-muted); flex: none; }
.ui-v2 .v2w-fact > b { font-weight: 600; text-align: end; min-width: 0; overflow-wrap: anywhere; }
.ui-v2 .v2w-sheet__btns { display: flex; flex-direction: column; gap: 8px; }

/* ── الإعدادات ── */
/* الإعدادات (#view-settings, features/menu/settings.js): rows with a value, info rows and the switch.
   Switch: <label class="v2-row" for=…> title… <span class="v2-switch"><input type="checkbox" role="switch">
   <span class="v2-switch__track"></span></span></label> — the whole row flips it. Off = grey, knob at the
   start (right in RTL); on = primary, knob at the end. */
.ui-v2 .v2s-val { font-size: 14.5px; font-weight: 700; color: var(--c-text); white-space: nowrap; }
.ui-v2 .v2s-info { cursor: default; }
.ui-v2 .v2s-switch-row { min-height: 60px; }
.ui-v2 .v2s-switch-row.is-disabled { cursor: default; }
.ui-v2 .v2s-switch-row.is-disabled .v2-row__text { opacity: .55; }
.ui-v2 .v2s-foot { font-size: 12.5px; color: var(--c-text-muted); margin: 10px 6px 0; line-height: 1.6; }

.ui-v2 .v2-switch { position: relative; flex: none; display: inline-flex; width: 51px; height: 31px; }
.ui-v2 .v2-switch > input {
    position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0;
    opacity: 0; cursor: pointer;
}
.ui-v2 .v2-switch > input:disabled { cursor: default; }
.ui-v2 .v2-switch__track {
    position: relative; width: 51px; height: 31px; border-radius: var(--radius-pill);
    background: var(--c-border-strong); transition: background-color var(--mo-fast) var(--ease-out);
}
.ui-v2 .v2-switch__track::after {
    content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 27px; height: 27px;
    border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .25);
    transition: inset-inline-start var(--mo-fast) var(--ease-out);
}
.ui-v2 .v2-switch > input:checked + .v2-switch__track { background: var(--c-primary); }
.ui-v2 .v2-switch > input:checked + .v2-switch__track::after { inset-inline-start: 22px; }
.ui-v2 .v2-switch > input:focus-visible + .v2-switch__track { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.ui-v2 .v2-switch > input:disabled + .v2-switch__track { opacity: .5; }
.ui-v2 #view-settings .v2-row:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: 12px; }
@media (min-width: 769px) { .ui-v2 #view-settings { max-width: 720px; } }

/* ── الخبير ── */
/* الخبير (#ai-modal under .ui-v2, features/menu/expert.js): a full page on phones, the floating panel
   on desktop. Header: back, avatar, title and «يقرأ بياناتك فقط». */
.v2x-back, .v2x-av, .v2x-title, .v2x-sub { display: none; }          /* shown by the .ui-v2 rules below */

.ui-v2 .ai-modal { background: var(--c-bg); }
.ui-v2 .ai-modal-header { padding: 12px 16px 10px; background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.ui-v2 .v2x-head { flex: 1; min-width: 0; }
.ui-v2 .v2x-head__text { flex: 1; min-width: 0; }
.ui-v2 .v2x-back { background: var(--c-surface-2); }
.ui-v2 .v2x-av {
    display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
    background: var(--c-primary-soft); color: var(--c-primary); font-size: 18px;
}
.ui-v2 .v2x-title { display: block; margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--c-text); }
.ui-v2 .v2x-sub { display: block; font-size: 12px; line-height: 1.5; color: var(--c-text-muted); }

/* Messages */
.ui-v2 .ai-modal-body #assistant-content { padding: 0; }
.ui-v2 .ai-modal-body #chat-messages.v2x-chat { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.ui-v2 .v2x-day {
    align-self: center; padding: 2px 10px; border-radius: var(--radius-pill);
    background: var(--c-surface-2); color: var(--c-text-muted); font-size: 12px;
}
.ui-v2 .v2x-chat .chat-msg { font-size: 15px; line-height: 1.7; padding: 10px 14px; border-radius: 18px; overflow-wrap: anywhere; }
.ui-v2 .v2x-chat .chat-user {
    align-self: flex-end; max-width: 80%; background: var(--c-primary); color: #fff;
    border-end-end-radius: 6px;
}
.ui-v2 .v2x-chat .chat-assistant {
    align-self: flex-start; max-width: 85%; padding: 12px 14px; background: var(--c-surface); color: var(--c-text);
    border: 1px solid var(--c-border); border-end-start-radius: 6px;
}
.ui-v2 .v2x-chat .chat-assistant.u-c-danger { color: var(--c-danger); }
.ui-v2 .v2x-chat .chat-assistant > .fa-robot { display: none; }

/* Suggestions (askAssistant hides them inline after the first question: under v2 they stay) */
.ui-v2 .ai-modal-body #chat-quick-wrapper.v2x-sug { display: flex !important; flex: none; padding: 4px 16px 10px; }
.ui-v2 .ai-modal-body #chat-suggest-toggle { display: none !important; }

/* Input bar: camera, field, send */
.ui-v2 .ai-modal-body #chat-form.v2x-inp {
    display: flex; align-items: center; gap: 8px; flex: none; position: static;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--c-surface); border-top: 1px solid var(--c-border);
}
.ui-v2 .v2x-cam { background: var(--c-surface-2); color: var(--c-text); }
.ui-v2 .v2x-field {
    flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 0; border-radius: 24px;
    background: var(--c-surface-2); color: var(--c-text); font: inherit; font-size: 16px;
}
.ui-v2 .v2x-field::placeholder { color: var(--c-text-muted); }
.ui-v2 .v2x-send {
    flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center;
    background: var(--c-primary); color: var(--c-on-primary); font-size: 18px; cursor: pointer;
}
.ui-v2 .v2x-send:active, .ui-v2 .v2x-cam:active { transform: scale(.96); }
.ui-v2 .v2x-field:focus-visible,
.ui-v2 .v2x-send:focus-visible,
.ui-v2 .v2x-cam:focus-visible,
.ui-v2 .v2x-back:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* Phones: a full-screen page; the bottom bar steps aside while it is open. */
@media (max-width: 768px) {
    .ui-v2 .ai-modal { top: 0; bottom: 0; border-radius: 0; box-shadow: none; padding-top: env(safe-area-inset-top, 0px); }
    .ui-v2 .ai-modal::before { display: none; }
    .ui-v2.ai-modal-open .v2-nav { display: none !important; }
}
/* end الخبير */

/* ── التوقعات والخطة (#view-forecast): the 12-month plan (matrix.js) and the wealth chart (chart.js) in v2 cards ── */
.ui-v2 .v2f-page { color: var(--c-text); }
.ui-v2 .v2f-page > .v2-card { margin: 0; }
.ui-v2 .v2f-lead { margin: 0 6px 4px; font-size: 13px; line-height: 1.7; color: var(--c-text-muted); }
.ui-v2 .v2f-title-sub { font-weight: 600; }
.ui-v2 .v2f-empty { margin-top: 12px !important; padding: 24px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ui-v2 .v2f-empty p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--c-text-muted); }
.ui-v2 .v2f-empty .v2-btn { align-self: stretch; }
.ui-v2 .v2f-hint { margin-top: 12px !important; padding: 12px 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; background: var(--c-warning-soft); color: #92400e; font-size: 13.5px; line-height: 1.6; }
.ui-v2 .v2f-link {
    min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--c-primary);
    font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.ui-v2 .v2f-hint .v2f-link { color: #92400e; margin-inline-start: auto; }
.ui-v2 .v2f-matrix { padding: 0; overflow: hidden; }
.ui-v2 .v2f-matrix .matrix-desktop { max-height: 500px; overflow: auto; }
.ui-v2 .v2f-matrix .matrix-table { border-collapse: collapse; }
.ui-v2 .v2f-chips { flex-wrap: wrap; overflow: visible; margin-bottom: 8px; }
.ui-v2 .v2f-chart-card { padding: 16px 12px; }
.ui-v2 .v2f-chart { position: relative; height: 300px; }
.ui-v2 .v2f-note { margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: var(--c-warning-soft); color: #92400e; font-size: 12.5px; line-height: 1.7; }
.ui-v2 .v2f-note .v2f-link { color: #92400e; min-height: 36px; }
.ui-v2 .v2f-link:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: 8px; }
@media (max-width: 768px) {
    .ui-v2 .v2f-page { padding-inline: 10px; }
}
@media (min-width: 769px) {
    .ui-v2 .v2f-page { max-width: 720px; margin-inline: auto; }
    .ui-v2 .v2f-chart { height: 380px; }
}
