/* vgconsole-specific styles layered on brand.css's D18 shell. Kept
   separate from brand.css so a brand.css refresh (copied again from
   Herald) never has to be re-merged with console-only rules. */

.vgc-readonly {
  background: #eef6ff;
  border: 1px solid #bcd9f5;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--vg-dark);
  margin: 0 0 16px;
}

.vgc-error {
  background: #fdecea;
  border: 1px solid #f3b4ac;
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--vg-dark);
  margin: 16px 0;
}

.vgc-table-wrap { overflow-x: auto; }

.vgc-table th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
.vgc-table th.sortable .vgc-arrow { font-size: 10px; color: var(--vg-mid); margin-left: 4px; }

.vgc-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 1px solid var(--vg-mid);
  color: var(--vg-mid);
  font-size: 10px;
  font-weight: 700;
  margin-left: 4px;
  cursor: help;
  background: #fff;
}

.vgc-chip { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.vgc-chip.pass, .vgc-chip.ok { background: #e4f5ec; color: var(--vg-green); }
.vgc-chip.warn { background: #fff4de; color: #9a6b00; }
.vgc-chip.fixable, .vgc-chip.bad { background: #fdecea; color: var(--vg-red); }
.vgc-chip.blocked, .vgc-chip.plain { background: #f1f2f4; color: var(--vg-mid); }
.vgc-chip.info { background: #eef6ff; color: var(--vg-blue); }

.vgc-tier-section { margin-bottom: 28px; }
.vgc-counts { display: flex; gap: 10px; margin: 6px 0 14px; }
.vgc-count { font-size: 13px; color: var(--vg-mid); }

.vgc-findings { margin: 4px 0 0; padding-left: 18px; font-size: 13px; color: var(--vg-mid); }

/* P1: setup tracks, CRM tiles, requests list, notices, forms. Same
   vgc- prefix as P0's rules above, kept in this file rather than
   brand.css so a brand.css refresh never needs re-merging with these. */

.vgc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .vgc-grid2 { grid-template-columns: 1fr; } }

.vgc-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }

.vgc-track { list-style: none; margin: 10px 0; padding: 0; }
.vgc-track li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 14px; }
.vgc-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 999px; background: var(--vg-light);
  color: var(--vg-mid); font-size: 12px; font-weight: 700; flex: 0 0 auto;
}
.vgc-dot.done { background: var(--vg-green); color: #fff; }

.vgc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 14px 0; }
.vgc-tile { border: 1px solid var(--vg-card-bd); border-radius: 10px; padding: 16px; }
.vgc-tile.sel { border-color: var(--vg-teal); box-shadow: 0 0 0 1px var(--vg-teal) inset; }
.vgc-tile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }

.vgc-reqlist { list-style: none; margin: 0; padding: 0; }
.vgc-reqlist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--vg-card-bd); font-size: 14px; }
.vgc-reqlist li:last-child { border-bottom: none; }
.vgc-reqlist .rq-plan { margin: 4px 0 0; font-size: 13px; color: var(--vg-mid); white-space: pre-wrap; }

.vgc-notice { border-radius: 8px; padding: 12px 14px; margin: 12px 0; font-size: 13px; color: var(--vg-dark); }
.vgc-notice.info { background: #eef6ff; border: 1px solid #bcd9f5; }
.vgc-notice.ok { background: #e4f5ec; border: 1px solid #b8ddc7; }
.vgc-notice.warn { background: #fff4de; border: 1px solid #ffe1a3; }
.vgc-notice.bad { background: #fdecea; border: 1px solid #f3b4ac; }

.vgc-field { display: block; margin-bottom: 14px; font-size: 14px; color: var(--vg-mid); }
.vgc-field input[type="text"], .vgc-field input[type="email"], .vgc-field input[type="number"],
.vgc-field input[type="date"], .vgc-field textarea, .vgc-field select {
  display: block; width: 100%; margin-top: 4px; font: 15px var(--vg-font);
  padding: 10px 12px; border: 1px solid var(--vg-card-bd); border-radius: 4px;
}
.vgc-field textarea { resize: vertical; }

.vgc-linkbox {
  background: var(--vg-light); border: 1px dashed var(--vg-mid); border-radius: 8px;
  padding: 12px 14px; font-size: 13px; word-break: break-all; margin: 10px 0;
}

.vgc-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vgc-row.between { justify-content: space-between; }
