/*
 * Dashboards por área — Dirección / BI.
 * Concepto: "Ver como". Un mismo dashboard que cambia según quién lo consulta: en el hero un selector real
 * (radios + :has, sin JS) alterna la vista de Gerencia comercial, Dirección de finanzas y Jefatura de almacén,
 * cada una con sus indicadores, filtros, exportación y permisos.
 * (Distinto de tableros-indicadores-kpi-erp, que arma un tablero con las tres áreas a la vez, y de
 * reportes-directivos-erp, que es el documento.) Mismo color por área que esas dos landings:
 * azul = Ventas / CRM, naranja = Finanzas / Cobranza, verde agua = Inventarios / Almacenes.
 * El color solo marca barras, muestras y bordes; el texto va siempre en tinta (naranja y verde agua quedan bajo 4.5:1).
 * Display Geologica; cuerpo Inter.
 * Momento animado único: las barras de la vista activa crecen al cargar y vuelven a crecer al cambiar de vista.
 */
[data-function-layout="dashboards"] {
    --da-ink: #041f49;
    --da-gold: #fac63f;
    --da-a0: #2a78d6;
    --da-a1: #eb6834;
    --da-a2: #1baf7a;
    --da-paper: #f2f4f8;
    --da-line: #dde3ea;
    --da-cell: #e4e9f0;
    --da-muted: #46505e;
    --da-text: #1f2a3d;
    --da-display: "Geologica", "Hanken Grotesk", ui-sans-serif, sans-serif;
    --da-ease: cubic-bezier(.2, .7, .2, 1);
}
[data-function-layout="dashboards"] .da-a0 { --da-area: var(--da-a0); --da-area-tint: #e2edfa; }
[data-function-layout="dashboards"] .da-a1 { --da-area: var(--da-a1); --da-area-tint: #fdebe3; }
[data-function-layout="dashboards"] .da-a2 { --da-area: var(--da-a2); --da-area-tint: #dcf3ea; }
[data-function-layout="dashboards"] .da-swatch { display: inline-block; flex: 0 0 auto; width: .7rem; height: .7rem; border-radius: .2rem; background: var(--da-area); }

[data-function-layout="dashboards"] .cv-hero-title,
[data-function-layout="dashboards"] .cv-section-title,
[data-function-layout="dashboards"] .cv-form-title { font-family: var(--da-display); font-weight: 800; letter-spacing: -.02em; }
[data-function-layout="dashboards"] .cv-section-title { font-size: clamp(1.75rem, 2.8vw, 2.6rem); line-height: 1.12; }

/* ---------- Superficies ---------- */
[data-function-layout="dashboards"] .da-paper { background: var(--da-paper); }
[data-function-layout="dashboards"] .da-navy { background: var(--da-ink); color: #fff; }
[data-function-layout="dashboards"] .da-navy .cv-section-title { color: #fff; }
[data-function-layout="dashboards"] .da-split { display: grid; gap: 2.5rem 4rem; align-items: center; }
[data-function-layout="dashboards"] .da-split--top { align-items: start; }
[data-function-layout="dashboards"] .da-lead { max-width: 42rem; margin-top: 1.25rem; color: var(--da-text); font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.75; }
[data-function-layout="dashboards"] .da-lead--light { color: rgb(255 255 255 / .88); }

/* ---------- Hero ---------- */
[data-function-layout="dashboards"] #inicio { background: linear-gradient(155deg, #041f49 0%, #0a2c5c 70%, #0f3870 100%); color: #fff; }
[data-function-layout="dashboards"] #inicio .function-hero__media img { object-position: 65% 50%; }
[data-function-layout="dashboards"] #inicio .function-hero__overlay {
    background:
        linear-gradient(180deg, transparent 65%, rgb(4 31 73 / .7) 100%),
        linear-gradient(90deg, rgb(4 31 73 / .97) 0%, rgb(4 31 73 / .9) 42%, rgb(10 44 92 / .72) 70%, rgb(15 56 112 / .55) 100%);
}
[data-function-layout="dashboards"] .rh-hero-layout { position: relative; z-index: 1; align-items: center; }
[data-function-layout="dashboards"] #inicio .cv-hero-title { max-width: 10ch; color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 1; }
[data-function-layout="dashboards"] #inicio .cv-hero-description { max-width: 34rem; margin-top: 1.5rem; color: rgb(255 255 255 / .86); }
[data-function-layout="dashboards"] .da-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
[data-function-layout="dashboards"] #inicio .cv-primary-button { border-color: var(--da-gold); background: var(--da-gold); color: var(--da-ink); box-shadow: 0 14px 30px rgb(0 0 0 / .3); }
[data-function-layout="dashboards"] #inicio .cv-primary-button:hover,
[data-function-layout="dashboards"] #inicio .cv-primary-button:focus-visible { background: #ffd666; }
[data-function-layout="dashboards"] #inicio .cv-secondary-button { border-color: rgb(255 255 255 / .7); background: transparent; color: #fff; }
[data-function-layout="dashboards"] #inicio .cv-secondary-button:hover,
[data-function-layout="dashboards"] #inicio .cv-secondary-button:focus-visible { background: #fff; color: var(--da-ink); }
[data-function-layout="dashboards"] #inicio .cv-primary-button:focus-visible,
[data-function-layout="dashboards"] #inicio .cv-secondary-button:focus-visible { outline: 3px solid var(--da-gold); outline-offset: 3px; }

/* Dashboard "Ver como": el estilo base es el estado final. */
[data-function-layout="dashboards"] .da-board { justify-self: center; width: 100%; max-width: 34rem; margin: 0; padding: 1rem; border-radius: .6rem; background: #fff; box-shadow: 0 24px 50px rgb(0 0 0 / .35); color: var(--da-text); }
[data-function-layout="dashboards"] .da-board .cv-icon { width: 15px; height: 15px; flex-basis: 15px; }
[data-function-layout="dashboards"] .da-switch { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; min-width: 0; margin: 0; padding: .3rem; border: 0; border-radius: .45rem; background: var(--da-paper); }
[data-function-layout="dashboards"] .da-switch__legend { float: left; margin: 0 .35rem 0 .45rem; padding: 0; color: var(--da-muted); font-size: .78rem; font-weight: 700; }
[data-function-layout="dashboards"] .da-switch__option { position: relative; flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: .35rem .6rem; border-radius: .35rem; color: var(--da-muted); font-size: .88rem; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
[data-function-layout="dashboards"] .da-switch__option input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
[data-function-layout="dashboards"] .da-switch__option span { display: flex; align-items: center; gap: .4rem; }
[data-function-layout="dashboards"] .da-switch__option span::before { content: ""; width: .6rem; height: .6rem; border-radius: .15rem; background: var(--da-area); }
[data-function-layout="dashboards"] .da-switch__option:hover { color: var(--da-ink); }
[data-function-layout="dashboards"] .da-switch__option:has(input:checked) { background: #fff; box-shadow: 0 2px 8px rgb(4 31 73 / .12), inset 0 -3px 0 var(--da-area); color: var(--da-ink); }
[data-function-layout="dashboards"] .da-switch__option:has(input:focus-visible) { outline: 3px solid var(--da-ink); outline-offset: 2px; }

[data-function-layout="dashboards"] .da-view { display: none; gap: .85rem; padding: 1rem .35rem .2rem; }
[data-function-layout="dashboards"] .da-view[data-view="0"] { display: grid; }
@supports selector(:has(*)) {
    [data-function-layout="dashboards"] .da-board:has(input[value="1"]:checked) .da-view[data-view="0"],
    [data-function-layout="dashboards"] .da-board:has(input[value="2"]:checked) .da-view[data-view="0"] { display: none; }
    [data-function-layout="dashboards"] .da-board:has(input[value="1"]:checked) .da-view[data-view="1"],
    [data-function-layout="dashboards"] .da-board:has(input[value="2"]:checked) .da-view[data-view="2"] { display: grid; }
}
[data-function-layout="dashboards"] .da-view__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; }
[data-function-layout="dashboards"] .da-view__area { display: flex; align-items: center; gap: .5rem; margin: 0; color: var(--da-ink); font-family: var(--da-display); font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
[data-function-layout="dashboards"] .da-view__role { display: inline-flex; align-items: center; gap: .35rem; margin: 0; color: var(--da-muted); font-size: .82rem; font-weight: 600; }
[data-function-layout="dashboards"] .da-view__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
[data-function-layout="dashboards"] .da-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .55rem; border-radius: 1rem; box-shadow: inset 0 0 0 1px var(--da-line); color: var(--da-text); font-size: .74rem; font-weight: 600; white-space: nowrap; }
[data-function-layout="dashboards"] .da-view__exports { display: inline-flex; gap: .3rem; margin-left: auto; }
[data-function-layout="dashboards"] .da-export { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .5rem; border-radius: .3rem; background: var(--da-ink); color: #fff; font-size: .72rem; font-weight: 700; }
[data-function-layout="dashboards"] .da-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 0; padding: 0; list-style: none; }
[data-function-layout="dashboards"] .da-tiles li { display: grid; align-content: start; gap: .2rem; padding: .7rem .75rem .65rem; border-radius: .4rem; background: var(--da-area-tint); box-shadow: inset 0 3px 0 var(--da-area); }
[data-function-layout="dashboards"] .da-tile__label { color: var(--da-muted); font-size: .72rem; font-weight: 600; line-height: 1.3; }
[data-function-layout="dashboards"] .da-tile__value { color: var(--da-ink); font-family: var(--da-display); font-size: 1.35rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
[data-function-layout="dashboards"] .da-tile__bars { display: flex; align-items: flex-end; gap: 3px; height: 2rem; margin-top: .35rem; }
[data-function-layout="dashboards"] .da-tile__bars i { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: var(--da-area); transform-origin: bottom; animation: da-grow .55s var(--da-ease) both; }
[data-function-layout="dashboards"] .da-tiles li:nth-child(2) i { animation-delay: .1s; }
[data-function-layout="dashboards"] .da-tiles li:nth-child(3) i { animation-delay: .2s; }
[data-function-layout="dashboards"] .da-view__access { display: flex; align-items: center; gap: .35rem; margin: 0; padding-top: .7rem; border-top: 1px solid var(--da-line); color: var(--da-muted); font-size: .78rem; font-weight: 600; }
[data-function-layout="dashboards"] .da-board figcaption { margin-top: .6rem; padding-left: .35rem; color: var(--da-muted); font-size: .72rem; }

/* ---------- Definición: anatomía del dashboard ---------- */
[data-function-layout="dashboards"] .da-anatomy { display: grid; gap: .8rem; margin: 0; padding: clamp(1.1rem, 3vw, 1.5rem); border: 2px solid var(--da-ink); border-radius: .6rem; background: #fff; }
[data-function-layout="dashboards"] .da-anatomy .cv-icon { width: 16px; height: 16px; flex-basis: 16px; }
[data-function-layout="dashboards"] .da-anatomy__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: .55rem; border: 1.5px dashed #9aa8b8; border-radius: .4rem; }
[data-function-layout="dashboards"] .da-anatomy__tag,
[data-function-layout="dashboards"] .da-anatomy__label,
[data-function-layout="dashboards"] .da-anatomy__access { display: inline-flex; align-items: center; gap: .4rem; margin: 0; color: var(--da-ink); font-size: .9rem; font-weight: 700; }
[data-function-layout="dashboards"] .da-anatomy__tag { padding: .3rem .65rem; border-radius: 1rem; background: var(--da-paper); }
[data-function-layout="dashboards"] .da-anatomy__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; padding: .55rem; border: 1.5px dashed #9aa8b8; border-radius: .4rem; }
[data-function-layout="dashboards"] .da-anatomy__tiles > span { display: flex; align-items: center; gap: .4rem; min-height: 3.2rem; padding: .5rem .6rem; border-radius: .35rem; background: var(--da-area-tint); box-shadow: inset 0 3px 0 var(--da-area); color: var(--da-ink); font-size: .8rem; font-weight: 700; line-height: 1.25; }
[data-function-layout="dashboards"] .da-anatomy__chart { display: flex; align-items: flex-end; gap: .4rem; height: 5rem; padding: .55rem .7rem 0; border-bottom: 2px solid var(--da-line); }
[data-function-layout="dashboards"] .da-anatomy__chart i { flex: 1; border-radius: .2rem .2rem 0 0; background: #c9d3df; }
[data-function-layout="dashboards"] .da-anatomy__chart i:nth-child(1) { height: 40%; }
[data-function-layout="dashboards"] .da-anatomy__chart i:nth-child(2) { height: 58%; }
[data-function-layout="dashboards"] .da-anatomy__chart i:nth-child(3) { height: 50%; }
[data-function-layout="dashboards"] .da-anatomy__chart i:nth-child(4) { height: 72%; }
[data-function-layout="dashboards"] .da-anatomy__chart i:nth-child(5) { height: 64%; }
[data-function-layout="dashboards"] .da-anatomy__chart i:nth-child(6) { height: 84%; }
[data-function-layout="dashboards"] .da-anatomy__chart i:nth-child(7) { height: 76%; }
[data-function-layout="dashboards"] .da-anatomy__access { justify-self: end; padding: .3rem .65rem; border-radius: 1rem; background: var(--da-ink); color: #fff; }

/* ---------- Problema: una vista por responsable ---------- */
[data-function-layout="dashboards"] .da-focus { display: grid; gap: .75rem; margin: 0; }
[data-function-layout="dashboards"] .da-focus__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .9rem 1rem; border-radius: .5rem; background: #fff; box-shadow: inset 0 0 0 1px var(--da-line); }
[data-function-layout="dashboards"] .da-focus__who { display: grid; gap: .2rem; margin: 0; }
[data-function-layout="dashboards"] .da-focus__who b { color: var(--da-ink); font-family: var(--da-display); font-size: 1.1rem; font-weight: 800; }
[data-function-layout="dashboards"] .da-focus__who small { display: flex; align-items: center; gap: .4rem; color: var(--da-muted); font-size: .82rem; font-weight: 600; }
[data-function-layout="dashboards"] .da-focus__grid { display: grid; grid-template-columns: repeat(6, .95rem); gap: 3px; }
[data-function-layout="dashboards"] .da-focus__grid i { height: .95rem; border-radius: 2px; background: var(--da-cell); }
[data-function-layout="dashboards"] .da-focus__grid i.is-own { background: var(--da-area); }
[data-function-layout="dashboards"] .da-focus figcaption { display: flex; align-items: center; gap: .4rem; margin-top: .25rem; color: var(--da-muted); font-size: .9rem; font-weight: 600; }
[data-function-layout="dashboards"] .da-focus figcaption .cv-icon { width: 17px; height: 17px; flex-basis: 17px; }

/* ---------- Funciones: barra de herramientas ---------- */
[data-function-layout="dashboards"] .da-toolbar { display: grid; margin: 0; padding: 0; list-style: none; }
[data-function-layout="dashboards"] .da-toolbar li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; min-height: 4.25rem; }
/* Divisor de fila que empieza después del riel de íconos y cruza texto y chips. */
[data-function-layout="dashboards"] .da-toolbar li:not(:last-child) { background: linear-gradient(var(--da-line), var(--da-line)) no-repeat right bottom / calc(100% - 4.35rem) 1px; }
[data-function-layout="dashboards"] .da-toolbar__files { display: flex; }
/* Los íconos forman un riel continuo, como la barra lateral de un dashboard. */
[data-function-layout="dashboards"] .da-toolbar__icon { display: grid; place-items: center; align-self: stretch; background: var(--da-ink); color: #fff; }
[data-function-layout="dashboards"] .da-toolbar li:first-child .da-toolbar__icon { border-radius: .5rem .5rem 0 0; }
[data-function-layout="dashboards"] .da-toolbar li:last-child .da-toolbar__icon { border-radius: 0 0 .5rem .5rem; }
[data-function-layout="dashboards"] .da-toolbar__icon .cv-icon { width: 22px; height: 22px; flex-basis: 22px; }
[data-function-layout="dashboards"] .da-toolbar__text { color: var(--da-ink); font-size: 1.0625rem; font-weight: 600; line-height: 1.45; }
[data-function-layout="dashboards"] .da-toolbar__files { gap: .3rem; }

/* ---------- Integración: los módulos alimentan el dashboard ---------- */
[data-function-layout="dashboards"] .da-feed { display: grid; gap: 1.75rem; margin: 0; }
[data-function-layout="dashboards"] .da-feed__modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
[data-function-layout="dashboards"] .da-feed__modules li { position: relative; display: grid; justify-items: start; gap: .5rem; padding: .9rem; border-radius: .45rem; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2), inset 0 4px 0 var(--da-area); color: #fff; font-weight: 700; line-height: 1.3; }
[data-function-layout="dashboards"] .da-feed__modules li::after { content: ""; position: absolute; top: 100%; left: 50%; width: 2px; height: 1.75rem; background: rgb(255 255 255 / .35); }
[data-function-layout="dashboards"] .da-feed__modules .cv-icon { width: 22px; height: 22px; flex-basis: 22px; color: var(--da-gold); }
[data-function-layout="dashboards"] .da-feed__board { display: flex; align-items: center; justify-content: center; gap: .55rem; margin: 0; padding: 1rem; border: 2px solid var(--da-gold); border-radius: .5rem; color: #fff; font-family: var(--da-display); font-size: 1.25rem; font-weight: 800; }
[data-function-layout="dashboards"] .da-feed__board .cv-icon { width: 22px; height: 22px; flex-basis: 22px; color: var(--da-gold); }

/* ---------- Ejemplo: bitácora ---------- */
[data-function-layout="dashboards"] .da-log { margin: 0; padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--da-line); border-radius: .6rem; background: var(--da-paper); }
[data-function-layout="dashboards"] .da-log figcaption { display: flex; align-items: center; gap: .5rem; color: var(--da-ink); font-family: var(--da-display); font-size: 1.2rem; font-weight: 800; }
[data-function-layout="dashboards"] .da-log figcaption .cv-icon { width: 20px; height: 20px; flex-basis: 20px; }
[data-function-layout="dashboards"] .da-log ol { display: grid; gap: .65rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
[data-function-layout="dashboards"] .da-log li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: .85rem; align-items: center; padding: .8rem .9rem; border-radius: .4rem; background: #fff; box-shadow: inset 0 0 0 1px var(--da-line), inset 4px 0 0 var(--da-area); }
[data-function-layout="dashboards"] .da-log__icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .4rem; background: var(--da-area-tint); color: var(--da-ink); }
[data-function-layout="dashboards"] .da-log__text { display: grid; gap: .1rem; }
[data-function-layout="dashboards"] .da-log__text strong { color: var(--da-ink); font-weight: 700; }
[data-function-layout="dashboards"] .da-log__text small { color: var(--da-muted); font-size: .82rem; font-weight: 600; }
[data-function-layout="dashboards"] .da-log__lock { display: inline-flex; align-items: center; gap: .3rem; color: var(--da-muted); font-size: .75rem; font-weight: 700; white-space: nowrap; }
[data-function-layout="dashboards"] .da-log__lock .cv-icon { width: 14px; height: 14px; flex-basis: 14px; }

/* ---------- Comparativo ---------- */
[data-function-layout="dashboards"] .da-compare { width: 100%; margin-top: 2.5rem; border-collapse: collapse; table-layout: fixed; }
[data-function-layout="dashboards"] .da-compare thead th { padding: 1rem 1.25rem; border-bottom: 3px solid var(--da-line); color: var(--da-muted); font-family: var(--da-display); font-size: 1.2rem; font-weight: 800; text-align: left; }
[data-function-layout="dashboards"] .da-compare thead th:last-child { border-bottom-color: var(--da-ink); color: var(--da-ink); }
[data-function-layout="dashboards"] .da-compare td { padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--da-line); font-size: 1.0625rem; line-height: 1.6; vertical-align: top; }
[data-function-layout="dashboards"] .da-compare td:first-child { color: var(--da-muted); }
[data-function-layout="dashboards"] .da-compare td:last-child { background: #fff; color: var(--da-ink); font-weight: 600; }
[data-function-layout="dashboards"] .da-compare__check { display: inline-grid; margin-right: .6rem; vertical-align: -.3em; color: var(--da-ink); }
[data-function-layout="dashboards"] .da-compare__check .cv-icon { width: 20px; height: 20px; flex-basis: 20px; }

/* ---------- Responsive ---------- */
@media (min-width: 1024px) {
    [data-function-layout="dashboards"] .rh-hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    [data-function-layout="dashboards"] .da-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    [data-function-layout="dashboards"] #inicio .function-hero__overlay { background: linear-gradient(180deg, rgb(4 31 73 / .95) 0%, rgb(4 31 73 / .86) 50%, rgb(10 44 92 / .7) 100%); }
    [data-function-layout="dashboards"] #inicio .cv-hero-title { max-width: none; }
}
@media (max-width: 767px) {
    [data-function-layout="dashboards"] .da-hero__actions > * { width: 100%; }
    [data-function-layout="dashboards"] .da-board { padding: .75rem; }
    [data-function-layout="dashboards"] .da-switch__legend { float: none; width: 100%; margin: .15rem .35rem .1rem; }
    [data-function-layout="dashboards"] .da-switch__option { font-size: .82rem; padding-inline: .35rem; }
    [data-function-layout="dashboards"] .da-view__exports { margin-left: 0; }
    [data-function-layout="dashboards"] .da-tiles { grid-template-columns: minmax(0, 1fr); }
    [data-function-layout="dashboards"] .da-tiles li { grid-template-columns: minmax(0, 1fr) 5.5rem; column-gap: .75rem; align-items: center; }
    [data-function-layout="dashboards"] .da-tile__label { grid-column: 1; }
    [data-function-layout="dashboards"] .da-tile__value { grid-column: 1; }
    [data-function-layout="dashboards"] .da-tile__bars { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
    [data-function-layout="dashboards"] .da-anatomy__tiles { grid-template-columns: minmax(0, 1fr); }
    [data-function-layout="dashboards"] .da-anatomy__tiles > span { min-height: 0; }
    [data-function-layout="dashboards"] .da-focus__row { grid-template-columns: minmax(0, 1fr); }
    [data-function-layout="dashboards"] .da-feed__modules { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
    [data-function-layout="dashboards"] .da-feed__modules li { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
    [data-function-layout="dashboards"] .da-feed__modules li::after { display: none; }
    [data-function-layout="dashboards"] .da-toolbar li { grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: .9rem; row-gap: 0; }
    [data-function-layout="dashboards"] .da-toolbar__icon { grid-row: 1 / span 2; }
    [data-function-layout="dashboards"] .da-toolbar li:not(:last-child) { background-size: calc(100% - 3.65rem) 1px; }
    [data-function-layout="dashboards"] .da-toolbar__files { grid-column: 2; padding-bottom: .6rem; }
    [data-function-layout="dashboards"] .da-log li { grid-template-columns: 2.4rem minmax(0, 1fr); }
    [data-function-layout="dashboards"] .da-log__lock { grid-column: 2; }
    [data-function-layout="dashboards"] .da-compare thead { display: none; }
    [data-function-layout="dashboards"] .da-compare,
    [data-function-layout="dashboards"] .da-compare tbody,
    [data-function-layout="dashboards"] .da-compare tr,
    [data-function-layout="dashboards"] .da-compare td { display: block; width: 100%; }
    [data-function-layout="dashboards"] .da-compare tr { padding: .75rem 0; border-bottom: 1px solid var(--da-line); }
    [data-function-layout="dashboards"] .da-compare td { padding: .65rem .85rem; border-bottom: 0; }
    [data-function-layout="dashboards"] .da-compare td::before { content: attr(data-label); display: block; margin-bottom: .2rem; color: var(--da-muted); font-size: .82rem; font-weight: 700; }
}

/* ---------- Keyframes ---------- */
@keyframes da-grow { from { transform: scaleY(0); } }

@media (prefers-reduced-motion: reduce) {
    [data-function-layout="dashboards"] *,
    [data-function-layout="dashboards"] *::before,
    [data-function-layout="dashboards"] *::after { animation: none !important; transition: none !important; }
}
