/* Page Finances (public/pages/finances.js) : 3 colonnes de cartes, du général (bénéfice) au détail (portefeuilles), étirées jusqu'en bas. */
#page-finances { flex-direction: column; min-height: 0; }
.fin { display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; padding: 4px 2px 8px; }
.fin-card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 1px 2px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.16); }
.fin-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fin-top h2 { margin: 0; font-size: 1.25em; }
.fin-seg { display: inline-flex; background: var(--bg, #f1f3f6); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.fin-seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; color: inherit; min-height: 36px; }
.fin-seg button.on { background: var(--panel); box-shadow: 0 1px 3px rgba(16,24,40,.18); color: var(--accent); }
.fin-nav { display: inline-flex; align-items: center; gap: 6px; }
.fin-nav span { font-weight: 700; min-width: 210px; text-align: center; }
.fin-nav button { border: 1px solid var(--border); background: var(--panel); border-radius: 10px; min-width: 36px; min-height: 36px; cursor: pointer; font: inherit; }
.fin-nav .fin-today { padding: 0 10px; font-size: .85em; }
.fin-cols { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.15fr) minmax(280px, 1fr); gap: 14px; flex: 1; min-height: 0; }
.fin-col { padding: 16px 16px 18px; overflow-y: auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.fin-col h3 { margin: 0; font-size: 1.02em; }
.fin-col h4 { margin: 6px 0 0; font-size: .8em; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #6b7280); }
.fin-big { border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; background: linear-gradient(180deg, rgba(22,163,74,.10), rgba(22,163,74,.04)); }
.fin-big.bad { background: linear-gradient(180deg, rgba(220,38,38,.10), rgba(220,38,38,.04)); }
.fin-big small { font-weight: 600; color: var(--muted, #6b7280); }
.fin-big b { font-size: 1.9em; letter-spacing: -.01em; color: #15803d; }
.fin-big.bad b { color: #b91c1c; }
.fin-big span { font-size: .85em; color: var(--muted, #6b7280); }
.fin-calc { margin: 0; display: flex; flex-direction: column; }
.fin-calc div { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.fin-calc dt { color: var(--muted, #6b7280); } .fin-calc dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.fin-calc .sub dt, .fin-calc .sub dd { color: inherit; font-weight: 700; }
.fin-calc .tot { border-bottom: 0; border-top: 2px solid var(--border); } .fin-calc .tot dt { color: inherit; font-weight: 800; } .fin-calc .tot dd { font-weight: 800; }
.fin-warn { margin: 0; padding: 8px 10px; border-radius: 10px; background: rgba(245,158,11,.12); color: #92400e; font-size: .85em; }
.fin-note, .fin-help { margin: 0; font-size: .82em; color: var(--muted, #6b7280); }
.fin-help { margin-top: auto; padding-top: 6px; }
.fin-bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding-top: 6px; }
.fin-bar { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 1px; height: 100%; position: relative; padding-bottom: 14px; min-width: 0; }
.fin-bar i, .fin-bar u { display: block; width: 45%; max-width: 12px; border-radius: 3px 3px 0 0; min-height: 1px; }
.fin-bar i { background: #3b82f6; } .fin-bar u { background: #16a34a; } .fin-bar u.neg { background: #dc2626; }
.fin-bar em { position: absolute; bottom: 0; font-style: normal; font-size: .62em; color: var(--muted, #6b7280); }
.fin-legend { display: flex; gap: 12px; font-size: .75em; color: var(--muted, #6b7280); }
.fin-legend i, .fin-legend u { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 4px; } .fin-legend i { background: #3b82f6; } .fin-legend u { background: #16a34a; }
.fin-cats { list-style: none; margin: 0; padding: 0; }
.fin-cats li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: .92em; }
.fin-cats li b { font-variant-numeric: tabular-nums; }
.empty { color: var(--muted, #6b7280); font-size: .88em; }
.fin-io { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fin-io div { border-radius: 12px; padding: 10px; display: flex; flex-direction: column; background: var(--bg, #f6f7f9); }
.fin-io small { font-size: .75em; color: var(--muted, #6b7280); font-weight: 600; } .fin-io b { font-size: 1.05em; font-variant-numeric: tabular-nums; }
.fin-io .in b { color: #15803d; } .fin-io .out b { color: #b91c1c; } .fin-io .net.bad b { color: #b91c1c; }
.fin-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.fin-acts .btn { min-height: 38px; }
.fin-moves { list-style: none; margin: 0; padding: 0; }
.fin-moves li { display: grid; grid-template-columns: 44px 1fr auto 30px; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .9em; }
.fin-moves .d { color: var(--muted, #6b7280); font-variant-numeric: tabular-nums; }
.fin-moves .w { display: flex; flex-direction: column; min-width: 0; } .fin-moves .w small { color: var(--muted, #6b7280); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fin-moves .a { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fin-moves .k-apport .a { color: #15803d; } .fin-moves .k-depense .a, .fin-moves .k-retrait .a, .fin-moves .k-fournisseur .a { color: #b91c1c; }
.fin-moves li.empty { display: block; }
.fin-x { border: 0; background: transparent; cursor: pointer; color: var(--muted, #6b7280); border-radius: 8px; min-width: 30px; min-height: 30px; }
.fin-x:hover { background: rgba(220,38,38,.1); color: #b91c1c; }
.fin-total { border-radius: 14px; padding: 12px 14px; background: linear-gradient(180deg, rgba(0,113,227,.10), rgba(0,113,227,.03)); display: flex; flex-direction: column; }
.fin-total small { font-weight: 600; color: var(--muted, #6b7280); } .fin-total b { font-size: 1.6em; color: var(--accent); font-variant-numeric: tabular-nums; }
.fin-wals { display: flex; flex-direction: column; gap: 8px; }
.fin-wal { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); box-shadow: 0 1px 2px rgba(16,24,40,.06); }
.fin-wal[role="button"] { cursor: pointer; } .fin-wal[role="button"]:hover { border-color: var(--accent); }
.fin-wal.off { opacity: .6; }
.fin-wal .ic { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.fin-wal .ic svg { width: 20px; height: 20px; }
.fin-wal .nm { display: flex; flex-direction: column; min-width: 0; } .fin-wal .nm small { color: var(--muted, #6b7280); font-size: .78em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fin-wal .bal { font-weight: 800; font-variant-numeric: tabular-nums; } .fin-wal .bal.bad { color: #b91c1c; }
.fin-old summary { cursor: pointer; font-size: .85em; color: var(--muted, #6b7280); margin-bottom: 6px; }
.fin-form { display: flex; flex-direction: column; gap: 10px; }
.fin-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .9em; }
.fin-form label small { font-weight: 400; color: var(--muted, #6b7280); }
.fin-form input, .fin-form select { min-height: 40px; }
.fin-form fieldset { border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.fin-form legend { font-weight: 600; font-size: .9em; padding: 0 4px; }
.fin-form .ck { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.fin-form .ck input { min-height: 0; }
/* écran « Option Pro » */
.fin-promo { flex: 1; display: flex; align-items: center; justify-content: center; padding: 16px; }
.fin-promo-card { max-width: 760px; padding: 28px 30px; display: flex; flex-direction: column; gap: 12px; }
.fin-promo-card h2 { margin: 0; font-size: 1.5em; }
.fin-lead { margin: 0; color: var(--muted, #6b7280); }
.fin-badge { align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: .75em; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #f59e0b, #d97706); }
.fin-promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fin-promo-grid div { border: 1px solid var(--border); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.fin-promo-grid span { font-size: .88em; color: var(--muted, #6b7280); }
@media (max-width: 1100px) { .fin-cols { grid-template-columns: 1fr 1fr; } .fin-cols > :last-child { grid-column: 1 / -1; } }
@media (max-width: 1100px) { #page-finances { overflow-y: auto; } .fin, .fin-cols { flex: none; } .fin-col { overflow: visible; } }
@media (max-width: 720px) { .fin-cols, .fin-promo-grid { grid-template-columns: 1fr; } .fin-nav span { min-width: 0; } .fin-bar em { font-size: .5em; } }
.fin-opt { margin-left: auto; min-height: 36px; }

/* ---- Écran « Portefeuilles » : même langage visuel que la page Stock (cartes .sh-card : rayon 14, relief --shine/--shadow ;
   KPI ; sélecteur segmenté ; tableau à en-tête collant ; teintes de dépôt reprises pour les portefeuilles) ---- */
#page-finances { overflow-y: auto; }
.fin { gap: 12px; padding: 12px 14px 24px; min-height: 0; }
#page-finances .sh-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shine, none), var(--shadow); min-width: 0; }
#page-finances .sh-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--border); } #page-finances .sh-head h3 { margin: 0; font-size: 1em; } #page-finances .sh-head p { margin: 2px 0 0; color: var(--muted); font-size: .82em; }
#page-finances .sh-seg { display: inline-flex; background: var(--panel2); border-radius: 10px; padding: 3px; gap: 2px; } #page-finances .sh-seg button { border: 0; background: transparent; border-radius: 8px; padding: 6px 12px; font: inherit; font-size: .85em; color: inherit; cursor: pointer; min-height: 32px; } #page-finances .sh-seg button.on { background: var(--panel); box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 700; color: var(--accent); }
#page-finances .sh-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 8px 12px; }
.fin-top { gap: 12px; } .fin-ttl h2 { margin: 0; font-size: 1.25em; } .fin-ttl p { margin: 1px 0 0; font-size: .8em; color: var(--muted); }
.fin-top .fin-sp { flex: 1; } .fin-live { color: var(--muted); font-size: .8em; white-space: nowrap; } .fin-live::before { content: '●'; color: #16a34a; margin-right: 5px; font-size: .75em; }
.fin-seg { background: var(--panel2); border: 0; border-radius: 10px; padding: 3px; } .fin-seg button { border-radius: 8px; min-height: 32px; padding: 5px 12px; font-size: .85em; } .fin-seg button.on { background: var(--panel); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.fin-nav button { border-radius: 10px; min-width: 34px; min-height: 34px; background: var(--input); } .fin-nav span { min-width: 190px; font-size: .92em; }
/* totaux (comme les KPI de Stock) */
.fin-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sh-kpi { padding: 14px 16px; } .sh-kpi span { color: var(--muted); font-size: .85em; } .sh-kpi b { display: block; font-size: 1.6em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.fin-tiles .ok { color: #15803d; } .fin-tiles .bad { color: var(--danger); } .fin-tiles .blue { color: var(--accent); }
/* portefeuilles : cartes à liseré de couleur, comme les dépôts */
.fin-wcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.fin-wc { text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); border-top: 3px solid rgb(var(--c, 128,128,128)); background: var(--panel); color: var(--text); font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 5px; box-shadow: var(--shine, none), var(--shadow); min-height: 124px; transition: transform .15s, box-shadow .15s; }
.fin-wc:hover { transform: translateY(-2px); box-shadow: var(--shine, none), var(--shadow-hi, var(--shadow)); }
.fin-wc.tot { --c: var(--accent-rgb, 0,113,227); border-top-color: var(--accent); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--panel)), var(--panel)); cursor: default; justify-content: center; } .fin-wc.tot:hover { transform: none; }
.fin-wc.on { box-shadow: 0 0 0 2px rgba(var(--c), .45), var(--shadow); background: linear-gradient(rgba(var(--c), .07), rgba(var(--c), .07)), var(--panel); }
.fin-wc.neg .wc-b { color: var(--danger); }
.fin-wc .wc-h { display: flex; align-items: center; gap: 7px; font-size: .9em; color: rgb(var(--c, 90,90,90)); font-weight: 700; } .fin-wc.tot .wc-h { color: var(--text); } .fin-wc .wc-h b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fin-wc .ic { width: 18px; height: 18px; display: inline-flex; } .fin-wc .ic svg { width: 100%; height: 100%; }
.fin-wc .wc-ed { border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 1em; min-width: 30px; min-height: 30px; border-radius: 8px; } .fin-wc .wc-ed:hover { background: var(--panel2); color: var(--text); }
.fin-wc .wc-b { font-size: 1.5em; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.15; color: var(--text); } .fin-wc.tot .wc-b { font-size: 1.75em; color: var(--accent); }
.fin-wc .wc-sub { font-size: .8em; color: var(--muted); } .fin-wc .wc-reg { font-size: .74em; color: rgb(var(--c, 0,113,227)); font-weight: 700; }
.fin-wc .wc-bar { height: 5px; border-radius: 99px; background: rgba(var(--c), .18); overflow: hidden; } .fin-wc .wc-bar i { display: block; height: 100%; background: rgb(var(--c)); border-radius: 99px; }
.fin-wc .wc-io { display: flex; justify-content: space-between; font-size: .78em; font-variant-numeric: tabular-nums; } .wc-io .ok { color: #15803d; } .wc-io .bad { color: var(--danger); }
.fin-wc.new { align-items: center; justify-content: center; border-style: dashed; border-top-style: dashed; border-top-color: var(--border); background: transparent; box-shadow: none; font-weight: 600; color: var(--muted); } .fin-wc.new span { font-size: 1.8em; line-height: 1; }
.fin-work2 { display: grid; grid-template-columns: minmax(300px, 4fr) 9fr; gap: 12px; align-items: start; }
.fin-op, .fin-jr { overflow: visible; } .fin-pd { padding: 14px 16px; } p.fin-pd { margin: 0; }
.fin-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; padding: 3px; background: var(--panel2); border-radius: 10px; }
.fin-mode { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 4px; min-height: 52px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: .82em; font-weight: 600; cursor: pointer; } .fin-mode svg { width: 18px; height: 18px; }
.fin-mode:disabled { opacity: .4; cursor: not-allowed; }
.fin-mode.on { background: var(--panel); box-shadow: 0 1px 3px rgba(0,0,0,.14); } .fin-mode.on.entree { color: #15803d; } .fin-mode.on.sortie { color: var(--danger); } .fin-mode.on.virement { color: var(--accent); }
.fin-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .fin-inline > * { min-width: 0; }
.fin-inline label { display: flex; flex-direction: column; gap: 4px; font-size: .78em; font-weight: 700; color: var(--muted); } .fin-inline label.amt { grid-column: 1 / -1; }
.fin-inline label .input { color: var(--text); font-weight: 400; font-size: 1.1em; min-height: 38px; } .fin-inline label.amt .input { font-size: 1.6em; font-weight: 800; padding: 8px 12px; }
.fin-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; } .fin-chips button { border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 7%, var(--panel)); color: var(--accent); border-radius: 6px; padding: 2px 9px; font: inherit; font-size: .9em; font-weight: 600; cursor: pointer; min-height: 28px; }
.fin-save { grid-column: 1 / -1; min-height: 44px; border: 0; border-radius: 10px; color: #fff; font: inherit; font-weight: 700; cursor: pointer; margin-top: 3px; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px -4px rgba(0,0,0,.35); }
.fin-save.entree { background: #15803d; } .fin-save.sortie { background: var(--danger); } .fin-save.virement { background: var(--accent); } .fin-save:disabled { opacity: .5; }
.jr-chip { display: inline-flex; align-items: center; gap: 4px; background: rgba(var(--c), .14); color: rgb(var(--c)); border-radius: 99px; padding: 1px 3px 1px 9px; font-size: .8em; font-weight: 700; margin-left: 6px; vertical-align: 1px; } .jr-chip button { border: 0; background: transparent; cursor: pointer; border-radius: 50%; min-width: 22px; min-height: 22px; color: inherit; }
.jr-s { display: flex; align-items: center; gap: 6px; flex: 1 1 240px; border: 1px solid var(--border); background: var(--input); border-radius: 10px; padding: 0 10px; min-height: 34px; color: var(--muted); } .jr-s input { border: 0; background: transparent; outline: 0; font: inherit; font-size: .9em; color: var(--text); flex: 1; min-width: 0; }
/* tableau du journal (même gabarit que la matrice de Stock) */
.sh-wrap { overflow: auto; max-height: calc(100vh - 330px); min-height: 220px; }
.sh-tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .86em; line-height: 1.25; }
.sh-tbl th { position: sticky; top: 0; z-index: 2; background: var(--panel); text-align: left; font-size: .74em; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 6px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.sh-tbl td { padding: 6px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; } .sh-tbl tbody tr:not(.fin-day):nth-child(even) td { background-image: linear-gradient(rgba(0,0,0,.018), rgba(0,0,0,.018)); } .sh-tbl tbody tr:not(.fin-day):hover td { background: rgba(0,0,0,.03); }
.sh-tbl .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fin-tbl td.d { color: var(--muted); width: 54px; font-variant-numeric: tabular-nums; } .fin-tbl td.ic { width: 34px; padding-right: 0; }
.fin-tbl td.w b { font-weight: 600; } .fin-tbl td.w small { display: block; color: var(--muted); font-size: .86em; max-width: 520px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fin-tbl td.wl { white-space: nowrap; } .fin-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--c)); margin-right: 6px; } .fin-tbl td.kd { color: var(--muted); white-space: nowrap; font-size: .9em; }
.fin-tbl td.a { font-weight: 700; } .fin-tbl .ok { color: #15803d; } .fin-tbl .bad { color: var(--danger); } .fin-tbl .blue { color: var(--accent); } .fin-tbl .fin-x { margin-left: 6px; vertical-align: middle; }
.fin-tbl tr.fin-day td { background: var(--panel2); color: var(--muted); font-size: .76em; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 4px 10px; } .fin-tbl tr.fin-day b.ok { color: #15803d; } .fin-tbl tr.fin-day b.bad { color: var(--danger); }
.sh-empty { text-align: center; color: var(--muted); padding: 34px 20px !important; font-size: .9em; } .sh-empty b { display: block; color: var(--text); font-size: 1.05em; margin-bottom: 4px; }
.jic { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; } .jic svg { width: 14px; height: 14px; }
.jic.in { background: rgba(21,128,61,.14); color: #15803d; } .jic.out { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); } .jic.swap { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); } .jic.clo { background: var(--panel2); color: var(--muted); }
@media (max-width: 1000px) { .fin-tiles { grid-template-columns: 1fr 1fr; } .fin-work2 { grid-template-columns: 1fr; } .sh-wrap { max-height: none; } .fin-tbl td.kd, .fin-tbl th:nth-child(5) { display: none; } }
@media (max-width: 560px) { .fin-wcards { grid-template-columns: 1fr 1fr; } .fin-inline { grid-template-columns: 1fr; } .fin-nav span { min-width: 0; } .fin-tbl td.wl, .fin-tbl th:nth-child(4) { display: none; } }

/* bénéfice : le chiffre principal */
.fin-tiles { grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); }
.sh-kpi.fin-ben { border-top: 3px solid #16a34a; background: linear-gradient(135deg, rgba(22,163,74,.10), var(--panel) 70%); } .sh-kpi.fin-ben.bad { border-top-color: var(--danger); background: linear-gradient(135deg, color-mix(in srgb, var(--danger) 10%, transparent), var(--panel) 70%); }
.sh-kpi.fin-ben span { font-weight: 700; color: var(--text); } .sh-kpi.fin-ben b { font-size: 2em; color: #15803d; } .sh-kpi.fin-ben.bad b { color: var(--danger); } .sh-kpi.fin-ben small { display: block; margin-top: 2px; color: var(--muted); font-size: .8em; } .fin-est { color: #b45309; font-weight: 700; cursor: help; }
.fin-wc .wc-ben { margin-top: 2px; font-size: .85em; font-weight: 600; } .fin-wc .wc-ben.ok b { color: #15803d; } .fin-wc .wc-ben.bad b { color: var(--danger); }
@media (max-width: 1200px) { .fin-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sh-kpi.fin-ben { grid-column: 1 / -1; } }
@media (max-width: 1000px) { .fin-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fin-tiles { grid-template-columns: 1fr; } }
