/* Approved role dashboards; HOA composition stays in Novara. */
.nv-main:has(.nv-role-dashboard) { max-width:none; padding:30px clamp(18px,3vw,46px); }
.nv-role-dashboard { max-width:1560px; margin:0 auto; }
.nv-role-heading { display:flex; justify-content:space-between; gap:22px; align-items:start; margin-bottom:26px; }
.nv-role-heading h1 { font:600 clamp(26px,2.6vw,36px)/1.15 var(--disp); letter-spacing:-.7px; margin:7px 0; }
.nv-role-heading time { color:var(--soft); font-size:12px; padding-top:9px; }
.nv-role-subtitle { color:var(--soft); margin:6px 0 0; font-size:14px; line-height:1.6; }
.nv-role-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); align-items:start; gap:20px; margin-top:20px; }
.nv-role-grid > * { min-width:0; }
.nv-role-heading > div { min-width:0; }
.nv-role-quick-actions { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:20px; }
.nv-role-heading h1 { overflow-wrap:anywhere; }
.nv-role-dashboard .nv-linkbtn { display:inline-flex; align-items:center; min-height:44px; min-width:44px; font-size:14px; }
/* Configurable dashboard widgets (PR 2): the date and the "Editar tablero" button share the heading's right side; edit mode
   wraps every widget in a dashed slot with a header bar whose move/hide buttons are 44 px targets (the one-handed phone). */
.nv-role-heading__side { display:flex; flex-direction:column; align-items:flex-end; gap:8px; flex-shrink:0; }
.nv-dash-edit__open { min-height:44px; }
.nv-dash-edit__status { margin:0; max-width:36ch; text-align:right; }
.nv-dash-edit__status:empty { display:none; }
.nv-dash-edit { margin-bottom:20px; }
.nv-dash-edit h2 { margin:0 0 6px; }
.nv-dash-edit__actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.nv-dash-edit__actions .nv-btn { min-height:44px; }
.nv-dash-edit__slot { position:relative; border:1.5px dashed var(--line); border-radius:12px; padding:10px; margin-bottom:16px; min-width:0; transition:opacity .15s ease, border-color .15s ease; }
.nv-role-grid > .nv-dash-edit__slot { margin-bottom:0; }
.nv-dash-edit__slot:has(> .nv-role-wide) { grid-column:1 / -1; }
.nv-dash-edit__slot--hidden { background:var(--card2); margin-bottom:12px; }
.nv-dash-edit__bar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 12px; }
.nv-dash-edit__slot:not(.nv-dash-edit__slot--hidden) > .nv-dash-edit__bar { margin-bottom:10px; }
.nv-dash-edit__name { font-weight:600; }
.nv-dash-edit__state { color:var(--soft); font-weight:400; }
.nv-dash-edit__controls { display:flex; flex-wrap:wrap; gap:8px; }
.nv-dash-edit__move, .nv-dash-edit__toggle { min-height:44px; min-width:44px; }
.nv-dash-edit__locked { margin:0; }
/* PR 3 drag-and-drop: a 44 px grip at the bar's start (touch-action none, so a finger drags instead of scrolling); the
   dragged slot fades while the pointer holds it; the drop indicator is a line in the gap before or after the hovered slot. */
.nv-dash-edit__handle { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; margin:-10px 0 -10px -10px; border-radius:10px; color:var(--soft); font-size:18px; letter-spacing:-4px; cursor:grab; touch-action:none; user-select:none; -webkit-user-select:none; }
.nv-dash-edit__handle:active { cursor:grabbing; }
.nv-dash-edit__bar > .nv-dash-edit__name { flex:1 1 12ch; }
.nv-dash-edit__slot--dragging { opacity:.55; border-style:solid; border-color:var(--acc-ink); }
.nv-dash-edit__slot--drop-before::before, .nv-dash-edit__slot--drop-after::after { content:""; position:absolute; left:8px; right:8px; height:4px; border-radius:2px; background:var(--acc-ink); pointer-events:none; }
.nv-dash-edit__slot--drop-before::before { top:-12px; }
.nv-dash-edit__slot--drop-after::after { bottom:-12px; }
@media (prefers-reduced-motion: reduce) { .nv-dash-edit__slot { transition:none; } }
@media(max-width:1050px) { .nv-dash-edit__slot:has(> .nv-role-wide) { grid-column:auto; } }
@media(max-width:700px) { .nv-role-heading__side { align-items:flex-start; } .nv-dash-edit__status { text-align:left; } .nv-dash-edit__controls { width:100%; } .nv-dash-edit__controls .nv-btn { flex:1 1 auto; justify-content:center; } }
.nv-role-dashboard .nv-btn { min-height:44px; }
.nv-role-dashboard :is(a,button):focus-visible { outline:3px solid var(--acc-ink); outline-offset:3px; border-radius:4px; }
.nv-role-dashboard .nv-role-row h3,.nv-role-dashboard .nv-role-task strong { font-size:16px; }
.nv-role-dashboard .nv-role-row p,.nv-role-dashboard .nv-role-task small,.nv-role-dashboard .nv-role-task__action { font-size:14px; }
/* "Novedades para ti" opens collapsed (2026-10-21): the heading row is a disclosure button (title + count + chevron) beside the
   "Ver notificaciones" link; collapsed with unread activity the heading turns --good (the status token, as .nv-chip--ok). */
.nv-dashboard-activity__head { margin-bottom:0; }
.nv-dashboard-activity__heading { flex:1 1 auto; min-width:0; }
.nv-dashboard-activity__toggle { display:flex; align-items:center; flex-wrap:wrap; gap:10px; width:100%; min-height:44px; padding:0;
  border:0; background:none; color:var(--ink); font:inherit; text-align:left; cursor:pointer; }
.nv-dashboard-activity__toggle::after { content:""; flex:none; width:.55rem; height:.55rem; margin-left:auto; border-right:2px solid currentColor;
  border-bottom:2px solid currentColor; transform:rotate(45deg); transition:transform .15s ease; }
.nv-dashboard-activity__toggle[aria-expanded="true"]::after { transform:rotate(-135deg); }
.nv-dashboard-activity__name { overflow-wrap:anywhere; }
.nv-dashboard-activity__count { display:inline-block; border-radius:999px; padding:.1rem .55rem; font:600 .75rem/1.5 var(--sans); color:var(--soft); background:var(--tint); }
.nv-dashboard-activity--new .nv-dashboard-activity__toggle { color:var(--good); }
.nv-dashboard-activity--new .nv-dashboard-activity__count { color:var(--good); background:var(--good-tint); }
.nv-dashboard-activity__body:not([hidden]) { margin-top:14px; }
.nv-dashboard-activity--compact .nv-dashboard-activity__body:not([hidden]) { margin-top:8px; }
@media (prefers-reduced-motion: reduce) { .nv-dashboard-activity__toggle::after { transition:none; } }
.nv-dashboard-activity__item { display:grid; gap:6px; padding:14px 10px; border-bottom:1px solid var(--hair); color:var(--ink); text-decoration:none; }
/* B.1 (j-g3-residents-comite-031): beside an owner's balance the activity is a short, tight list. */
.nv-dashboard-activity--compact .nv-dashboard-activity__item { gap:2px; padding:8px 10px; }
.nv-dashboard-activity__item:last-of-type { border-bottom:0; }
.nv-dashboard-activity__item--unread { background:var(--acc-tint); border-radius:6px; }
.nv-dashboard-activity__title { display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-weight:600; }
.nv-dashboard-activity__label { overflow-wrap:anywhere; font-size:14px; }
.nv-dashboard-activity__item time { color:var(--soft); font-size:12px; }
.nv-dashboard-activity__item:hover { text-decoration:underline; text-underline-offset:3px; }
.nv-dashboard-activity__item[aria-disabled=true] { cursor:wait; opacity:.7; }
.nv-role-panel,.nv-role-grid > .nv-dash__events,.nv-role-owner-balances > .nv-owner-unit { padding:24px; border:1px solid var(--line); border-radius:12px; box-shadow:none; background:var(--card); }
.nv-role-panel__head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; }
.nv-role-panel__head h2 { margin:0; font:600 19px/1.3 var(--disp); }
.nv-role-panel__head .nv-linkbtn { flex-shrink:0; font-size:12px; }
.nv-role-wide { grid-column:1 / -1; }
.nv-role-committee { border-left:3px solid var(--acc-strong); }
.nv-role-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; border-bottom:1px solid var(--hair); }
.nv-role-row:last-child { border-bottom:0; }
.nv-role-row h3,.nv-role-row h2 { margin:0; font:600 14px/1.4 var(--sans); overflow-wrap:anywhere; }
.nv-role-row > div { min-width:0; }
.nv-role-row p { margin:5px 0 0; color:var(--soft); font-size:12px; overflow-wrap:anywhere; }
.nv-role-row>.nv-linkbtn { flex-shrink:0; }
/* UX audit II (ux2-staff-007): Residencias y estancias — "Registrar salida" beside "Editar fechas", the confirm under the row. */
.nv-role-row>.nv-residences-actions { margin-top:0; flex-shrink:0; justify-content:flex-end; }
.nv-residences-checkout-panel .nv-role-actions { margin-top:8px; }
.nv-role-task { display:grid; grid-template-columns:36px minmax(0,1fr) auto; align-items:center; gap:14px; padding:16px 0; border-bottom:1px solid var(--hair); text-decoration:none; color:var(--ink); }
.nv-role-task:first-of-type { padding-top:0; }
.nv-role-task:last-of-type { border-bottom:0; }
.nv-role-task strong { display:block; font-size:14px; font-weight:600; }
.nv-role-task small { display:block; color:var(--soft); font-size:12px; margin-top:4px; }
.nv-role-task__icon { background:var(--tint); color:var(--soft); border-radius:8px; width:36px; height:36px; display:grid; place-items:center; font-size:20px; }
.nv-role-task__action { color:var(--acc-ink); font-size:12px; }
.nv-role-task:hover .nv-role-task__action { text-decoration:underline; }
.nv-role-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:22px; }
.nv-committee__tiles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:22px; }
.nv-committee__result { position:relative; }
.nv-committee__result .nv-tip { position:absolute; top:12px; right:12px; }
.nv-role-owner-balances { display:grid; gap:18px; }
.nv-role-owner-balances>.nv-owner-unit,.nv-role-residence { border-top:3px solid var(--acc-strong); }
.nv-role-owner-balances .nv-owner-unit__amount { font:600 clamp(28px,3vw,40px)/1.2 var(--disp); }
.nv-role-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:20px; }
.nv-role-footnote { color:var(--soft); font-size:12px; padding:18px 0; border-top:1px solid var(--line); margin-top:26px; }
.nv-messages__layout { display:grid; grid-template-columns:290px minmax(0,1fr); gap:24px; align-items:start; }
.nv-messages__layout > * { min-width:0; }
/* UX audit II (ux2-residents-017): writing the first message — no list beside the form yet. */
.nv-messages__layout--compose { grid-template-columns:minmax(0,1fr); }
.nv-messages__list { display:grid; gap:10px; }
.nv-messages__thread strong,.nv-messages__thread small,.nv-messages__layout .nv-role-panel__head h2 { min-width:0; overflow-wrap:anywhere; }
.nv-messages__thread { background:var(--card); border:1px solid var(--line); border-radius:9px; text-align:left; padding:15px; color:var(--ink); display:grid; gap:6px; width:100%; }
.nv-messages__thread[aria-pressed=true] { border-color:var(--acc-strong); background:var(--acc-tint); }
/* Mensajes' unread badge (2026-11-11): the row says "Sin leer" in words, beside the subject. */
.nv-messages__unread { justify-self:start; }
.nv-messages__history { display:grid; gap:16px; margin:20px 0; }
.nv-messages__message { padding:16px; background:var(--bg); border-radius:8px; }
.nv-messages__message--staff { border-left:3px solid var(--acc-strong); }
.nv-messages__message p { white-space:pre-wrap; overflow-wrap:anywhere; }
.nv-messages__meta { display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; font-size:12px; color:var(--soft); margin-bottom:7px; }
.nv-role-form { display:grid; gap:16px; }
.nv-role-form label { display:grid; gap:6px; }
.nv-role-form textarea { min-height:120px; }
.nv-role-form .nv-btn { justify-self:start; }
/* Open-requests board: today's work first. Row accents repeat what the chips already say in text. */
.nv-openreq { margin:16px 0 20px; }
.nv-openreq__counters { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; }
.nv-openreq__counter { display:inline-flex; align-items:baseline; gap:6px; min-height:44px; padding:8px 14px; border:1px solid var(--line); border-radius:999px; background:var(--card); color:var(--ink); font:500 14px/1.2 var(--sans); cursor:pointer; }
.nv-openreq__counter strong { font:600 17px/1 var(--disp); }
.nv-openreq__counter:hover { border-color:var(--soft); }
.nv-openreq__counter[aria-pressed=true] { background:var(--ink); color:var(--card); border-color:var(--ink); }
.nv-openreq__group + .nv-openreq__group { margin-top:14px; }
.nv-openreq__group-head { margin:0; }
.nv-openreq__group-toggle { display:flex; align-items:center; gap:10px; width:100%; min-height:44px; padding:6px 0; border:0; border-bottom:1px solid var(--line); background:none; color:var(--ink); font:600 15px/1.3 var(--sans); text-align:left; cursor:pointer; }
.nv-openreq__chevron { width:8px; height:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); transition:transform .15s; flex:none; }
.nv-openreq__group-toggle[aria-expanded=false] .nv-openreq__chevron { transform:rotate(-45deg); }
.nv-openreq__group-name { min-width:0; overflow-wrap:anywhere; }
.nv-openreq__group-count { margin-left:auto; min-width:28px; padding:2px 8px; border-radius:999px; background:var(--tint); color:var(--ink); font-size:13px; text-align:center; }
.nv-openreq__rows { list-style:none; margin:0; padding:0; }
.nv-openreq__row { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"main open" "chips open" "meta open"; column-gap:16px; row-gap:6px; align-items:center; padding:12px 0 12px 14px; border-bottom:1px solid var(--hair); border-left:4px solid transparent; }
.nv-openreq__row:last-child { border-bottom:0; }
.nv-openreq__row--today { border-left-color:var(--warn-ink); }
.nv-openreq__row--overdue { border-left-color:var(--bad); }
.nv-openreq__main { grid-area:main; min-width:0; }
.nv-openreq__ref { margin:0; color:var(--soft); font-size:13px; }
.nv-openreq__subject { display:block; font:600 16px/1.35 var(--sans); overflow-wrap:anywhere; }
.nv-openreq__desc { margin:2px 0 0; color:var(--soft); font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.nv-openreq__chips { grid-area:chips; display:flex; flex-wrap:wrap; gap:6px; }
.nv-openreq__meta { grid-area:meta; margin:0; color:var(--soft); font-size:13px; overflow-wrap:anywhere; }
.nv-openreq__visit { color:var(--ink); font-weight:600; }
.nv-openreq__open { grid-area:open; }
.nv-openreq__more { margin-top:4px; }
.nv-openreq__empty p { margin:0 0 4px; }
@media(max-width:600px) {
  .nv-openreq__row { grid-template-columns:minmax(0,1fr); grid-template-areas:"main" "meta" "chips" "open"; padding-left:10px; }
  .nv-openreq__open { justify-self:start; }
  .nv-openreq__counter { padding:8px 12px; }
}
@media(max-width:1050px) { .nv-role-grid { grid-template-columns:1fr; } .nv-role-wide { grid-column:auto; } }
/* UX audit II (ux2-admin-community-017): the administrator's four tiles sit in one row of four — never three and an orphan
   — and two by two when the row is narrow (a phone too, where the values step down a size). After the phone rule below. */
.nv-role-metrics--four { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:700px) { .nv-role-heading { flex-direction:column; gap:6px; } .nv-role-heading time { padding:0; } .nv-role-metrics,.nv-committee__tiles { grid-template-columns:1fr; } .nv-role-panel,.nv-role-grid>.nv-dash__events,.nv-role-owner-balances>.nv-owner-unit { padding:20px; } .nv-messages__layout { grid-template-columns:1fr; } .nv-role-row { flex-wrap:wrap; } .nv-role-task { grid-template-columns:32px minmax(0,1fr); } .nv-role-task__action { grid-column:2; } .nv-role-panel__head { flex-wrap:wrap; } }
@media(max-width:1100px) { .nv-role-metrics--four { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .nv-role-metrics--four { gap:12px; } .nv-role-metrics--four .nv-tile { padding:.75rem .8rem; } .nv-role-metrics--four .nv-tile__v { font-size:1.25rem; overflow-wrap:anywhere; } }
/* 7b T12: presupuesto vs. real inside its dashboard panel: the panel is the card, so the component's own card chrome is dropped (no card-in-card); min-width:0 keeps the wide table scrolling inside .nv-table-wrap instead of stretching the grid. */
.nv-dash__budget { min-width:0; }
.nv-dash__budget .nv-bva { border:0; border-radius:0; padding:0; background:transparent; }
.nv-committee__budget { display:grid; gap:1rem; margin-top:1.5rem; min-width:0; }

/* Money today (j-g2-admin-backoffice-039): /finanzas/hoy and the dashboard's money card share one item row. */
.nv-money-today { display:grid; gap:16px; }
.nv-money-today__head { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:8px 16px; }
.nv-money-today__head h1 { margin:0; }
.nv-money-today__count { margin:0; font-weight:600; }
.nv-money-today__group h2 { margin:0 0 8px; font-size:16px; }
.nv-money-today__list { list-style:none; margin:0; padding:0; }
.nv-money-today__checked { margin:8px 0 0; padding-left:20px; }
.nv-money-today__checked li + li { margin-top:6px; }
.nv-money-item { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px 16px; padding:14px 0; border-bottom:1px solid var(--hair); }
.nv-money-item:last-child { border-bottom:0; }
.nv-money-item__text { display:grid; gap:4px; justify-items:start; min-width:0; }
.nv-money-item__title { font-size:15px; font-weight:600; color:var(--ink); }
.nv-money-item__date { color:var(--soft); font-size:13px; }
.nv-money-item__go { min-height:44px; white-space:nowrap; }
@media (max-width: 640px) {
  .nv-money-item { grid-template-columns:minmax(0,1fr); }
  .nv-money-item__go { justify-self:start; white-space:normal; }
}

/* UX audit II (ux2-admin-money-013): the administrator's four month tiles sat three across with "Gastos del mes" alone on
   a second row. Four tiles are four across on a desktop, two by two on a tablet, one per row on a phone. */
.nv-role-metrics:has(> .nv-tile:nth-child(4)) { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:1100px) { .nv-role-metrics:has(> .nv-tile:nth-child(4)) { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .nv-role-metrics:has(> .nv-tile:nth-child(4)) { grid-template-columns:1fr; } }

/* ---- UI redesign U3 — admin home (plan 2026-11-10, Tasks 9–12) ---- */
/* The administrator's grid: six columns from 1100px ("Para hoy" beside "Cobranza", then three equal cards), two from
   700px, one below. Each widget sits in a cell as wide as its Span; a cell whose widget rendered nothing (hide-when-empty)
   takes no room. Other roles keep the two-column .nv-role-grid above. */
.nv-role-grid.nv-role-grid--admin { grid-template-columns:repeat(6,minmax(0,1fr)); grid-auto-flow:dense; }
.nv-dash-cell { min-width:0; }
.nv-dash-cell:not(:has(*)) { display:none; }
.nv-role-grid--admin > .nv-dash-cell--full { grid-column:1 / -1; }
.nv-role-grid--admin > .nv-dash-cell--two-thirds { grid-column:span 4; }
.nv-role-grid--admin > .nv-dash-cell--half { grid-column:span 3; }
.nv-role-grid--admin > .nv-dash-cell--third { grid-column:span 2; }
@media(max-width:1099px) {
  .nv-role-grid.nv-role-grid--admin { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nv-role-grid--admin > :is(.nv-dash-cell--full,.nv-dash-cell--two-thirds) { grid-column:1 / -1; }
  .nv-role-grid--admin > :is(.nv-dash-cell--half,.nv-dash-cell--third) { grid-column:span 1; }
}
@media(max-width:699px) {
  .nv-role-grid.nv-role-grid--admin { grid-template-columns:minmax(0,1fr); }
  .nv-role-grid--admin > [class*="nv-dash-cell--"] { grid-column:auto; }
}
/* Sparkline (Task 9): decorative, token-coloured; the tile's text carries the figure. */
.nv-spark { display:block; width:100%; height:auto; max-height:34px; margin-top:6px; overflow:visible; }
.nv-spark { --spark:var(--acc); }
.nv-spark--good { --spark:var(--good); }
.nv-spark--bad { --spark:var(--bad); }
.nv-spark__line { fill:none; stroke:var(--spark); stroke-width:1.8; stroke-linejoin:round; stroke-linecap:round; }
.nv-spark__area { fill:var(--spark); fill-opacity:.12; stroke:none; }
.nv-spark__dot { fill:var(--spark); }
/* A tile that is one link: the whole card is the target; the text stays ink, focus and hover say it is a link. */
a.nv-tile--link { color:inherit; text-decoration:none; }
a.nv-tile--link:hover { border-color:var(--soft); }
a.nv-tile--link:hover .nv-tile__lb { text-decoration:underline; text-underline-offset:3px; }
/* "Para hoy" (Task 10): PendingDocket's numbered rows (.nv-dk, .nv-dk__n) laid out as number / text / one action. */
.nv-today__count { display:inline-block; margin-left:6px; border-radius:999px; padding:.05rem .55rem; font:600 .8rem/1.5 var(--sans); color:var(--soft); background:var(--tint); vertical-align:middle; }
.nv-today__filters { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 6px; }
.nv-today__filter { display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:6px 14px; border:1px solid var(--line); border-radius:999px; background:var(--card); color:var(--ink); font:600 13px/1.2 var(--sans); cursor:pointer; }
.nv-today__filter:hover { border-color:var(--soft); }
.nv-today__filter[aria-pressed=true] { background:var(--ink); color:var(--card); border-color:var(--ink); }
.nv-today__filter-count { font-weight:700; }
.nv-today__list { list-style:none; margin:0; padding:0; }
.nv-today__row.nv-dk { display:grid; grid-template-columns:22px minmax(0,1fr) auto; align-items:center; gap:10px 12px; padding:10px 0; }
.nv-today__row .nv-dk__n { width:auto; text-align:center; }
.nv-today__text { display:grid; gap:4px; min-width:0; }
.nv-today__title { font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.nv-today__meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px; color:var(--soft); font-size:13px; overflow-wrap:anywhere; }
.nv-today__src { display:inline-block; border-radius:999px; padding:1px 8px; font-size:12px; font-weight:700; }
.nv-today__src--money { background:var(--acc-tint); color:var(--acc-ink); }
.nv-today__src--requests { background:var(--bad-tint); color:var(--bad); }
.nv-today__src--setup { background:var(--good-tint); color:var(--good); }
.nv-today__go { min-height:44px; white-space:nowrap; }
.nv-today__more { margin-top:6px; }
.nv-today__money-all { margin-top:2px; }
.nv-today__empty p { margin:0 0 4px; }
/* On a phone the action stays beside its row (a second line per row made "Para hoy" ~1,100px tall at 390px): the button
   wraps its own words within a narrow column instead; the target stays 44px. */
@media(max-width:600px) {
  .nv-today__row.nv-dk { grid-template-columns:20px minmax(0,1fr) minmax(44px,max-content); gap:6px 10px; padding:8px 0; }
  .nv-today__go { max-width:7.5rem; padding-inline:10px; white-space:normal; text-align:center; line-height:1.2; }
  .nv-today__meta { font-size:12px; }
}
/* Budget card (Task 11): one row per category — name, percent, a bar of what was spent with a line at the period's pace. */
.nv-dash-budget__legend { margin:0 0 10px; font-size:13px; }
.nv-dash-budget__rows { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.nv-dash-budget__row { display:grid; grid-template-columns:minmax(0,1fr) max-content; gap:4px 10px; align-items:center; font-size:14px; }
.nv-dash-budget__name { overflow-wrap:anywhere; }
.nv-dash-budget__pct { font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap; }
.nv-dash-budget__track { grid-column:1 / -1; position:relative; height:8px; border-radius:4px; background:var(--hair); }
.nv-dash-budget__fill { display:block; height:100%; border-radius:4px; background:var(--good); }
.nv-dash-budget__row--amber .nv-dash-budget__fill { background:var(--ag3); }
.nv-dash-budget__row--red .nv-dash-budget__fill { background:var(--bad); }
.nv-dash-budget__pace { position:absolute; top:-3px; width:2px; height:14px; margin-left:-1px; background:var(--ink); }
.nv-dash-budget__counts { margin:14px 0 0; color:var(--soft); font-size:13px; }
.nv-dash-budget__uncat { margin:6px 0 0; }
/* Cobranza card (Task 11): one stacked aging bar, the four exact amounts under it. */
.nv-dash-aging { display:grid; gap:8px; margin-top:4px; }
.nv-dash-aging__head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:4px 12px; }
.nv-dash-aging__head h3 { margin:0; font:600 14px/1.4 var(--sans); }
.nv-dash-aging__total { color:var(--soft); font-size:13px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.nv-dash-aging__bar { display:flex; height:12px; border-radius:6px; overflow:hidden; background:var(--hair); }
.nv-dash-aging__part { display:block; height:100%; }
.nv-dash-aging__rows { display:grid; gap:4px; margin:0; font-size:13px; }
.nv-dash-aging__row { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.nv-dash-aging__row dt { display:flex; align-items:center; gap:6px; color:var(--soft); min-width:0; }
.nv-dash-aging__row dd { margin:0; font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap; }
.nv-dash-aging__swatch { flex:none; width:10px; height:10px; border-radius:2px; }
/* Próximos 14 días (Task 11): a date badge, then the title (a link to where it is handled) and one line of detail. */
.nv-next14 { list-style:none; margin:0; padding:0; }
.nv-next14__row { display:grid; grid-template-columns:44px minmax(0,1fr); gap:10px; align-items:center; padding:8px 0; border-bottom:1px solid var(--hair); }
.nv-next14__row:last-child { border-bottom:0; }
.nv-next14__date { display:grid; justify-items:center; border:1px solid var(--line); border-radius:8px; padding:4px 0; color:var(--soft); font-size:11px; font-weight:700; line-height:1.15; text-transform:uppercase; }
.nv-next14__date b { color:var(--ink); font:700 16px/1.1 var(--disp); }
.nv-next14__text { display:grid; gap:2px; min-width:0; }
.nv-next14__title { display:inline-flex; align-items:center; min-height:44px; color:var(--ink); font-weight:600; font-size:14px; overflow-wrap:anywhere; }
.nv-next14__detail { color:var(--soft); font-size:13px; overflow-wrap:anywhere; }
/* Cobranza chart (Task 11): paired bars — billed in --soft, collected in --acc; the current month's bars are outlined
   (partial, said in the line under the chart). The drawing is aria-hidden; the visually hidden table carries it. */
.nv-cchart { display:grid; gap:6px; margin:0 0 16px; }
.nv-cchart svg { display:block; width:100%; height:auto; overflow:visible; }
.nv-cchart__legend { display:flex; flex-wrap:wrap; gap:4px 14px; list-style:none; margin:0; padding:0; font-size:13px; color:var(--soft); }
.nv-cchart__legend li { display:inline-flex; align-items:center; gap:6px; }
.nv-cchart__key { display:inline-block; width:10px; height:10px; border-radius:2px; }
.nv-cchart__key--billed { background:var(--soft); }
.nv-cchart__key--collected { background:var(--acc); }
.nv-cchart__bar--billed { fill:var(--soft); }
.nv-cchart__bar--collected { fill:var(--acc); }
.nv-cchart__bar--current { stroke:var(--ink); stroke-width:1.5; stroke-dasharray:3 2; }
.nv-cchart__axis { stroke:var(--line); stroke-width:1; }
.nv-cchart__pct { fill:var(--ink); font:600 11px var(--sans); }
.nv-cchart__month { fill:var(--soft); font:500 11px var(--sans); }
.nv-cchart__partial { margin:0; font-size:13px; }

/* UI redesign U6 (Task 20): a resident's quick actions as four tiles — icon, label, one status line; two per row on a
   phone. The whole tile is the link (44px and more). */
.nv-role-quick-actions.nv-qa { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); gap:10px; }
.nv-qa__tile { display:flex; flex-direction:column; gap:6px; min-height:44px; padding:14px; border:1px solid var(--line); border-radius:14px; background:var(--card); color:var(--ink); text-decoration:none; font-weight:600; overflow-wrap:anywhere; }
.nv-qa__tile:hover { border-color:var(--acc); }
.nv-qa__tile:focus-visible { outline:2px solid var(--acc); outline-offset:2px; }
.nv-qa__tile .nv-side__icon { width:20px; height:20px; color:var(--acc-ink); }
.nv-qa__line { color:var(--soft); font-weight:400; font-size:.86rem; }
@media(max-width:900px) { .nv-role-quick-actions.nv-qa { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.nv-role-dashboard > .nv-role-owner-balances { margin-bottom:20px; }
