
/* ==========================================================
   CANTAIMY v6.5.1 — Creator Studio declaration text fix
   ========================================================== */

/* Make declaration a full-width normal-flow row */
#upload .check{
  display:grid !important;
  grid-template-columns:18px minmax(0,1fr) !important;
  align-items:start !important;
  column-gap:10px !important;
  row-gap:0 !important;
  width:100% !important;
  max-width:100% !important;
  margin:18px 0 14px !important;
  padding:0 !important;
  color:#c4c8d8 !important;
  font-size:13px !important;
  line-height:1.55 !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  hyphens:none !important;
}

/* If label contains text nodes/spans, keep them in one text column */
#upload .check > span,
#upload .check .check-text{
  display:block !important;
  min-width:0 !important;
  width:auto !important;
  max-width:none !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  hyphens:none !important;
}

/* Checkbox must not inherit generic input width */
#upload .check input[type="checkbox"]{
  grid-column:1 !important;
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  max-width:18px !important;
  flex:none !important;
  margin:1px 0 0 !important;
  padding:0 !important;
  border-radius:4px !important;
}

/* Prevent generic label/grid rules from splitting the sentence */
#upload .upload-card .check{
  grid-column:1 / -1 !important;
}

#upload .upload-card .check *{
  word-break:normal !important;
  overflow-wrap:normal !important;
}

/* Keep action/status area clean */
#upload .upload-progress{
  margin-top:12px !important;
}

#upload #uploadStatus{
  display:block !important;
  margin-top:10px !important;
  min-height:18px !important;
  color:#bfc5d8 !important;
  font-size:13px !important;
  line-height:1.4 !important;
}

/* Smaller screens */
@media(max-width:760px){
  #upload .check{
    font-size:12.5px !important;
    line-height:1.5 !important;
  }
}
