.dd-demo-card,.dd-demo-manager { box-sizing:border-box; padding:14px; border:1px solid #e4daee; border-radius:11px; margin:12px 0; background:#fbf8fe; color:#241a32; min-width:0; }
.dd-demo-card h3 { margin:0 0 3px; font-size:1rem; }
.dd-demo-card p { margin:0 0 8px; color:#665971; font-size:.86rem; }
.dd-demo-manager summary { cursor:pointer; font-weight:750; color:#402361; }
.dd-demo-controls { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr)); gap:8px; align-items:end; }
.dd-demo-controls label { display:grid; gap:4px; min-width:0; font-weight:650; }
.dd-demo-controls select,.dd-demo-controls button { min-height:40px; width:100%; border-radius:8px; padding:7px 9px; font:inherit; border:1px solid #d9cce5; }
.dd-demo-controls select { color:#312343; background:#fff; }
.dd-demo-controls button { background:#592a80; color:#fff; border-color:transparent; cursor:pointer; font-weight:700; }
.dd-demo-controls button:disabled { opacity:.66; cursor:wait; }
.dd-demo-select { display:flex; gap:7px; align-items:center; width:fit-content; margin-top:9px; cursor:pointer; }
.dd-demo-local-status:empty { display:none; }
.dd-demo-local-status,.dd-demo-worker { margin:8px 0; color:#4c3767; }
.dd-demo-card [data-error=true],.dd-demo-manager [data-error=true] { color:#8b1942; }
.dd-demo-jobs { padding:0; margin:12px 0 0; list-style:none; }
.dd-demo-jobs li { display:grid; grid-template-columns:minmax(130px,1fr) minmax(130px,1.4fr) auto; align-items:center; gap:8px; padding:10px; margin-bottom:6px; border:1px solid #e7e0ef; border-radius:8px; background:#fff; overflow-wrap:anywhere; }
.dd-demo-jobs small { display:block; color:#675974; }
.dd-demo-badge { display:inline-block; padding:2px 7px; border-radius:5px; color:#4d2a67; background:#eee4f7; font-weight:700; }
.dd-demo-badge[data-state=ready] { background:#e2f5e9; color:#1a5633; }
.dd-demo-badge[data-state=failed] { background:#fae6eb; color:#841b3d; }
.dd-demo-download { color:#582585; font-weight:700; white-space:nowrap; }
@media(max-width:620px) { .dd-demo-jobs li { grid-template-columns:1fr; } }
