/* FixDTE · sistema de diseño "fintech tranquila"
   Barra superior con menús desplegables · tablas como protagonistas · bordes finos en vez de sombras · tema claro y oscuro.
   Se carga después de style.css y fixdte.css y solo en modo FixDTE. */

:root {
  --bg: #f7f7f9;
  --surface: #ffffff;
  --surface-2: #fafafb;
  --hover: #f3f4f7;
  --border: #e6e8ee;
  --border-strong: #d5d9e3;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #667085;
  --inv: #ffffff;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, .12);
  --ok: #15803d; --ok-bg: #ecfdf3;
  --mal: #b42318; --mal-bg: #fef3f2;
  --aviso: #b45309; --aviso-bg: #fffaeb;
  --radius: 12px; --radius-sm: 8px;
  --shadow-pop: 0 16px 40px -12px rgba(15, 23, 42, .22), 0 2px 6px rgba(15, 23, 42, .06);
  --bar-bg: rgba(255, 255, 255, .82);
  --card: var(--surface);
  --green: #16a34a; --green-dark: #15803d; --green-light: #ecfdf3;
  --danger: #b42318; --danger-bg: #fef3f2; --warn-bg: #fffaeb; --muted2: #98a2b3;
  --font: "Inter", "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0b0d12; --surface: #12151c; --surface-2: #151922; --hover: #1a1f2b; --border: #222735; --border-strong: #303747;
  --ink: #e8ebf2; --ink-2: #c3cad9; --muted: #8e99ae; --inv: #0b0d12;
  --accent: #7aa7ff; --accent-soft: rgba(122, 167, 255, .16);
  --ok: #4ade80; --ok-bg: rgba(74, 222, 128, .10); --mal: #ff8a80; --mal-bg: rgba(255, 138, 128, .10); --aviso: #fbbf24; --aviso-bg: rgba(251, 191, 36, .10);
  --shadow-pop: 0 16px 40px -10px rgba(0, 0, 0, .6);
  --bar-bg: rgba(11, 13, 18, .82);
  --green-light: rgba(74, 222, 128, .12); --danger-bg: rgba(255, 138, 128, .10); --warn-bg: rgba(251, 191, 36, .10);
  color-scheme: dark;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 14.5px; line-height: 1.55; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent-soft); }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.fx-noscroll { overflow: hidden; }

/* ======================= Estructura: barra superior en vez de menú lateral ======================= */
html.fx-ready .sidebar { display: none; }
.app-shell { display: block; min-height: 100vh; }
.content { width: 100%; max-width: 1140px; margin: 0 auto; padding: 36px 28px 96px; }
@media (max-width: 760px) { .content { padding: 20px 16px 96px; } }

.fxbar { position: sticky; top: 0; z-index: 60; height: 58px; display: flex; align-items: center; gap: 6px; padding: 0 22px; background: var(--bar-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); }
.fxb-brand { display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; font-family: "Montserrat", var(--font); font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -.02em; text-decoration: none; }
.fxb-brand:hover { text-decoration: none; }
.fxb-brand .brand-mark { width: 28px; height: 28px; display: inline-flex; background: none; box-shadow: none; }
.fxb-brand .brand-mark img { width: 28px; height: 28px; }
.fxb-brand .fx-dte { color: #16a34a; }
.fxb-empresa { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; color: var(--muted); padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--border-strong); }
.fxb-groups { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.fxb-top { appearance: none; background: none; border: 0; font: inherit; font-size: .88rem; font-weight: 500; color: var(--ink-2); padding: 7px 11px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; transition: background .12s, color .12s; }
.fxb-top svg { opacity: .55; transition: transform .15s; }
.fxb-top:hover, .fxg.abierto > .fxb-top { background: var(--hover); color: var(--ink); text-decoration: none; }
.fxg.abierto > .fxb-top svg { transform: rotate(180deg); }
.fxb-top.on { color: var(--ink); font-weight: 650; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 8px 8px 0 0; }
.fxg { position: relative; }
.fxg-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-pop); padding: 6px; display: none; z-index: 70; }
.fxg-menu::before { content: ""; position: absolute; top: -9px; left: 0; right: 0; height: 9px; }
.fxg.abierto > .fxg-menu { display: block; animation: fxPop .14s ease-out both; }
.fxg-menu-r { left: auto; right: 0; }
@keyframes fxPop { from { opacity: 0; transform: translateY(-4px) scale(.985); } to { opacity: 1; transform: none; } }
.fxi { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: .88rem; color: var(--ink-2); text-decoration: none; width: 100%; background: none; border: 0; font-family: inherit; cursor: pointer; text-align: left; }
.fxi:hover { background: var(--hover); color: var(--ink); text-decoration: none; }
.fxi.on { color: var(--ink); font-weight: 650; background: var(--accent-soft); }
.fxi-ic { width: 22px; text-align: center; font-size: .98rem; flex-shrink: 0; }
.fxi-salir { color: var(--mal); }
.fxu-id { padding: 8px 10px 10px; display: flex; flex-direction: column; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.fxu-id b { font-size: .92rem; } .fxu-id span { font-size: .78rem; color: var(--muted); }
.fxu-sep { height: 1px; background: var(--border); margin: 5px 4px; }
.fxu-tema { display: flex; align-items: center; gap: 4px; padding: 4px 6px; font-size: .84rem; color: var(--muted); }
.fxu-tema span { margin-right: auto; }
.fxu-tema button { background: none; border: 1px solid var(--border); border-radius: 7px; padding: 4px 10px; font: inherit; font-size: .8rem; color: var(--ink-2); cursor: pointer; }
.fxu-tema button.on { background: var(--ink); color: var(--inv); border-color: var(--ink); }
.fxb-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.fxb-search { display: inline-flex; align-items: center; gap: 9px; min-width: 190px; padding: 6px 8px 6px 11px; border: 1px solid var(--border-strong); border-radius: 9px; background: var(--surface); color: var(--muted); font: inherit; font-size: .84rem; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.fxb-search:hover { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fxb-search span { flex: 1; text-align: left; }
kbd { font-family: inherit; font-size: .7rem; font-weight: 600; color: var(--muted); border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; background: var(--surface-2); }
.fxb-nuevo { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--inv); font-size: .86rem; font-weight: 600; padding: 7px 14px; border-radius: 9px; text-decoration: none; transition: transform .1s, opacity .12s; }
.fxb-nuevo:hover { text-decoration: none; opacity: .9; transform: translateY(-1px); color: var(--inv); }
.fxb-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; color: var(--ink-2); text-decoration: none; }
.fxb-bell:hover { background: var(--hover); text-decoration: none; }
#fx-bell-n-top { position: absolute; top: 2px; right: 1px; min-width: 17px; height: 17px; line-height: 17px; padding: 0 4px; border-radius: 99px; background: #ef4444; color: #fff; font-size: .66rem; font-weight: 700; text-align: center; }
#fx-bell-n-top:empty { display: none; }
.fxb-avatar { width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: .85rem; color: #fff; background: linear-gradient(135deg, #2563eb, #1e40af); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--border-strong); }
.fxb-burger { display: none; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

.fxd { position: fixed; inset: 58px 0 0 0; z-index: 55; background: var(--surface); overflow-y: auto; padding: 8px 14px 40px; }
.fxd[hidden] { display: none; }
.fxd-g { padding-top: 10px; } .fxd-t { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 4px; }
.fxd .fxi { padding: 11px 10px; font-size: .95rem; }

@media (max-width: 1000px) { .fxb-groups, .fxb-empresa, .fxb-search kbd, .fxb-search span { display: none; } .fxb-search { min-width: 0; padding: 8px; } .fxb-burger { display: inline-flex; } .fxbar { padding: 0 14px; } }
@media (max-width: 520px) { .fxb-nuevo { display: none; } }

.fxp { position: fixed; inset: 0; z-index: 100; background: rgba(8, 12, 24, .45); backdrop-filter: blur(3px); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 0; }
.fxp[hidden] { display: none; }
.fxp-box { width: 100%; max-width: 580px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-pop); overflow: hidden; animation: fxPop .16s ease-out both; }
.fxp-in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--muted); }
.fxp-in input { flex: 1; border: 0 !important; box-shadow: none !important; background: transparent !important; font-size: 1rem; padding: 0 !important; min-height: 0 !important; color: var(--ink); }
.fxp-list { max-height: 52vh; overflow-y: auto; padding: 6px; }
.fxp-it { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.fxp-it.sel { background: var(--accent-soft); }
.fxp-it small { margin-left: auto; color: var(--muted); font-size: .74rem; }
.fxp-t { font-weight: 550; }
.fxp-vacio { padding: 22px; text-align: center; color: var(--muted); }
.fxp-foot { display: flex; gap: 16px; padding: 9px 16px; border-top: 1px solid var(--border); font-size: .74rem; color: var(--muted); background: var(--surface-2); }

/* ======================= Páginas ======================= */
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 24px; padding: 0; flex-wrap: wrap; }
h1 { font-family: var(--font); font-size: 1.5rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; margin: 0; color: var(--ink); }
h2 { font-family: var(--font); font-size: 1rem; font-weight: 650; letter-spacing: -.01em; margin: 0 0 12px; color: var(--ink); }
h3 { font-size: .92rem; font-weight: 650; }
.subtitle { color: var(--muted); font-size: .92rem; margin: 5px 0 0; max-width: 72ch; line-height: 1.5; }
.hint { color: var(--muted); font-size: .8rem; line-height: 1.5; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: none; padding: 20px 22px; margin-bottom: 16px; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 15px; border: 1px solid var(--ink); border-radius: var(--radius-sm); background: var(--ink); color: var(--inv); font-family: inherit; font-size: .87rem; font-weight: 600; text-decoration: none; cursor: pointer; box-shadow: none; transition: opacity .12s, background .12s, border-color .12s, transform .08s; }
.btn:hover { opacity: .88; background: var(--ink); transform: none; box-shadow: none; text-decoration: none; color: var(--inv); }
.btn:active { transform: translateY(1px); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--hover); border-color: var(--border-strong); opacity: 1; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--border); }
.btn-ghost:hover { background: var(--hover); opacity: 1; color: var(--ink); }
.btn-danger { background: #dc2626; border-color: #dc2626; color: #fff; }
.btn-sm { min-height: 28px; padding: 0 10px; font-size: .78rem; border-radius: 7px; }
.btn-lg { min-height: 44px; font-size: .95rem; padding: 0 22px; }
.btn:disabled, .btn[disabled] { opacity: .45; pointer-events: none; }
a.btn-secondary, a.btn-secondary:hover, a.btn-ghost { color: var(--ink); }

label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-2); margin: 14px 0 0; }
label:first-child { margin-top: 0; }
label > input:not([type=checkbox]):not([type=radio]), label > select, label > textarea { margin-top: 6px; display: block; }
.grid > label, .grid > div > label, .nd-datos label { margin-top: 0; }
label input[type=checkbox], label input[type=radio] { width: auto; margin-right: 7px; vertical-align: -2px; accent-color: var(--ink); }
.req { color: #dc2626; font-weight: 700; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=date], input[type=time], input[type=month], input[type=tel], select, textarea {
  width: 100%; min-height: 38px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 450; transition: border-color .12s, box-shadow .12s; box-shadow: none; }
input::placeholder, textarea::placeholder { color: var(--muted2); }
input:hover, select:hover, textarea:hover { border-color: var(--muted2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
textarea { min-height: 96px; line-height: 1.5; }
input[readonly] { background: var(--surface-2); color: var(--muted); }
input[type=file] { padding: 6px; background: var(--surface-2); }
.grid { gap: 14px 18px; }

table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .88rem; }
th { text-align: left; background: transparent; color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .01em; text-transform: none; padding: 9px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 13px 14px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; vertical-align: middle; }
tbody tr { transition: background .1s; }
tr:hover td { background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
td a { font-weight: 550; }
.card:has(> table), .card:has(> .tabla-scroll) { padding: 6px 10px 10px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--ink-2); font-size: .74rem; font-weight: 600; line-height: 1.5; }
a.badge { text-decoration: none; } a.badge:hover { background: var(--hover); color: var(--ink); text-decoration: none; }
.alert { border-radius: 11px; padding: 12px 16px; font-size: .88rem; line-height: 1.5; border: 1px solid var(--border); background: var(--surface); box-shadow: none; }
.alert-success { background: var(--ok-bg); border-color: color-mix(in srgb, var(--ok) 30%, transparent); color: var(--ok); }
.alert-warn { background: var(--aviso-bg); border-color: color-mix(in srgb, var(--aviso) 30%, transparent); color: var(--aviso); }
.alert-error { background: var(--mal-bg); border-color: color-mix(in srgb, var(--mal) 30%, transparent); color: var(--mal); }

.fx-kpis, .cx-res, .cm-res { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 !important; margin: 0 0 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.fx-kpi, .cx-res .k, .cm-res .k { background: transparent; border: 0; border-right: 1px solid var(--border); border-radius: 0; box-shadow: none; padding: 18px 22px; }
.fx-kpi:last-child, .cx-res .k:last-child, .cm-res .k:last-child { border-right: 0; }
.fx-kpi small, .cx-res .k small, .cm-res .k small { display: block; color: var(--muted); font-size: .78rem; font-weight: 550; }
.fx-kpi b, .cx-res .k b, .cm-res .k b { display: block; font-size: 1.75rem; font-weight: 700; letter-spacing: -.035em; margin-top: 6px; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--ink); }
.fx-kpi span { display: block; margin-top: 4px; color: var(--muted); font-size: .76rem; }
.fx-kpi.ok b, .cx-res .k.verde b { color: var(--ok); } .fx-kpi.mal b, .cx-res .k.rojo b { color: var(--mal); }
.cx-tramos div { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }

#fx-ayuda { background: var(--surface) !important; color: var(--ink) !important; border: 1px solid var(--border-strong); box-shadow: var(--shadow-pop) !important; padding: 9px 14px !important; font-weight: 600 !important; font-size: .84rem; }
#fx-ayuda:hover { transform: translateY(-2px); text-decoration: none; }
#fx-toast { background: var(--ink) !important; color: var(--inv) !important; border-radius: 12px !important; }

.login-wrap { background: var(--bg); background-image: radial-gradient(1200px 500px at 50% -10%, var(--accent-soft), transparent 70%); }
.login-card { width: 380px; max-width: calc(100vw - 32px); padding: 38px 34px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .25); text-align: left; }
.login-card .brand-icon { margin: 0 0 18px; width: 48px; height: 48px; } .login-card .brand-icon img { width: 48px; height: 48px; }
.login-card h1 { text-align: left; font-family: "Montserrat", var(--font); font-size: 1.6rem; font-weight: 800; }
.login-card .subtitle { text-align: left !important; margin: 6px 0 22px; }
.login-card form label { margin-top: 16px; } .login-card form label:first-child { margin-top: 0; }
.login-card .btn { width: 100%; min-height: 42px; margin-top: 20px; }
.fx-por { text-align: left; color: var(--muted); }


html[data-theme="dark"] [style*="background:#fff"], html[data-theme="dark"] [style*="background: #fff"] { background: var(--surface) !important; }
html[data-theme="dark"] [style*="background:#f8fafc"], html[data-theme="dark"] [style*="background:#f1f5f9"], html[data-theme="dark"] [style*="background:#f0f9ff"], html[data-theme="dark"] [style*="background:#fffef5"] { background: var(--surface-2) !important; }
html[data-theme="dark"] a { color: var(--accent); }
html[data-theme="dark"] .fxb-brand .fx-dte, html[data-theme="dark"] .fx-dte { color: #4ade80; }
html[data-theme="dark"] code { background: var(--surface-2); color: var(--ink); }
html[data-theme="dark"] .ap-key, html[data-theme="dark"] pre.ap { background: #05070b; }

@media (max-width: 760px) {
  h1 { font-size: 1.3rem; }
  .card { padding: 16px; border-radius: 12px; }
  .btn { min-height: 42px; }
  .btn-sm { min-height: 34px; }
  .page-header { align-items: stretch; }
  .fx-kpis, .cx-res, .cm-res { grid-template-columns: 1fr 1fr; }
  .fx-kpi, .cx-res .k, .cm-res .k { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .fx-kpi b, .cx-res .k b, .cm-res .k b { font-size: 1.35rem; }
  input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=date], input[type=time], input[type=tel], select, textarea { font-size: 16px; min-height: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .content > * { animation: fxIn .28s ease-out both; }
  @keyframes fxIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* aviso discreto de notificaciones */
.push-banner { background: var(--surface); border: 1px solid var(--border); color: var(--ink-2); border-radius: 10px; padding: 7px 8px 7px 14px; margin: 0 0 18px; font-size: .84rem; }
.push-banner a { color: var(--ink-2); font-weight: 500; }
.push-banner button { min-width: 28px; min-height: 28px; font-size: .9rem; color: var(--muted); border-radius: 6px; }
.push-banner button:hover { background: var(--hover); }
/* filtros en una sola línea, sin caja */
.card:has(> a.badge:first-child) { padding: 10px 14px; }

/* ======================= Emitir documento (Nuevo documento) ======================= */
html body .nd-paso b { background: var(--ink); color: var(--inv); width: 24px; height: 24px; font-size: .8rem; }
html body .nd-paso h2 { font-size: 1rem; }
html body .nd-tipo { background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); border-radius: 12px; transition: border-color .14s, box-shadow .14s; }
html body .nd-tipo span { color: var(--muted); }
html body .nd-tipo:hover { border-color: var(--ink); box-shadow: none; }
html body .nd-tipo.on { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--ink); }
html body .nd-tipo.on strong::after { content: "  ✓"; color: var(--ok); }
html body .nd-buscar input[type=search] { background-color: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); border-radius: 10px; padding: 11px 14px 11px 40px; font-size: .95rem; }
html body .nd-buscar input[type=search]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
html body .nd-lista { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-pop); }
html body .nd-chip { background: var(--ok-bg); border-color: color-mix(in srgb, var(--ok) 30%, transparent); border-radius: 10px; }
html body .nd-chip .s { color: var(--ok); }
html body .nd-aviso.warn { background: var(--aviso-bg); color: var(--aviso); border-color: color-mix(in srgb, var(--aviso) 30%, transparent); }
html body .nd-aviso.info { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
html body .nd-tot.g { border-top-color: var(--ink); }
html body .nd-tipo.bloq { background: var(--surface-2); }
