
/* AI Summary Assistant (joshcorbelli.com) */
.ai-summary-row {
  display:flex;
  align-items:center;
  gap:.75rem;
  margin:2rem 0 0;
  flex-wrap:wrap;
}
.ai-summary-row .label {
  font-weight:600;
}
.ai-summary-row .ai-icons a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;height:40px;
  border-radius:8px;
  background:#f6f7f9;
  box-shadow:0 1px 2px rgba(0,0,0,.06) inset;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s;
}
.ai-summary-row .ai-icons a:hover { transform: translateY(-2px); }
.ai-summary-row .ai-icons img {
  width:24px;height:24px; display:block;
}
/* Drawer */
#jc-ai-drawer {
  position:fixed;
  top:0; right:0;
  width:420px; max-width:100%;
  height:100vh;
  background:#ffffff;
  box-shadow:-8px 0 24px rgba(0,0,0,.12);
  transform:translateX(100%);
  transition:transform .25s ease;
  z-index:9999;
  display:flex;
  flex-direction:column;
}
#jc-ai-drawer.open { transform:translateX(0); }
#jc-ai-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid #e7e7ea;
}
#jc-ai-header h3 { margin:0; font-size:16px; }
#jc-ai-close { border:0; background:transparent; font-size:20px; cursor:pointer; }
#jc-ai-body {
  flex:1;
  overflow:auto;
  padding:16px;
}
#jc-ai-status {
  font-size:14px; color:#666; margin-bottom:8px;
}
#jc-ai-output { line-height:1.6; font-size:15px; }
#jc-ai-footer {
  border-top:1px solid #e7e7ea;
  padding:12px 16px;
  display:flex; gap:8px;
}
#jc-ai-prompt {
  flex:1; min-height:44px; resize:vertical;
  border:1px solid #d6d6db; border-radius:8px; padding:10px;
}
#jc-ai-send {
  background:#111827; color:#fff; border:0;
  padding:0 14px; border-radius:8px; cursor:pointer;
}
@media (max-width: 640px){
  #jc-ai-drawer { width:100%; }
}
