/* Import & Export (spa/io.js) — the Data Center. Uses the app's tokens (styles.css :root). */
.io-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 18px; }
.io-card { display: flex; flex-direction: column; gap: 8px; }
.io-card-title { font-weight: 600; color: var(--ink); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.io-card-desc { color: var(--text-2); font-size: 12.5px; line-height: 1.45; flex: 1; }
.io-card-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.io-tpl { font-size: 12px; color: var(--muted); }
.io-tpl a { color: var(--brand-dark); text-decoration: none; font-weight: 500; }
.io-tpl a:hover { text-decoration: underline; }

.io-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.io-title { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin: 0; }
.io-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.io-steps li { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--bg-3); color: var(--muted); font-weight: 500; }
.io-steps li.on { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.io-steps li.done { color: var(--text-2); }

.io-lead { margin: 0 0 8px; color: var(--text); font-size: 13.5px; }
.io-notes { margin: 0 0 14px 18px; color: var(--text-2); font-size: 12.5px; line-height: 1.55; }
.io-drop { display: block; margin-bottom: 12px; }
.io-or { font-size: 12px; color: var(--muted); margin: 6px 0; }

.io-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.io-hdr { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 8px; }
.io-num { width: 76px; }
.io-map td { vertical-align: top; }
.io-map select { min-width: 220px; }
.io-map tr.io-miss td:first-child { box-shadow: inset 3px 0 0 var(--red); }

.io-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.io-problems td { vertical-align: top; }
.io-problems td div + div { margin-top: 3px; }
.io-problems tr.io-err td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.io-problems tr.io-warn td:first-child { box-shadow: inset 3px 0 0 var(--orange); }

.io-progress { margin: 6px 0 10px; }
.io-track { height: 10px; border-radius: 999px; background: var(--bg-3); overflow: hidden; }
.io-fill { height: 100%; background: var(--brand); border-radius: 999px; transition: width 0.25s ease; }
.io-progress .sub { margin-top: 6px; }

@media (max-width: 720px) {
  .io-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .io-map select { min-width: 0; }
  .io-head { align-items: flex-start; }
}
