/* CTA 07/11/2026, VILLATHALITA, estilos de la plataforma web (mobile-first, sin framework, iPhone safe areas, selector de idioma) */
/* CTA 18/11/2026, VILLATHALITA, "Positano" palette kept only for the chart series --s1..--s3 (and --c-* / --cat* in analitica.css) */
/* CTA 18/11/2026, VILLATHALITA, "Villa San Giacomo" brand chrome (www.villasangiacomo.com): grey text #54585a / #282a2b, rose #e0a4a1 / #ce8480 / #e3b8b6 / #f8dfdd, light grey #cecece, Jost + Kalnia */
:root {
  --bg: #faf8f8;             /* near-white page (brand: white); white cards keep their edge on it */
  --surface: #ffffff;
  --ink: #282a2b;            /* brand dark text: figures, headings (14.4:1 on white) */
  --ink-2: #54585a;          /* brand text grey: labels, secondary text (7.2:1 on white) */
  --muted: #6b6f71;          /* derived grey for notes (5.1:1 on white, 4.8:1 on --bg) */
  --line: #e6dfde;
  --line-2: #f0ebea;
  --brand: #e0a4a1;          /* brand rose: buttons, active tabs, accents; always with --brand-ink text */
  --brand-ink: #282a2b;      /* text on --brand (6.9:1) */
  --brand-hover: #ce8480;    /* brand "request" rose: hover / pressed (dark text 5.0:1) */
  --brand-light: #e3b8b6;    /* brand light rose: separators, card accents */
  --brand-pale: #f8dfdd;     /* brand pale rose: totals / highlighted table rows */
  --accent: #9e524e;         /* derived dark rose for links and focus rings (5.6:1 on white); #e0a4a1 is only 2.1:1 */
  --grey-light: #cecece;     /* brand light grey: control borders */
  --font: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Kalnia", "Didot", "Bodoni 72", "Bodoni MT", Georgia, "Times New Roman", serif;
  --ok: #3a7a3a;             /* green (5.2:1 on white) */
  --ok-bg: #e9f3e4;
  --ko: #b3362a;             /* brick red, darker than the brand rose (6.0:1 on white) */
  --ko-bg: #fbe9e5;
  --warn: #9a5a12;           /* amber, dark */
  --warn-bg: #fdf0d8;
  --info-bg: #f2f2f2;
  /* chart series: NOT brand colours (grey and rose are not distinguishable in bars), Positano values kept */
  --s1: #2a6f97;  /* Anexo 1: sea blue   */
  --s2: #d4683a;  /* Vigente: terracotta */
  --s3: #2a9d8f;  /* Facturado: turquoise */
  --radius: 10px;
  --shadow: 0 1px 2px rgba(84,88,90,.08), 0 2px 8px rgba(84,88,90,.06);
  /* CTA VILLATHALITA */
  /* iPhone notch / home indicator (viewport-fit=cover) */
  --sa-l: env(safe-area-inset-left, 0px);
  --sa-r: env(safe-area-inset-right, 0px);
  --sa-t: env(safe-area-inset-top, 0px);
  --sa-b: env(safe-area-inset-bottom, 0px);
  --tap: 44px;               /* minimum touch target (Apple HIG) */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  /* CTA 18/11/2026, VILLATHALITA, brand fonts (system fallbacks when Google Fonts is unreachable) and headline styles */
  font: 15px/1.45 var(--font);
  -webkit-tap-highlight-color: rgba(224,164,161,.3);
  overflow-wrap: break-word;
}
h1 { font-family: var(--font-head); font-weight: 500; color: var(--ink-2); font-size: 1.3rem; margin: 0 0 .2rem; line-height: 1.25; letter-spacing: .01em; }
h2 { font-size: 1.05rem; font-weight: 600; margin: 0 0 .75rem; }
/* CTA VILLATHALITA */
a { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 16px max(16px, var(--sa-r)) 16px max(16px, var(--sa-l)); }

/* ---- cabecera ---- */
/* CTA 18/11/2026, VILLATHALITA, white header with a rose rule, Villa San Giacomo logo + app name, grey nav with rose active pill */
.topbar { background: var(--surface); color: var(--ink-2); border-bottom: 3px solid var(--brand); box-shadow: 0 1px 8px rgba(84,88,90,.08);
  position: -webkit-sticky; position: sticky; top: 0; z-index: 10; padding-top: var(--sa-t); }
.topbar-in { max-width: 1440px; margin: 0 auto; padding: 6px max(16px, var(--sa-r)) 6px max(16px, var(--sa-l)); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.brand .brand-logo { display: block; height: 38px; width: auto; flex: 0 0 auto; }
.brand-app { display: flex; flex-direction: column; line-height: 1.15; padding-left: 10px; border-left: 1px solid var(--brand-light); min-width: 0; }
.brand-app strong { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.brand-app small { color: var(--muted); font-size: .74rem; white-space: nowrap; }
.nav { display: flex; gap: 4px; order: 3; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 6px 14px; border-radius: 999px; font-weight: 500;
  display: inline-flex; align-items: center; min-height: var(--tap); white-space: nowrap; }
.nav a:hover { background: var(--brand-pale); color: var(--ink); }
.nav a.on { background: var(--brand); color: var(--brand-ink); }
.who { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: .9rem; min-width: 0; }
.who > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .btn-ghost { color: var(--ink-2); border-color: var(--grey-light); }
.topbar .btn-ghost:hover { border-color: var(--brand); background: var(--brand-pale); }
/* CTA VILLATHALITA */

.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; border: 1px solid transparent; }
.env-mock { background: #fff4d6; color: #6b4600; border-color: #e9c46a; }
/* CTA 18/11/2026, VILLATHALITA, DEV badge in brand grey */
.env-dev  { background: #f2f2f2; color: #3d4143; border-color: var(--grey-light); }
/* CTA VILLATHALITA */
.env-pro  { background: #fdecea; color: #8f1d14; border-color: #f0a39b; }

.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 4px 0 14px; }

/* ---- avisos ---- */
.alert { padding: 10px 14px; border-radius: var(--radius); margin: 0 0 14px; border: 1px solid transparent; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border-color: #b9dfc4; }
.alert-error { background: var(--ko-bg); color: var(--ko); border-color: #f3b8b1; }
.alert-warn { background: var(--warn-bg); color: var(--warn); border-color: #ecd391; }
/* CTA 18/11/2026, VILLATHALITA, neutral info alert and rose note rule */
.alert-info { background: var(--info-bg); color: var(--ink-2); border-color: var(--grey-light); }
.note { font-size: .85rem; color: var(--ink-2); background: var(--surface); border-left: 3px solid var(--brand-light); padding: 8px 12px; margin: 0 0 14px; border-radius: 4px; }
/* CTA VILLATHALITA */
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); margin-bottom: 16px; }

/* ---- botones ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--grey-light); } /* CTA 18/11/2026, VILLATHALITA, brand light grey */
.btn:focus-visible, .tog:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-sm { min-height: 32px; padding: 4px 12px; font-size: .85rem; }
.btn-block { width: 100%; }
/* CTA 18/11/2026, VILLATHALITA, primary button in brand rose with dark text, darker rose on hover */
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
/* CTA VILLATHALITA */
.btn-ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-ko { background: #fff; border-color: var(--ko); color: var(--ko); }
.btn-ghost { background: transparent; }

/* ---- login ---- */
/* height minus the footer (its bottom padding keeps it clear of the language switcher) */
.page-login .wrap { display: flex; min-height: calc(100vh - 140px); min-height: calc(100dvh - 140px - var(--sa-b)); align-items: center; justify-content: center; }
/* CTA 18/11/2026, VILLATHALITA, login card with the Villa San Giacomo logo and a rose top rule */
.login-box { width: 100%; max-width: 380px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); padding: 24px; border-top: 4px solid var(--brand); }
.login-head { text-align: center; margin-bottom: 16px; }
.login-logo { display: block; width: 210px; max-width: 70%; height: auto; margin: 4px auto 10px; }
.login-head h1 { font-size: 1.2rem; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--brand-light); }
/* CTA VILLATHALITA */
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
input[type=text], input[type=password], input[type=search], select, textarea {
  display: block; width: 100%; margin-top: 4px; padding: 9px 10px; font: inherit; color: var(--ink);
  font-size: 16px; /* >= 16px: iOS Safari does not zoom on focus */
  min-height: var(--tap); background: #fff; border: 1px solid var(--grey-light); border-radius: 8px; } /* CTA 18/11/2026, VILLATHALITA, brand light grey border */
input[type=search] { -webkit-appearance: none; appearance: none; }
textarea { resize: vertical; }

/* ---- KPI ---- */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
/* CTA 18/11/2026, VILLATHALITA, KPI cards with a light rose top accent (inset shadow: no border conflicts with .kpi-link / .kpi-neg) */
.kpi { background: var(--surface); border-radius: var(--radius); box-shadow: inset 0 3px 0 var(--brand-light), var(--shadow); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
/* CTA VILLATHALITA */
.kpi-l { font-size: .78rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.kpi-v { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi-s { font-size: .78rem; color: var(--muted); }
.kpi-neg .kpi-v { color: var(--ko); }
.meter { display: block; height: 6px; background: var(--line-2); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--s3); border-radius: 3px; }

/* ---- tarjetas ---- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; margin-bottom: 16px; min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.card-head h2 { margin: 0; }

/* ---- gráfico ---- */
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--ink-2); margin-bottom: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.s1 { background: var(--s1); } .s2 { background: var(--s2); } .s3 { background: var(--s3); }
.chart { display: grid; gap: 10px; }
.chart-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "lbl val" "bars bars"; gap: 2px 8px; align-items: center; }
.chart-lbl { grid-area: lbl; font-size: .85rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-val { grid-area: val; font-size: .82rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.chart-bars { grid-area: bars; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); padding: 2px 0; }
.bar { display: block; height: 8px; border-radius: 0 4px 4px 0; min-width: 0; }
.bar:hover { filter: brightness(.9); }

/* ---- filtros ---- */
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; margin-bottom: 10px; align-items: end; }
.filters label { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.filters .grow { grid-column: 1 / -1; }
.filter-btns { grid-column: 1 / -1; display: flex; gap: 8px; }

/* ---- tablas ---- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 8px; max-width: 100%; }
.grid { border-collapse: collapse; width: 100%; font-size: .84rem; }
.grid th, .grid td { padding: 6px 8px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.grid th { background: #f7f5f5; /* CTA 18/11/2026, VILLATHALITA, neutral grey header */ font-weight: 600; color: var(--ink-2); white-space: nowrap; position: sticky; top: 0; }
.grid th[title], .kpi-l[title], .legend span[title] { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.grid .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.grid .code { white-space: nowrap; font-variant-numeric: tabular-nums; }
.grid .desc { min-width: 220px; }
.grid .vendor { min-width: 140px; color: var(--ink-2); }
/* CTA 18/11/2026, VILLATHALITA, rose-tinted level-1 rows */
.grid tbody tr:hover td { background: #fdf6f5; }
.grid .blk td { background: #fbefee; font-weight: 700; border-top: 1px solid var(--line); cursor: pointer; }
/* CTA VILLATHALITA */
.grid .blk td:first-child { white-space: nowrap; }
.grid .blk-name { min-width: 260px; }
.grid .ch td:first-child { padding-left: 30px; }
/* CTA 18/11/2026, VILLATHALITA, totals row on the brand pale rose (dark text 11.4:1, red 4.8:1) */
.grid .tot td { background: var(--brand-pale); color: var(--ink); font-weight: 700; border: 0; border-top: 2px solid var(--brand); }
.grid .neg { color: var(--ko); font-weight: 700; }
.grid .tot .neg { color: var(--ko); }
.grid .up { color: #a4400f; }
.grid .down { color: var(--ok); }
.grid .tot .up, .grid .tot .down { color: var(--ink); }
/* CTA VILLATHALITA */
.tog { width: 22px; height: 22px; margin-right: 4px; padding: 0; border: 0; background: transparent; cursor: pointer; font-size: .9rem; color: var(--ink-2); vertical-align: middle; }
.tog span { display: inline-block; transition: transform .15s; }
.blk.open .tog span { transform: rotate(90deg); }

/* estados */
.st { display: inline-block; font-size: .75rem; padding: 1px 8px; border-radius: 999px; white-space: nowrap; background: var(--line-2); color: var(--ink-2); }
.st-previsto { background: #eef2f7; color: #3b5578; }
.st-ofertado { background: #e8f0fb; color: #1d4f91; }
.st-adjudicado { background: var(--ok-bg); color: var(--ok); }
.st-enejecucion { background: #fff4d6; color: #7a5200; }
.st-terminado { background: #e9e7f8; color: #4a3fa8; }
.st-rechazado { background: var(--ko-bg); color: var(--ko); }

/* ---- aprobaciones ---- */
.doc-cards { display: grid; gap: 12px; margin-bottom: 16px; }
.doc-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; border-left: 4px solid var(--brand-light); } /* CTA 18/11/2026, VILLATHALITA, rose accent */
.doc-card.over { border-left-color: var(--ko); }
.doc-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.doc-type { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.doc-vendor { margin-top: 4px; font-weight: 600; }
.doc-amount { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; margin: 4px 0 8px; }
.doc-amount small { display: block; font-size: .8rem; font-weight: 400; color: var(--muted); }
.doc-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 3px 10px; margin: 0 0 12px; font-size: .86rem; }
.doc-card dt { color: var(--muted); }
.doc-card dd { margin: 0; }
.flag-over { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--ko); background: var(--ko-bg); border: 1px solid #f3b8b1; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
dialog .flag-over { white-space: normal; border-radius: 10px; } /* CTA 18/11/2026, VILLATHALITA, long warning wraps inside the dialog (Jost is wider) */
.acts { display: flex; gap: 8px; }
.acts form { flex: 1; }
.acts .btn { width: 100%; }
.doc-table { display: none; margin-bottom: 16px; background: var(--surface); }
.doc-table tr.over td { background: #fff8f7; }
.doc-table .acts { min-width: 210px; }
.hist td { white-space: nowrap; }
.hist td.desc { white-space: normal; }
.reset-mock { text-align: right; margin-bottom: 16px; }

dialog { border: 0; border-radius: 14px; padding: 20px; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  overflow: auto; box-shadow: 0 10px 40px rgba(0,0,0,.25); color: var(--ink); background: var(--surface); }
dialog:not([open]) { display: none; }
/* fallback when HTMLDialogElement.showModal is missing (iOS < 15.4): fixed panel over a dimmed page */
dialog.dlg-fallback { display: block; position: fixed; z-index: 100; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }
body.dlg-fallback-on::after { content: ""; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 99; background: rgba(20,18,15,.45); }
dialog::backdrop { background: rgba(20,18,15,.45); }
dialog h2 { margin-bottom: 6px; }
.act-doc { font-weight: 600; margin: 0 0 10px; }
dialog label { display: block; font-weight: 600; font-size: .9rem; margin: 10px 0 14px; }
.dialog-btns { display: flex; justify-content: flex-end; gap: 8px; }

/* ---- pie ---- */
/* bottom padding leaves room for the fixed language switcher and the iPhone home indicator */
.foot { max-width: 1440px; margin: 0 auto; padding: 8px max(16px, var(--sa-r)) calc(76px + var(--sa-b)) max(16px, var(--sa-l));
  display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .78rem; color: var(--muted);
  border-top: 1px solid var(--brand-light); margin-top: 8px; padding-top: 10px; } /* CTA 18/11/2026, VILLATHALITA, rose rule above the footer */

/* ---- selector de idioma (fixed pill bottom-left, every page) ---- */
.lang-switch { position: fixed; z-index: 20; left: calc(12px + var(--sa-l)); bottom: calc(12px + var(--sa-b));
  display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 2px 10px rgba(0,0,0,.08); border: 1px solid rgba(0,0,0,.06);
  transition: transform .2s ease, opacity .2s ease; }
/* phones: app.js slides the pill away while scrolling down (content stays readable), back on scroll up / page end */
.lang-switch.ls-away { transform: translateY(calc(100% + 16px + var(--sa-b))); opacity: 0; pointer-events: none; }
.lang-switch:focus-within { transform: none; opacity: 1; pointer-events: auto; }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap);
  border-radius: 999px; opacity: .55; transition: opacity .15s ease, background-color .15s ease, transform .15s ease; text-decoration: none; }
.lang-btn:hover { opacity: .85; background: rgba(0,0,0,.04); }
.lang-btn.active { opacity: 1; background: #fff; transform: scale(1.04); box-shadow: 0 0 0 2px rgba(206,132,128,.75); } /* CTA 18/11/2026, VILLATHALITA, rose ring */
.lang-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.lang-btn svg { display: block; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

/* ---- touch screens: tap targets >= 44 px ---- */
@media (pointer: coarse) {
  .btn, .btn-sm { min-height: var(--tap); }
  .tog { width: var(--tap); height: var(--tap); margin-right: 0; } /* QC2 07/11/2026: 44 x 44 on touch screens */
  .brand { min-height: var(--tap); }
  .brand .brand-logo { height: 34px; } /* CTA 18/11/2026, VILLATHALITA, smaller logo on phones (header stays compact) */
  .filter-btns .btn { flex: 1; }
}

/* CTA 18/11/2026, VILLATHALITA, phones: logo + app name + badge + logout on one row (user name in the logout tooltip) */
@media (max-width: 599px) {
  .who > span { display: none; }
  .topbar-in { gap: 4px 10px; }
}
/* CTA VILLATHALITA */

/* ---- pantallas grandes ---- */
@media (min-width: 640px) {
  h1 { font-size: 1.45rem; } /* CTA 18/11/2026, VILLATHALITA, Kalnia is wide: smaller page titles on phones */
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filters { grid-template-columns: 220px 180px 1fr auto; }
  .filters .grow, .filter-btns { grid-column: auto; }
  .chart-row { grid-template-columns: 260px 1fr 120px; grid-template-areas: "lbl bars val"; }
  .chart-val { text-align: right; }
}
@media (min-width: 900px) {
  .nav { order: 0; width: auto; margin-left: 12px; }
  .brand .brand-logo { height: 44px; } /* CTA 18/11/2026, VILLATHALITA, desktop logo height */
  .doc-cards { display: none; }
  .doc-table { display: block; }
  .kpi-v { font-size: 1.3rem; }
}
@media (min-width: 1200px) {
  .kpis { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  /* CTA 18/11/2026, VILLATHALITA, Jost figures are wider than the system font: 8 KPI columns keep "1.234.567,89 €" on one line */
  .kpi { padding: 12px 11px; }
  .kpi-v { font-size: 1rem; letter-spacing: -.01em; }
  /* CTA VILLATHALITA */
}
@media print {
  .topbar, .filters, .btn, .foot, .tog, .lang-switch { display: none !important; }
  .ch[hidden] { display: table-row !important; }
  body { background: #fff; }
  .grid .tot td { -webkit-print-color-adjust: exact; print-color-adjust: exact; } /* CTA 18/11/2026, VILLATHALITA, keep the pale rose totals on paper */
  .card, .kpi { box-shadow: none; border: 1px solid var(--line); }
}
/* CTA VILLATHALITA */

/* CTA 18/11/2026, VILLATHALITA, source / sheet-status line under the sub-chapter description and status (Excel v2) */
.src { font-size: .78em; line-height: 1.25; margin-top: 2px; max-width: 26ch; }
/* CTA VILLATHALITA */
