
#nmcStudio{
  --nmc-bg:#fff;
  --nmc-card:#f5f6fb;
  --nmc-text:#172033;
  --nmc-muted:#526078;
  --nmc-border:#dce1ec;
  --nmc-accent:#6941dc;
  display:grid;
  gap:14px;
  color:var(--nmc-text)!important;
}

html[data-theme="dark"] #nmcStudio{
  --nmc-bg:#171d29;
  --nmc-card:#202939;
  --nmc-text:#f4f6ff;
  --nmc-muted:#c1cadb;
  --nmc-border:#3b4960;
  --nmc-accent:#bca5ff;
}

#nmcStudio .nmc-header{
  padding:22px 14px;
  text-align:center;
  background:var(--nmc-card)!important;
  border:1px solid var(--nmc-border);
  border-radius:18px;
}

#nmcStudio .nmc-shield{
  display:grid;
  place-items:center;
  margin:0 auto 12px;
  width:60px;
  height:60px;
  border-radius:20px;
  background:linear-gradient(135deg,#7047eb,#15a8a1);
  color:#fff!important;
  font-size:32px;
  font-weight:900;
}

#nmcStudio .nmc-header strong{
  font-size:21px;
  color:var(--nmc-text)!important;
}

#nmcStudio p,
#nmcStudio .nmc-summary span{
  color:var(--nmc-muted)!important;
  font-size:14px;
  line-height:1.8;
}

#nmcStudio .nmc-status,
#nmcStudio .nmc-report{
  border:1px solid var(--nmc-border);
  border-radius:12px;
  padding:14px;
  background:var(--nmc-card)!important;
  color:var(--nmc-text)!important;
  font-weight:700;
  font-size:14px;
  white-space:pre-line;
  line-height:1.9;
}

#nmcStudio [data-state="clear"]{
  border-color:#16885a!important;
}

#nmcStudio [data-state="found"]{
  border-color:#d99825!important;
}

#nmcStudio .nmc-list{
  display:grid;
  gap:8px;
}

#nmcStudio .nmc-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
  padding:14px 12px;
  border-radius:12px;
  border:1px solid var(--nmc-border);
  background:var(--nmc-bg)!important;
}

#nmcStudio .nmc-row strong{
  font-size:14px;
  color:var(--nmc-text)!important;
}

#nmcStudio .nmc-row span{
  font-size:12px;
  font-weight:800;
  padding:5px 9px;
  border-radius:8px;
}

#nmcStudio .nmc-found{
  background:#fff0ce!important;
  color:#854900!important;
}

#nmcStudio .nmc-clear{
  background:#d8f5e5!important;
  color:#12643b!important;
}

#nmcStudio .nmc-summary{
  text-align:center;
  padding:16px;
  border:1px solid var(--nmc-border);
  border-radius:14px;
  background:var(--nmc-card)!important;
}

#nmcStudio .nmc-summary strong{
  display:block;
  margin-top:8px;
  font-size:24px;
  color:var(--nmc-text)!important;
}

#nmcStudio .nmc-label{
  font-size:15px;
  font-weight:800;
  color:var(--nmc-text)!important;
}

#nmcStudio select{
  width:100%;
  min-height:48px;
  border:1px solid var(--nmc-border)!important;
  border-radius:12px;
  background:var(--nmc-bg)!important;
  color:var(--nmc-text)!important;
}

#nmcStudio .nmc-privacy{
  padding:12px;
  text-align:center;
  border-radius:12px;
  background:#d8f5e5!important;
  color:#12643b!important;
  font-size:13px;
  font-weight:700;
}

#nmcStudio [hidden]{
  display:none!important;
}

@media(max-width:600px){
  #nmcStudio .nmc-header strong{
    font-size:19px;
  }
  #nmcStudio .nmc-row{
    padding:12px 10px;
  }
}


/* NUJIZ METADATA DESIGN V2 */

html body #nmcStudio{
    --mc-surface:#ffffff;
    --mc-panel:#f4f6fb;
    --mc-border:#d7deea;
    --mc-text:#172033;
    --mc-muted:#526078;
    --mc-green:#087447;
    --mc-green-bg:#e7f8ee;
    --mc-red:#b42332;
    --mc-red-bg:#fff0f1;
    --mc-amber:#925b09;
    --mc-amber-bg:#fff5dc;
    gap:12px!important;
}

html[data-theme="dark"] body #nmcStudio{
    --mc-surface:#181e29;
    --mc-panel:#202838;
    --mc-border:#3b485e;
    --mc-text:#f8fafc;
    --mc-muted:#c4cedd;
    --mc-green:#86efac;
    --mc-green-bg:#193629;
    --mc-red:#fda4af;
    --mc-red-bg:#3b202b;
    --mc-amber:#fcd58a;
    --mc-amber-bg:#382d1d;
}

/* Compact professional header */

html body #nmcStudio .nmc-header{
    display:grid!important;
    grid-template-columns:52px minmax(0,1fr);
    align-items:center!important;
    gap:5px 14px!important;
    padding:18px!important;
    text-align:start!important;
    background:var(--mc-panel)!important;
    border:1px solid var(--mc-border)!important;
    border-radius:16px!important;
}

html body #nmcStudio .nmc-shield{
    grid-row:1 / 3;
    width:52px!important;
    height:52px!important;
    margin:0!important;
    border-radius:15px!important;
    background:linear-gradient(135deg,#7047eb,#168c92)!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
}

html body #nmcStudio .nmc-header strong{
    color:var(--mc-text)!important;
    -webkit-text-fill-color:var(--mc-text)!important;
    font-size:19px!important;
    line-height:1.5!important;
}

html body #nmcStudio .nmc-header p{
    margin:0!important;
    font-size:13px!important;
    line-height:1.7!important;
    color:var(--mc-muted)!important;
    -webkit-text-fill-color:var(--mc-muted)!important;
}

/* Scan status */

html body #nmcStudio .nmc-status,
html body #nmcStudio .nmc-report{
    font-size:14px!important;
    font-weight:700!important;
    padding:15px!important;
    line-height:1.9!important;
    border-radius:12px!important;
    color:var(--mc-text)!important;
    -webkit-text-fill-color:var(--mc-text)!important;
}

html body #nmcStudio [data-state="clear"]{
    background:var(--mc-green-bg)!important;
    color:var(--mc-green)!important;
    -webkit-text-fill-color:var(--mc-green)!important;
    border-color:#27845a!important;
}

html body #nmcStudio [data-state="found"]{
    background:var(--mc-red-bg)!important;
    color:var(--mc-red)!important;
    -webkit-text-fill-color:var(--mc-red)!important;
    border-color:#b94b59!important;
}

html body #nmcStudio [data-state="unknown"]{
    background:var(--mc-amber-bg)!important;
    color:var(--mc-amber)!important;
    -webkit-text-fill-color:var(--mc-amber)!important;
}

/* Unified metadata inspection table */

html body #nmcStudio .nmc-list{
    display:block!important;
    padding:6px 14px!important;
    background:var(--mc-surface)!important;
    border:1px solid var(--mc-border)!important;
    border-radius:16px!important;
}

html body #nmcStudio .nmc-list:empty{
    display:none!important;
}

html body #nmcStudio .nmc-row{
    display:flex!important;
    justify-content:space-between!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    min-height:56px!important;
    gap:8px!important;
    padding:12px 0!important;
    margin:0!important;
    border:0!important;
    border-bottom:1px solid var(--mc-border)!important;
    border-radius:0!important;
    background:transparent!important;
}

html body #nmcStudio .nmc-row:last-child{
    border-bottom:0!important;
}

html body #nmcStudio .nmc-row strong{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    color:var(--mc-text)!important;
    -webkit-text-fill-color:var(--mc-text)!important;
    font-size:14px!important;
    font-weight:700!important;
}

html body #nmcStudio .nmc-row strong::before{
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    flex-shrink:0;
    border-radius:8px;
    background:var(--mc-panel);
    color:#9474ed!important;
    -webkit-text-fill-color:#9474ed!important;
    font-size:17px;
}

#nmcStudio .nmc-row:nth-child(1) strong::before{content:"⌖"}
#nmcStudio .nmc-row:nth-child(2) strong::before{content:"▣"}
#nmcStudio .nmc-row:nth-child(3) strong::before{content:"▦"}
#nmcStudio .nmc-row:nth-child(4) strong::before{content:"©"}
#nmcStudio .nmc-row:nth-child(5) strong::before{content:"▤"}

html body #nmcStudio .nmc-row .nmc-clear{
    background:var(--mc-green-bg)!important;
    color:var(--mc-green)!important;
    -webkit-text-fill-color:var(--mc-green)!important;
    font-size:12px!important;
    font-weight:800!important;
    padding:7px 10px!important;
    border-radius:8px!important;
}

html body #nmcStudio .nmc-row .nmc-clear::before{
    content:"✓ ";
    color:inherit!important;
    -webkit-text-fill-color:inherit!important;
}

html body #nmcStudio .nmc-row .nmc-found{
    background:var(--mc-red-bg)!important;
    color:var(--mc-red)!important;
    -webkit-text-fill-color:var(--mc-red)!important;
    font-size:12px!important;
    font-weight:800!important;
    padding:7px 10px!important;
    border-radius:8px!important;
}

html body #nmcStudio .nmc-row .nmc-found::before{
    content:"! ";
    color:inherit!important;
    -webkit-text-fill-color:inherit!important;
}

/* Image information */

html body #nmcStudio .nmc-summary{
    padding:15px!important;
    border:1px solid var(--mc-border)!important;
    border-radius:14px!important;
    background:var(--mc-panel)!important;
}

html body #nmcStudio .nmc-summary span{
    color:var(--mc-muted)!important;
    -webkit-text-fill-color:var(--mc-muted)!important;
    font-size:13px!important;
}

html body #nmcStudio .nmc-summary strong{
    color:var(--mc-text)!important;
    -webkit-text-fill-color:var(--mc-text)!important;
    font-size:24px!important;
    font-weight:900!important;
}

/* Format selector */

html body #nmcStudio .nmc-label{
    color:var(--mc-text)!important;
    -webkit-text-fill-color:var(--mc-text)!important;
    font-size:15px!important;
    font-weight:800!important;
}

html body #nmcStudio select,
html body #nmcStudio select option{
    background:var(--mc-surface)!important;
    color:var(--mc-text)!important;
    -webkit-text-fill-color:var(--mc-text)!important;
    font-size:14px!important;
    font-weight:700!important;
}

html body #nmcStudio select{
    min-height:50px!important;
    border:1px solid var(--mc-border)!important;
    border-radius:12px!important;
    padding:10px 14px!important;
}

/* Privacy message */

html body #nmcStudio .nmc-privacy{
    background:var(--mc-green-bg)!important;
    color:var(--mc-green)!important;
    -webkit-text-fill-color:var(--mc-green)!important;
    border:1px solid #27845a!important;
    border-radius:12px!important;
    padding:13px!important;
    font-size:13px!important;
    line-height:1.8!important;
}

/* Mobile */

@media(max-width:600px){

    html body #nmcStudio .nmc-header{
        padding:14px!important;
        grid-template-columns:44px minmax(0,1fr);
    }

    html body #nmcStudio .nmc-shield{
        width:44px!important;
        height:44px!important;
    }

    html body #nmcStudio .nmc-header strong{
        font-size:17px!important;
    }

    html body #nmcStudio .nmc-row strong{
        font-size:13px!important;
    }

    html body #nmcStudio .nmc-list{
        padding:4px 10px!important;
    }

    html body #nmcStudio .nmc-row{
        min-height:52px!important;
    }
}



/* NUJIZ METADATA COMPARISON V3 */

html body #nmcStudio .nmc-details-v3{
  width:100%;
  display:grid;
  gap:0;
  background:var(--mc-panel)!important;
  border:1px solid var(--mc-border)!important;
  border-radius:10px;
  padding:5px 10px;
  box-sizing:border-box;
}

html body #nmcStudio .nmc-detail-v3{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px;
  padding:9px 0;
  border-bottom:1px solid var(--mc-border);
  align-items:start;
}

html body #nmcStudio .nmc-detail-v3:last-child{
  border-bottom:0;
}

html body #nmcStudio .nmc-field-label{
  color:var(--mc-muted)!important;
  -webkit-text-fill-color:var(--mc-muted)!important;
  font-size:12px!important;
  font-weight:600!important;
}

html body #nmcStudio .nmc-field-value{
  color:var(--mc-text)!important;
  -webkit-text-fill-color:var(--mc-text)!important;
  font-size:13px!important;
  font-weight:700!important;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
}

html body #nmcStudio .nmc-comparison-v3{
  display:grid;
  gap:12px;
  padding:14px!important;
  background:var(--mc-surface)!important;
  border:1px solid var(--mc-border)!important;
  white-space:normal!important;
  min-width:0;
}

html body #nmcStudio .nmc-comparison-title{
  color:var(--mc-text)!important;
  -webkit-text-fill-color:var(--mc-text)!important;
  font-size:17px!important;
  font-weight:900!important;
  margin:0!important;
}

html body #nmcStudio .nmc-comparison-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
}

html body #nmcStudio .nmc-stat-v3{
  display:flex;
  flex-direction:column-reverse;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:6px;
  padding:12px 5px;
  background:var(--mc-panel)!important;
  border:1px solid var(--mc-border)!important;
  border-radius:12px;
}

html body #nmcStudio .nmc-stat-v3 small{
  color:var(--mc-muted)!important;
  -webkit-text-fill-color:var(--mc-muted)!important;
  font-size:11px!important;
  line-height:1.5!important;
}

html body #nmcStudio .nmc-stat-v3 b{
  font-size:28px!important;
  line-height:1.2!important;
  font-weight:900!important;
  color:var(--mc-text)!important;
  -webkit-text-fill-color:var(--mc-text)!important;
}

html body #nmcStudio .nmc-stat-v3.removed b{
  color:var(--mc-green)!important;
  -webkit-text-fill-color:var(--mc-green)!important;
}

html body #nmcStudio .nmc-stat-v3.remaining b,
html body #nmcStudio .nmc-stat-v3.before b{
  color:var(--mc-red)!important;
  -webkit-text-fill-color:var(--mc-red)!important;
}

html body #nmcStudio .nmc-compare-table{
  border:1px solid var(--mc-border);
  border-radius:12px;
  overflow:hidden;
}

html body #nmcStudio .nmc-compare-head,
html body #nmcStudio .nmc-compare-row{
  display:grid;
  grid-template-columns:1fr 1.15fr 1fr;
  gap:8px;
  padding:10px 8px;
  align-items:start;
  overflow-wrap:anywhere;
}

html body #nmcStudio .nmc-compare-head{
  background:var(--mc-panel)!important;
  color:var(--mc-text)!important;
  -webkit-text-fill-color:var(--mc-text)!important;
  font-size:12px!important;
  font-weight:900!important;
}

html body #nmcStudio .nmc-compare-row{
  border-top:1px solid var(--mc-border);
  font-size:12px!important;
  line-height:1.7!important;
}

html body #nmcStudio .nmc-compare-field{
  color:var(--mc-text)!important;
  -webkit-text-fill-color:var(--mc-text)!important;
  font-weight:800!important;
}

html body #nmcStudio .nmc-value-before,
html body #nmcStudio .nmc-value-remaining{
  color:var(--mc-red)!important;
  -webkit-text-fill-color:var(--mc-red)!important;
  white-space:pre-wrap;
}

html body #nmcStudio .nmc-value-removed{
  color:var(--mc-green)!important;
  -webkit-text-fill-color:var(--mc-green)!important;
}

html body #nmcStudio .nmc-value-neutral{
  color:var(--mc-muted)!important;
  -webkit-text-fill-color:var(--mc-muted)!important;
}

html body #nmcStudio .nmc-comparison-notice{
  border:1px solid var(--mc-border);
  border-radius:10px;
  padding:12px;
  font-size:13px!important;
  line-height:1.8!important;
}

html body #nmcStudio .nmc-scope-v3{
  color:var(--mc-muted)!important;
  -webkit-text-fill-color:var(--mc-muted)!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.8!important;
}

html body #nmcStudio .nmc-report-download{
  display:block!important;
  width:100%;
  padding:13px 10px!important;
  border:1px solid #9275ff!important;
  border-radius:12px!important;
  background:#6842d7!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
  cursor:pointer;
  transition:filter .2s,transform .2s;
}

html body #nmcStudio .nmc-report-download:hover{
  filter:brightness(1.15);
  transform:translateY(-1px);
}

html body #nmcStudio #nmcReport[hidden]{
  display:none!important;
}

@media(max-width:600px){

  html body #nmcStudio .nmc-comparison-v3{
    padding:9px!important;
  }

  html body #nmcStudio .nmc-compare-row,
  html body #nmcStudio .nmc-compare-head{
    gap:5px;
    padding:9px 5px;
    font-size:11px!important;
  }

  html body #nmcStudio .nmc-stat-v3 b{
    font-size:24px!important;
  }

  html body #nmcStudio .nmc-detail-v3{
    gap:6px;
  }
}

