
.aict-mpd-page{max-width:880px;margin:0 auto;padding:2rem 1rem;font-family:system-ui,-apple-system,sans-serif;color:var(--aict-midnight-2)}
.aict-mpd-back{display:inline-block;margin-bottom:1rem;color:#7c3aed;text-decoration:none;font-size:.9rem}
.aict-mpd-back:hover{text-decoration:underline}
.aict-mpd-header{padding:1.5rem;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.aict-mpd-badges{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.75rem;font-size:.7rem;text-transform:uppercase;letter-spacing:.04em}
.aict-mpd-badge{padding:.25rem .5rem;border-radius:4px;background:#eef2ff;color:#4338ca;font-weight:600}
.aict-mpd-badge.is-official{background:#fef3c7;color:#92400e}
.aict-mpd-badge.is-pro{background:#fce7f3;color:#9d174d}
.aict-mpd-header h1{margin:0 0 .5rem;font-size:1.85rem;line-height:1.2}
.aict-mpd-meta{font-size:.85rem;color:#6b7280;margin-bottom:1rem}
.aict-mpd-desc{font-size:1.02rem;line-height:1.55;color:#374151;margin:0 0 1.5rem}
.aict-mpd-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.aict-mpd-btn{padding:.6rem 1.1rem;border:1px solid #d1d5db;border-radius:6px;text-decoration:none;text-align:center;font-size:.95rem;color:#374151;background:#fff;cursor:pointer;font-weight:600}
.aict-mpd-btn:hover{background:#f9fafb}
.aict-mpd-btn.is-primary{background:#7c3aed;color:#fff;border-color:#7c3aed}
.aict-mpd-btn.is-primary:hover{background:#6d28d9}
.aict-mpd-section{margin-top:2rem;padding:1.5rem;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.aict-mpd-section h2{margin:0 0 .75rem;font-size:1.15rem;color:var(--aict-midnight-2)}
.aict-mpd-steps{list-style:none;padding:0;margin:0;counter-reset:s}
.aict-mpd-step{counter-increment:s;display:flex;gap:.75rem;padding:.6rem 0;border-bottom:1px solid #f3f4f6}
.aict-mpd-step:last-child{border-bottom:0}
.aict-mpd-step::before{content:counter(s);flex-shrink:0;width:1.75rem;height:1.75rem;border-radius:50%;background:#7c3aed;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem}
.aict-mpd-step-tool{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88rem;background:#f3f4f6;padding:.15rem .4rem;border-radius:4px}
.aict-mpd-step-overrides{font-size:.8rem;color:#6b7280;margin-top:.25rem}
.aict-mpd-inputs{display:grid;gap:.75rem}
.aict-mpd-inputs label{display:flex;flex-direction:column;gap:.25rem;font-size:.9rem;font-weight:600}
.aict-mpd-inputs input[type=text],
.aict-mpd-inputs textarea{padding:.5rem .65rem;border:1px solid #d1d5db;border-radius:6px;font-size:.95rem;font-weight:400;background:#fff}
.aict-mpd-inputs textarea{min-height:80px;resize:vertical}
.aict-mpd-required{color:#dc2626;font-size:.8rem;margin-left:.25rem}
.aict-mpd-gates{display:flex;gap:.75rem;flex-wrap:wrap}
.aict-mpd-gate{padding:.4rem .75rem;background:#f3f4f6;border-radius:6px;font-size:.82rem}
.aict-mpd-warning{padding:1rem;background:#fef3c7;border:1px solid #fcd34d;border-radius:6px;font-size:.9rem;color:#92400e;margin-top:1rem}
/* [v4.16.80fa] V5 — ratings, reviews, similar workflows, author profile */
.aict-mpd-stats{display:flex;gap:1rem;flex-wrap:wrap;font-size:.85rem;color:#4b5563;margin:.5rem 0 1rem;padding:.5rem 0;border-top:1px solid #f3f4f6;border-bottom:1px solid #f3f4f6}
.aict-mpd-stats > div{display:flex;align-items:center;gap:.3rem}
.aict-mpd-stats strong{color:#1f2937;font-weight:700}
.aict-mpd-rating-large{display:flex;align-items:center;gap:.5rem;margin:0 0 .5rem}
.aict-mpd-stars-large{color:#f59e0b;font-size:1.1rem;letter-spacing:.05em}
.aict-mpd-rate-form{display:flex;flex-direction:column;gap:.5rem;margin-top:1rem}
.aict-mpd-stars-input{display:flex;gap:.2rem;font-size:1.6rem;color:#d1d5db;cursor:pointer}
.aict-mpd-stars-input button{background:none;border:0;cursor:pointer;color:inherit;font-size:inherit;padding:0 .1rem;line-height:1}
.aict-mpd-stars-input button.is-on,.aict-mpd-stars-input button:hover,.aict-mpd-stars-input button:hover ~ button{color:#d1d5db}
.aict-mpd-stars-input button.is-on{color:#f59e0b}
.aict-mpd-stars-input.is-rating button{color:#d1d5db}
.aict-mpd-stars-input.is-rating button.is-on,
.aict-mpd-stars-input.is-rating button.is-on ~ button.is-on{color:#f59e0b}
.aict-mpd-comment{padding:.55rem .65rem;border:1px solid #d1d5db;border-radius:6px;font-size:.9rem;width:100%;max-width:520px;background:#fff;font-family:inherit;resize:vertical;min-height:60px}
.aict-mpd-rate-status{font-size:.85rem;color:#6b7280;min-height:1.2em}
.aict-mpd-reviews{display:grid;gap:.75rem}
.aict-mpd-review{padding:.75rem;border:1px solid #f3f4f6;border-radius:6px;background:#fafafa}
.aict-mpd-review-head{display:flex;justify-content:space-between;align-items:center;font-size:.85rem;margin-bottom:.25rem;color:#6b7280}
.aict-mpd-review-name{font-weight:600;color:#1f2937}
.aict-mpd-review-comment{color:#374151;font-size:.93rem;margin:0}
.aict-mpd-similar{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.75rem}
.aict-mpd-similar-card{padding:.75rem;border:1px solid #e5e7eb;border-radius:8px;background:#fff;text-decoration:none;color:#1f2937;display:flex;flex-direction:column;gap:.3rem;transition:box-shadow .15s,transform .15s}
.aict-mpd-similar-card:hover{box-shadow:0 4px 14px rgba(0,0,0,.06);transform:translateY(-1px)}
.aict-mpd-similar-card .ttl{font-weight:600;font-size:.92rem}
.aict-mpd-similar-card .desc{font-size:.8rem;color:#6b7280;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.aict-mpd-author{display:flex;gap:.75rem;align-items:center;padding:.75rem;background:#f9fafb;border-radius:8px;margin-top:.5rem}
.aict-mpd-author img{width:48px;height:48px;border-radius:50%;flex-shrink:0}
.aict-mpd-author .a-name{font-weight:600;color:#1f2937}
.aict-mpd-author .a-bio{font-size:.85rem;color:#6b7280;margin:.15rem 0 0}
.aict-mpd-author a{color:#7c3aed;text-decoration:none;font-size:.85rem}
@media (prefers-color-scheme:dark){
  html:not([data-theme=light]) body{background:#0f172a;color:#f1f5f9}
  html:not([data-theme=light]) .aict-mpd-page{color:#f1f5f9}
  html:not([data-theme=light]) .aict-mpd-header,
  html:not([data-theme=light]) .aict-mpd-section{background:#1e293b;border-color:#334155}
  html:not([data-theme=light]) .aict-mpd-header h1{color:#f1f5f9}
  html:not([data-theme=light]) .aict-mpd-desc{color:#cbd5e1}
}
