/* Vchat AI Resources · fully scoped, prevents theme/WordPress article/header reset */
#vchat-ai-resources{margin:24px 0 32px;padding:24px!important;border:1px solid #e6e1f8;border-radius:23px;background:linear-gradient(135deg,#faf9ff,#f8fbff);color:#231d43;box-sizing:border-box}
#vchat-ai-resources *,.vchat-ai-resource-overlay *{box-sizing:border-box}
#vchat-ai-resources .vchat-ai-resources-head{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:18px}
#vchat-ai-resources h2{margin:4px 0 6px!important;font-size:22px!important;color:#241d45!important;line-height:1.3!important}
#vchat-ai-resources .vchat-ai-resources-head p{margin:0!important;font-size:13px;color:#786f92;max-width:650px;line-height:1.55}
#vchat-ai-resources .vchat-ai-resources-toolbar{display:flex;gap:10px;margin-bottom:15px}
#vchat-ai-resources input[type=search],#vchat-ai-resources select{background:#fff!important;color:#231d43!important;border:1px solid #ded8f4!important;border-radius:12px!important;height:42px;padding:9px 12px!important;min-width:0;outline:0}
#vchat-ai-resources input[type=search]{flex:1}
#vchat-ai-resources .vchat-ai-resource-list{display:grid;gap:10px}
#vchat-ai-resources .vchat-ai-resource-card{display:flex;align-items:flex-start;gap:14px;background:#fff!important;border:1px solid #e6e0f8!important;border-radius:16px!important;padding:17px!important;min-height:86px!important;box-shadow:none!important;margin:0!important}
#vchat-ai-resources .vchat-ai-resource-symbol{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:12px;background:#f0edff;color:#6150d9;font-size:12px;font-weight:800}
#vchat-ai-resources .vchat-ai-resource-info{flex:1;min-width:0}
#vchat-ai-resources .vchat-ai-resource-title{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
#vchat-ai-resources .vchat-ai-resource-title strong{font-size:15px;color:#292149}
#vchat-ai-resources .vchat-ai-resource-info small{display:block;font-size:11px;color:#8d83a3;margin-top:6px;overflow-wrap:anywhere}
#vchat-ai-resources .vchat-ai-resource-info p{font-size:12px;line-height:1.6;color:#665e7a;margin:6px 0 0!important;overflow-wrap:anywhere}
#vchat-ai-resources .vchat-ai-resource-pill{font-size:10px;font-weight:700;border-radius:99px;padding:4px 9px;background:#f2effa;color:#7a6b99}
#vchat-ai-resources .vchat-ai-resource-pill.is-published{background:#def7ed;color:#137d53}
#vchat-ai-resources .vchat-ai-resource-pill.is-archived{background:#f0f1f5;color:#6c7183}
#vchat-ai-resources .vchat-ai-resource-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#vchat-ai-resources .vchat-ai-resource-actions a,#vchat-ai-resources .vchat-ai-resource-actions button{font-size:12px;font-weight:700;padding:7px 11px!important;border:1px solid #dad3f8!important;border-radius:10px!important;color:#5e4cdf!important;background:white!important;text-decoration:none!important;cursor:pointer}
#vchat-ai-resources .vchat-ai-resource-empty{padding:26px!important;border:1px dashed #dcd7f5;border-radius:13px;text-align:center;color:#746d90;font-size:13px}
.vchat-ai-resource-modal-open{overflow:hidden!important}
.vchat-ai-resource-overlay{position:fixed!important;inset:0;z-index:2147482000!important;background:rgba(21,16,44,.62)!important;display:flex!important;justify-content:center;align-items:center;padding:18px!important;color:#281f43!important}
.vchat-ai-resource-overlay .vchat-ai-resource-dialog{display:flex;flex-direction:column;width:min(900px,100%);max-height:min(92vh,920px);background:#fff!important;border-radius:22px!important;overflow:hidden!important;box-shadow:0 32px 100px #110e2640!important}
.vchat-ai-resource-overlay .vchat-ai-resource-modal-head{display:flex!important;align-items:flex-start;justify-content:space-between;padding:24px!important;gap:12px;border-bottom:1px solid #ece8f6}
.vchat-ai-resource-overlay .vchat-ai-resource-modal-head h2{font-size:23px!important;color:#291f49!important;margin:6px 0!important;line-height:1.25!important}
.vchat-ai-resource-overlay .vchat-ai-resource-modal-head small{color:#6651de;font-size:10px;font-weight:800;letter-spacing:.08em}
.vchat-ai-resource-overlay .vchat-ai-resource-modal-head p{margin:0!important;font-size:12px;color:#7d7497;line-height:1.6}
.vchat-ai-resource-overlay button{cursor:pointer!important}
.vchat-ai-resource-overlay [data-ai-resource-close]{border:1px solid #ede9fa!important;background:#f8f6ff!important;border-radius:11px!important;font-size:22px!important;color:#6754da!important;padding:4px 12px!important}
.vchat-ai-resource-overlay form{overflow:auto;min-height:0;display:flex;flex-direction:column}
.vchat-ai-resource-overlay .vchat-ai-resource-fields{padding:18px 24px!important;display:grid;gap:16px;overflow:auto}
.vchat-ai-resource-overlay fieldset{padding:16px!important;margin:0!important;border:1px solid #e7e1f6!important;border-radius:14px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important;min-width:0!important}
.vchat-ai-resource-overlay legend{font-weight:800;font-size:14px;color:#30264d;padding:0 8px!important;line-height:1.4}
.vchat-ai-resource-overlay label{display:flex!important;flex-direction:column;gap:7px;font-weight:700;color:#40355b!important;font-size:12px!important;margin:0!important;min-width:0!important}
.vchat-ai-resource-overlay .span-two{grid-column:1/-1}
.vchat-ai-resource-overlay input:not([type=checkbox]):not([type=file]),.vchat-ai-resource-overlay textarea,.vchat-ai-resource-overlay select{display:block!important;width:100%!important;height:auto!important;min-height:40px!important;border:1px solid #dfd9f1!important;border-radius:10px!important;background:#fff!important;color:#2c2549!important;padding:10px 11px!important;outline:none!important;font-size:13px!important;line-height:1.4!important}
.vchat-ai-resource-overlay textarea{resize:vertical}
.vchat-ai-resource-overlay input[type=file]{padding:14px!important;border:1px dashed #b9b1e8!important;border-radius:10px;background:#faf9ff;color:#40345c;width:100%;max-width:100%}
.vchat-ai-resource-overlay label small{font-weight:400!important;color:#827a95!important;line-height:1.4}
.vchat-ai-resource-overlay .vchat-ai-resource-checks{display:flex;gap:10px;flex-wrap:wrap;margin:9px 0}
.vchat-ai-resource-overlay .vchat-ai-resource-check{flex-direction:row!important;align-items:center;gap:7px;padding:8px 10px!important;border-radius:10px;border:1px solid #e9e4f5;color:#383052!important;font-weight:600!important}
.vchat-ai-resource-overlay input[type=checkbox]{accent-color:#6352dc;width:16px;height:16px;margin:0!important}
.vchat-ai-resource-overlay .vchat-ai-resource-advice{font-size:12px;color:#716683;background:#f7f5fd;border-radius:11px;padding:12px!important;line-height:1.5}
.vchat-ai-resource-overlay .vchat-ai-resource-current{font-size:12px;color:#74698b;grid-column:1/-1;margin:0!important}
.vchat-ai-resource-overlay .vchat-ai-resource-foot{display:flex!important;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 24px!important;border-top:1px solid #ece8f6;background:white!important}
.vchat-ai-resource-overlay .vchat-ai-resource-foot button{border:1px solid #e2def1!important;border-radius:10px!important;color:#5f50a0!important;background:#fff!important;padding:10px 14px!important;font-weight:700!important;font-size:12px!important}
.vchat-ai-resource-overlay .vchat-ai-resource-foot button.primary{background:#614ce7!important;color:#fff!important;border-color:#614ce7!important}
.vchat-ai-resource-overlay .vchat-ai-resource-foot button.danger{color:#a33c55!important}
.vchat-ai-resource-overlay button:disabled{opacity:.5;cursor:wait!important}
#vchat-ai-resources .vchat-ai-resource-notice{padding:10px 13px!important;border-radius:9px;background:#e8f8f0;color:#147d54;font-size:12px;margin-bottom:10px}
#vchat-ai-resources .vchat-ai-resource-notice.is-error{background:#fde9ed;color:#ad345a}
@media(max-width:750px){#vchat-ai-resources{padding:15px!important;margin:14px 0 24px}#vchat-ai-resources .vchat-ai-resources-toolbar{flex-direction:column}#vchat-ai-resources .vchat-ai-resource-card{padding:13px!important;flex-wrap:wrap}#vchat-ai-resources .vchat-ai-resource-actions{width:100%;justify-content:flex-start;padding-left:58px} .vchat-ai-resource-overlay{padding:0!important;align-items:stretch} .vchat-ai-resource-overlay .vchat-ai-resource-dialog{max-height:100dvh;border-radius:0!important} .vchat-ai-resource-overlay .vchat-ai-resource-fields{padding:14px!important} .vchat-ai-resource-overlay fieldset{grid-template-columns:1fr!important;padding:13px!important} .vchat-ai-resource-overlay .vchat-ai-resource-modal-head{padding:16px!important} .vchat-ai-resource-overlay .vchat-ai-resource-foot{padding:12px!important} .vchat-ai-resource-overlay .vchat-ai-resource-foot button{flex:1} }
