/* SPX — DP e RH · tema claro/escuro por variáveis de cor */
:root, [data-theme="claro"] {
  --bg: #f4f5f9; --surface: #ffffff; --surface-2: #f8f9fc; --border: #e3e6ef; --text: #1a1f36; --muted: #667091;
  --accent: #4f46e5; --accent-hover: #4338ca; --accent-soft: #eceeff; --on-accent: #ffffff;
  --ok: #0b8f61; --ok-soft: #dff5ec; --warn: #9a6700; --warn-soft: #fcf1d6; --danger: #cc3340; --danger-soft: #fde7ea;
  --info: #1f5fd6; --info-soft: #e3edfd;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 6px 20px rgba(16,24,40,.06);
  --side-bg: #12152b; --side-text: #aab1cc; --side-hover: #1d2142; --side-active-bg: #2a2f63; --side-active: #ffffff;
  --pj: #4f46e5; --clt: #14b8a6; --focus: rgba(79,70,229,.35);
}
[data-theme="escuro"] {
  --bg: #0d0f16; --surface: #161923; --surface-2: #1b1f2c; --border: #2a2f40; --text: #e8eaf3; --muted: #8f97b3;
  --accent: #8b92ff; --accent-hover: #a2a8ff; --accent-soft: #242957; --on-accent: #0d0f16;
  --ok: #3ddc9d; --ok-soft: #10332a; --warn: #f5c451; --warn-soft: #3a2f12; --danger: #ff7b86; --danger-soft: #401c22;
  --info: #6aa5ff; --info-soft: #14284d;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.35);
  --side-bg: #090b12; --side-text: #8f97b3; --side-hover: #141827; --side-active-bg: #1f2450; --side-active: #ffffff;
  --pj: #8b92ff; --clt: #2dd4bf; --focus: rgba(139,146,255,.45);
}
* { box-sizing: border-box; }
html { color-scheme: light; }
html[data-theme="escuro"] { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; transition: background-color .2s ease, color .2s ease; }
h1, h2, h3 { margin: 0 0 6px; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.2rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 10px; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center-text { text-align: center; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -4px; }
.ic.sm { width: 15px; height: 15px; vertical-align: -2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-radius: 6px; }

/* layout */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 268px; background: var(--side-bg); color: var(--side-text); position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; padding: 16px 12px; flex: none; transition: width .2s ease; z-index: 30; }
.brand { display: flex; align-items: center; gap: 12px; padding: 6px 8px 18px; color: #fff; text-decoration: none !important; }
.logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #6366f1, #14b8a6);
  color: #fff; font-weight: 800; letter-spacing: .04em; font-size: .9rem; flex: none; }
.logo-lg { width: 64px; height: 64px; border-radius: 18px; font-size: 1.3rem; margin-bottom: 20px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.2; } .brand-txt small { color: var(--side-text); font-size: .75rem; }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--side-text); font-size: .92rem;
  text-decoration: none !important; transition: background .15s, color .15s; }
.nav-item:hover { background: var(--side-hover); color: #fff; }
.nav-item.active { background: var(--side-active-bg); color: var(--side-active); font-weight: 600; box-shadow: inset 3px 0 0 #8b92ff; }
.nav-item.disabled { opacity: .45; cursor: not-allowed; } .nav-item.disabled:hover { background: transparent; color: var(--side-text); }
.nav-soon { margin-left: auto; font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; border: 1px solid currentColor; border-radius: 999px; padding: 1px 7px; opacity: .8; white-space: nowrap; }
.nav-sep { margin: 16px 10px 6px; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #6c7499; }
.sidebar-foot { padding: 12px 10px 0; font-size: .75rem; color: #5e6688; }
body.menu-recolhido .sidebar { width: 76px; }
body.menu-recolhido .nav-txt, body.menu-recolhido .brand-txt, body.menu-recolhido .nav-soon { display: none; }
body.menu-recolhido .nav-item { justify-content: center; padding: 11px 0; } body.menu-recolhido .brand { justify-content: center; padding-left: 0; padding-right: 0; }
.scrim { display: none; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 24px; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.topbar-title { font-weight: 600; flex: 1; color: var(--muted); }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.content { padding: 24px; max-width: 1400px; width: 100%; margin: 0 auto; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); cursor: pointer; transition: background .15s, border-color .15s; text-decoration: none !important; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--accent); } .icon-btn.sm { width: 30px; height: 30px; border-radius: 8px; }
.when-dark { display: none; } [data-theme="escuro"] .when-dark { display: inline; } [data-theme="escuro"] .when-light { display: none; }
.user-menu { position: relative; } .user-menu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 3px 10px 3px 3px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface); } .user-menu summary::-webkit-details-marker { display: none; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .85rem; }
.user-name { font-size: .88rem; font-weight: 500; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow); padding: 6px; z-index: 40; }
.menu-pop a, .menu-pop button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; border: 0; background: transparent; color: var(--text);
  font: inherit; cursor: pointer; text-decoration: none !important; } .menu-pop a:hover, .menu-pop button:hover { background: var(--surface-2); }
.menu-head { padding: 8px 12px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; display: flex; flex-direction: column; } .menu-head small { color: var(--muted); }

/* componentes */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; } .back { font-size: .85rem; color: var(--muted); display: inline-block; margin-bottom: 4px; }
.section-title { margin: 26px 0 12px; font-size: 1.05rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card.flush { padding: 0; overflow: hidden; } .card.soft { background: var(--accent-soft); border-color: transparent; box-shadow: none; }
.card.narrow { max-width: 480px; margin-left: auto; margin-right: auto; } .card.sensivel { border-left: 4px solid var(--warn); }
.card.empty { text-align: center; padding: 34px; } .link-card { display: block; color: var(--text); text-decoration: none !important; transition: transform .15s, border-color .15s; }
.link-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; } .cards-grid .card { margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; } .grid-2 .card { margin-bottom: 0; } .grid-2 { margin-bottom: 18px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: none !important; transition: background .15s, border-color .15s, transform .05s; line-height: 1.2; }
.btn:active { transform: translateY(1px); } .btn:disabled { opacity: .6; cursor: wait; }
.btn-primary { background: var(--accent); color: var(--on-accent); } .btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); } .btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); }
.btn-sm { padding: 6px 11px; font-size: .85rem; border-radius: 8px; } .btn-block { width: 100%; justify-content: center; padding: 12px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.b-ok { background: var(--ok-soft); color: var(--ok); } .b-warn { background: var(--warn-soft); color: var(--warn); } .b-danger { background: var(--danger-soft); color: var(--danger); }
.b-info { background: var(--info-soft); color: var(--info); } .b-muted { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.flashes { margin-bottom: 16px; display: grid; gap: 8px; }
.flash { padding: 12px 16px; border-radius: 12px; border: 1px solid transparent; margin-bottom: 8px; font-weight: 500; transition: opacity .4s; }
.f-ok { background: var(--ok-soft); color: var(--ok); } .f-erro { background: var(--danger-soft); color: var(--danger); }
.f-aviso { background: var(--warn-soft); color: var(--warn); } .f-info { background: var(--info-soft); color: var(--info); }
.flash.f-aviso { font-weight: 600; word-break: break-word; }

/* formulários */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; } .field.grow { flex: 1 1 220px; }
label { font-size: .85rem; font-weight: 600; color: var(--text); }
.req { color: var(--danger); margin-left: 3px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=month], input[type=number], input:not([type]), select, textarea {
  width: 100%; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; min-height: 40px; }
textarea { resize: vertical; } input:disabled, select:disabled { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); border-color: var(--accent); }
input[type=file] { padding: 8px; border: 1px dashed var(--border); border-radius: 10px; width: 100%; background: var(--surface-2); color: var(--text); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .82rem; font-weight: 500; } .field-help { color: var(--muted); font-size: .8rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; } .span2 { grid-column: span 2; }
.form-card h3 { margin-bottom: 14px; } .stack { display: grid; gap: 14px; } .inline-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.filters { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; } .filters.inline { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0; }
.filters .field { min-width: 150px; } .filter-actions { display: flex; gap: 8px; }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0 24px; }
.form-actions.sticky { position: sticky; bottom: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); padding: 12px 0; border-top: 1px solid var(--border); margin-top: 0; z-index: 10; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; padding: 4px 0; } .check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.row-edit { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .row-edit input[name=nome] { max-width: 340px; }
.perm-matrix { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; } .perm-group { border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; margin: 0; min-width: 0; }
.perm-group legend { font-weight: 700; font-size: .85rem; padding: 0 6px; color: var(--muted); } .desligado { opacity: .6; }

/* tabelas */
.tbl-wrap { overflow-x: auto; } .tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; } .tbl td.wrap { max-width: 320px; word-break: break-word; }
.tbl tbody tr:hover { background: var(--surface-2); } .tbl tr.inativo td { opacity: .6; } .tbl tr:last-child td { border-bottom: 0; }
.col-acoes { white-space: nowrap; text-align: right; width: 1%; } .empty-row { text-align: center; color: var(--muted); padding: 28px !important; }
.row-link { font-weight: 600; color: var(--text); } .row-link:hover { color: var(--accent); }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 6px 0 22px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.favs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .fav-chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.fav-chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 2px 4px 2px 12px; font-size: .82rem; }
.fav-chip button { border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 50%; width: 22px; height: 22px; }
.col-chooser { position: relative; } .col-chooser summary { list-style: none; cursor: pointer; } .col-chooser summary::-webkit-details-marker { display: none; }
.col-chooser .menu-pop { max-height: 360px; overflow: auto; }

/* detalhe */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; margin-bottom: 18px; } .detail-grid .card { margin: 0; }
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0; } .dl dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.dl dd { margin: 2px 0 0; font-weight: 500; word-break: break-word; } .dl .span2 { grid-column: 1 / -1; }

/* dashboard */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; } .kpis.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px;
  color: var(--text); text-decoration: none !important; transition: transform .15s, border-color .15s; } a.kpi:hover { transform: translateY(-2px); border-color: var(--accent); }
.kpi.accent { background: linear-gradient(135deg, var(--accent), #14b8a6); color: #fff; border-color: transparent; } .kpi.accent .kpi-label, .kpi.accent .kpi-sub { color: rgba(255,255,255,.85); }
.kpi-label { font-size: .8rem; color: var(--muted); font-weight: 600; } .kpi-value { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.kpi-value.ok { color: var(--ok); } .kpi-value.bad { color: var(--danger); } .kpi-sub { font-size: .78rem; color: var(--muted); min-height: 1.2em; }
.bars { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 10px; } .bars li { display: grid; grid-template-columns: minmax(90px, 160px) 1fr 36px; gap: 10px; align-items: center; font-size: .88rem; }
.bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bar-track { display: flex; height: 14px; background: var(--surface-2); border-radius: 999px; overflow: hidden; border: 1px solid var(--border); }
.bar-fill { height: 100%; transition: width .4s ease; } .bar-fill.pj { background: var(--pj); } .bar-fill.clt { background: var(--clt); } .bar-val { font-weight: 700; text-align: right; }
.legend { display: flex; gap: 14px; font-size: .8rem; color: var(--muted); margin: 8px 0 0; align-items: center; } .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: -6px; }
.dot.pj { background: var(--pj); } .dot.clt { background: var(--clt); }
.pend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 18px; }
.pend { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none !important; box-shadow: var(--shadow); }
.pend:hover { border-color: var(--accent); } .pend-n { font-size: 1.6rem; font-weight: 800; min-width: 44px; text-align: center; border-radius: 12px; padding: 4px 8px; }
.pend.alerta .pend-n { background: var(--warn-soft); color: var(--warn); } .pend.zero .pend-n { background: var(--ok-soft); color: var(--ok); }
.pend-t { display: flex; flex-direction: column; line-height: 1.3; } .pend-t small { color: var(--muted); }
.steps { margin: 0; padding-left: 22px; display: grid; gap: 6px; } .big-code { font-size: 3.2rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }

/* autenticação */
.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 20px; background:
  radial-gradient(900px 500px at 10% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent), var(--bg); }
.auth-theme { position: fixed; top: 16px; right: 16px; }
.auth-wrap { display: grid; grid-template-columns: 1.1fr 1fr; width: min(980px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.auth-brand { padding: 44px; background: linear-gradient(160deg, #1b1f4b, #12152b 60%, #0f3d3b); color: #e8eaf6; } .auth-brand h1 { color: #fff; font-size: 2rem; }
.auth-brand p { color: #b8bfdc; } .auth-brand ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; } .auth-brand li { display: flex; gap: 10px; align-items: center; color: #d5daf0; }
.auth-card { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.auth-card h2 { font-size: 1.5rem; }

/* responsivo */
@media (max-width: 900px) {
  .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .25s ease; width: 288px !important; box-shadow: 0 0 40px rgba(0,0,0,.4); }
  body.menu-aberto .sidebar { transform: none; } body.menu-aberto .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 25; }
  body.menu-recolhido .nav-txt, body.menu-recolhido .brand-txt { display: inline; } body.menu-recolhido .nav-item { justify-content: flex-start; padding: 9px 12px; }
  .content { padding: 16px; } .topbar { padding: 8px 14px; } .span2 { grid-column: span 1; } .dl { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; } .auth-brand { display: none; } .auth-card { padding: 30px 24px; } .user-name { display: none; }
  .kpi-value { font-size: 1.6rem; } .filters .field { min-width: 130px; flex: 1 1 130px; } h1 { font-size: 1.35rem; }
}
@media print { .sidebar, .topbar, .form-actions, .head-actions { display: none !important; } body { background: #fff; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---- Entrega 2: confirmação inline (cancelar/remover com motivo) */
details.motivo { display:inline-block; position:relative; }
details.motivo > summary { list-style:none; cursor:pointer; }
details.motivo > summary::-webkit-details-marker { display:none; }
details.motivo[open] > form { position:absolute; right:0; z-index:20; margin-top:6px; min-width:260px; padding:12px;
  background:var(--surface); border:1px solid var(--border); border-radius:12px; box-shadow:var(--shadow); }
details.motivo form .field { margin-bottom:8px; }
.tabs { display:flex; gap:6px; margin:0 0 14px; flex-wrap:wrap; }
.tabs a { padding:8px 14px; border-radius:10px; border:1px solid var(--border); color:var(--muted); text-decoration:none; font-weight:600; }
.tabs a.on { background:var(--accent); border-color:var(--accent); color:#fff; }
.kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px; margin-bottom:14px; }
.kpi { padding:14px 16px; }
.kpi .v { font-size:1.35rem; font-weight:700; }
.kpi .l { color:var(--muted); font-size:.82rem; }
.num { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.neg { color:var(--danger); }
.pos { color:var(--ok); }

/* Entrega 3 */
ul.plain { list-style: none; margin: 0; padding: 0; } ul.plain li { padding: 6px 0; border-bottom: 1px solid var(--border); } ul.plain li:last-child { border-bottom: 0; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 8px; }
.rel-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; text-decoration: none; color: inherit; transition: transform .12s, border-color .12s; }
a.rel-card:hover { transform: translateY(-1px); border-color: var(--accent); }
.rel-card.off { opacity: .55; }
.grafico { width: 100%; height: auto; max-height: 340px; }
.legenda { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: .85rem; color: var(--muted); }
.legenda .leg { display: inline-flex; align-items: center; gap: 6px; } .legenda i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.pos { color: var(--ok); } .neg { color: var(--danger); }
