/* Gate Closure Carryover Log (tool 21) */
.gccl-root { display: flex; flex-direction: column; gap: 16px; }
.gccl-banner {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 10px; border: 1px solid #e2e8f0; background: #f8fafc;
}
.gccl-banner h3 { margin: 0 0 4px; font-size: 15px; }
.gccl-banner p { margin: 0; color: #475569; font-size: 13px; max-width: 52rem; }
.gccl-tile-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px; background: #e2e8f0; color: #334155; white-space: nowrap;
}
.gccl-tile-pill.is-red { background: #fee2e2; color: #991b1b; box-shadow: 0 0 0 2px #dc2626; }
.gccl-tile-pill.is-green { background: #dcfce7; color: #166534; box-shadow: 0 0 0 2px #16a34a; }
.gccl-empty { padding: 18px 14px; border: 1px dashed #cbd5e1; border-radius: 10px; color: #475569; background: #fff; }
.gccl-legacy { font-size: 12px; color: #64748b; margin: 0; }
.gccl-item {
  border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; padding: 12px 14px;
}
.gccl-item.is-red { border-color: #fca5a5; box-shadow: inset 3px 0 0 #dc2626; }
.gccl-item.is-green { border-color: #86efac; box-shadow: inset 3px 0 0 #16a34a; }
.gccl-item-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gccl-item-head h4 { margin: 0; font-size: 14px; }
.gccl-item-meta { margin: 2px 0 0; font-size: 12px; color: #64748b; }
.gccl-status {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 2px 8px; border-radius: 999px;
}
.gccl-status.is-red { background: #fee2e2; color: #991b1b; }
.gccl-status.is-green { background: #dcfce7; color: #166534; }
.gccl-history { margin: 10px 0 0; font-size: 13px; color: #1e293b; line-height: 1.45; }
.gccl-close { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.gccl-close textarea {
  width: 100%; min-height: 64px; resize: vertical; font: inherit; padding: 8px 10px;
  border: 1px solid #cbd5e1; border-radius: 8px;
}
.gccl-close .gccl-close-actions { display: flex; align-items: center; gap: 8px; }
.gccl-close .muted { font-size: 12px; color: #64748b; }
