/* The approved paper/ink palette, with a matching night appearance. */
:root {
  color-scheme: light;
  --v-paper:#f6f5f1; --v-surface:#fff; --v-field:#fffefa;
  --v-ink:#253936; --v-muted:#5c6c68; --v-line:#dedfd7; --v-rule:#e9e9e2;
  --v-soft:#eeeee8; --v-hover:#f0f0e9; --v-neutral:#e8e9e2;
  --v-input:#849184; --v-strong:#253936; --v-on-strong:#fffefa;
  --v-on-strong-muted:#d6e3ef; --v-strong-hover:#3c534b;
  --v-accent:#b14a29; --v-accent-bg:#f6ede7; --v-accent-text:#7c442b;
  --v-focus:#b14a29; --v-focus-soft:#b14a2960;
  --v-green:#16704c; --v-green-bg:#f0fdf4;
  --v-yellow:#895c12; --v-yellow-bg:#fffbeb;
  --v-red:#b42d33; --v-red-bg:#fef2f2;
  --v-blue:#2563eb; --v-blue-bg:#eff6ff; --v-chart:#244b70;
  --v-selected:#edf4f8; --v-selected-line:#3d6f8e;
  --v-staff:#267687; --v-shadow:#25393612;
  --v-heat:#d89473; --v-heat-text:#182c28;
}
html[data-theme="night"] {
  color-scheme: dark;
  --v-paper:#151c1b; --v-surface:#1d2724; --v-field:#18221f;
  --v-ink:#e8ede5; --v-muted:#aab8ae; --v-line:#3d4d45; --v-rule:#34433b;
  --v-soft:#26342c; --v-hover:#2d3b33; --v-neutral:#314138;
  --v-input:#667a6a; --v-strong:#d9e3d7; --v-on-strong:#18231e;
  --v-on-strong-muted:#33493b; --v-strong-hover:#edf2e8;
  --v-accent:#eea07c; --v-accent-bg:#392820; --v-accent-text:#f0b79c;
  --v-focus:#eea07c; --v-focus-soft:#eea07c80;
  --v-green:#8ad6a2; --v-green-bg:#203d2d;
  --v-yellow:#efd188; --v-yellow-bg:#3c3420;
  --v-red:#ffb2ab; --v-red-bg:#482d2d;
  --v-blue:#a9ceef; --v-blue-bg:#243849; --v-chart:#94b9a2;
  --v-selected:#2b4036; --v-selected-line:#97bfa6;
  --v-staff:#8ecbcd; --v-shadow:#00000040;
  --v-heat:#8c4024; --v-heat-text:#f3ede3;
}
.v3-header-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}
.v3-ui .theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;padding:9px 11px;background:transparent;color:var(--v-muted);border:1px solid var(--v-line);font-size:12px;white-space:nowrap}
.v3-ui .theme-toggle:hover{background:var(--v-hover);color:var(--v-ink)}
.v3-ui .theme-toggle[hidden]{display:none}
.v3-ui .btn-ghost:hover,.v3-ui .print-action:hover{background:var(--v-hover);color:var(--v-ink)}
.theme-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.theme-moon{display:none}html[data-theme="night"] .theme-moon{display:block}html[data-theme="night"] .theme-sun{display:none}
.v3-ui .locale-date-picker{color:var(--v-ink)}
.v3-ui .locale-date-picker:hover{background:var(--v-hover)}
.v3-ui .chip.act{color:var(--v-on-strong)}
.v3-ui .org-workspace .org-tree>.org-tree-item>.org-node{background:var(--v-strong);color:var(--v-on-strong)}
.v3-ui .org-workspace .org-tree>.org-tree-item>.org-node small,.v3-ui .org-workspace .org-tree>.org-tree-item>.org-node em{color:var(--v-on-strong-muted)}
.v3-ui .org-workspace .org-tree .org-node[aria-pressed="true"]{background:var(--v-selected);color:var(--v-ink);border-color:var(--v-selected-line)}
.v3-ui .org-workspace .org-tree .org-node[aria-pressed="true"] small,.v3-ui .org-workspace .org-tree .org-node[aria-pressed="true"] em{color:var(--v-muted)}
.v3-ui table.calor td.celda{background:color-mix(in srgb,var(--v-heat) calc(var(--a,0)*100%),var(--v-surface));color:var(--v-heat-text)}
.v3-ui .map-gradient{background:linear-gradient(to right,var(--v-surface),var(--v-heat))}
.v3-ui #aviso-global{color:var(--v-on-strong);background:var(--v-strong)}
.v3-ui .btn-xs.ok{background:var(--v-green-bg);color:var(--v-green);border-color:var(--v-green)}
.v3-ui .btn-xs.no{background:var(--v-red-bg);color:var(--v-red);border-color:var(--v-red)}
.v3-ui .btn-xs.destrabar{background:var(--v-yellow-bg);color:var(--v-yellow);border-color:var(--v-yellow)}
.v3-ui .btn-xs.ok:hover,.v3-ui .btn-xs.no:hover,.v3-ui .btn-xs.destrabar:hover{filter:brightness(.98)}
.v3-ui .text-link{text-decoration:underline;text-underline-offset:.2em}
.v3-ui .import-workspace>details>summary{min-height:44px;padding:10px 0;cursor:pointer;line-height:1.6}
.concentration{padding:24px 0;margin:24px 0;border-block:1px solid var(--v-line)}
.concentration h2{margin:0 0 8px;font-size:23px;font-weight:450}
.concentration-note{font-size:12px;color:var(--v-muted);max-width:780px}
.concentration-list{list-style:none;padding:0;margin:22px 0;display:grid;gap:19px}
.concentration-item{display:grid;grid-template-columns:minmax(140px,1fr) minmax(120px,1.4fr) 150px;align-items:center;gap:24px;font-size:13px}
.concentration-name{min-width:0;overflow-wrap:anywhere}.concentration-name small{display:block;font-size:11px;color:var(--v-muted);margin-top:3px}
.concentration-track{height:8px;background:var(--v-soft);display:flex;overflow:hidden;border-radius:2px}
.concentration-fill{display:block;height:100%;width:var(--share);background:var(--v-chart)}
.concentration-item:first-child .concentration-fill,.concentration-summary .concentration-fill{background:var(--v-accent)}
.concentration-amount{text-align:right;font-variant-numeric:tabular-nums}.concentration-amount strong{display:block;font-weight:550}.concentration-amount small{font-size:11px;color:var(--v-muted)}
.concentration-summary{margin:18px 0}.concentration-summary .concentration-track{height:10px}.concentration-key{display:flex;justify-content:space-between;gap:16px;margin-top:9px;font-size:11px;color:var(--v-muted)}
.concentration-warning{color:var(--v-accent-text);font-size:12px}
#detalle-concentracion{scroll-margin-top:calc(var(--workspace-nav-height,120px) + 20px)}
@media(max-width:700px){.v3-header-actions{gap:8px}.theme-toggle [data-theme-label]{display:none}.v3-header{gap:10px}.v3-brand{min-width:0}.v3-brand small{max-width:100px}.concentration-item{grid-template-columns:minmax(0,1fr) auto;gap:8px 16px}.concentration-item .concentration-track{grid-column:1/-1;grid-row:2}.concentration-amount{min-width:100px}.concentration-key{flex-wrap:wrap}}
@media(max-width:430px){.v3-header-actions .v3-menu>summary{font-size:11px;gap:7px;padding-left:0}.v3-brand small{display:none}}
@media print {
  :root,html[data-theme="night"] {
    color-scheme:light;
    --v-paper:#fff;--v-surface:#fff;--v-field:#fff;--v-ink:#253936;--v-muted:#52645b;
    --v-line:#b7c0b6;--v-rule:#d3d8d0;--v-soft:#eeeee8;--v-hover:#f0f0e9;--v-neutral:#e8e9e2;
    --v-input:#889588;--v-strong:#253936;--v-on-strong:#fff;--v-on-strong-muted:#d6e3ef;--v-strong-hover:#3c534b;
    --v-accent:#b14a29;--v-accent-bg:#f6ede7;--v-accent-text:#7c442b;--v-focus:#b14a29;--v-focus-soft:#b14a2960;
    --v-green:#16704c;--v-green-bg:#f0fdf4;--v-yellow:#895c12;--v-yellow-bg:#fffbeb;--v-red:#b42d33;--v-red-bg:#fef2f2;
    --v-blue:#2563eb;--v-blue-bg:#eff6ff;--v-chart:#244b70;--v-selected:#edf4f8;--v-selected-line:#3d6f8e;--v-staff:#267687;--v-shadow:transparent;
    --v-heat:#d89473;--v-heat-text:#182c28;
  }
  .theme-toggle{display:none!important}.concentration{break-inside:avoid}.v3-ui{background:#fff}
}
