.mmw-wrap{
  --mmw-bg:#ffffff;
  --mmw-card:#fbfaf7;
  --mmw-border:rgba(30,30,30,.08);
  --mmw-text:#161616;
  --mmw-muted:#6b7280;
  --mmw-accent:#111827;
  --mmw-gold:#d4af37;
  --mmw-gold-soft:#f7ebbe;
  --mmw-success:#15803d;
  --mmw-danger:#b91c1c;
  margin:24px auto;
  padding:24px;
  background:linear-gradient(180deg,#fff,#faf8f2);
  border:1px solid var(--mmw-border);
  border-radius:28px;
  box-shadow:0 18px 48px rgba(15,23,42,.08);
  color:var(--mmw-text);
}

.mmw-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:24px;
}

.mmw-title{
  margin:0 0 8px;
  font-size:clamp(22px,4vw,32px);
  line-height:1.1;
}

.mmw-subtitle{
  margin:0;
  color:var(--mmw-muted);
  font-size:15px;
}

.mmw-toggle-form,
.mmw-submit-btn{
  appearance:none;
  border:0;
  border-radius:999px;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.mmw-toggle-form{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 18px;
  background:linear-gradient(135deg,var(--mmw-gold-soft),#fff 60%,var(--mmw-gold-soft));
  color:#3c2a00;
  font-weight:700;
  box-shadow:0 10px 26px rgba(212,175,55,.25);
}

.mmw-toggle-form:hover,
.mmw-submit-btn:hover,
.mmw-action-btn:hover{
  transform:translateY(-1px);
}

.mmw-toggle-icon{
  font-size:18px;
  line-height:1;
}

.mmw-owner-panel{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-bottom:24px;
}

.mmw-owner-card{
  background:#fff;
  border:1px solid var(--mmw-border);
  border-radius:18px;
  padding:18px;
  text-align:center;
}

.mmw-owner-count{
  font-size:34px;
  font-weight:800;
  line-height:1;
}

.mmw-owner-label{
  margin-top:8px;
  color:var(--mmw-muted);
}

.mmw-section-head{
  margin:28px 0 16px;
}

.mmw-section-head h4,
.mmw-form-header h4{
  margin:0;
  font-size:20px;
}

.mmw-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}

.mmw-card{
  position:relative;
  background:var(--mmw-card);
  border:1px solid var(--mmw-border);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 14px 32px rgba(15,23,42,.08);
}

.mmw-card--pending{
  border-color:rgba(212,175,55,.35);
}

.mmw-image{
  aspect-ratio:16/11;
  background-size:cover;
  background-position:center;
}

.mmw-card-body{
  padding:16px 16px 18px;
}

.mmw-meta{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-bottom:10px;
}

.mmw-name{
  font-size:18px;
}

.mmw-date{
  color:var(--mmw-muted);
  font-size:13px;
}

.mmw-text{
  margin:0;
  color:#1f2937;
  line-height:1.8;
  white-space:normal;
}

.mmw-actions{
  position:absolute;
  inset-inline-start:12px;
  top:12px;
  display:flex;
  gap:8px;
  z-index:2;
}

.mmw-moderation-form{
  margin:0;
}

.mmw-action-btn{
  appearance:none;
  border:0;
  border-radius:14px;
  cursor:pointer;
  padding:8px 10px;
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:700;
  box-shadow:0 10px 18px rgba(0,0,0,.14);
}

.mmw-action-btn span{
  font-size:18px;
  line-height:1;
}

.mmw-action-btn--approve{
  background:rgba(255,255,255,.95);
  color:var(--mmw-success);
}

.mmw-action-btn--decline{
  background:rgba(255,255,255,.95);
  color:var(--mmw-danger);
}

.mmw-empty{
  padding:28px 20px;
  border-radius:20px;
  background:#fff;
  border:1px dashed rgba(17,24,39,.15);
  color:var(--mmw-muted);
  text-align:center;
}

.mmw-form-shell{
  margin-top:24px;
  padding:20px;
  background:#fff;
  border:1px solid var(--mmw-border);
  border-radius:24px;
  box-shadow:0 18px 46px rgba(15,23,42,.08);
}

.mmw-form-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:18px;
}

.mmw-form-header p{
  margin:8px 0 0;
  color:var(--mmw-muted);
}

.mmw-form-close{
  appearance:none;
  border:0;
  cursor:pointer;
  background:#f3f4f6;
  color:#111827;
  border-radius:999px;
  width:36px;
  height:36px;
  font-size:24px;
  line-height: 3px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.mmw-form-close:hover{
  appearance:none;
  border:0;
  cursor:pointer;
  background:#f3f4f6;
  color:#111827;
  border-radius:999px;
  width:36px;
  height:36px;
  font-size:24px;
  line-height: 3px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow:0px 1px 3px rgba(0, 0, 0, 0.1),0px 2px 8px rgba(0, 0, 0, 0.1);
}

.mmw-field-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.mmw-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.mmw-field span{
  font-weight:700;
}

.mmw-field input,
.mmw-field textarea{
  width:100%;
  border:1px solid rgba(17,24,39,.14);
  border-radius:16px;
  padding:12px 14px;
  background:#fff;
  box-sizing:border-box;
  font:inherit;
}

.mmw-field textarea{
  resize:vertical;
}

.mmw-field--textarea{
  margin-top:14px;
}

.mmw-file-hint{
  color:var(--mmw-muted);
}

.mmw-preview{
  margin-top:14px;
}

.mmw-preview img{
  width:100%;
  max-height:320px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid var(--mmw-border);
}

.mmw-submit-row{
  margin-top:18px;
  display:flex;
  justify-content:flex-start;
}

.mmw-submit-btn{
  padding:13px 22px;
  background:linear-gradient(135deg,#111827,#374151);
  color:#fff;
  font-weight:700;
  box-shadow:0 16px 32px rgba(17,24,39,.2);
}

.mmw-notice{
  margin-bottom:18px;
  padding:14px 16px;
  border-radius:18px;
  font-weight:600;
}

.mmw-notice--success{background:#ecfdf5;color:#166534;border:1px solid #bbf7d0;}
.mmw-notice--warning{background:#fffbeb;color:#92400e;border:1px solid #fde68a;}
.mmw-notice--error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca;}

.mmw-honeypot{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  border:0 !important;
}

@media (max-width: 768px){
  .mmw-wrap{padding:18px;border-radius:22px;}
  .mmw-hero,
  .mmw-form-header{flex-direction:column;}
  .mmw-field-grid,
  .mmw-owner-panel{grid-template-columns:1fr;}
  .mmw-grid{grid-template-columns:1fr;}
  .mmw-actions{inset-inline-start:10px;top:10px;}
}
