:root {
  --navy: #1f3a5f; --navy-2: #2c5282; --ink: #1b2430; --muted: #5d6b7a; --line: #d9dfe6; --bg: #f4f6f9; --card: #fff;
  --calc: #eef3f9; --input: #fffdf2; --ok: #1b7a43; --ok-bg: #e3f4ea; --warn: #8a5a00; --warn-bg: #fff3d6; --bad: #b3261e; --bad-bg: #fde8e6;
  --info: #0b57a4; --info-bg: #e3eefb; --gray-bg: #eceff3; --radius: 8px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); }
h1 { font-size: 21px; margin: 0; } h2 { font-size: 16px; margin: 0 0 8px; } h3 { font-size: 14px; margin: 0 0 6px; }
a { color: var(--info); } p { margin: 0 0 8px; }
.boot { padding: 40px; color: var(--muted); }
.muted { color: var(--muted); } .small { font-size: 12px; } .right { text-align: right; } .center { text-align: center; } .nowrap { white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .grow { flex: 1 1 auto; } .gap { height: 12px; }
.hidden { display: none !important; }

/* ---- estructura */
.shell { display: grid; grid-template-columns: 216px 1fr; min-height: 100%; }
.side { background: var(--navy); color: #dbe5f1; padding: 14px 10px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.side a.brand { display: block; padding: 6px 12px 16px; margin: 0; background: none; } .side a.brand:hover { background: none; }
.side .brand img { display: block; width: 100%; max-width: 150px; height: auto; margin: 0 auto; }
.login-logo { text-align: center; margin: 4px 0 14px; } .login-logo img { width: 170px; max-width: 70%; height: auto; }
.side a { display: flex; justify-content: space-between; align-items: center; color: inherit; text-decoration: none; padding: 8px 10px; border-radius: 6px; margin-bottom: 2px; }
.side a:hover { background: rgba(255,255,255,.08); } .side a.on { background: rgba(255,255,255,.16); color: #fff; font-weight: 600; }
.side .sep { border-top: 1px solid rgba(255,255,255,.15); margin: 8px 6px; }
.side .count { background: #fff; color: var(--navy); border-radius: 10px; padding: 0 7px; font-size: 12px; font-weight: 700; }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { display: flex; gap: 10px; align-items: center; padding: 10px 18px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .search { position: relative; flex: 1 1 auto; max-width: 520px; }
.top .search input { width: 100%; }
.results { position: absolute; left: 0; right: 0; top: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 360px; overflow: auto; z-index: 30; }
.results a { display: block; padding: 8px 12px; text-decoration: none; color: var(--ink); border-bottom: 1px solid #eef1f4; } .results a:hover { background: var(--bg); }
.btn.menu-btn { display: none; }
.content { padding: 18px; max-width: 1700px; width: 100%; }
.page-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; text-decoration: none; color: var(--ink); display: block; }
.stat:hover { border-color: var(--navy-2); } .stat b { display: block; font-size: 26px; line-height: 1.1; } .stat span { color: var(--muted); font-size: 13px; }
.stat.attn { border-left: 4px solid #d08700; }

/* ---- controles */
input, select, textarea, button { font: inherit; color: inherit; }
input[type=text], input[type=number], input[type=date], input[type=email], input[type=password], input[type=search], select, textarea {
  border: 1px solid #c3cbd5; border-radius: 6px; padding: 6px 8px; background: #fff; min-height: 32px; max-width: 100%; }
textarea { width: 100%; min-height: 64px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid #5b9bf0; outline-offset: 1px; }
input[disabled], select[disabled], textarea[disabled] { background: #f1f3f6; color: #556; }
.btn { border: 1px solid #b9c2cd; background: #fff; border-radius: 6px; padding: 6px 12px; cursor: pointer; min-height: 32px; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.btn:hover { background: #f1f4f8; } .btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; } .btn.primary:hover { background: var(--navy-2); }
.btn.danger { color: var(--bad); border-color: #e2b4b0; } .btn.small { padding: 2px 8px; min-height: 26px; font-size: 12.5px; } .btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.link { border: 0; background: none; color: var(--info); padding: 0 2px; min-height: 0; text-decoration: underline; }
label.f { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
label.f > input, label.f > select, label.f > textarea { font-weight: 400; color: var(--ink); font-size: 14px; }
label.chk { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.form { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 14px; } .form .wide { grid-column: 1 / -1; } .form .w2 { grid-column: span 2; }
.help { font-size: 12px; color: var(--muted); font-weight: 400; }

/* ---- tablas */
.tablewrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 6px 8px; border-bottom: 1px solid #e8ecf1; text-align: left; vertical-align: top; }
th { background: #eef2f6; font-size: 12px; color: #3b4857; position: sticky; top: 0; z-index: 2; white-space: nowrap; font-weight: 700; }
tr:hover > td { background: #fafbfd; } tr.total > td { font-weight: 700; border-top: 2px solid var(--navy); background: #f6f8fb; }
td.act { white-space: nowrap; }
.empty { padding: 26px; text-align: center; color: var(--muted); }

/* ---- hoja editable tipo Excel */
.sheet { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; max-height: 68vh; }
.sheet table { width: max-content; min-width: 100%; }
.sheet th { border-right: 1px solid #dfe4ea; text-align: center; white-space: normal; line-height: 1.2; max-width: 140px; vertical-align: bottom; }
.sheet th.calc { background: #dfe9f5; } .sheet th.grp { background: var(--navy); color: #fff; }
.sheet td { padding: 0; border-right: 1px solid #edf0f4; vertical-align: middle; height: 31px; }
.sheet td input[type=text], .sheet td select { border: 0; border-radius: 0; background: var(--input); width: 100%; min-height: 30px; padding: 4px 6px; }
.sheet td input.n { text-align: right; font-variant-numeric: tabular-nums; }
.sheet td input:focus, .sheet td select:focus { outline: 2px solid #2f7de1; outline-offset: -2px; background: #fff; }
.sheet td.calc { background: var(--calc); padding: 4px 8px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: #24364b; }
.sheet td.calc.strong { font-weight: 700; } .sheet td.c { text-align: center; padding: 0 6px; } .sheet td.pad { padding: 4px 8px; white-space: nowrap; }
.sheet td.rowno { background: #eef2f6; text-align: center; color: var(--muted); padding: 0 6px; font-size: 12px; position: sticky; left: 0; z-index: 1; }
.sheet th.rowno { position: sticky; left: 0; z-index: 3; }
.sheet tr.err td.rowno { background: var(--bad-bg); color: var(--bad); font-weight: 700; }
.sheet tfoot td { background: #f6f8fb; font-weight: 700; padding: 6px 8px; border-top: 2px solid var(--navy); position: sticky; bottom: 0; }
.sheet.locked td input, .sheet.locked td select { background: #f4f6f8; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); align-items: center; flex-wrap: wrap; }
.sw { display: inline-block; width: 14px; height: 14px; border: 1px solid #c8cfd8; vertical-align: -2px; margin-right: 4px; }

/* ---- estados (texto + símbolo, no solo color) */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 11px; font-size: 12px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.badge.ok { background: var(--ok-bg); color: var(--ok); border-color: #b9e0c8; } .badge.warn { background: var(--warn-bg); color: var(--warn); border-color: #edd596; }
.badge.bad { background: var(--bad-bg); color: var(--bad); border-color: #f1bdb8; } .badge.info { background: var(--info-bg); color: var(--info); border-color: #b9d3f2; }
.badge.gray { background: var(--gray-bg); color: #445; border-color: #d3d9e0; } .badge.demo { background: #4a148c; color: #fff; letter-spacing: .5px; }
.note { border-radius: var(--radius); padding: 9px 12px; margin-bottom: 12px; border: 1px solid; }
.note.info { background: var(--info-bg); border-color: #b9d3f2; } .note.warn { background: var(--warn-bg); border-color: #edd596; }
.note.bad { background: var(--bad-bg); border-color: #f1bdb8; } .note.ok { background: var(--ok-bg); border-color: #b9e0c8; }
.note ul { margin: 4px 0 0 18px; padding: 0; }
.ship { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 6px; font-weight: 800; font-size: 12.5px; letter-spacing: .6px; white-space: nowrap; border: 2px solid; }
.ship.aereo { background: #e3eefb; color: #0b4f96; border-color: #0b4f96; } .ship.maritimo { background: #dff3ee; color: #0a5c4e; border-color: #0a5c4e; }
.ship.sin_flete { background: var(--gray-bg); color: #445; border-color: #9aa5b1; } .ship.big { font-size: 15px; padding: 6px 14px; }
.shipbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 14px; border-radius: var(--radius); border: 2px solid #0b4f96; background: #f2f7fd; margin-bottom: 12px; font-weight: 600; }
.shipbar.mixed { border-color: #b26b00; background: var(--warn-bg); }

/* ---- pestañas y editor */
.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 9px 14px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; color: var(--muted); font-weight: 600; }
.tabs button.on { border-bottom-color: var(--navy); color: var(--navy); } .tabs button .dot { color: var(--bad); margin-left: 4px; }
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 14px; align-items: start; }
.summary { position: sticky; top: 64px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin: 0; }
.summary dt { color: var(--muted); } .summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.summary .tot { font-size: 20px; font-weight: 700; color: var(--navy); border-top: 2px solid var(--navy); padding-top: 6px; margin-top: 4px; }
.savestate { font-size: 12.5px; color: var(--muted); } .savestate.err { color: var(--bad); font-weight: 700; } .savestate.busy { color: var(--warn); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 3px 14px; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
.steps { font-variant-numeric: tabular-nums; } .steps .st { padding: 8px 0; border-bottom: 1px dashed var(--line); } .steps code { background: var(--calc); padding: 1px 5px; border-radius: 4px; font-size: 13px; }
.qty { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 5px; min-width: min(520px, 40vw); } .qty div { background: var(--bg); border-radius: 6px; padding: 4px 8px; }
.qty b { display: block; font-size: 16px; } .qty span { font-size: 11.5px; color: var(--muted); }

/* ---- ventanas y avisos */
.overlay { position: fixed; inset: 0; background: rgba(20,30,45,.45); display: flex; align-items: flex-start; justify-content: center; padding: 4vh 12px; z-index: 100; overflow: auto; }
.modal { background: #fff; border-radius: 10px; width: 100%; max-width: 760px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal.wide { max-width: 1080px; } .modal.full { max-width: 1280px; }
.modal > header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.modal > .body { padding: 16px; } .modal > footer { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.x { border: 0; background: none; font-size: 22px; cursor: pointer; line-height: 1; padding: 2px 8px; }
#toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 200; max-width: min(440px, 92vw); }
.toast { background: #24364b; color: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.25); } .toast.bad { background: var(--bad); } .toast.ok { background: var(--ok); }
.login { max-width: 400px; margin: 9vh auto; }
iframe.pdf { width: 100%; height: 74vh; border: 1px solid var(--line); border-radius: 6px; }
.timeline { list-style: none; margin: 0; padding: 0; } .timeline li { padding: 6px 0 6px 14px; border-left: 2px solid var(--line); margin-left: 4px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--navy-2); }

@media (max-width: 1100px) { .editor { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 800px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 30% 0 0; z-index: 60; transform: translateX(-105%); transition: transform .15s; height: auto; }
  .side.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.4); }
  .btn.menu-btn { display: inline-flex; } .content { padding: 12px; } .top { padding: 8px 12px; }
  .form .w2 { grid-column: 1 / -1; } h1 { font-size: 18px; }
  .btn { min-height: 38px; } input[type=text], input[type=date], select { min-height: 38px; }
}
@media print { .side, .top, .btn { display: none !important; } .shell { display: block; } }
tr.hl-warn td { background: var(--warn-bg); }
.oc { display: inline-block; font-size: 11px; font-weight: 600; color: var(--info); background: var(--info-bg); border: 1px solid #b9d3f2; border-radius: 4px; padding: 0 5px; margin-left: 4px; white-space: nowrap; vertical-align: 1px; line-height: 16px; }
.oc.big { font-size: 14px; line-height: 20px; padding: 1px 9px; margin-left: 12px; vertical-align: 2px; }
.summary .unitprices { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.summary .unitprices h3 { margin: 0 0 6px; font-size: 14px; color: var(--navy); }
.summary .unitwrap { max-height: 260px; overflow: auto; }
.summary table.mini { width: 100%; border-collapse: collapse; font-size: 13px; }
.summary table.mini th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; padding: 2px 4px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card); }
.summary table.mini td { padding: 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.summary table.mini .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary .pname { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1101px) { .summary { max-height: calc(100vh - 80px); overflow: auto; } }
.summary .unitprices + dl { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.segbtn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border: 2px solid var(--line); background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 8px 14px; cursor: pointer; text-align: left; font: inherit; }
.segbtn .small { color: var(--muted); } .segbtn:hover { border-color: var(--navy-2); }
.segbtn.on { border-color: var(--navy); background: var(--info-bg); } .segbtn.on b { color: var(--navy); }

/* ---------------------------------------------------------------- tablero de rentabilidad (gráficas) */
.dv { --dv-1: #2a78d6; --dv-est: #86b6ef; --dv-real: #1c5cab; --dv-grid: #e1e0d9; --dv-base: #c3c2b7; --dv-ink2: #52514e; --dv-muted: #898781;
  --dv-crit: #d03b3b; --dv-up: #006300; transition: opacity .15s; }
.dv.dv-loading { opacity: .55; }
.dv-filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin-bottom: 14px; }
.dv-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; flex-wrap: nowrap; }
.dv-seg button { border: 0; background: none; padding: 5px 11px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.dv-seg button + button { border-left: 1px solid var(--line); }
.dv-seg button.on { background: var(--navy); color: #fff; font-weight: 600; }
.dv-seg.big button { padding: 8px 14px; font-size: 13px; }
.dv-tiles { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 12px; margin-bottom: 6px; }
.dv-tile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.dv-tlabel { font-size: 12px; color: var(--muted); font-weight: 600; }
.dv-tvalue { font-size: 26px; font-weight: 650; color: var(--ink); margin-top: 4px; line-height: 1.15; overflow-wrap: anywhere; }
.dv-tile.hero .dv-tvalue { font-size: 48px; color: var(--navy); letter-spacing: -0.5px; }
.dv-tsub { font-size: 12px; color: var(--dv-ink2, #52514e); margin-top: 6px; }
.dv-up { color: var(--dv-up); } .dv-down { color: var(--dv-crit); }
.dv-basis { margin: 4px 0 14px; }
.dv-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.dv-card { border-radius: 12px; padding: 16px; }
.dv-head { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 12px; }
.dv-head h2 { margin: 0; font-size: 16px; }
/* columnas */
.dv-plot { position: relative; height: 210px; margin: 14px 0 0 40px; }
.dv-grid { position: absolute; left: 0; right: 0; border-top: 1px solid var(--dv-grid); }
.dv-grid.base { border-top-color: var(--dv-base); }
.dv-tick { position: absolute; left: -40px; width: 34px; text-align: right; top: -8px; font-size: 11px; color: var(--dv-muted); font-variant-numeric: tabular-nums; }
.dv-colrow { position: absolute; inset: 0; display: flex; gap: 2px; }
.dv-slot { position: relative; flex: 1 1 0; display: flex; justify-content: center; outline: none; cursor: default; }
.dv-slot:hover, .dv-slot:focus-visible { background: rgba(42, 120, 214, .06); border-radius: 4px; }
.dv-col { position: absolute; width: min(24px, 70%); background: var(--dv-1); border-radius: 4px 4px 0 0; }
.dv-col.neg { background: var(--dv-crit); border-radius: 0 0 4px 4px; }
.dv-cap { position: absolute; font-size: 11px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.dv-xaxis { display: flex; gap: 2px; margin-left: 40px; padding-top: 6px; border-top: 0; }
.dv-xaxis span { flex: 1 1 0; text-align: center; font-size: 11px; color: var(--dv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* barras horizontales y pesas */
.dv-hbars { display: grid; gap: 2px; }
.dv-hrow { display: grid; grid-template-columns: minmax(120px, 30%) minmax(80px, 1fr) 72px; grid-auto-flow: column; grid-auto-columns: minmax(58px, auto);
  gap: 10px; align-items: center; padding: 6px 4px; border-radius: 6px; outline: none; }
.dv-hrow:hover, .dv-hrow:focus-visible { background: rgba(42, 120, 214, .06); }
.dv-hrow.click { cursor: pointer; }
.dv-hhead { font-size: 11px; color: var(--dv-muted); font-weight: 600; padding-top: 0; padding-bottom: 2px; }
.dv-hhead:hover { background: none; }
.dv-hname { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-hsub { font-size: 11px; color: var(--dv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-htrack { position: relative; height: 16px; }
.dv-hbar { position: absolute; top: 0; height: 16px; background: var(--dv-1); border-radius: 0 4px 4px 0; }
.dv-hbar.neg { background: var(--dv-crit); border-radius: 4px 0 0 4px; }
.dv-hzero { position: absolute; top: -3px; bottom: -3px; border-left: 1px solid var(--dv-base); }
.dv-hval { font-size: 12px; font-weight: 600; color: var(--ink); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dv-hval.neg { color: var(--dv-crit); } .dv-hval.up { color: var(--dv-up); }
.dv-hright { font-size: 12px; color: var(--dv-ink2); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dv-lowtxt { color: var(--warn); font-weight: 600; }
.dv-db .dv-htrack { height: 14px; }
.dv-dbline { position: absolute; top: 6px; height: 2px; background: var(--dv-base); }
.dv-dot { position: absolute; top: 1px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; display: inline-block; }
.dv-dot.est { background: var(--dv-est); } .dv-dot.real { background: var(--dv-real); }
.dv-legend { display: flex; gap: 16px; font-size: 12px; color: var(--dv-ink2); margin: -4px 0 8px; }
.dv-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dv-legend .dv-dot { position: static; margin: 0; box-shadow: none; }
/* piezas para revisar */
.dv-watch { list-style: none; margin: 0; padding: 0; }
.dv-watch li { display: flex; gap: 10px; align-items: center; padding: 8px 2px; border-bottom: 1px solid var(--line); }
.dv-watch li:last-child { border-bottom: 0; }
/* cuadro de detalle */
.dv-tip { position: fixed; z-index: 200; display: none; pointer-events: none; background: #fff; border: 1px solid rgba(11, 11, 11, .12); border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12); padding: 8px 10px; font-size: 12px; max-width: 280px; }
.dv-tip-row { display: flex; gap: 6px; align-items: baseline; line-height: 1.5; }
.dv-tip-row b { color: var(--ink); font-variant-numeric: tabular-nums; } .dv-tip-row span { color: var(--dv-ink2, #52514e); }
.dv-key { width: 10px; height: 2px; display: inline-block; align-self: center; }
@media (max-width: 1100px) { .dv-tiles { grid-template-columns: 1fr 1fr; } .dv-grid2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .dv-tiles { grid-template-columns: 1fr; } .dv-tile.hero .dv-tvalue { font-size: 40px; }
  .dv-hrow { grid-template-columns: minmax(96px, 38%) minmax(60px, 1fr) 64px; } .dv-hrow .dv-hright { display: none; }
}
.dv-hname { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
.dv-db { grid-template-columns: minmax(130px, 42%) minmax(80px, 1fr) 76px; }
.dv-seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
