/* 42-v2-today.css — اليوم in the new interface (body.ui-v2, view-today; features/today/): the top with the
   greeting and the eye, the expert bar, the safe-to-spend hero with the cycle strip, ينتظر قرارك, القادم حتى
   الراتب, أين ذهب المال, آخر العمليات, صافي الثروة, and the «كيف حسبنا المتاح؟» sheet (.v2t-sts).
   Matches docs/design/redesign-2026-11/prototype.html (#Main, #SafeSpend). Uses the shared v2 components
   from 40-v2-base.css (.v2-card, .v2-row, .v2-tile, .v2-btn, .v2-amt); only what اليوم adds lives here. */

/* Classic: none of it shows. */
.v2t-hello, #v2t-eye { display: none; }

.ui-v2 #view-today { color: var(--c-text); min-width: 0; max-width: 100%; }
.ui-v2 #view-today .v2-today-top, .ui-v2 .v2t, .ui-v2 .v2t-cols, .ui-v2 .v2t-col { min-width: 0; max-width: 100%; }
/* أهلاً <name> with the profile photo: one tap opens the profile. */
.ui-v2 .v2t-hello {
    display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; padding: 0; border: 0; background: none;
    color: var(--c-text); font: inherit; text-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ui-v2 .v2t-av {
    flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
    background: var(--c-primary); color: #fff; font-size: 18px; font-weight: 700; box-shadow: 0 0 0 2px var(--c-surface), var(--v2-card-ring);
}
.ui-v2 .v2t-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ui-v2 #v2t-eye { display: grid; }
.ui-v2 .v2t-hello__hi { font-size: var(--v2-fs-title); font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The expert bar replaces the expert icon on اليوم. */
.ui-v2 #view-today .v2-today-top [data-click="toggleAIAssistant"] { display: none; }

.ui-v2 .v2t { display: flex; flex-direction: column; }
.ui-v2 .v2t .num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.ui-v2 .v2t-sar { font-size: 11.5px; font-weight: 500; color: var(--c-text-muted); margin-inline-start: 3px; }

/* ── The expert bar ── */
.ui-v2 .v2t-omni {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; margin: 0 0 14px; padding: 0 14px;
    border: 0; border-radius: 16px; background: var(--c-surface); color: var(--c-text-muted); box-shadow: var(--v2-card-ring);
    font: inherit; font-size: 14px; text-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ui-v2 .v2t-omni > i { color: var(--c-primary); font-size: 15px; }
.ui-v2 .v2t-omni__text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── The hero: safe to spend until the salary ── */
.ui-v2 .v2t-hero {
    display: block; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; padding: 16px 16px 14px; border: 0; border-radius: 22px;
    background: var(--c-primary); box-shadow: 0 8px 20px rgba(79,70,229,.22); color: #fff; font: inherit; text-align: start; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ui-v2 .v2t-hero__big, .ui-v2 .v2t-hero__day, .ui-v2 .v2t-hero__note, .ui-v2 .v2t-cyc { display: block; }
.ui-v2 .v2t-hero__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.86); }
.ui-v2 .v2t-hero__how { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: #fff; white-space: nowrap; }
.ui-v2 .v2t-hero__how i { font-size: 11px; }
.ui-v2 .v2t-hero__big { margin-top: 4px; font-size: var(--v2-fs-display); font-weight: 700; line-height: 1.2; letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-v2 .v2t-hero__big small { margin-inline-start: 5px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,.8); }
.ui-v2 .v2t-hero__big.is-negative { color: #FECACA; }
.ui-v2 .v2t-hero__day { margin-top: 2px; font-size: 13px; color: rgba(255,255,255,.88); }
.ui-v2 .v2t-hero__day b { color: #fff; font-weight: 700; }
.ui-v2 .v2t-hero__day .v2t-sar, .ui-v2 .v2t-hero__foot .v2t-sar { color: rgba(255,255,255,.8); }
.ui-v2 .v2t-hero__note { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: #fff; }
.ui-v2 .v2t-hero__cta { margin-top: 14px; background: #fff; border-color: #fff; color: var(--c-primary); }
.ui-v2 .v2t-hero--empty { cursor: default; }

/* ── المتاح: two cards side by side (features/today/hero.js) — swiped or the dots, one shown at a time.
   The track is a scroll-snap row; its padding (taken back by a negative margin, as wide as the page gutter: 6px on phones) keeps the shadow,
   and the gap is wider than that padding, so the other card never peeks in («بطاقة وربع»). ── */
.ui-v2 .v2t-heros { min-width: 0; }
.ui-v2 .v2t-heros__track {
    display: flex; gap: 28px; margin: -6px -6px -26px; padding: 6px 6px 26px;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: 6px;
    overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ui-v2 .v2t-heros__track::-webkit-scrollbar { display: none; }
.ui-v2 .v2t-heros__track > .v2t-hero { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.ui-v2 .v2t-hero--cash { background: #0D6660; box-shadow: 0 8px 20px rgba(13,102,96,.24); }
.ui-v2 .v2t-hero--cash .v2t-hero__cta { color: #0D6660; }
.ui-v2 .v2t-hero__title { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.ui-v2 .v2t-hero__tag { flex: none; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.18); color: #fff; font-size: 11px; font-weight: 600; }
.ui-v2 .v2t-hero__howbtn { min-height: 32px; padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: #fff; cursor: pointer; }
.ui-v2 .v2t-hero__early { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.9); }
.ui-v2 .v2t-hero__early i { color: #A7F3D0; }
.ui-v2 .v2t-hero__early b { color: #fff; }
/* Waiting: the salary has not arrived (or no account yet). */
.ui-v2 .v2t-hero--wait { cursor: default; }
.ui-v2 .v2t-hero__wait { display: block; margin-top: 8px; font-size: 26px; font-weight: 700; line-height: 1.3; }
.ui-v2 .v2t-hero--wait .v2t-hero__note { margin-top: 6px; font-size: 13.5px; color: rgba(255,255,255,.88); }
.ui-v2 .v2t-hero__acts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; }
.ui-v2 .v2t-hero__acts .v2t-hero__cta { margin-top: 0; }
.ui-v2 .v2t-hero__alt { min-height: 44px; padding: 0 2px; border: 0; background: none; color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
/* The dots, inside the card at its bottom: the current one a short pill, the other a dot that goes to it. */
.ui-v2 .v2t-dots { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 12px; }
.ui-v2 .v2t-dots__row { display: flex; align-items: center; gap: 14px; height: 6px; }
/* Each dot sits in a 44px box (taken back by negative margins, so the card does not grow): the dot is ::before. */
.ui-v2 .v2t-dots__d { display: grid; place-items: center; width: 44px; height: 44px; margin: -19px; }
.ui-v2 .v2t-dots__d::before { content: ""; display: block; width: 6px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.42); transition: width var(--mo-base, .2s) ease, background-color var(--mo-base, .2s) ease; }
.ui-v2 .v2t-dots__d.is-on::before { width: 18px; background: #fff; }
.ui-v2 .v2t-dots__d[role="button"] { cursor: pointer; }
.ui-v2 .v2t-dots__d[role="button"]:focus-visible { outline: none; }
.ui-v2 .v2t-dots__d[role="button"]:focus-visible::before { box-shadow: 0 0 0 3px rgba(255,255,255,.5); }
.ui-v2 .v2t-dots__hint { font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,.82); }
.ui-v2 .v2t-heros__track.is-nudge > .v2t-hero { animation: v2tNudge 1.2s cubic-bezier(.3,.7,.3,1) 1; }
@keyframes v2tNudge { 0%, 100% { transform: none; } 35%, 55% { transform: translateX(var(--v2t-nudge, 52px)); } }
[dir="ltr"] .ui-v2 .v2t-heros__track, .ui-v2[dir="ltr"] .v2t-heros__track { --v2t-nudge: -52px; }
@media (prefers-reduced-motion: reduce) { .ui-v2 .v2t-heros__track.is-nudge > .v2t-hero { animation: none; } }

.ui-v2 .v2t-cyc { margin-top: 14px; }
.ui-v2 .v2t-cyc__trk, .ui-v2 .v2t-cyc__dots { display: block; }
.ui-v2 .v2t-cyc__l { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 9px; font-size: 11.5px; color: rgba(255,255,255,.8); white-space: nowrap; }
.ui-v2 .v2t-cyc__l b { color: #fff; font-weight: 600; }
.ui-v2 .v2t-cyc__trk { position: relative; height: 8px; border-radius: 99px; background: rgba(255,255,255,.18); }
.ui-v2 .v2t-cyc__fill { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; border-radius: 99px; background: #FBBF24; }
.ui-v2 .v2t-cyc__fill.is-over { background: #F87171; }
.ui-v2 .v2t-cyc__now { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-inline-start: -1.5px; border-radius: 2px; background: #fff; }
.ui-v2 .v2t-cyc__dots { position: relative; height: 12px; margin-top: 6px; }
.ui-v2 .v2t-cyc__dots i { position: absolute; top: 3px; width: 6px; height: 6px; margin-inline-start: -3px; border-radius: 50%; background: rgba(255,255,255,.65); }
.ui-v2 .v2t-cyc__lg { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: rgba(255,255,255,.82); }
.ui-v2 .v2t-cyc__lg > span { display: inline-flex; align-items: center; gap: 5px; }
.ui-v2 .v2t-cyc__lg em { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: #FBBF24; }
.ui-v2 .v2t-cyc__lg em.is-time { width: 3px; height: 12px; border-radius: 2px; background: #fff; }

.ui-v2 .v2t-hero__foot {
    display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.16); font-size: 12px; color: rgba(255,255,255,.86);
}
.ui-v2 .v2t-hero__foot b { color: #fff; }
.ui-v2 .v2t-pace { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 10px; border-radius: 99px; background: #FEF3C7; color: #92400E; font-size: 11.5px; font-weight: 700; }

/* ── Sections ── */
.ui-v2 .v2t-sec { margin-top: var(--v2-sp-sec); min-width: 0; }
.ui-v2 .v2t-sh { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 4px var(--v2-sp-head); min-height: 24px; }
/* The 44px link keeps its tap area but not its height (see .v2-sec-head). */
.ui-v2 .v2t-sh > :is(button, a) { margin-block: -10px; }
.ui-v2 .v2t-sh__title { margin: 0; font-size: var(--v2-fs-section); font-weight: 700; color: var(--c-text); display: flex; align-items: center; gap: 10px; }
/* The gap sits on the title: the badge is .num (LTR), so its own margin-inline-start would land on the far side. */
.ui-v2 .v2t-cnt {
    display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 8px;
    border-radius: 99px; background: var(--c-danger); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1;
}
.ui-v2 .v2t-link {
    min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--c-primary);
    font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.ui-v2 .v2t-tile--sf { background: #FEF3C7; color: #92400E; }
.ui-v2 .v2t-tile--move { background: var(--money-move-soft); color: var(--amt-transfer); }
.ui-v2 .v2t-tile--ok { background: var(--c-success-soft); color: var(--c-success); }
.ui-v2 .v2t-tile--bad { background: var(--c-danger-soft); color: var(--c-danger); }
.ui-v2 .v2t-pay { flex: none; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--c-surface-2); font-size: 13px; }
.ui-v2 .v2t-empty { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 0; }
.ui-v2 .v2t-empty .v2-row__title, .ui-v2 .v2t-empty .v2-row__sub { white-space: normal; }
.ui-v2 .v2t-more { padding: 10px 0 12px; border-top: 1px solid var(--c-border); font-size: 12.5px; color: var(--c-text-muted); text-align: center; }
.ui-v2 .v2t-error { display: flex; align-items: center; gap: 10px; padding: 14px 16px; margin-top: 14px; color: var(--c-danger); font-size: 14px; }
/* Under the section title (a subtitle), so the cards keep the same gap below them as every section. */
.ui-v2 .v2t-note { display: flex; align-items: flex-start; gap: 8px; margin: -4px 4px var(--v2-sp-head); font-size: 12.5px; line-height: 1.6; color: var(--c-text-muted); }
.ui-v2 .v2t-note > i { margin-top: 4px; color: var(--amt-income); }
.ui-v2 .v2t-note b { color: var(--c-text); font-weight: 700; }
.ui-v2 #view-today .v2-row { min-height: 58px; }

/* القادم حتى الراتب: date cards in a row that scrolls sideways */
.ui-v2 .v2t-hs { display: flex; gap: 10px; overflow-x: auto; padding: 0 0 4px; scrollbar-width: none; }
.ui-v2 .v2t-hs::-webkit-scrollbar { display: none; }
.ui-v2 .v2t-due { flex: none; width: 128px; padding: 12px; border-radius: 18px; background: var(--c-surface); box-shadow: var(--v2-card-ring); display: flex; flex-direction: column; }
.ui-v2 .v2t-due__d { font-size: 12.5px; font-weight: 600; color: var(--c-text-muted); }
.ui-v2 .v2t-due__d b { font-size: 20px; font-weight: 700; color: var(--c-text); }
.ui-v2 .v2t-due__w { font-size: 11.5px; color: var(--c-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-v2 .v2t-due__t { display: flex; align-items: center; gap: 6px; margin-top: 10px; min-width: 0; font-size: 13px; font-weight: 600; }
.ui-v2 .v2t-due__t > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-v2 .v2t-due__t > i { flex: none; color: var(--c-text-muted); }
.ui-v2 .v2t-due__a { margin-top: 2px; font-size: 15px; font-weight: 700; white-space: nowrap; }
/* The salary: a white card with a green edge, so it reads as income and never melts into the page. */
.ui-v2 .v2t-due.is-pay { background: var(--c-surface); box-shadow: inset 0 0 0 1.5px rgba(5,150,105,.45), var(--v2-card-ring); }
.ui-v2 .v2t-due.is-pay .v2t-due__t > i { color: var(--amt-income); }
.ui-v2 .v2t-due.is-pay .v2t-due__a { color: var(--amt-income); }

/* أين ذهب المال: a category against its limit */
.ui-v2 .v2t-cat { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.ui-v2 .v2t-cat + .v2t-cat { border-top: 1px solid var(--c-border); }
.ui-v2 .v2t-cat__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ui-v2 .v2t-cat__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; }
.ui-v2 .v2t-cat__v { flex: none; font-size: 12.5px; color: var(--c-text-muted); white-space: nowrap; }
.ui-v2 .v2t-cat__v b { font-size: 14px; font-weight: 700; color: var(--c-text); }
.ui-v2 .v2t-bar { display: block; height: 8px; border-radius: 99px; background: var(--c-surface-2); overflow: hidden; }
.ui-v2 .v2t-bar > span { display: block; height: 100%; border-radius: 99px; background: #334155; }
.ui-v2 .v2t-bar > span.is-over { background: var(--amt-over); }
.ui-v2 .v2t-cat__w { margin-top: 5px; font-size: 12px; color: var(--c-text-muted); }
.ui-v2 .v2t-cat__w.is-over { color: var(--amt-over); font-weight: 600; }
.ui-v2 .v2t-cat__w.is-over .v2t-sar { color: inherit; }

/* آخر العمليات: amounts */
.ui-v2 #view-today .v2-row__end.v2-amt { font-size: var(--v2-fs-body); }

/* صافي الثروة */
.ui-v2 .v2t-nw { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px; border: 0; font: inherit; color: var(--c-text); text-align: start; cursor: pointer; }
.ui-v2 .v2t-nw__v { display: block; margin: 2px 0; font-size: 20px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── «كيف حسبنا المتاح؟» (inside the shared window) ── */
.ui-v2 .v2t-sts .num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.ui-v2 .v2t-sts__big { font-size: 32px; font-weight: 700; line-height: 1.2; color: var(--c-primary); white-space: nowrap; }
.ui-v2 .v2t-sts__big .v2t-sar { font-size: 14px; }
.ui-v2 .v2t-sts__big.is-negative { color: var(--amt-over); }
.ui-v2 .v2t-sts__sub { font-size: 13.5px; color: var(--c-text-muted); }
.ui-v2 .v2t-sts__sub b { color: var(--c-text); }
.ui-v2 .v2t-sts__bar { display: flex; gap: 3px; height: 14px; margin-top: 16px; }
.ui-v2 .v2t-sts__bar > span { display: block; height: 100%; min-width: 4px; border-radius: 5px; }
.ui-v2 .v2t-sts__rows { margin-top: 16px; }
.ui-v2 .v2t-sts__r { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--c-border); }
.ui-v2 .v2t-sts__r em { flex: none; width: 12px; height: 12px; border-radius: 4px; }
.ui-v2 .v2t-sts__g { flex: 1; min-width: 0; }
.ui-v2 .v2t-sts__g b { display: block; font-size: 14.5px; font-weight: 600; }
.ui-v2 .v2t-sts__g small { display: block; font-size: 12px; color: var(--c-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-v2 .v2t-sts__r strong { flex: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
.ui-v2 .v2t-sts__tot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; padding: 14px 16px; border-radius: 16px; background: var(--c-primary-soft); color: var(--c-primary); }
.ui-v2 .v2t-sts__tot b { font-size: 15.5px; font-weight: 700; }
.ui-v2 .v2t-sts__tot strong { font-size: 20px; font-weight: 700; }
.ui-v2 .v2t-sts__eq { margin: 8px 4px 0; font-size: 12.5px; color: var(--c-text-muted); }
.ui-v2 .v2t-sts__info { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--c-surface-2); font-size: 13px; line-height: 1.65; }
.ui-v2 .v2t-sts__info i { margin-top: 4px; color: var(--c-text-muted); }
.ui-v2 .v2t-sts__ok { width: 100%; margin-top: 18px; }

/* The cash card's sheet takes its colour; a sum the user changed says so. */
.ui-v2 .v2t-sts--cash .v2t-sts__big { color: #0D6660; }
.ui-v2 .v2t-sts--cash .v2t-sts__tot { background: color-mix(in srgb, #0D6660 12%, var(--c-surface)); color: #0D6660; }
.ui-v2 .v2t-sts__tag { display: inline-block; margin-inline-start: 10px; padding: 3px 10px; border-radius: 99px; background: var(--c-surface-2); color: var(--c-text-muted); font-size: 12px; font-weight: 600; vertical-align: middle; }
.ui-v2 .v2t-sts__wait { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: var(--c-warning-soft, #FEF3C7); color: #92400E; font-size: 13px; }
/* A line left out: faded and struck through, never hidden. */
.ui-v2 .v2t-sts__r.is-off b, .ui-v2 .v2t-sts__it.is-off b, .ui-v2 .v2t-sts__r.is-off strong, .ui-v2 .v2t-sts__it.is-off strong { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--c-text-muted); }
.ui-v2 .v2t-sts__r.is-off em, .ui-v2 .v2t-sts__r.is-off small, .ui-v2 .v2t-sts__it.is-off small { opacity: .55; }
/* Edit mode: a switch on each line; a group's items under it, indented on a soft panel. */
.ui-v2 .v2t-sts__sw { margin-inline-start: 2px; }
.ui-v2 .v2t-sts__grp { border-top: 1px solid var(--c-border); padding-bottom: 10px; }
.ui-v2 .v2t-sts__grp > .v2t-sts__r.is-head { border-top: 0; }
.ui-v2 .v2t-sts__it { display: flex; align-items: center; gap: 12px; min-height: 56px; margin-inline-start: 24px; padding: 8px 12px; background: var(--c-surface-2); }
.ui-v2 .v2t-sts__it + .v2t-sts__it { border-top: 1px solid var(--c-border); }
.ui-v2 .v2t-sts__grp .v2t-sts__it:first-of-type, .ui-v2 .v2t-sts__seg + .v2t-sts__it { border-start-start-radius: 14px; border-start-end-radius: 14px; }
.ui-v2 .v2t-sts__grp .v2t-sts__it:last-of-type { border-end-start-radius: 14px; border-end-end-radius: 14px; }
.ui-v2 .v2t-sts__it strong { flex: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.ui-v2 .v2t-sts__it .v2t-sts__g b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-v2 .v2t-sts__none { margin-inline-start: 24px; padding: 12px 14px; border-radius: 14px; background: var(--c-surface-2); color: var(--c-text-muted); font-size: 13px; }
.ui-v2 .v2t-sts__seg { margin: 0 0 10px 0; margin-inline-start: 24px; }
.ui-v2 .v2t-sts__seg > * { min-height: 40px; font-size: 13px; }
.ui-v2 .v2t-sts__seg > label { position: relative; }
.ui-v2 .v2t-sts__seg > label > input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ui-v2 .v2t-sts__seg > label:has(input:checked) { background: var(--c-surface); color: var(--c-text); box-shadow: var(--el-1); }
.ui-v2 .v2t-sts__warn { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; margin-inline-start: 24px; font-size: 12.5px; color: #B45309; }
.ui-v2 .v2t-sts__lnk { padding: 0; border: 0; background: none; font: inherit; color: var(--c-primary); font-weight: 600; cursor: pointer; }
.ui-v2 .v2t-sts__del { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--c-surface-2); color: var(--c-text-muted); cursor: pointer; }
.ui-v2 .v2t-sts__addrow { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin: 8px 0 14px; border: 1.5px dashed var(--c-primary-line, #C7D2FE); border-radius: 16px; background: none; color: var(--c-primary); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ui-v2 .v2t-sts__form { margin: 8px 0 14px; padding: 14px; border-radius: 18px; background: var(--c-surface-2); }
.ui-v2 .v2t-sts__form .v2t-sts__seg { margin: 0 0 14px; }
.ui-v2 .v2t-sts__form .v2t-sts__seg > label { background: none; }
.ui-v2 .v2t-sts__form .v2t-sts__seg > label:has(input:checked) { background: var(--c-surface); }
.ui-v2 .v2t-sts__err:empty { display: none; }
.ui-v2 .v2t-sts__err { margin: -4px 0 10px; color: var(--c-danger); font-size: 13px; }
.ui-v2 .v2t-sts__acts { display: flex; gap: 10px; margin-top: 18px; }
.ui-v2 .v2t-sts__acts > .v2-btn { flex: 1; }
.ui-v2 .v2t-sts__form .v2t-sts__acts { margin-top: 4px; }
.ui-v2 .v2t-sts__edit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ui-v2 .v2t-sts__reset { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 8px; border: 0; background: none; color: var(--c-text-muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.ui-v2 .v2t-sts__reset.is-confirm { color: var(--c-danger); }
/* «هل هذا الإيداع دخل؟» in ينتظر قرارك */
.ui-v2 .v2t-ask__tile { background: var(--c-success-soft, #DCFCE7); color: var(--c-success, #15803D); }
.ui-v2 .v2t-ask__btns { flex: none; display: flex; gap: 6px; }
.ui-v2 .v2t-ask__yes { background: var(--c-primary-soft); color: var(--c-primary); }

/* ── Phone: the top row — greeting and date on the start side, the round buttons together on the end ── */
@media (max-width: 768px) {
    .ui-v2 #view-today .v2-today-top { gap: 8px; padding: 6px 2px 12px; }
    .ui-v2 #view-today .v2-today-top .v2-icon-btn { border-radius: 50%; font-size: 17px; }
}

/* ── Desktop: the top without ☰ (the sidebar has القائمة), sections in two columns ── */
@media (min-width: 769px) {
    .ui-v2 #view-today .v2-today-top { display: flex; align-items: center; gap: 10px; padding: 4px 0 14px; }
    .ui-v2 #view-today { max-width: 1100px; }
}
@media (min-width: 1024px) {
    .ui-v2 .v2t-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
}
