/* Private page captures inside the creator space (cards only). Same palette: white cards, lavender, violet #7328ff. */
.mw-capture-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 14px;padding:12px 14px;background:#f8f6fc;border:1px solid #e7e3f2;border-radius:12px}
.mw-capture-controls button,.mw-capture-controls select{width:auto;font-size:12px;padding:8px 12px;border-radius:9px;border:1px solid #ddd5ee;background:#fff;color:#4a3a66}
.mw-capture-controls button:first-of-type{background:#7328ff;border-color:#7328ff;color:#fff}
.mw-capture-controls button:disabled{opacity:.5}
.mw-capture-controls small{flex-basis:100%;color:#6d6182;font-size:12px}
.mw-capture-controls .dlm-capture-reasons{color:#8b7f9f;font-size:11px}
.mw-capture-controls .dlm-step{background:#ede8f7;color:#7b6c95}
.mw-capture-controls .dlm-step.current{background:#7328ff;color:#fff}
.mw-capture-controls .dlm-step.done{background:#e3f4ec;color:#22694a}
.mw-card .dlm-capture-slot,.mw-recent-card .dlm-capture-slot{display:contents}
.mw-card .dlm-capture-open,.mw-card .dlm-capture-placeholder{order:-2}
.mw-recent-card .dlm-capture-open,.mw-recent-card .dlm-capture-placeholder{order:-2;margin:0 -10px 6px}
.mw-recent-card{display:flex;flex-direction:column}
.mw-card .dlm-capture-open,.mw-recent-card .dlm-capture-open{display:block;padding:0;border:0;background:none;width:auto;cursor:zoom-in;border-radius:9px;overflow:hidden;line-height:0}
.mw-recent-card .dlm-capture-open{border-radius:0}
.mw-card .dlm-capture-thumb,.mw-recent-card .dlm-capture-thumb{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:top center;border-radius:0;background:#f4f1fa}
.mw-card .dlm-capture-placeholder,.mw-recent-card .dlm-capture-placeholder{aspect-ratio:4/3;display:grid;place-items:center;text-align:center;padding:8px;font-size:11px;color:#9b8db1;background:linear-gradient(130deg,#f0edf8,#f8f6fc);border-radius:9px}
.mw-card .dlm-capture-placeholder.failed,.mw-recent-card .dlm-capture-placeholder.failed{aspect-ratio:auto;display:inline-flex;align-items:center;gap:6px;align-self:flex-start;padding:5px 11px;border-radius:999px;font-size:11px;color:#7d6f93;background:#f4f0fa;border:1px solid #ebe5f5;text-align:left}
.mw-recent-card .dlm-capture-placeholder.failed{margin:10px 0 0!important}
.mw-card .dlm-capture-icon,.mw-recent-card .dlm-capture-icon{font-size:12px;opacity:.85}
.mw-card .dlm-capture-details,.mw-recent-card .dlm-capture-details{order:9;font-size:10px;color:#8b7f9f}
.mw-card .dlm-capture-details summary,.mw-recent-card .dlm-capture-details summary{cursor:pointer;padding:2px 0}
.mw-card .dlm-capture-details button,.mw-recent-card .dlm-capture-details button{font-size:11px;padding:5px 9px;width:auto;margin-top:5px;border-radius:8px;border:0;background:#eee5ff;color:#5b21d6}
.mw-card .dlm-capture-state{display:block;color:#8b7f9f;font-size:10px}
.mw-same-content{font-size:11px;color:#5b4a78}
.mw-same-content summary{cursor:pointer;font-weight:650;color:#7328ff}
.mw-same-content div{display:flex;gap:6px;align-items:center;justify-content:space-between;margin:5px 0;min-width:0}
.mw-same-content .mw-source{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.mw-same-content button{font-size:11px;padding:4px 8px;width:auto;border-radius:8px;border:0;background:#eee5ff;color:#5b21d6;flex:none}
@media(max-width:760px){.mw-capture-controls{padding:10px}.mw-capture-controls button,.mw-capture-controls select{font-size:11px;padding:7px 9px}}
.mw-capture-controls select{background:#fff!important;color:#4a3a66!important;border:1px solid #ddd5ee!important;min-height:0!important;height:auto!important}
.mw-capture-controls small[role=status]{color:#4a3a66!important;opacity:1!important;font-weight:600}
/* Saved Google preview (blurred by the server): fallback only, hidden as soon as a sharp capture exists. */
.mw-blurred{order:-3;position:relative;border-radius:9px;overflow:hidden;line-height:0;background:#f4f1fa}
.mw-blurred img{width:100%;aspect-ratio:4/3;object-fit:cover}
.mw-blurred span{position:absolute;left:6px;bottom:6px;line-height:1.4;font-size:10px;padding:2px 7px;border-radius:999px;background:rgba(37,22,53,.75);color:#fff}
.mw-has-blurred:not(.dlm-has-capture) .dlm-capture-placeholder{display:none}
.dlm-has-capture .mw-blurred{display:none}
/* Google Images tab: no failure label (the real Google images will come from a later Google search). */
.mw-google-card .dlm-capture-placeholder.failed{display:none!important}
/* Reapparition a verifier (31/10) : ancien statut + nouvelle capture du controle automatique. */
.mw-reappear{display:grid;gap:4px;margin-top:6px;padding:8px 10px;border-radius:10px;background:#fff4e5;border:1px solid #f3c98b;color:#6b3a00;font-size:12px;line-height:1.35;min-width:0}
.mw-reappear strong{font-size:13px;color:#8a4b00}
.mw-reappear .mw-note{margin:0;font-size:12px;color:#6b3a00}
.mw-reappear-image{display:block;width:100%;max-height:220px;object-fit:cover;object-position:top;border-radius:8px;border:1px solid #f3c98b;background:#fff}
.mw-group-list ul{margin:6px 0 10px;padding-left:18px;max-height:220px;overflow:auto}
.mw-group-list li{margin:4px 0;overflow-wrap:anywhere;font-size:12px}
.mw-group-list small{color:#6b5a88}
