.wp-block-ai-doc-summary .ai-doc-summary-wrapper{max-width:760px}
.wp-block-ai-doc-summary .ai-form{display:grid;gap:.75rem;margin-bottom:1rem}
.wp-block-ai-doc-summary textarea{width:100%}
.wp-block-ai-doc-summary button{padding:.6rem 1rem;cursor:pointer}
.wp-block-ai-doc-summary .ai-summary{white-space:pre-wrap;background:#fafafa;border:1px solid #eee;padding:1rem}
.wp-block-ai-doc-summary .ai-error{color:#b00}
.wp-block-ai-doc-summary .ai-loading{opacity:.8}
/* AI Doc Summary — estilos básicos */
.aidoc.card { border:1px solid #e5e7eb; border-radius:12px; padding:16px; background:#fff; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.aidoc-hdr h3 { margin:0 0 8px; font-weight:600; }
.aidoc-row { margin-bottom:12px; }
.aidoc-label { display:block; font-size:12px; color:#475569; margin-bottom:6px; }
.aidoc-file-meta { font-size:12px; color:#64748b; margin-top:6px; }

.aidoc-actions { display:flex; gap:8px; align-items:center; margin:12px 0; }
.aidoc-btn { appearance:none; border:1px solid #e2e8f0; padding:8px 12px; border-radius:10px; background:#f8fafc; cursor:pointer; font-weight:500; }
.aidoc-btn:hover { background:#f1f5f9; }
.aidoc-btn:disabled { opacity:.6; cursor:not-allowed; }
.aidoc-primary { background:#0ea5e9; border-color:#0ea5e9; color:white; }
.aidoc-primary:hover { filter:brightness(.98); }
.aidoc-primary.is-busy { position:relative; }
.aidoc-primary.is-busy::after {
  content:""; position:absolute; inset:0; border-radius:10px;
  background:repeating-linear-gradient(45deg, rgba(255,255,255,.25), rgba(255,255,255,.25) 10px, rgba(255,255,255,.15) 10px, rgba(255,255,255,.15) 20px);
  animation: aidoc-stripes 1s linear infinite;
}
@keyframes aidoc-stripes { to { background-position: 40px 0; } }

.aidoc-progress { height:8px; background:#f1f5f9; border-radius:999px; overflow:hidden; }
.aidoc-progress-bar { height:100%; width:0%; background:#0ea5e9; transition: width .25s ease; }

.aidoc-status { font-size:13px; color:#334155; margin:10px 0; }
.aidoc-output { background:#f8fafc; border:1px solid #e5e7eb; border-radius:8px; padding:12px; white-space:pre-wrap; }

