/* Inventário (beta) — usa a base de nas.css (ns-tile, ns-fold, ns-spec, ns-bar) e veeam.css (vb-row, vb-type, vb-ago) */
.agi-tile { text-align: left; font: inherit; color: inherit; cursor: pointer; }
.agi-tile:not([data-flag]) { cursor: default; }
.agi-tile.on { border-color: hsl(var(--primary)); box-shadow: 0 0 0 2px hsl(var(--primary) / .2); }
.agi-bar { display: flex; gap: 8px; align-items: center; padding: 12px 16px; flex-wrap: wrap; border-bottom: 1px solid hsl(var(--border)); }
.agi-bar .agi-q { flex: 1 1 280px; max-width: 420px; } .agi-bar select { max-width: 240px; }
.agi-tbl td { white-space: nowrap; } .agi-tbl td:first-child { white-space: normal; min-width: 200px; }
.agi-tbl .vb-type { margin-left: 26px; }
.agi-k { display: inline-flex; width: 20px; margin-right: 6px; color: hsl(var(--muted-fg)); vertical-align: -2px; } .agi-k svg { width: 15px; height: 15px; }
.agi-sec { margin-bottom: 18px; } .agi-sec h4 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13.5px; } .agi-sec h4 svg { width: 15px; height: 15px; }
.agi-sec .ns-spec { grid-template-columns: max-content minmax(0, 1fr); }
.agi-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.agi-chips > span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: hsl(var(--muted)); }
.agi-chips svg { width: 12px; height: 12px; } .agi-chips small { color: hsl(var(--muted-fg)); }
.agi-chips .good { background: hsl(var(--success) / .14); } .agi-chips .bad { background: hsl(var(--danger) / .14); color: hsl(var(--danger)); }
.agi-vol { display: grid; grid-template-columns: 90px 1fr; gap: 2px 10px; align-items: center; font-size: 12.5px; margin-bottom: 8px; }
.agi-vol .muted { grid-column: 2; font-size: 11.5px; } .agi-vol .ns-bar.big { height: 8px; }
.agi-sw { max-height: 320px; overflow: auto; }
.agi-days { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.ak-code { position: relative; margin-bottom: 10px; } .ak-code pre { margin: 0; padding: 10px 12px; padding-right: 90px; background: hsl(var(--muted)); border-radius: 8px; font-size: 11.5px; white-space: pre-wrap; word-break: break-all; }
.ak-code .btn { position: absolute; top: 6px; right: 6px; }
.agi-ps { display: flex; gap: 12px; align-items: center; justify-content: space-between; border: 1px solid hsl(var(--border)); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.agi-ps small { display: block; font-size: 11.5px; margin-top: 2px; } .agi-ps svg { width: 15px; height: 15px; vertical-align: -2px; }
.agi-log td { white-space: nowrap; font-size: 12.5px; } .agi-log td.agi-note { white-space: normal; min-width: 260px; }
.agi-aidr { width: min(1100px, 96vw) !important; max-width: 96vw !important; } .agi-aidr .db { background: hsl(var(--bg)); }
.agi-ai .ai-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
/* 1.29.2: modo de coleta */
.agi-mode { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid hsl(var(--border)); border-radius: 10px; margin-bottom: 10px; cursor: pointer; }
.agi-mode:has(input:checked) { border-color: hsl(var(--primary)); background: hsl(var(--primary) / .06); }
.agi-mode input { margin-top: 3px; width: auto !important; flex: none; }
.agi-mode span { display: flex; flex-direction: column; gap: 3px; }
.agi-mode small { color: hsl(var(--muted-fg)); font-size: 12.5px; }
.agi-every { margin: -2px 0 12px 32px; }
#cf-win[hidden], .agi-every[hidden] { display: none; }
/* 1.29.3: instalação por sistema */
.agi-ostabs { display: flex; gap: 4px; border-bottom: 1px solid hsl(var(--border)); margin: 4px 0 12px; overflow-x: auto; }
.agi-ostabs button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; background: none; font: inherit; font-size: 13px; color: hsl(var(--muted-fg)); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.agi-ostabs button svg { width: 15px; height: 15px; }
.agi-ostabs button.on { color: hsl(var(--primary)); border-bottom-color: hsl(var(--primary)); font-weight: 600; }
.agi-ospane[hidden] { display: none; }
.agi-man { border: 1px solid hsl(var(--border)); border-radius: 10px; padding: 8px 12px; margin: 6px 0 10px; }
.agi-man summary { cursor: pointer; font-size: 13px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.agi-man summary svg { width: 14px; height: 14px; }
.agi-man[open] summary { margin-bottom: 8px; }
.agi-foot { font-size: 12px; } .agi-foot svg { width: 13px; height: 13px; vertical-align: -2px; } .agi-foot code { font-size: 11.5px; }
.agi-pkgs{margin:10px 0}
.agi-pkgs ul{list-style:none;margin:4px 0 0;padding:0;border:1px solid hsl(var(--border));border-radius:8px}
.agi-pkgs li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;font-size:13px}
.agi-pkgs li+li{border-top:1px solid hsl(var(--border))}
.agi-pkgs li a{display:inline-flex;align-items:center;gap:5px;font-family:var(--mono,monospace);font-size:12px;word-break:break-all;text-align:right}
.agi-pkgs li a svg{width:14px;height:14px;flex:none}
